/* Football public site — dark + purple sports portal (fonts loaded in base.html) */

:root {
  --bg-deep: #070b18;
  --bg: #0c1028;
  --bg-2: #12183a;
  --card: #141a45;
  --card-elevated: #1a2254;
  --accent: #7367f0;
  --accent-bright: #9b8cff;
  --accent-glow: rgba(115, 103, 240, 0.45);
  --text: #f4f6ff;
  --muted: #9aa3c9;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #3dd68c;
  --tag-news: #4f8cff;
  --tag-article: #37d57a;
  --topbar-h: 72px;
  --topbar-stack-h: var(--topbar-h);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(115, 103, 240, 0.25), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(79, 140, 255, 0.08), transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 94%); margin: 0 auto; }

/* —— Top bar —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(7, 11, 24, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-h);
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.brand span { color: var(--accent-bright); }
.brand-sportalent {
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, var(--text) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sportalent span {
  -webkit-text-fill-color: var(--accent-bright);
  background: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.menu a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.menu a:hover { color: var(--text); }
.menu a.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}
.topbar-tools span { cursor: default; }
.topbar-register-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(115, 103, 240, 0.45);
  background: rgba(115, 103, 240, 0.18);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.topbar-register-link:hover {
  background: rgba(115, 103, 240, 0.26);
  border-color: rgba(115, 103, 240, 0.7);
  transform: translateY(-1px);
}
.topbar-signin-link {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: background 0.15s, border-color 0.15s;
}
.topbar-signin-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  outline: none;
}

/* Anti-bot honeypot: keep out of sight, don't use display:none (some bots skip it) */
.form-honeypot-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Admin preview banner */
.preview-banner {
  margin: 18px auto 24px;
  max-width: 900px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(234, 179, 8, 0.12);
  color: #fde68a;
  border: 1px solid rgba(234, 179, 8, 0.35);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

/* Tournament public CTA — registration open */
.tournament-registration-cta {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(115, 103, 240, 0.45);
  background: linear-gradient(140deg, rgba(115, 103, 240, 0.18), rgba(20, 26, 69, 0.6));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tournament-registration-cta-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Pinned content badge */
.card-pinned {
  outline: 1px solid rgba(115, 103, 240, 0.45);
  outline-offset: -1px;
}
.tag.tag-pinned {
  background: rgba(115, 103, 240, 0.25);
  color: #cfd2ff;
  border: 1px solid rgba(115, 103, 240, 0.45);
}

/* Keyboard focus visibility */
main a:focus-visible,
.topbar a:focus-visible,
.topbar button:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

body.site-nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile navigation */
.topbar-menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(18, 24, 58, 0.75);
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.topbar-menu-toggle:hover {
  background: rgba(26, 34, 84, 0.9);
  border-color: rgba(155, 140, 255, 0.35);
}

.topbar-menu-toggle-box {
  display: grid;
  gap: 4px;
  width: 20px;
}
.topbar-menu-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.topbar.is-nav-open .topbar-menu-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.topbar.is-nav-open .topbar-menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.topbar.is-nav-open .topbar-menu-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar-nav-shell {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 28px);
  flex-wrap: wrap;
}

.topbar-nav-backdrop {
  display: none;
}

@media (min-width: 881px) {
  .topbar-menu-toggle .topbar-menu-toggle-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

@media (max-width: 880px) {
  body.has-academy-topbar-context {
    --topbar-stack-h: calc(var(--topbar-h) + 52px);
  }

  .topbar-inner {
    flex-wrap: nowrap;
    gap: 10px;
    position: relative;
    z-index: 210;
  }

  .topbar.is-nav-open {
    z-index: 900;
  }

  .topbar-menu-toggle {
    display: inline-flex;
  }

  .topbar-nav-shell {
    position: fixed;
    inset: auto 0 0 auto;
    top: var(--topbar-stack-h);
    left: auto;
    width: min(100%, 340px);
    max-width: min(340px, 92vw);
    height: calc(100dvh - var(--topbar-stack-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex: none;
    margin: 0;
    padding: 20px clamp(18px, 4vw, 24px) 28px;
    gap: 20px;
    background: rgba(10, 14, 32, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    z-index: 230;
    overflow-y: auto;
    transform: translateX(104%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-overflow-scrolling: touch;
  }

  .topbar.is-nav-open .topbar-nav-shell {
    transform: translateX(0);
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
  }
  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .topbar-tools {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .topbar-register-link,
  .topbar-signin-link {
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .topbar-nav-backdrop {
    display: block;
    position: fixed;
    top: var(--topbar-stack-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 205;
    background: rgba(0, 0, 0, 0.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

  .topbar.is-nav-open .topbar-nav-backdrop:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* Academy context — strip under main nav when a site is selected */
.topbar-context {
  position: relative;
  z-index: 200;
  border-top: 1px solid var(--line);
  background: rgba(18, 24, 58, 0.65);
}
.topbar-context-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  min-height: 44px;
  padding: 8px 0 10px;
  font-size: 0.88rem;
}
.topbar-context-label {
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}
.topbar-context-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.topbar-context-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.topbar-context-link {
  margin-left: auto;
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.topbar-context-link:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* —— Hero (stadium blur + headline) —— */
.hero-wrap {
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(20, 26, 69, 0.95) 0%, rgba(12, 16, 40, 0.98) 100%);
  position: relative;
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(255, 255, 255, 0.06), transparent 55%),
    linear-gradient(105deg, rgba(115, 103, 240, 0.35) 0%, transparent 45%),
    url("https://images.unsplash.com/photo-1522778119026-d647f0596c20?w=1600&q=70") center/cover no-repeat;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.03);
  opacity: 0.45;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  min-height: 360px;
  align-items: stretch;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 40px var(--accent-glow);
}
.hero-copy p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  align-items: center;
}

.hero-icon-btns {
  display: flex;
  gap: 12px;
}
.hero-icon-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.15s, border-color 0.15s;
}
.hero-icon-btn:hover {
  background: rgba(115, 103, 240, 0.35);
  border-color: var(--accent);
}

.odds-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.odds-pill {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  color: var(--muted);
}

.hero-panel {
  background: rgba(8, 12, 32, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.countdown-grid .num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent-bright);
}
.countdown-grid .lbl {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
}

.spotlight {
  display: flex;
  gap: 14px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.spotlight-avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--card-elevated);
  border: 1px solid var(--line);
}
.spotlight-stat .big {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--text);
}

/* —— Sections —— */
.section { margin-top: 36px; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  gap: 12px;
}
.section-head h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.85rem;
  letter-spacing: 0.04em;
}
.section-head a {
  color: var(--accent-bright);
  font-size: 0.85rem;
  font-weight: 600;
}

/* News slider row */
.news-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.news-slider::-webkit-scrollbar { height: 6px; }
.news-slider::-webkit-scrollbar-thumb {
  background: var(--card-elevated);
  border-radius: 4px;
}

.news-slide {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
}

/* Cards */
.grid {
  display: grid;
  gap: 14px;
}
.grid.news { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.fixture { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.two { grid-template-columns: 1.35fr 1fr; }

.card {
  background: linear-gradient(165deg, var(--card-elevated) 0%, var(--card) 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.card-body { padding: 14px 14px 16px; }

.card img.cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.card .tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}
.tag.news { background: rgba(79, 140, 255, 0.25); color: #9ec5ff; }
.tag.article { background: rgba(55, 213, 124, 0.2); color: var(--ok); }

.meta { color: var(--muted); font-size: 0.78rem; margin-top: 8px; }
.title {
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.35;
}
.excerpt {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fixtures */
.fixture-card {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #161e4a 0%, #10163a 100%);
  padding: 14px 14px 16px;
  transition: box-shadow 0.18s;
}
.fixture-card.featured {
  background: linear-gradient(145deg, #5b4fd4 0%, #7367f0 40%, #4a6ae8 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px var(--accent-glow);
}
.league-pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.fixture-card.featured .league-pill { color: rgba(255, 255, 255, 0.75); }

.fixture-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.team-block {
  flex: 1;
  text-align: center;
  min-width: 0;
}
.team-logo {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
}
.fixture-card.featured .team-logo {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}
.team-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vs {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.1rem;
  color: var(--muted);
  flex-shrink: 0;
}
.fixture-card.featured .vs { color: rgba(255, 255, 255, 0.85); }

.fixture-meta {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.fixture-card.featured .fixture-meta { color: rgba(255, 255, 255, 0.85); }

/* Results strip */
.results-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.result-mini {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.result-mini .score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  margin: 8px 0;
  color: var(--accent-bright);
}

.list-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: 0; }
.badge-ok { color: var(--ok); font-size: 0.78rem; font-weight: 700; }

/* Sponsors */
.sponsors {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.sponsors h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  color: var(--muted);
}
.sponsor-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sponsor-tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.sponsor-tier.title-tier {
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.35), var(--card));
  border-color: rgba(115, 103, 240, 0.4);
  color: var(--text);
  font-weight: 700;
}

.footer {
  margin-top: 24px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 32px;
}
.footer-meta {
  margin-top: 4px;
  font-size: 0.82rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--text);
}

/* —— Tournament detail page —— */
.tournament-page {
  padding: 8px 0 56px;
}
.tournament-hero-inner {
  padding: 40px 32px 36px;
}
@media (max-width: 640px) {
  .tournament-hero-inner { padding: 28px 18px 24px; }
}
.tournament-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-top: 24px;
  padding: 0 4px 4px;
  border-bottom: 1px solid var(--line);
}
.tournament-tab {
  display: inline-block;
  padding: 14px 22px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.tournament-tab:hover { color: var(--text); }
.tournament-tab.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}
.tournament-panel {
  margin-top: 28px;
  padding: 8px 4px 24px;
}
.tournament-round-block {
  margin-bottom: 40px;
}
.tournament-round-block:last-child { margin-bottom: 0; }
.tournament-round-head {
  margin-bottom: 18px;
}
.tournament-round-head h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}
.fixture-round-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fixture-card--tournament {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.fixture-card--tournament.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(115, 103, 240, 0.15), var(--card));
  box-shadow: 0 0 0 1px rgba(115, 103, 240, 0.25);
}
.fixture-card--tournament .fixture-meta {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 12px;
  line-height: 1.45;
}
.fixture-card--tournament .fixture-teams {
  display: grid;
  grid-template-columns: 1fr minmax(72px, 100px) 1fr;
  align-items: center;
  gap: 8px 12px;
}
.fixture-card--tournament .team-name {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.fixture-card--tournament .fixture-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.65rem;
  text-align: center;
  color: var(--accent-bright);
}
.fixture-item--hidden {
  display: none !important;
}
.fixture-view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 24px;
  width: 100%;
  max-width: 420px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(18, 24, 58, 0.75);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fixture-view-more-btn:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(115, 103, 240, 0.12);
}
.tournament-table-wrap {
  overflow-x: auto;
  padding: 4px 2px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.35);
}

/* Standings tab — groups, overall, knockout */
.standings-block {
  margin-bottom: 40px;
}
.standings-intro {
  margin: 0 0 16px;
  font-size: 0.88rem;
}
.standings-group-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(115, 103, 240, 0.25);
  color: var(--accent-bright);
  border: 1px solid rgba(115, 103, 240, 0.35);
}
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.standings-table thead tr {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--line);
}
.standings-table th {
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
}
.standings-table th:not(:first-child):not(:nth-child(2)) {
  text-align: center;
}
.standings-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.standings-table td:not(:first-child):not(:nth-child(2)) {
  text-align: center;
}
.standings-team {
  font-weight: 600;
}
.standings-team-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: cover;
  margin-right: 10px;
  vertical-align: middle;
}
.standings-pts {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  color: var(--accent-bright);
}
.standings-row-advance {
  background: rgba(61, 214, 140, 0.08);
  box-shadow: inset 3px 0 0 var(--ok);
}
.standings-knockout .knockout-round-section {
  margin-bottom: 28px;
}
.knockout-round-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--text);
}
.knockout-matches {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.knockout-match-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px 16px;
}
.knockout-match-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.knockout-match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.knockout-side {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}
.knockout-side--away {
  text-align: right;
}
.knockout-score {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-bright);
  min-width: 72px;
  text-align: center;
}

