.page-home {
  position: relative;
  color: var(--steel);
  background: var(--space-900);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .media-frame {
  overflow: hidden;
  background: var(--space-700);
  position: relative;
}

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

.page-home .topic-card:hover .media-frame img,
.page-home .league-card:hover .league-card-media img {
  transform: scale(1.04);
}

.page-home .media-frame img,
.page-home .league-card-media img,
.page-home .topic-media img,
.page-home .focus-frame img {
  transition: transform 0.45s ease;
}

.page-home .hero-section {
  position: relative;
  overflow: hidden;
  padding: 32px 0 88px;
  background:
    radial-gradient(ellipse 90% 70% at 82% 0%, rgba(30, 76, 143, 0.55), transparent 70%),
    linear-gradient(180deg, var(--space-900) 0%, var(--space-700) 100%);
}

.page-home .hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-home .hero-copy {
  position: relative;
  z-index: 2;
}

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

.page-home .hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.page-home .hero-divider {
  color: var(--neon);
}

.page-home .hero-lead {
  max-width: 33rem;
  margin: 0 0 32px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--misty);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.page-home .hero-actions .btn {
  min-width: 148px;
  justify-content: center;
}

.page-home .hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.page-home .stat-item {
  display: flex;
  flex-direction: column;
}

.page-home .stat-item .data-number {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: var(--neon);
}

.page-home .stat-item dd {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--misty);
}

.page-home .hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.page-home .calendar-board {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
}

.page-home .calendar-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.page-home .board-month {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.page-home .board-round {
  background: var(--grad-b);
  color: var(--space-900);
  border: none;
  font-weight: 700;
}

.page-home .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 8px;
  gap: 4px;
}

.page-home .calendar-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  color: var(--misty);
}

.page-home .calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.page-home .cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--misty);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.page-home .cal-cell.has-event {
  color: var(--neon);
  background: rgba(198, 255, 73, 0.14);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 73, 0.18);
}

.page-home .cal-cell.is-today {
  color: var(--space-900);
  background: var(--neon);
  font-weight: 700;
  box-shadow: 0 0 28px rgba(198, 255, 73, 0.45);
}

.page-home .calendar-filter-panel {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.page-home .fpanel-title {
  display: block;
  font-size: 0.75rem;
  color: var(--misty);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.page-home .fpanel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .chip:hover {
  background: rgba(255, 255, 255, 0.14);
}

.page-home .chip-active {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--space-900);
  font-weight: 600;
}

.page-home .chip-ghost {
  border-style: dashed;
}

.page-home .visual-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.3;
  z-index: 0;
}

.page-home .visual-glow--green {
  width: 180px;
  height: 180px;
  background: var(--neon);
  top: -30px;
  right: -10px;
}

.page-home .visual-glow--orange {
  width: 220px;
  height: 220px;
  background: var(--orange);
  bottom: -90px;
  right: 120px;
  opacity: 0.22;
}

.page-home .quick-section {
  position: relative;
  padding: 84px 0 96px;
  background: var(--space-900);
}

.page-home .quick-head {
  margin-bottom: 32px;
}

.page-home .quick-toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(30, 76, 143, 0.25), rgba(8, 18, 42, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .quick-search {
  display: block;
}

.page-home .quick-search span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--steel);
}

.page-home .quick-search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
}

.page-home .quick-search input::placeholder {
  color: rgba(155, 179, 208, 0.7);
}

.page-home .quick-search input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(198, 255, 73, 0.16);
}

.page-home .quick-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .quick-dates .chip {
  border: none;
}

.page-home .league-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 255, 73, 0.6) rgba(255, 255, 255, 0.08);
}

.page-home .league-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .league-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 255, 73, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.page-home .league-card--feature {
  background: var(--grad-a);
}

.page-home .league-card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.page-home .league-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .league-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.page-home .league-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0;
}

.page-home .league-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--misty);
  margin: 0;
}

.page-home .league-card-link {
  margin-top: auto;
  color: var(--neon);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-home .league-card-link:hover {
  color: var(--orange);
}

.page-home .channel-section {
  position: relative;
  padding: 96px 0;
  background: var(--grad-a);
}

.page-home .channel-head {
  margin-bottom: 48px;
}

.page-home .channel-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 40px;
}

.page-home .channel-step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(8, 18, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.page-home .step-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(198, 255, 73, 0.3);
  margin-bottom: 16px;
}

.page-home .step-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.page-home .channel-step p {
  color: var(--misty);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
}

.page-home .channel-note {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  line-height: 1.7;
}

.page-home .channel-note p {
  margin: 0;
  max-width: 760px;
  color: var(--misty);
}

