.page-home {
  --home-accent: #39FF88;
  --home-hot: #FF8A29;
  --home-bg-deep: #050A18;
  --home-bg-panel: #0D1526;
  --home-surface-1: #18233F;
  --home-border: #293B5F;
  --home-border-light: #34497A;
  --home-text-secondary: #A8B3CC;
  --home-text-muted: #6B7A99;
  --home-radius-lg: 28px;
  --home-radius-md: 18px;
  background-color: var(--color-bg-primary);
  color: var(--color-text-main);
  overflow-x: hidden;
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.92rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.page-home .btn--primary {
  background: var(--home-accent);
  color: #050A18;
  font-weight: 700;
}

.page-home .btn--primary:hover,
.page-home .btn--primary:focus-visible {
  background: #4CFF9B;
  box-shadow: 0 0 0 4px rgba(57, 255, 136, 0.18);
  transform: translateY(-2px);
}

.page-home .btn--outline {
  border: 1px solid var(--home-border-light);
  color: var(--color-text-main);
}

.page-home .btn--outline:hover,
.page-home .btn--outline:focus-visible {
  border-color: var(--home-accent);
  color: var(--home-accent);
  transform: translateY(-2px);
}

.page-home .home-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 56px 0 72px;
  background: linear-gradient(135deg, rgba(13, 21, 38, 0.96) 0%, rgba(5, 10, 24, 0.82) 100%);
}

.page-home .home-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(88% 66% at 84% 14%, rgba(57, 255, 136, 0.12), transparent 58%),
    linear-gradient(90deg, rgba(5, 10, 24, 0.97) 0%, rgba(5, 10, 24, 0.7) 62%, rgba(5, 10, 24, 0.58) 100%);
}

.page-home .home-hero__sweep {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(113deg, rgba(57, 255, 136, 0.05) 0 1px, transparent 1px 52px);
  pointer-events: none;
}

.page-home .home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.page-home .home-hero__copy {
  max-width: 680px;
}

.page-home .home-hero__breadcrumb {
  margin-bottom: 20px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 16px;
  border: 1px solid rgba(57, 255, 136, 0.28);
  background: rgba(57, 255, 136, 0.08);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--home-accent);
  text-transform: uppercase;
}

.page-home .home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
}

.page-home .home-hero__accent {
  color: var(--home-accent);
}

.page-home .home-hero__lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--home-text-secondary);
  margin: 0 0 28px;
  max-width: 620px;
}

.page-home .home-hero__lead strong {
  color: var(--color-text-main);
  font-weight: 600;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.page-home .home-hero__actions .btn {
  min-width: 168px;
  justify-content: center;
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

.page-home .home-hero__stat {
  flex: 1 1 140px;
  min-width: 140px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--home-border);
  border-radius: var(--radius-md);
  background: rgba(13, 21, 38, 0.72);
}

.page-home .home-hero__stat dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--home-text-muted);
}

.page-home .home-hero__stat dd {
  margin: 6px 0 0;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 700;
  color: var(--home-accent);
}

.page-home .home-hero__visual {
  min-width: 0;
}

.page-home .home-hero__svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 720px;
  margin-inline: auto;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.45));
}

.page-home .home-hero__pulse {
  animation: homePulse 2.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes homePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.page-home .home-section-head {
  margin-bottom: 34px;
  max-width: 720px;
}

.page-home .home-section-head__kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: var(--home-accent);
  text-transform: uppercase;
}

.page-home .home-section-head__kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--home-accent);
}

.page-home .home-section-head h2,
.page-home .home-entry__banner-copy h2,
.page-home .home-schedule__head h2,
.page-home .home-data__copy h2,
.page-home .home-membership__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.page-home .home-section-head p {
  margin: 0;
  color: var(--home-text-secondary);
  line-height: 1.7;
}

.page-home .home-entry {
  padding: 72px 0 44px;
  background: var(--home-bg-deep);
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.page-home .home-entry__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 24px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  background: linear-gradient(150deg, rgba(24, 35, 63, 0.9), rgba(13, 21, 38, 0.96));
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .home-entry__card:hover,
.page-home .home-entry__card:focus-visible {
  border-color: rgba(57, 255, 136, 0.6);
  box-shadow: var(--shadow-lg);
}

.page-home .home-entry__card:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 3px;
}

.page-home .home-entry__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(242, 246, 255, 0.08);
}

.page-home .home-entry__card h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.4;
  margin: 14px 0 0;
  padding-right: 32px;
}

.page-home .home-entry__card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--home-text-secondary);
  margin: 0;
}

.page-home .home-entry__card .btn {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 8px;
  padding: 10px 18px;
}

.page-home .home-entry__banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  background: var(--home-surface-1);
}

.page-home .home-entry__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
}

.page-home .home-entry__banner-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 34px 28px;
}