/* —— News article (full-width hero + readable column) —— */
main.news-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.news-article-page {
  width: 100%;
}
.news-hero-media {
  width: 100%;
  max-height: min(70vh, 560px);
  overflow: hidden;
  background: #050814;
  border-bottom: 1px solid var(--line);
}
.news-hero-media--video {
  max-height: none;
  background: #000;
}
.news-hero-image {
  width: 100%;
  height: auto;
  max-height: min(70vh, 560px);
  object-fit: cover;
  display: block;
}
.news-hero-video {
  width: 100%;
  max-height: min(80vh, 720px);
  display: block;
  background: #000;
}
.news-article-inner {
  padding: 28px 0 48px;
}
.news-back-nav {
  margin-bottom: 20px;
}
.news-back-nav a {
  color: var(--accent-bright);
  font-size: 0.92rem;
  font-weight: 600;
}
.news-back-nav a:hover {
  text-decoration: underline;
}
.news-article-header {
  margin-bottom: 20px;
}
.news-article-title {
  margin: 12px 0 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.news-byline {
  margin-top: 10px;
}
.news-byline a {
  color: var(--accent-bright);
}
.news-engagement {
  margin: 24px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.news-like-form {
  display: inline-block;
  margin: 0;
}
.news-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.news-like-btn:hover {
  border-color: rgba(255, 80, 120, 0.45);
  background: var(--card-elevated);
}
.news-like-btn.is-liked {
  border-color: rgba(255, 80, 120, 0.55);
  color: #ff7a9a;
}
.news-like-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.news-like-count {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.15rem;
  color: var(--accent-bright);
}
.news-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #dfe5ff;
}
.news-article-content p {
  margin: 0 0 1.1em;
}
.news-flash-wrap {
  margin-bottom: 16px;
}
.news-flash {
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
}
.news-flash--success {
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
}
.news-flash--error {
  background: rgba(255, 120, 120, 0.1);
  border: 1px solid rgba(255, 120, 120, 0.35);
}
.news-flash--info {
  background: rgba(115, 103, 240, 0.12);
  border: 1px solid rgba(115, 103, 240, 0.3);
}
.news-comments {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.news-comments-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
}
.news-comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  max-width: 560px;
}
.news-field-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.news-field-label .optional {
  font-weight: 400;
  opacity: 0.85;
}
.news-input,
.news-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.6);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.news-textarea {
  resize: vertical;
  min-height: 100px;
}
.news-btn-primary {
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #5a4fd4);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}
.news-btn-primary:hover {
  filter: brightness(1.08);
}
.news-comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-comment-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.news-comment-meta {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.news-comment-body {
  color: var(--text);
  line-height: 1.65;
}
.news-comment-empty {
  list-style: none;
  padding: 8px 0 0;
}
.news-related {
  padding: 40px 0 56px;
  border-top: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.45);
}
.news-related-head {
  margin-bottom: 20px;
}
.news-related-grid {
  margin-bottom: 8px;
}
.news-card-has-video {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  background: linear-gradient(160deg, #141a45, #2a1f4a);
}
.news-card-video-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--line);
}
.news-view-all {
  margin: 20px 0 0;
  text-align: center;
}
.news-view-all a {
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.95rem;
}
.news-view-all a:hover {
  text-decoration: underline;
}
.news-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin: 32px 0 8px;
  font-size: 0.92rem;
}
.news-pager a {
  color: var(--accent-bright);
  font-weight: 600;
}
.news-pager .meta {
  color: var(--muted);
}

