/* ── official.css — ABAVA Official Page Styles ────────────── */

/* ── Scroll animations ───────────────────────────────────── */
.anim { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; }
.anim-up   { transform: translateY(32px); }
.anim-fade { transform: none; }
.anim-left { transform: translateX(-32px); }
.anim-right{ transform: translateX(32px); }
.anim-visible { opacity: 1 !important; transform: none !important; }

/* Hero word-by-word animation */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-word.visible { opacity: 1; transform: none; }
.official-gold { color: var(--gold); }

/* ── Official Navbar ─────────────────────────────────────── */
.official-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 30, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,197,24,0.1);
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0;
}
.official-navbar.scrolled {
  background: rgba(8, 11, 22, 0.97);
  box-shadow: 0 2px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(245,197,24,0.08);
  height: 52px;
}
.official-nav-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--nav-height); padding: 0 clamp(16px, 4vw, 40px);
}
/* Hamburger always hidden until phone breakpoint */
.official-nav-inner .navbar-hamburger { display: none; }
/* ── Phone (≤ 640px): hamburger on, nav links off ── */
@media (max-width: 640px) {
  .official-nav-inner .navbar-hamburger { display: flex !important; }
  .official-live-link { display: none !important; }
  .leagues-btn { display: none !important; }
}
.official-nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit; flex-shrink: 0;
}
.official-nav-title {
  font-family: var(--font-display); font-size: 1.15rem;
  font-weight: 900; color: var(--white); letter-spacing: 0.06em;
  line-height: 1;
}
.official-nav-sub {
  font-size: 0.6rem; color: var(--white-dim);
  text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; margin-top: 2px;
}
.official-nav-divider {
  width: 1px; height: 30px; background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.official-nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.official-nav-links a {
  font-size: 0.85rem; color: var(--white-dim); text-decoration: none;
  padding: 6px 10px; border-radius: 6px; transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.official-nav-links a:hover { color: var(--gold); background: rgba(245,197,24,0.08); }
/* ── Tablet (641px – 1280px): desktop-size elements, hamburger replaces nav links ── */
@media (min-width: 641px) and (max-width: 1280px) {
  .official-navbar .official-nav-inner {
    flex-wrap: nowrap !important;
    padding: 0 clamp(20px, 4vw, 40px) !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .official-nav-brand  { flex-shrink: 0 !important; gap: 10px !important; }
  .official-nav-title  { font-size: 1.1rem !important; white-space: nowrap !important; }
  .official-nav-sub    { font-size: 0.6rem !important; display: block !important; }
  .navbar-logo         { width: 36px !important; height: 36px !important; flex-shrink: 0 !important; }
  .navbar-flag         { width: 36px !important; height: 22px !important; flex-shrink: 0 !important; }
  .leagues-btn         { display: flex !important; flex-shrink: 0 !important; font-size: 0.83rem !important; padding: 7px 14px !important; }
  .leagues-dropdown-wrap { flex-shrink: 0 !important; }
  .official-nav-links  { display: none !important; }
  .official-nav-controls { flex-shrink: 0 !important; gap: 12px !important; margin-left: auto !important; }
  .official-live-link  { display: none !important; }
  #theme-toggle        { padding: 6px 10px !important; font-size: 0.9rem !important; }
  .navbar-hamburger    { display: flex !important; flex-shrink: 0 !important; }
}

/* ── Tablet landscape (641px – 1280px): override — show scrollable nav links ── */
@media (min-width: 641px) and (max-width: 1280px) and (orientation: landscape) {
  .official-nav-inner {
    gap: 8px !important;
    padding: 0 clamp(12px, 2vw, 24px) !important;
  }
  .official-nav-title { font-size: 0.95rem !important; }
  .official-nav-sub   { display: none !important; }
  .navbar-logo        { width: 30px !important; height: 30px !important; }
  .navbar-flag        { width: 24px !important; height: 16px !important; }
  .leagues-btn        { font-size: 0.75rem !important; padding: 5px 10px !important; }
  .official-nav-links {
    display: flex !important;
    flex: 1 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    margin-left: 6px !important;
    gap: 0 !important;
  }
  .official-nav-links::-webkit-scrollbar { display: none; }
  .official-nav-links a { font-size: 0.78rem !important; padding: 5px 8px !important; white-space: nowrap !important; }
  .official-live-link { display: none !important; }
  #theme-toggle       { padding: 5px 8px !important; font-size: 0.8rem !important; }
}

/* ── Leagues Dropdown ────────────────────────────────────── */
.leagues-dropdown-wrap { position: relative; }
.leagues-btn {
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold); border-radius: 10px;
  padding: 7px 14px; cursor: pointer; font-size: 0.83rem;
  font-weight: 700; display: flex; align-items: center; gap: 6px;
  transition: all 0.2s; white-space: nowrap;
}
.leagues-btn:hover { background: rgba(245,197,24,0.18); }
.leagues-arrow { transition: transform 0.2s; }
.leagues-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--navy-mid);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 12px; padding: 8px;
  min-width: 240px; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 1100;
  z-index: 200;
}
.leagues-dropdown.open {
  opacity: 1; pointer-events: auto; transform: none;
}
.leagues-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--white);
  transition: background 0.15s;
}
.leagues-item:hover { background: rgba(245,197,24,0.08); }
.leagues-item-icon { font-size: 1.4rem; flex-shrink: 0; }
.leagues-item-name { font-weight: 700; font-size: 0.88rem; }
.leagues-item-sub { font-size: 0.72rem; color: var(--white-dim); margin-top: 1px; }

