.home-page {
  --home-bg: #06152d;
  --home-surface: rgba(11, 28, 58, 0.84);
  --home-border: rgba(148, 163, 184, 0.22);
  --home-text: #eaf3ff;
  --home-muted: rgba(226, 232, 240, 0.72);
  color: var(--home-text);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2rem;
  background:
    radial-gradient(circle at 8% 14%, rgba(94, 234, 212, 0.22), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(96, 165, 250, 0.28), transparent 30%),
    linear-gradient(180deg, #081325 0%, var(--home-bg) 100%);
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 30%),
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 100% 42px, 42px 100%;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.48));
  pointer-events: none;
}

.home-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.home-grid {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.home-copy,
.home-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.54), var(--home-surface));
  box-shadow: 0 30px 80px rgba(2, 8, 23, 0.42);
  backdrop-filter: blur(18px);
}

.home-copy::after,
.home-panel::after {
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191, 253, 242, 0.7), transparent);
  content: "";
}

.home-copy {
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.home-eyebrow,
.home-panel__kicker,
.home-card__tag,
.home-stat-card__label {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.08);
  color: #bffdf2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.6rem 0 0;
  color: rgba(224, 242, 254, 0.75);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #5eead4;
  box-shadow: 0 0 0 5px rgba(94, 234, 212, 0.11), 0 0 16px rgba(94, 234, 212, 0.78);
}

.home-title {
  max-width: 15ch;
  margin: 0.7rem 0 0;
  font-size: clamp(2.1rem, 2.8vw, 3.15rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.home-lead,
.home-panel__header p,
.home-card p,
.home-note p,
.home-clubs__text {
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-lead {
  max-width: 60ch;
  margin-top: 0.8rem;
  font-size: 0.94rem;
  line-height: 1.55;
}

.home-actions,
.home-subactions,
.home-stats,
.home-card-grid {
  display: grid;
  gap: 0.9rem;
}

.home-actions {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-btn,
.home-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.home-btn:hover,
.home-link-chip:hover,
.home-card:hover {
  transform: translateY(-2px);
}

.home-btn--primary {
  background: linear-gradient(135deg, #5eead4, #60a5fa);
  color: #04111f;
  box-shadow: 0 20px 40px rgba(96, 165, 250, 0.28);
}

.home-btn--secondary,
.home-link-chip {
  border: 1px solid rgba(191, 219, 254, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f8fbff;
}

.home-subactions {
  margin-top: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-link-chip {
  min-height: 48px;
  background: rgba(7, 19, 39, 0.72);
  color: #dbeafe;
}

.home-meta {
  margin-top: 0.7rem;
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.86rem;
}

.home-note,
.home-clubs {
  margin-top: 0.8rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.home-note {
  border-color: rgba(94, 234, 212, 0.2);
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.08), rgba(255, 255, 255, 0.03));
}

.home-note__title,
.home-panel__header h2,
.home-card strong,
.home-clubs__title {
  color: #f8fbff;
  font-weight: 800;
}

.home-note a,
.home-clubs a {
  color: #8bd5ff;
}

.home-stats {
  margin-top: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-stat-card {
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.home-stat-card strong {
  display: block;
  margin-top: 0.9rem;
  line-height: 1.45;
}

.home-panel {
  padding: clamp(1.1rem, 2vw, 1.4rem);
}

.home-panel__header h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.05;
}

.home-card-grid {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card {
  position: relative;
  min-height: 90px;
  padding: 0.75rem 0.75rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.home-card:hover {
  border-color: rgba(94, 234, 212, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.home-card::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0.55rem;
  color: rgba(191, 253, 242, 0.72);
  content: "->";
}

.home-card strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.25;
}

.home-card p {
  display: none;
}

.home-card--highlight {
  border-color: rgba(96, 165, 250, 0.28);
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.18), rgba(94, 234, 212, 0.08));
}

.home-clubs ul {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--home-muted);
}

.home-clubs__title {
  margin-bottom: 0.5rem;
}

.home-clubs__text {
  display: none;
}

.home-btn:focus-visible,
.home-link-chip:focus-visible,
.home-card:focus-visible,
.home-note a:focus-visible,
.home-clubs a:focus-visible {
  outline: 3px solid rgba(94, 234, 212, 0.8);
  outline-offset: 3px;
}

@media (min-width: 980px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) minmax(540px, 1.05fr);
  }

  .home-stats {
    display: none;
  }
}

@media (max-width: 979px) {
  .home-hero {
    padding: 1rem 0 1.5rem;
  }

  .home-title {
    max-width: none;
  }
}

@media (max-width: 720px) {
  body:has(.home-page) header {
    padding: 0.75rem 1rem;
  }

  body:has(.home-page) header nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  body:has(.home-page) header nav a {
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(191, 219, 254, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
  }

  .home-shell {
    width: min(100% - 1rem, 1180px);
  }

  .home-hero {
    padding: 0.75rem 0 1.5rem;
  }

  .home-copy,
  .home-panel {
    padding: 1.1rem;
    border-radius: 24px;
  }

  .home-actions,
  .home-subactions,
  .home-stats {
    grid-template-columns: 1fr;
  }

  .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-title {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    line-height: 1.05;
  }

  .home-lead {
    font-size: 0.92rem;
  }
}

@media (max-width: 420px) {
  .home-shell {
    width: min(100% - 0.75rem, 1180px);
  }

  .home-eyebrow,
  .home-panel__kicker,
  .home-card__tag,
  .home-stat-card__label {
    font-size: 0.68rem;
  }

  .home-meta {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-card p {
    display: block;
  }
}
