:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --background-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
}

.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--background-color);
}

/* HERO Section */
.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, var(--primary-color), #4dbef0);
  color: var(--text-light);
}

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

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

.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%;
  padding: 0 20px;
}

.page-index__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: var(--text-light);
  font-weight: bold;
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  text-align: center;
}

.page-index__cta-button--primary {
  background: var(--login-color);
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-index__cta-button--primary:hover {
  background: #d46c06;
  border-color: #d46c06;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-index__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index__section-title--white {
  color: var(--text-light);
}

.page-index__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

.page-index__text-block--white {
  color: rgba(255, 255, 255, 0.9);
}

.page-index__light-bg {
  background: var(--background-color);
  color: var(--text-dark);
}

.page-index__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Module 1: Introduction Section */
.page-index__introduction-section {
  padding: 80px 0;
}

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

.page-index__feature-item {
  background: var(--secondary-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-index__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__feature-heading {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__feature-item p {
  font-size: 1em;
  color: #555;
}

/* Module 2: Quick Access Links */
.page-index__quick-access-section {
  padding: 80px 0;
}

.page-index__link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index__link-card {
  display: block;
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-light);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index__link-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index__link-card .page-index__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--text-light);
  font-weight: bold;
}

.page-index__link-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

/* Module 3: Core Games/Services */
.page-index__games-section {
  padding: 80px 0;
}

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

.page-index__game-card {
  background: var(--secondary-color);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index__game-card .page-index__card-title {
  font-size: 1.4em;
  margin: 20px 0 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-index__game-card .page-index__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__game-card .page-index__card-title a:hover {
  color: #007bff;
}

.page-index__game-card p {
  font-size: 1em;
  color: #555;
  padding: 0 20px 20px;
}

/* Module 4: Promotions */
.page-index__promotions-section {
  padding: 80px 0;
}

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

.page-index__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index__promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-index__promo-card .page-index__card-title {
  font-size: 1.3em;
  margin: 15px 0 8px;
  color: var(--text-light);
  font-weight: bold;
}

.page-index__promo-card .page-index__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__promo-card .page-index__card-title a:hover {
  color: #f0f0f0;
}

.page-index__promo-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  padding: 0 20px 20px;
}

.page-index__button-group {
  margin-top: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Module 5: Security and Support */
.page-index__security-support-section {
  padding: 80px 0;
}

.page-index__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index__info-item {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__info-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__info-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin: 0 auto 15px;
  display: block;
}

.page-index__info-item .page-index__card-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index__info-item p {
  font-size: 0.95em;
  color: #555;
}


/* Module 6: FAQ Section */
.page-index__faq-section {
  padding: 80px 0;
}

.page-index__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-index__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  color: #555;
  font-size: 1em;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

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