/* ── Official Hero ───────────────────────────────────────── */
.official-hero {
  position: relative; min-height: 60vh;
  display: flex; align-items: center;
  padding: 40px 0 60px;
}
.official-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(245,197,24,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 10% 80%, rgba(14,24,58,0.9) 0%, transparent 70%),
              var(--navy);
}
.official-hero-balls { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.oh-ball { position: absolute; }
.oh-ball-1 { width: clamp(240px,35vw,480px); right: -80px; top: 50%; transform: translateY(-50%); animation: floatBall 8s ease-in-out infinite; }
.oh-ball-2 { width: clamp(180px,25vw,340px); right: 15%; bottom: -10%; animation: floatBall 11s ease-in-out infinite reverse; }
.oh-ball-3 { width: clamp(120px,18vw,240px); right: 42%; top: 5%; animation: floatBall 14s ease-in-out infinite; }
@keyframes floatBall {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(4deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}
.official-hero-inner { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: 1fr clamp(280px,34vw,420px); align-items: center; gap: clamp(32px,5vw,72px); }
.official-hero-content { min-width: 0; }

/* ── Hero Carousel ────────────────────────────────────────── */
#hero-carousel { position: relative; }
.hc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,197,24,0.22);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  animation: hcFadeIn 0.45s ease both;
}
.hc-card:hover { border-color: rgba(245,197,24,0.55); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(245,197,24,0.12); }
@keyframes hcFadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.hc-img { width:100%; height:180px; object-fit:cover; display:block; }
.hc-img-placeholder { width:100%; height:180px; background:linear-gradient(135deg,rgba(245,197,24,0.08),rgba(10,18,42,0.6)); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.hc-body { padding: 16px 18px 14px; }
.hc-type { display:inline-block; font-size:0.65rem; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; border-radius:20px; padding:3px 10px; margin-bottom:10px; }
.hc-type-spotlight { background:rgba(245,197,24,0.12); color:#f5c518; }
.hc-type-event     { background:rgba(99,179,237,0.12); color:#63b3ed; }
.hc-type-news      { background:rgba(104,211,145,0.12); color:#68d391; }
.hc-type-dev       { background:rgba(104,211,145,0.12); color:#68d391; }
.hc-title { font-weight:800; font-size:0.95rem; color:#f0f2f7; line-height:1.3; margin:0 0 6px; }
.hc-meta  { font-size:0.75rem; color:rgba(154,163,184,0.9); }
.hc-cta   { display:inline-block; margin-top:12px; font-size:0.75rem; font-weight:700; color:var(--gold); letter-spacing:0.04em; }
.hc-dots  { display:flex; gap:6px; justify-content:center; margin-top:12px; }
.hc-dot   { width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,0.2); cursor:pointer; transition:background 0.2s, transform 0.2s; }
.hc-dot.active { background:var(--gold,#f5c518); transform:scale(1.3); }
.official-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.25);
  border-radius: 20px; padding: 6px 16px;
  font-size: 0.78rem; color: var(--gold); font-weight: 600;
  letter-spacing: 0.04em; margin-bottom: 24px;
}
.official-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: 900; line-height: 1.0; letter-spacing: 0.04em;
  color: var(--white); margin-bottom: 20px;
}
@media (min-width: 1024px) {
  .official-hero-title { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
}
.official-hero-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--white-dim); line-height: 1.7; margin-bottom: 32px;
}
.official-hero-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.official-hero-stats {
  display: flex; gap: clamp(20px,4vw,48px); flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
}
.official-stat-num { font-size: clamp(1.6rem,3vw,2.4rem); font-weight:900; color:var(--gold); line-height:1; }
.official-stat-label { font-size: 0.72rem; color: var(--white-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }

/* ── Spotlight Cards ─────────────────────────────────────── */
.spotlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(220px, 22vw, 320px), 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.spotlight-card {
  background: var(--navy-light);
  border: var(--card-border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,197,24,0.4);
  box-shadow: 0 12px 32px rgba(245,197,24,0.1);
}
.spotlight-photo {
  width: 100%; height: 200px; overflow: hidden;
}
.spotlight-photo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform 0.3s; }
.spotlight-card:hover .spotlight-photo img { transform: scale(1.04); }
.spotlight-initials {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 900;
  background: rgba(245,197,24,0.1); color: var(--gold);
}
.spotlight-body { padding: 16px; }
.spotlight-award {
  display: inline-block;
  background: linear-gradient(135deg, rgba(245,197,24,0.2), rgba(245,197,24,0.1));
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--gold); border-radius: 20px;
  padding: 3px 12px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px;
}
.spotlight-name { font-size: 1.1rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.spotlight-team { font-size: 0.78rem; color: var(--gold); margin-bottom: 8px; }
.spotlight-desc { font-size: 0.82rem; color: var(--white-dim); line-height: 1.6; margin: 0; }

/* ── Event row ───────────────────────────────────────────── */
.event-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--navy-light);
  border: var(--card-border);
  border-radius: 12px; padding: 14px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.event-row:hover { border-color: rgba(245,197,24,0.3); transform: translateX(4px); }
.event-date-box {
  text-align: center; min-width: 44px;
  background: var(--gold); color: var(--navy);
  border-radius: 8px; padding: 6px 4px; flex-shrink: 0;
}

/* ── Dev card ────────────────────────────────────────────── */
.dev-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.dev-card:hover { border-color: rgba(245,197,24,0.35); transform: translateY(-3px); }
.dev-badge {
  font-size: clamp(0.7rem, 0.8vw, 0.8rem); font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(245,197,24,0.1); padding: 3px 8px; border-radius: 10px;
}

/* ── Affiliate cards ─────────────────────────────────────── */
.affiliate-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px 18px;
  text-decoration: none; color: var(--white);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.affiliate-card:hover {
  background: rgba(245,197,24,0.07);
  border-color: rgba(245,197,24,0.25);
  transform: translateY(-2px);
}

/* ── Official Footer ─────────────────────────────────────── */
.official-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(245,197,24,0.12);
  padding: clamp(32px, 5vw, 64px) 0 0;
}
.official-footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.official-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--white-dim); gap: 16px; flex-wrap: wrap; text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .official-hero-inner { grid-template-columns: 1fr; }
  #hero-carousel { max-width: 420px; }
}
@media (max-width: 768px) {
  .official-hero { min-height: auto; padding: calc(var(--nav-height) + 20px) 0 48px; }
  .oh-ball-1 { width: clamp(180px, 50vw, 260px); right: -40px; top: 25%; opacity: 0.55; }
  .oh-ball-2 { width: clamp(120px, 35vw, 180px); right: auto; left: -40px; bottom: 5%; opacity: 0.3; }
  .oh-ball-3 { display: none; }
  .official-hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .leagues-btn { font-size: 0.78rem; padding: 6px 12px; }
  .leagues-dropdown { min-width: 200px; }
}
@media (max-width: 480px) {
  .official-hero-actions { flex-direction: column; align-items: flex-start; }
  .official-hero-stats { gap: 16px; }
}

