/* ===== PAGE INDEX STYLES ===== */
.page-index {
  color: #333333;
  background-color: var(--deep-navy, #08162B);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.65;
}

.page-index__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  display: block;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Intro Section --- */
.page-index__intro-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 40px;
  text-align: center;
}

.page-index__meta-line {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #AFC4E8;
  margin-bottom: 12px;
}

.page-index__main-title {
  color: #113B7A;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 auto 20px;
  max-width: 900px;
  letter-spacing: -0.01em;
}

.page-index__lead {
  color: #333333;
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

/* --- Offer Grid --- */
.page-index__offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 28px;
}

.page-index__offer-card {
  background-color: #10233F;
  border: 1px solid #244D84;
  border-radius: 12px;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.page-index__offer-number {
  color: #F2C14E;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.2;
}

.page-index__offer-label {
  color: #F3F8FF;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- Categories --- */
.page-index__category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.page-index__category-item {
  background-color: #1B3357;
  border: 1px solid #244D84;
  color: #F3F8FF;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* --- CTA --- */
.page-index__cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.page-index__cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.page-index__cta-button--register {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #FFFFFF;
  border: 1px solid #4FA8FF;
}

.page-index__cta-button--login {
  background: transparent;
  color: #F3F8FF;
  border: 1px solid #4FA8FF;
}

/* --- Section Shared --- */
.page-index__advantages-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__closing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 16px;
  color: #333333;
  background-color: #FFFFFF;
  border-radius: 0;
}

.page-index__advantages-section {
  background-color: #F7FAFF;
}

.page-index__games-section {
  background-color: #FFFFFF;
}

.page-index__promo-section {
  background-color: #F7FAFF;
}

.page-index__closing-section {
  background-color: #FFFFFF;
  border-bottom: 1px solid #1B3357;
}

.page-index__section-title {
  color: #113B7A;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.3;
}

.page-index__sub-title {
  color: #113B7A;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 24px 0 10px;
}

.page-index__advantage-item,
.page-index__promo-item {
  margin-bottom: 24px;
}

.page-index__feature-list,
.page-index__games-list {
  padding-left: 1.3em;
  line-height: 1.7;
  margin-top: 10px;
}

.page-index__feature-list li,
.page-index__games-list li {
  margin-bottom: 8px;
}

.page-index__inline-link {
  color: #1D5FD1;
  text-decoration: underline;
  font-weight: 600;
}

.page-index__inline-link:hover {
  color: #113B7A;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .page-index__intro-section {
    padding: 24px 12px 32px;
  }

  .page-index__main-title {
    font-size: 1.4rem;
  }

  .page-index__lead {
    font-size: 1rem;
  }

  .page-index__offer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .page-index__offer-number {
    font-size: 1.2rem;
  }

  .page-index__cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-index__cta-button {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    padding: 14px 20px;
  }

  .page-index__advantages-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__closing-section {
    padding: 28px 12px;
  }

  .page-index__section-title {
    font-size: 1.3rem;
  }

  .page-index__sub-title {
    font-size: 1.1rem;
  }

  .page-index img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-index {
    max-width: 100%;
    overflow-x: hidden;
  }
}