.page-home .home-entry__banner-copy p:not(.home-section-head__kicker) {
  margin: 0;
  color: var(--home-text-secondary);
  line-height: 1.72;
}

.page-home .home-schedule {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--home-bg-deep) 0%, var(--home-bg-panel) 46%, var(--home-bg-deep) 100%);
}

.page-home .home-schedule__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.page-home .home-schedule__head p {
  margin: 0;
  color: var(--home-text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.page-home .home-schedule__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--home-accent) var(--home-bg-panel);
}

.page-home .home-schedule__track:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 2px;
}

.page-home .home-schedule__match {
  flex: 0 0 min(300px, 86vw);
  scroll-snap-align: start;
  padding: 24px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  background: var(--home-surface-1);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-schedule__match:hover,
.page-home .home-schedule__match:focus-within {
  border-color: var(--home-border-light);
  transform: translateY(-4px);
}

.page-home .home-schedule__match--hot {
  border-color: rgba(255, 138, 41, 0.42);
  background: linear-gradient(150deg, rgba(255, 138, 41, 0.1), transparent 56%), var(--home-surface-1);
}

.page-home .home-schedule__match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.page-home .home-schedule__time {
  color: var(--home-text-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.page-home .home-schedule__match-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.page-home .home-schedule__match-meta {
  color: var(--home-text-secondary);
  font-size: 0.86rem;
  margin-bottom: 14px;
}

.page-home .home-schedule__form {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.page-home .home-schedule__form-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.page-home .home-schedule__form-dot--w {
  background: var(--home-accent);
  color: #050A18;
}

.page-home .home-schedule__form-dot--d {
  background: #5B82C7;
  color: #F2F6FF;
}

.page-home .home-schedule__form-dot--l {
  background: var(--home-hot);
  color: #050A18;
}

.page-home .home-schedule__form-dot--dash {
  background: transparent;
  border: 1px dashed var(--home-border-light);
  color: var(--home-text-muted);
}

.page-home .home-schedule__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: -10px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  color: var(--home-accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.page-home .home-schedule__link:hover,
.page-home .home-schedule__link:focus-visible {
  background: rgba(57, 255, 136, 0.12);
  color: var(--home-accent);
  outline: none;
}

.page-home .home-schedule__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--home-text-muted);
  font-size: 0.82rem;
}

.page-home .home-data {
  position: relative;
  padding: 80px 0;
  background: radial-gradient(70% 60% at 88% 12%, rgba(57, 255, 136, 0.07), transparent 60%), var(--home-bg-deep);
}

.page-home .home-data__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.page-home .home-data__copy > p:not(.home-section-head__kicker) {
  margin: 0 0 22px;
  color: var(--home-text-secondary);
  line-height: 1.7;
}

.page-home .home-data__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.page-home .home-data__tags .tag {
  font-size: 0.82rem;
  padding: 6px 12px;
}

.page-home .home-data__stat-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.page-home .home-data__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(57, 255, 136, 0.28);
  border-radius: var(--radius-pill);
  background: rgba(57, 255, 136, 0.06);
  color: var(--home-text-secondary);
  font-size: 0.88rem;
}

.page-home .home-data__stat .mono {
  color: var(--home-accent);
  font-size: 1.3rem;
  font-weight: 700;
}

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

.page-home .home-data__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
}

.page-home .home-data__badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--home-accent);
  color: #050A18;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-md);
}

.page-home .home-membership {
  padding: 80px 0 88px;
  background: var(--home-bg-deep);
}

.page-home .home-membership__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.page-home .home-membership__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-lg);
  box-shadow: var(--shadow-lg);
}

.page-home .home-membership__copy > p:not(.home-section-head__kicker) {
  margin: 0 0 24px;
  color: var(--home-text-secondary);
  line-height: 1.72;
}

.page-home .home-membership__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 12px;
}

.page-home .home-membership__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--home-text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
}

.page-home .home-membership__list strong {
  color: var(--color-text-main);
}

.page-home .home-membership__list .legend-dot {
  flex: 0 0 auto;
  margin-top: 7px;
}

.page-home section[id] {
  scroll-margin-top: 80px;
}

@media (min-width: 720px) {
  .page-home .home-hero__stats {
    flex-wrap: nowrap;
  }

  .page-home .home-entry__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .page-home .home-data__tags {
    max-width: 640px;
  }

  .page-home .home-membership__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero {
    min-height: 760px;
  }

  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 56px;
  }

  .page-home .home-entry__banner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .home-entry__banner-copy {
    padding: 48px 44px;
  }

  .page-home .home-schedule__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .home-data__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .page-home .home-membership__inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 1200px) {
  .page-home .home-entry__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .page-home .home-entry__card--offset {
    transform: translateY(24px);
  }

  .page-home .home-entry__card--offset:hover,
  .page-home .home-entry__card--offset:focus-visible {
    transform: translateY(14px);
  }
}