/* ============================================================
   OFFICIAL PAGE — Phase 1 Upgrade
   ============================================================ */

/* ── Hero title gradient ── */
.official-hero-title {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 40%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.official-hero-title .official-gold {
  background: linear-gradient(135deg, #f5c518 0%, #ffd93d 50%, #f5a623 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero background upgrade ── */
.official-hero-bg {
  background:
    radial-gradient(ellipse 70% 70% at 70% 30%, rgba(245,197,24,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(245,166,35,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(8,12,24,0.9) 0%, transparent 60%),
    linear-gradient(160deg, rgba(10,14,26,0.98) 0%, rgba(8,12,28,1) 100%);
}

/* ── Floating balls upgrade ── */
.oh-ball-1 svg { filter: drop-shadow(0 0 30px rgba(245,197,24,0.15)); }

/* ── Hero eyebrow upgrade ── */
.official-hero-eyebrow {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(245,197,24,0.08);
}

/* ── Stats upgrade ── */
.official-stat-num {
  background: linear-gradient(135deg, var(--gold) 0%, #ffd93d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Leagues button upgrade ── */
.leagues-btn {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 16px rgba(245,197,24,0.08);
  transition: all 0.25s ease;
}
.leagues-btn:hover {
  background: rgba(245,197,24,0.16);
  box-shadow: 0 0 24px rgba(245,197,24,0.18);
  transform: translateY(-1px);
}

/* ── Navbar upgrade ── */
.official-navbar {
  background: rgba(8, 11, 22, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03), 0 4px 24px rgba(0,0,0,0.3);
}
.official-navbar.scrolled {
  background: rgba(8, 11, 22, 0.96);
  box-shadow: 0 2px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(245,197,24,0.08);
}

/* ── Spotlight cards upgrade ── */
.spotlight-card {
  background: linear-gradient(145deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.spotlight-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 32px rgba(245,197,24,0.12);
}
.spotlight-award {
  background: linear-gradient(135deg, rgba(245,197,24,0.15), rgba(255,217,61,0.08));
}

/* ── Event rows upgrade ── */
.event-row {
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.event-row:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,197,24,0.15);
}

/* ── Dev cards upgrade ── */
.dev-card {
  background: linear-gradient(145deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
.dev-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,197,24,0.2);
}

/* ── Affiliate cards upgrade ── */
.affiliate-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.affiliate-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,197,24,0.2);
}

/* ── Footer upgrade ── */
.official-footer {
  background: linear-gradient(180deg, var(--navy-mid) 0%, rgba(6,8,18,1) 100%);
  border-top: 1px solid rgba(245,197,24,0.1);
}

/* ── Section title gradient (official page) ── */
.official-hero ~ .section .section-title,
.official-footer ~ * .section-title {
  background: linear-gradient(135deg, var(--gold) 0%, #ffd93d 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* ── Phase 2+3 Official Page ── */

/* Hero entrance animation */
.official-hero-content > * {
  animation: heroSlideUp 0.7s cubic-bezier(0.4,0,0.2,1) both;
}
.official-hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.official-hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.official-hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.official-hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.official-hero-content > *:nth-child(5) { animation-delay: 0.7s; }

/* Spotlight card entrance */
.spotlight-card {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s, box-shadow 0.35s;
}
.spotlight-card:active { transform: scale(0.97); }

/* Event row slide */
.event-row {
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s, box-shadow 0.25s;
}

/* Affiliate card entrance */
.affiliate-card {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.affiliate-card:active { transform: scale(0.97); }

/* Mobile official page */
@media (max-width: 600px) {
  .official-hero { padding: 90px 0 48px; }
  .official-hero-title { font-size: clamp(1.8rem, 9vw, 3rem); }
  .official-hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .official-hero-actions .btn { width: 100%; justify-content: center; }
  .official-hero-stats { gap: 16px; }
  .leagues-btn { font-size: 0.8rem; }
  .spotlights-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
}

/* Navbar link active state */
.official-nav-links a.active {
  color: var(--gold);
  background: rgba(245,197,24,0.08);
  border-radius: 6px;
}

/* Section title glow */
.official-hero ~ .section .section-title {
  text-shadow: 0 0 40px rgba(245,197,24,0.15);
}


/* ── Calendar ──────────────────────────────────────────────── */
.cal-filter-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.cal-filter-btn {
  padding: 7px 18px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent; color: var(--white-dim);
  transition: all 0.2s;
}
.cal-filter-btn:hover { border-color: rgba(245,197,24,0.35); color: var(--white); }
.cal-filter-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.cal-month-group { margin-bottom: 36px; }
.cal-month-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(245,197,24,0.15);
  display: flex; align-items: center; gap: 10px;
}
.cal-month-label::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.cal-events-list { display: flex; flex-direction: column; gap: 10px; }

.cal-event-row {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 14px 18px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), border-color 0.2s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.cal-event-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--row-color, var(--gold)); border-radius: 3px 0 0 3px;
}
.cal-event-row:hover {
  transform: translateX(4px);
  border-color: rgba(245,197,24,0.25);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.cal-date-box {
  min-width: 48px; border-radius: 10px; padding: 6px 4px;
  text-align: center; flex-shrink: 0;
}
.cal-day-name { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cal-day-num  { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.cal-event-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0; margin-top: 6px;
}
.cal-event-body { flex: 1; }
.cal-event-title { font-weight: 700; font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.cal-event-meta  { font-size: 0.78rem; color: var(--white-dim); line-height: 1.5; }
.cal-event-desc  { font-size: 0.75rem; color: var(--white-dim); margin-top: 4px; opacity: 0.8; }
.cal-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid; border-radius: 20px; padding: 2px 8px;
}
.cal-official-link {
  font-size: 0.72rem; color: var(--gold); text-decoration: none;
  border: 1px solid rgba(245,197,24,0.3); border-radius: 10px; padding: 2px 8px;
  transition: background 0.2s;
}
.cal-official-link:hover { background: rgba(245,197,24,0.1); }

/* ── National Teams ───────────────────────────────────────── */
.nt-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0;
}
.nt-tab {
  font-family: var(--font-display); font-size: 0.9rem;
  letter-spacing: 0.06em; padding: 10px 20px; cursor: pointer;
  color: var(--white-dim); border: none; background: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all 0.2s;
}
.nt-tab:hover  { color: var(--white); }
.nt-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.nt-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-top: 8px;
}
.nt-player-card {
  background: linear-gradient(145deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 16px 12px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), border-color 0.2s, box-shadow 0.3s;
}
.nt-player-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,197,24,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 20px rgba(245,197,24,0.08);
}
.nt-player-photo { width: 72px; height: 72px; margin: 0 auto 10px; }
.nt-player-photo img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.nt-player-initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffd93d);
  color: var(--navy); font-size: 1.6rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.nt-player-number { font-size: 0.65rem; color: var(--gold); font-weight: 700; margin-bottom: 4px; }
.nt-player-name   { font-weight: 700; font-size: 0.85rem; color: var(--white); margin-bottom: 3px; line-height: 1.3; }
.nt-player-pos    { font-size: 0.7rem; color: var(--gold); margin-bottom: 2px; }
.nt-player-club   { font-size: 0.68rem; color: var(--white-dim); }

.nt-result-row {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(12,18,36,0.95) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 14px 18px;
  margin-bottom: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.nt-result-row:hover { transform: translateX(4px); border-color: rgba(245,197,24,0.2); }
.nt-result-status { font-size: 1.4rem; flex-shrink: 0; }

@media (max-width: 600px) {
  .nt-roster-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr)); }
  .cal-event-row { padding: 12px 14px; }
}

/* ============================================================
   MOBILE FIXES — Official Page
   ============================================================ */

/* ── Phone navbar adjustments (≤ 640px) ── */
@media (max-width: 640px) {
  .navbar-hamburger { margin-left: 8px; }
  .official-nav-inner { padding: 0 14px; gap: 6px; }
  .official-nav-brand .official-nav-sub { display: none; }
  .official-nav-title { font-size: 0.88rem; }
  .navbar-flag { width: 22px; height: 14px; }
}

/* ── Hero mobile ── */
@media (max-width: 600px) {
  .official-hero { padding: 80px 0 40px; min-height: auto; }
  .official-hero-title { font-size: clamp(1.6rem, 8vw, 2.6rem); line-height: 1.05; }
  .official-hero-sub { font-size: 0.88rem; }
  .official-hero-actions .btn { width: 100%; justify-content: center; }
  .official-hero-stats { gap: 14px; padding-top: 20px; margin-top: 24px; }
  .official-stat-num { font-size: 1.6rem; }
  .oh-ball-1 { width: clamp(160px, 48vw, 240px); right: -40px; opacity: 0.5; }
  .oh-ball-2 { width: clamp(110px, 32vw, 160px); left: -30px; opacity: 0.25; }
  .oh-ball-3 { display: none; }
}

/* ── Spotlight grid mobile ── */
@media (max-width: 600px) {
  .spotlights-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  }
  .spotlight-photo { height: 160px; }
}

