.page-home {
  --home-gold-soft: #F0D77B;
  --home-red: #C0392B;
}

.page-home .hero-section {
  position: relative;
  background: linear-gradient(135deg, #0D1B2A 0%, #142A44 55%, #1B3A5C 100%);
  color: #F7F3E8;
  overflow: hidden;
  padding: 72px 0 64px;
}

.page-home .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212, 175, 55, .16), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(192, 57, 43, .14), transparent 45%);
  pointer-events: none;
}

.page-home .hero-section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.page-home .hero-section__eyebrow {
  color: var(--home-gold-soft);
  border-left: 3px solid #D4AF37;
  padding-left: 12px;
  margin-bottom: 16px;
}

.page-home .hero-section h1 {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #F7F3E8;
  letter-spacing: .01em;
}

.page-home .hero-section__sub {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #D4AF37;
  margin: 0 0 20px;
  letter-spacing: .04em;
}

.page-home .hero-section__lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(247, 243, 232, .82);
  max-width: 30em;
  margin: 0 0 32px;
}

.page-home .hero-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.page-home .hero-section .btn--ghost {
  border-color: rgba(247, 243, 232, .4);
  color: #F7F3E8;
  background: transparent;
}

.page-home .hero-section__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 44px;
  border-top: 1px solid rgba(247, 243, 232, .18);
  padding-top: 28px;
}

.page-home .hero-section__facts .stat__num {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--home-gold-soft);
  display: block;
  line-height: 1.2;
}

.page-home .hero-section__facts .stat__num small {
  font-size: .65em;
}

.page-home .hero-section__facts .stat__label {
  font-family: var(--font-heading);
  font-size: .75rem;
  letter-spacing: .12em;
  color: rgba(247, 243, 232, .6);
  display: block;
  margin-top: 4px;
}

.page-home .hero-section__visual-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 52px rgba(13, 27, 42, .45);
}

.page-home .hero-section__img {
  width: 100%;
  height: auto;
  display: block;
}

.page-home .hero-section__deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-home .section-band {
  height: 8px;
  background: linear-gradient(100deg, #0D1B2A 0%, #D4AF37 55%, #C0392B 100%);
}

.page-home .chapter {
  position: relative;
}

.page-home .chapter__num {
  position: absolute;
  top: -18px;
  right: 2px;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(13, 27, 42, .08);
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
  max-width: 100%;
}

.page-home .chapter__head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 40px;
}

.page-home .chapter__head h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 12px 0 14px;
}

.page-home .chapter__desc {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.page-home .league-section {
  background: linear-gradient(180deg, var(--color-bg), #FBF6EA);
  padding: 72px 0;
  overflow: hidden;
}

.page-home .league-grid {
  position: relative;
  z-index: 1;
}

.page-home .league-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 0;
  height: 100%;
}

.page-home .league-card--featured .league-card__media {
  position: relative;
}

.page-home .league-card__media img,
.page-home .league-card__media--pattern {
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .league-card__media {
  position: relative;
  overflow: hidden;
}

.page-home .league-card__media img {
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.page-home .league-card__media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
}

.page-home .league-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  background: linear-gradient(135deg, #0D1B2A, #1B3A5C);
  color: #D4AF37;
}

.page-home .league-card__icon svg {
  width: 46px;
  height: 46px;
}

.page-home .league-card__body {
  padding: 20px;
}

.page-home .league-card__body .tag {
  margin-bottom: 10px;
}

.page-home .league-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.page-home .league-card__meta {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin: 0;
  font-family: var(--font-body);
}

.page-home .member-section {
  position: relative;
  background: linear-gradient(165deg, #0D1B2A 0%, #142A44 60%, #1B3A5C 100%);
  color: #F7F3E8;
  padding: 84px 0;
  overflow: hidden;
}

.page-home .member-section::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  margin-bottom: 72px;
  background: linear-gradient(90deg, #D4AF37, #E9C95F, #C0392B, transparent);
  border-radius: 999px;
}

.page-home .member-section .chapter__num {
  color: rgba(247, 243, 232, .08);
}

.page-home .member-section .chapter__head h2 {
  color: #F7F3E8;
}

.page-home .member-section .chapter__desc {
  color: rgba(247, 243, 232, .72);
}

.page-home .member-section .eyebrow {
  color: #D4AF37;
}

.page-home .member-grid {
  position: relative;
  z-index: 1;
}

.page-home .member-card {
  background: rgba(247, 243, 232, .08);
  border: 1px solid rgba(247, 243, 232, .16);
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
  height: 100%;
}

.page-home .member-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.page-home .member-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .member-card__media--pattern {
  position: relative;
  aspect-ratio: 16 / 10;
}

.page-home .member-card__media--pattern svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.page-home .member-card__media .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  z-index: 2;
}

.page-home .member-card__body {
  padding: 20px;
}

.page-home .member-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #F7F3E8;
}

.page-home .member-card__body p {
  font-family: var(--font-body);
  font-size: .9rem;
  color: rgba(247, 243, 232, .7);
  line-height: 1.7;
  margin: 0;
}

.page-home .member-section__cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}

.page-home .price-section {
  background: linear-gradient(180deg, #F7F3E8, #F2ECD9);
  padding: 84px 0;
  overflow: hidden;
}

.page-home .price-section__figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(13, 27, 42, .14);
  object-fit: cover;
}

