@import url('https://fonts.googleapis.com/css2?family=Anton&family=Poppins:ital,wght@0,400;0,500;0,700;1,700&display=swap');

:root {
  --black: #050505;
  --near-black: #0e0e0e;
  --panel: #161616;
  --line: #2a2a2a;
  --pink: #FF2D8A;
  --cyan: #00E5FF;
  --yellow: #D4FF00;
  --white: #F4F4F0;
  --gray: #9a9a94;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Retro scanline texture over the whole page, subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  z-index: 999;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark img {
  height: 48px;
  width: auto;
}

nav.links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

nav.links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

nav.links a:hover,
nav.links a.active {
  color: var(--yellow);
}

nav.links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--pink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 720px) {
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--near-black);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 14px 24px; width: 100%; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 24px 96px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(255,45,138,0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 15%, rgba(0,229,255,0.10), transparent 60%),
    var(--black);
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 0 18px rgba(0,229,255,0.35);
}

.hero h1 span {
  color: var(--pink);
  text-shadow: 0 0 20px rgba(255,45,138,0.5);
}

.hero p.sub {
  max-width: 480px;
  margin: 22px auto 34px;
  color: var(--gray);
  font-size: 16px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  background: var(--yellow);
  color: #101000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 rgba(212,255,0,0);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,255,0,0.25);
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--cyan);
  color: var(--cyan);
}

.btn.outline:hover {
  box-shadow: 0 6px 24px rgba(0,229,255,0.25);
}

/* ---------- Jagged section divider ---------- */
.divider {
  height: 18px;
  background: var(--near-black);
  clip-path: polygon(0% 100%, 4% 0%, 9% 100%, 14% 0%, 19% 100%, 24% 0%, 29% 100%, 34% 0%, 39% 100%, 44% 0%, 49% 100%, 54% 0%, 59% 100%, 64% 0%, 69% 100%, 74% 0%, 79% 100%, 84% 0%, 89% 100%, 94% 0%, 100% 100%);
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
  background: var(--near-black);
}

section.alt { background: var(--black); }

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head .eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  display: block;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  color: var(--white);
}

/* ---------- Quick link cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

@media (max-width: 720px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.card .icon {
  font-size: 26px;
  margin-bottom: 14px;
  display: inline-block;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.card p {
  color: var(--gray);
  font-size: 14px;
}

.card.pink .icon { color: var(--pink); }
.card.cyan .icon { color: var(--cyan); }
.card.yellow .icon { color: var(--yellow); }

/* ---------- News list ---------- */
.news-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-item:first-child { border-top: 1px solid var(--line); }

.news-item h4 {
  font-size: 16px;
  font-weight: 500;
}

.news-item .date {
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  margin-right: 10px;
  background: rgba(212,255,0,0.12);
  color: var(--yellow);
}

/* ---------- Roster grid ---------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .roster-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px) {
  .roster-grid { grid-template-columns: 1fr; }
}

.athlete {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}

.avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--black);
}

.avatar.p { background: var(--pink); }
.avatar.c { background: var(--cyan); }
.avatar.y { background: var(--yellow); }

.athlete h4 {
  font-size: 15px;
  font-weight: 500;
}

.athlete p {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* ---------- Schedule table ---------- */
table.schedule {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.schedule th {
  text-align: left;
  padding: 12px 14px;
  color: var(--yellow);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

table.schedule td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
}

table.schedule tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* ---------- Forms ---------- */
.form-field {
  margin-bottom: 18px;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 13px;
  background: var(--black);
}

footer a { color: var(--cyan); }

footer .foot-logo {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: 56px 24px;
  text-align: center;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  text-transform: uppercase;
  color: var(--white);
}

.page-hero p {
  color: var(--gray);
  margin-top: 10px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