/* ── Calendar mobile ── */
@media (max-width: 600px) {
  .cal-event-row { padding: 12px; gap: 10px; }
  .cal-date-box { min-width: 40px; }
  .cal-day-num { font-size: 1.2rem; }
  .cal-event-title { font-size: 0.88rem; }
  .cal-event-meta { font-size: 0.72rem; }
  .cal-filter-tabs { gap: 6px; }
  .cal-filter-btn { padding: 6px 12px; font-size: 0.75rem; }
}

/* ── National team mobile ── */
@media (max-width: 600px) {
  .nt-tabs { gap: 4px; }
  .nt-tab { font-size: 0.75rem; padding: 8px 12px; }
  .nt-roster-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr));
  }
  .nt-player-photo, .nt-player-photo img, .nt-player-initials { width: 56px; height: 56px; }
  .nt-result-row { padding: 12px; }
}

/* ── Affiliate cards mobile ── */
@media (max-width: 600px) {
  .affiliate-card { padding: 12px 14px; gap: 10px; }
}

/* ── Footer mobile ── */
@media (max-width: 600px) {
  .official-footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .official-footer-bottom { flex-direction: column; align-items: center; gap: 8px; font-size: 0.72rem; }
}

/* ── Official navbar controls wrapper ── */
.official-nav-controls {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0; margin-left: auto;
}