.page-home .price-section__table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(13, 27, 42, .07);
}

.page-home .price-section__table {
  width: 100%;
  min-width: 580px;
  border-collapse: collapse;
  font-family: var(--font-heading);
}

.page-home .price-section__table th,
.page-home .price-section__table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.page-home .price-section__table th {
  font-size: .85rem;
  letter-spacing: .08em;
  color: #0D1B2A;
  font-weight: 700;
  background: #F0D77B;
}

.page-home .price-section__table td {
  font-size: .92rem;
  color: var(--color-text);
}

.page-home .price-section__table tr:last-child td {
  border-bottom: 0;
}

.page-home .price-section__table tr:hover td {
  background: #FBF6EA;
}

.page-home .price-section__note {
  text-align: center;
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  margin-top: 24px;
}

.page-home .notice-section {
  background: linear-gradient(180deg, #EFE9D9, #E9DFC8);
  padding: 84px 0;
  overflow: hidden;
}

.page-home .notice-section__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.page-home .notice-section__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(13, 27, 42, .07);
}

.page-home .notice-section__item .tag {
  align-self: flex-start;
  flex-shrink: 0;
}

.page-home .notice-section__content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.page-home .notice-section__content p {
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--color-text-muted);
  margin: 0 0 10px;
  line-height: 1.7;
}

.page-home .notice-section__meta {
  font-size: .78rem;
  color: #C0392B;
  font-family: var(--font-heading);
  letter-spacing: .04em;
}

.page-home .notice-section__foot {
  margin-top: 30px;
  font-size: .92rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
  line-height: 1.8;
}

.page-home .notice-section__foot a {
  color: #0D1B2A;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-home .dashboard-section {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 27, 42, .97), rgba(27, 58, 92, .95)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(212, 175, 55, .05) 18px 38px);
  color: #F7F3E8;
  padding: 84px 0;
  overflow: hidden;
}

.page-home .dashboard-section__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-home .dashboard-section__inner .chapter__head {
  margin-left: auto;
  margin-right: auto;
}

.page-home .dashboard-section__inner .eyebrow {
  color: #D4AF37;
}

.page-home .dashboard-section__inner h2 {
  color: #F7F3E8;
}

.page-home .dashboard-section__grid {
  margin-top: 44px;
}

.page-home .dashboard-section__cell {
  background: rgba(247, 243, 232, .08);
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 24px;
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.page-home .dashboard-section__cell .stat__num {
  font-size: 2.1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #D4AF37;
  line-height: 1.2;
}

.page-home .dashboard-section__cell .stat__num small {
  font-size: .6em;
}

.page-home .dashboard-section__cell .stat__label {
  font-size: .82rem;
  color: rgba(247, 243, 232, .7);
}

.page-home .dashboard-section__note {
  max-width: 680px;
  margin: 32px auto 0;
  font-size: .92rem;
  font-family: var(--font-body);
  color: rgba(247, 243, 232, .72);
  line-height: 1.8;
}

.page-home .cta-section {
  background: linear-gradient(180deg, #0D1B2A, #091522);
  color: #F7F3E8;
  text-align: center;
  padding: 96px 0;
  overflow: hidden;
}

.page-home .cta-section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-home .cta-section__inner .eyebrow {
  color: #D4AF37;
  border-left: 0;
  padding-left: 0;
}

.page-home .cta-section h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 16px 0;
  color: #F7F3E8;
  line-height: 1.3;
}

.page-home .cta-section__lead {
  font-family: var(--font-body);
  color: rgba(247, 243, 232, .76);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 auto;
  max-width: 34em;
}

.page-home .cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.page-home .cta-section .btn--ghost {
  border-color: rgba(247, 243, 232, .4);
  color: #F7F3E8;
  background: transparent;
}

@media (min-width: 768px) {
  .page-home .hero-section {
    padding: 96px 0 88px;
  }

  .page-home .hero-section__inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .hero-section h1 {
    font-size: 3.4rem;
  }

  .page-home .hero-section__sub {
    font-size: 1.65rem;
  }

  .page-home .hero-section__facts {
    gap: 40px;
  }

  .page-home .chapter__num {
    font-size: 9rem;
    top: -36px;
    right: 0;
  }

  .page-home .chapter__head h2 {
    font-size: 2.4rem;
  }

  .page-home .league-section,
  .page-home .member-section,
  .page-home .price-section,
  .page-home .notice-section,
  .page-home .dashboard-section {
    padding: 108px 0;
  }

  .page-home .member-section::before {
    margin-bottom: 96px;
  }

  .page-home .member-card__body {
    padding: 24px;
  }

  .page-home .notice-section__item {
    flex-direction: row;
    align-items: flex-start;
  }

  .page-home .notice-section__item .tag {
    margin-top: 4px;
  }

  .page-home .notice-section__foot {
    margin-left: 12%;
  }

  .page-home .dashboard-section__grid {
    gap: 20px;
  }

  .page-home .dashboard-section__cell {
    padding: 36px 16px;
  }

  .page-home .dashboard-section__cell .stat__num {
    font-size: 2.4rem;
  }

  .page-home .cta-section h2 {
    font-size: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