.page-home .channel-note strong {
  color: var(--steel);
}

.page-home .btn-slim {
  padding: 10px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.page-home .focus-section {
  position: relative;
  padding: 88px 0 100px;
  background: var(--space-900);
}

.page-home .focus-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.page-home .focus-head {
  margin-bottom: 12px;
}

.page-home .focus-lead {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--misty);
}

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

.page-home .focus-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 16px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .focus-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon);
}

.page-home .focus-item-body strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.page-home .focus-item-body p {
  margin: 0;
  color: var(--misty);
  font-size: 0.85rem;
  line-height: 1.5;
}

.page-home .focus-tag {
  grid-column: 2;
  justify-self: start;
  font-size: 0.72rem;
  color: var(--orange);
  border: 1px solid rgba(255, 90, 31, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  white-space: nowrap;
}

.page-home .focus-visual {
  position: relative;
}

.page-home .focus-frame {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
}

.page-home .focus-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(8, 18, 42, 0.2), rgba(8, 18, 42, 0.6));
  border-radius: inherit;
}

.page-home .focus-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(8, 18, 42, 0.6);
  backdrop-filter: blur(14px);
  z-index: 2;
}

.page-home .focus-stat {
  text-align: center;
}

.page-home .focus-stat .data-number {
  display: block;
  font-size: 1.8rem;
  line-height: 1.2;
  color: var(--neon);
}

.page-home .focus-stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--misty);
}

.page-home .content-section {
  position: relative;
  padding: 96px 0 100px;
  background: var(--space-700);
}

.page-home .content-head {
  margin-bottom: 44px;
}

.page-home .topic-grid {
  display: grid;
  gap: 24px;
}

.page-home .topic-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-home .topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 255, 73, 0.4);
}

.page-home .topic-media {
  aspect-ratio: 16 / 10;
}

.page-home .topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .topic-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.page-home .topic-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 4px 0 0;
}

.page-home .topic-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--misty);
  margin: 0;
}

.page-home .topic-link {
  margin-top: 12px;
  color: var(--neon);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.page-home .topic-link:hover {
  color: var(--orange);
}

.page-home .topic-card--lead {
  background:
    radial-gradient(circle at 80% 10%, rgba(198, 255, 73, 0.14), transparent 60%),
    linear-gradient(160deg, rgba(30, 76, 143, 0.4), rgba(8, 18, 42, 0.8));
  border-color: rgba(198, 255, 73, 0.25);
  justify-content: center;
}

.page-home .topic-body--lead {
  align-items: flex-start;
}

.page-home .topic-lead-number {
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--neon);
  margin: 10px 0 4px;
}

.page-home .contact-cta-section {
  padding: 80px 0;
  background: var(--space-900);
}

.page-home .contact-cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 80% 20%, rgba(30, 76, 143, 0.6), rgba(8, 18, 42, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-home .contact-cta-copy .lead {
  color: var(--misty);
  margin: 0;
}

.page-home .contact-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

  .page-home .hero-lead {
    font-size: 1.12rem;
  }

  .page-home .quick-toolbar {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .page-home .league-strip {
    grid-auto-columns: minmax(260px, 320px);
  }

  .page-home .league-card--feature {
    min-width: 340px;
  }

  .page-home .channel-note {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .focus-item {
    grid-template-columns: 72px 1fr auto;
    align-items: center;
  }

  .page-home .focus-tag {
    grid-column: auto;
    justify-self: auto;
  }

  .page-home .focus-stats {
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 18px 20px;
  }

  .page-home .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .topic-card--lead {
    grid-column: span 2;
  }

  .page-home .contact-cta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 72px 0 128px;
  }

  .page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
  }

  .page-home .hero-visual {
    display: block;
  }

  .page-home .calendar-board {
    padding: 26px;
  }

  .page-home .quick-section {
    padding: 104px 0 112px;
  }

  .page-home .channel-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .page-home .focus-section {
    background:
      radial-gradient(ellipse 70% 50% at 0% 80%, rgba(255, 90, 31, 0.12), transparent 60%),
      var(--space-900);
  }

  .page-home .focus-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .page-home .topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .topic-card--lead {
    grid-column: auto;
  }

  .page-home .content-section {
    padding: 104px 0 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .media-frame img,
  .page-home .league-card-media img,
  .page-home .topic-media img,
  .page-home .focus-frame img,
  .page-home .league-card,
  .page-home .topic-card {
    transition: none;
  }

  .page-home .league-card:hover,
  .page-home .topic-card:hover {
    transform: none;
  }
}