/* ── Official navbar — Phone portrait (≤ 640px) ── */
@media (max-width: 640px) and (orientation: portrait) {
  .official-navbar .official-nav-inner {
    flex-wrap: nowrap !important;
    height: 56px !important;
    padding: 0 3vw !important;
    align-items: center !important;
    gap: 2vw !important;
    overflow: visible !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .official-nav-brand  { flex: 1 1 0; min-width: 0; gap: 2vw !important; }
  .official-nav-title  { font-size: clamp(0.82rem, 4vw, 1rem) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .official-nav-sub    { display: none !important; }
  .navbar-logo         { width: clamp(26px, 7vw, 36px) !important; height: clamp(26px, 7vw, 36px) !important; flex-shrink: 0; }
  .navbar-flag         { width: clamp(18px, 5vw, 28px) !important; height: auto !important; flex-shrink: 0; }
  .leagues-btn         { display: flex !important; flex-shrink: 0; font-size: clamp(0.65rem, 2.5vw, 0.78rem) !important; padding: 5px clamp(6px, 2vw, 10px) !important; }
  .leagues-dropdown-wrap { flex-shrink: 0; }
  .official-nav-links  { display: none !important; }
  .official-nav-controls { flex-shrink: 0; gap: 2vw !important; }
  #theme-toggle        { display: none !important; }
  .navbar-hamburger    { display: flex !important; flex-shrink: 0; }
}

/* ── Official navbar — Landscape mobile ── */
@media (orientation: landscape) and (max-width: 900px) {
  .official-navbar .official-nav-inner {
    flex-wrap: nowrap !important;
    height: 48px !important;
    padding: 0 12px !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: visible !important;
  }
  .official-nav-brand  { flex-shrink: 0; gap: 5px !important; }
  .official-nav-title  { font-size: 0.78rem !important; white-space: nowrap; }
  .official-nav-sub    { display: none !important; }
  .navbar-logo         { width: 24px !important; height: 24px !important; font-size: 0.52rem !important; }
  .navbar-flag         { width: 18px !important; height: 12px !important; }
  /* Show both dropdown buttons alongside scrollable nav links */
  .leagues-btn         { display: flex !important; flex-shrink: 0; font-size: 0.68rem !important; padding: 4px 8px !important; }
  .leagues-dropdown-wrap { flex-shrink: 0; }
  .official-nav-links  {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    flex: 1 !important;
    margin: 0 6px !important;
  }
  .official-nav-links::-webkit-scrollbar { display: none; }
  .official-nav-links a { font-size: 0.75rem !important; padding: 4px 8px !important; white-space: nowrap !important; }
  .official-nav-controls { flex-shrink: 0; display: flex; align-items: center; gap: 4px; }
  #theme-toggle        { padding: 4px 7px !important; font-size: 0.78rem !important; }
  .navbar-hamburger    { display: none !important; }
}

/* ── National Teams filter buttons ── */
.nt-filter-btn {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-dim);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.nt-filter-btn:hover {
  border-color: rgba(245,197,24,0.4);
  color: var(--white);
}
.nt-filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* ── Live Updates dropdown item ─────────────────────────────── */
.leagues-item-live {
  border-top: 1px solid rgba(245,197,24,0.15);
  margin-top: 4px;
}
.leagues-item-live:hover { background: rgba(245,197,24,0.12); }

.live-dot-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  flex-shrink: 0;
  position: relative;
}
.live-dot-pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(239,68,68,0.35);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2);   opacity: 0; }
}

