.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439, #000000);
  color: #ffffff;
  overflow: hidden;
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Custom color for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-index__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__btn-register,
.page-index__btn-login {
  display: inline-block;
  padding: 15px 40px;
  background: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__btn-register:hover,
.page-index__btn-login:hover {
  background: #E01010;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__section {
  padding: 80px 20px;
  background: #FFFFFF;
  color: #333333;
}

.page-index__dark-section {
  background: #017439;
  color: #ffffff;
}

.page-index__light-bg {
  background: #f8f8f8;
  color: #333333;
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index__heading {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-index__dark-section .page-index__heading {
  color: #FFFF00;
}

.page-index__text-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.page-index__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-index__image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-index__grid-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index__link-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #017439;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-index__link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index__link-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFF00;
}

.page-index__link-description {
  font-size: 15px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-index__game-grid,
.page-index__promo-grid,
.page-index__features-grid,
.page-index__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-index__game-card,
.page-index__promo-card,
.page-index__feature-card,
.page-index__news-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__game-card:hover,
.page-index__promo-card:hover,
.page-index__feature-card:hover,
.page-index__news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index__game-card img,
.page-index__promo-card img,
.page-index__feature-card img,
.page-index__news-card img {
  width: 100%;
  height: 220px; /* Consistent height for card images */
  object-fit: cover;
  display: block;
}

.page-index__game-title,
.page-index__promo-title,
.page-index__feature-title,
.page-index__news-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: #017439;
  line-height: 1.4;
}

.page-index__game-title a,
.page-index__promo-title a,
.page-index__news-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__game-title a:hover,
.page-index__promo-title a:hover,
.page-index__news-title a:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-index__game-description,
.page-index__promo-description,
.page-index__feature-description,
.page-index__news-summary {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-index__read-more {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 20px 20px 20px;
  background: #017439;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__read-more:hover {
  background: #005f2e;
}

/* FAQ Section */
.page-index__faq-list {
  margin-top: 40px;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #333333;
}

.page-index__faq-item.active .page-index__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #017439;
  background-color: #f5f5f5;
}

.page-index__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-index__faq-question:active {
  background: #eeeeee;
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}