@media (max-width: 1024px) {
  .hero-inner,
  .grid.two { grid-template-columns: 1fr; }
  .grid.news,
  .grid.fixture,
  .results-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-tiers { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu { gap: 10px 14px; }
  .grid.news,
  .grid.fixture,
  .results-strip { grid-template-columns: 1fr; }
  .countdown-grid { grid-template-columns: repeat(2, 1fr); }
}

/* —— SporTalent welcome landing —— */
.welcome-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.welcome-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 10vw, 96px);
  border-bottom: 1px solid var(--line);
}
.welcome-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7, 11, 24, 0.92) 0%, rgba(18, 24, 58, 0.75) 50%, rgba(7, 11, 24, 0.95) 100%),
    url('../img/club-hero-default.jpg') center 30% / cover no-repeat;
  opacity: 0.55;
}
.welcome-hero-glow {
  position: absolute;
  width:  min(700px, 90vw);
  height: 400px;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.welcome-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.welcome-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.welcome-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.2rem, 12vw, 5.5rem);
  line-height: 0.95;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.welcome-accent {
  display: inline-block;
  padding: 0 12px;
  background: linear-gradient(120deg, var(--accent), var(--ok));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.welcome-lead {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.65;
}
.welcome-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.welcome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.welcome-btn-primary {
  background: linear-gradient(135deg, var(--accent), #5a4fd4);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.welcome-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
}
.welcome-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.welcome-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

.welcome-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin: -36px auto 48px;
  position: relative;
  z-index: 5;
  padding: 0 3%;
}
.welcome-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.welcome-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 140, 255, 0.45);
  box-shadow: 0 16px 48px rgba(115, 103, 240, 0.2);
}
.welcome-tile-highlight {
  background: linear-gradient(145deg, rgba(115, 103, 240, 0.35), var(--card));
  border-color: rgba(115, 103, 240, 0.5);
}
.welcome-tile-icon { font-size: 1.5rem; line-height: 1; }
.welcome-tile-label {
  font-weight: 700;
  font-size: 0.95rem;
}
.welcome-tile-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.welcome-section { padding: 48px 0; }
.welcome-section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.section-link {
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.92rem;
}
.section-link:hover { text-decoration: underline; }
.meta-accent { color: var(--accent-bright) !important; }