/* ── Spotlight section grid ─────────────────────────────────── */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 640px) {
  .spotlight-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── NT Roster redesign ──────────────────────────────────────── */
.nt-roster-grid {
  display: block !important;
  gap: 0;
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE AUDIT FIXES — Official navbar & pages
   ============================================================ */

/* Dropdowns never extend past the viewport edge */
.leagues-dropdown { max-width: calc(100vw - 24px); }

/* Touch targets for nav controls on touch devices.
   .admin-nav-icon is excluded — it is display:none below 1101px and
   must never be resurrected by the display/size rules here. */
@media (pointer: coarse) {
  .official-navbar a:not(.admin-nav-icon),
  .official-navbar button:not(.admin-nav-icon),
  .admin-hamburger, .nav-mobile-close {
    min-height: 44px; min-width: 44px;
  }
  .official-navbar a:not(.admin-nav-icon) { display: inline-flex; align-items: center; }
}

/* ── Intl event details rich-text rendering ─────────────── */
.intl-event-details ul { list-style: disc; padding-left: 1.4em; margin: 0.4em 0; }
.intl-event-details ol { list-style: decimal; padding-left: 1.4em; margin: 0.4em 0; }
.intl-event-details li { margin-bottom: 0.25em; }
.intl-event-details p  { margin: 0 0 0.6em; }
.intl-event-details strong { font-weight: 700; color: #fff; }
.intl-event-details em { font-style: italic; }

/* ── Desktop nav compression: 1281px+ ───────────────────────────
   Container is ≤1400px across all desktop widths — compressed
   px-based spacing keeps nav content within the container even
   as html font-size scales up at 1920px (18px) and 2560px (21px).
   ─────────────────────────────────────────────────────────────── */
/* At 1024px landscape the nav can be tight — tighten links to ensure Contact fits */
@media (min-width: 960px) and (max-width: 1100px) and (orientation: landscape) {
  .official-nav-links a { font-size: 0.72rem !important; padding: 4px 6px !important; }
  .official-nav-inner { gap: 6px !important; }
  .leagues-btn, .officials-btn { font-size: 0.72rem !important; padding: 5px 9px !important; }
}
@media (min-width: 1281px) {
  .official-nav-inner { gap: 8px !important; }
  .official-nav-links { gap: 0 !important; }
  .official-nav-links a { padding: 5px 5px !important; }
  .leagues-btn { padding: 6px 10px !important; }
}
/* Tighter at 1501px–2559px where html font-size is 18px */
@media (min-width: 1501px) and (max-width: 2559px) {
  .official-nav-inner { gap: 5px !important; }
  .official-nav-links a { padding: 4px 4px !important; }
  .leagues-btn { padding: 5px 8px !important; }
}
/* Tightest at 2560px+ where html font-size is 21px */
@media (min-width: 2560px) {
  .official-nav-inner { gap: 4px !important; }
  .official-nav-links a { padding: 3px 3px !important; }
  .leagues-btn { padding: 4px 7px !important; }
}