.grid-welcome-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.grid-welcome-cards-wide {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card-interactive {
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-color: rgba(115, 103, 240, 0.35);
}
.card-link-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.card-link-ok { color: var(--ok); }
.card-empty {
  grid-column: 1 / -1;
  opacity: 0.9;
}
.cover-gradient {
  min-height: 140px;
  background: linear-gradient(135deg, #1a2254 0%, #7367f0 50%, #3dd68c 100%);
}
.excerpt-pre { white-space: pre-line; margin-top: 10px; }

@media (max-width: 640px) {
  .welcome-quick {
    margin-top: -24px;
    grid-template-columns: repeat(2, 1fr);
  }
  .welcome-cta-row .welcome-btn {
    width: 100%;
  }
}

/* —— Shared inner pages (SporTalent) —— */
.site-messages { margin-top: 16px; }
.site-flash {
  padding: 12px 16px;
  border-radius: 10px;
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
}
.site-flash--success { background: rgba(61, 214, 140, 0.15); color: #a7f3d0; border: 1px solid rgba(61, 214, 140, 0.35); }
.site-flash--error { background: rgba(239, 68, 68, 0.12); color: #fecaca; border: 1px solid rgba(239, 68, 68, 0.35); }
.site-flash--info { background: rgba(115, 103, 240, 0.15); color: #e0e7ff; border: 1px solid rgba(115, 103, 240, 0.35); }

.site-page-hero {
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.site-back {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.site-back:hover { text-decoration: underline; }
.site-page-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  line-height: 1.05;
}
.site-page-lead {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.site-academy-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
}
.site-academy-badge img { border-radius: 50%; object-fit: cover; }

.site-content-section { padding: 32px 0 48px; }
.site-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.site-panel + .site-panel { margin-top: 18px; }
.site-panel-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
.site-prose { line-height: 1.75; color: #dfe5ff; white-space: pre-line; }
.site-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

/* —— Contact page —— */
.contact-main {
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-hero {
  position: relative;
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 100% at 20% 0%, rgba(115, 103, 240, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 80% at 90% 30%, rgba(61, 214, 140, 0.08), transparent 50%);
  pointer-events: none;
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.contact-hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  line-height: 1;
}
.contact-hero-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.contact-body {
  padding: 40px 3% 64px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}
.contact-info-card--academy {
  background: linear-gradient(160deg, rgba(115, 103, 240, 0.12) 0%, var(--card) 45%);
  border-color: rgba(115, 103, 240, 0.25);
}
.contact-info-card--muted {
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}
.contact-academy-logo {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.contact-academy-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-info-heading {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.65rem;
  letter-spacing: 0.03em;
  margin: 0 0 4px;
}
.contact-info-sub {
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-info-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-info-rows li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.45;
}
.contact-info-rows a {
  color: var(--accent-bright);
  font-weight: 600;
}
.contact-info-rows a:hover { text-decoration: underline; }
.contact-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(115, 103, 240, 0.15);
  border-radius: 10px;
  font-size: 1rem;
}
.contact-aside-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.contact-aside-link:hover { text-decoration: underline; }

.contact-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-help-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-help-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(115, 103, 240, 0.18);
  border-radius: 12px;
  font-size: 1.1rem;
}
.contact-help-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.contact-help-list p {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.contact-help-list a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.contact-response-note {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}
.contact-response-note strong { color: var(--text); }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
}
.contact-form-card-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.contact-form-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}
.contact-form-hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.contact-required { color: var(--accent-bright); }
.contact-optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 11, 24, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(154, 163, 201, 0.55);
}
.contact-field input:hover,
.contact-field textarea:hover {
  border-color: rgba(155, 140, 255, 0.35);
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(7, 11, 24, 0.85);
}
.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-field-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 4px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, #5a4fd4 50%, #4f46c8 100%);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 8px 28px var(--accent-glow);
}
.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--accent-glow);
  filter: brightness(1.06);
}
.contact-submit:active {
  transform: translateY(0);
}
.contact-submit-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s;
}
.contact-submit:hover .contact-submit-arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    order: 2;
  }
  .contact-form-card {
    order: 1;
  }
}

@media (max-width: 560px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 22px 18px 26px;
  }
  .contact-hero {
    padding: 36px 0 40px;
  }
}
.site-detail-list { margin: 0; padding: 0; list-style: none; }
.site-detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.site-detail-list li:last-child { border-bottom: 0; }
.site-detail-list span { color: var(--muted); }

.academy-hero-mini .hero-copy h1 { font-size: clamp(2rem, 5vw, 3rem); }
.academy-hero-mini .hero-actions .odds-row { display: none; }
.academy-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.academy-quick-links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(115, 103, 240, 0.2);
  border: 1px solid rgba(115, 103, 240, 0.4);
  font-size: 0.82rem;
  font-weight: 700;
}
.academy-quick-links a:hover { background: rgba(115, 103, 240, 0.35); }

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-badge--ok { background: rgba(61, 214, 140, 0.2); color: var(--ok); }
.status-badge--pending { background: rgba(115, 103, 240, 0.25); color: var(--accent-bright); }
.status-badge--rejected { background: rgba(127, 29, 29, 0.5); color: #fecaca; }
