/* ==========================================================================
   NEWPORT PANTHERS FC - CINEMATIC THEME & DESIGN SYSTEM
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wdth,wght@0,62..125,100..900;1,62..125,100..900&display=swap');

:root {
  --panther-gold: #D6B13C;
  --panther-gold-light: #FCE68A;
  --panther-gold-dark: #9B7B1E;
  --panther-gold-glow: rgba(214, 177, 60, 0.45);
  --panther-gold-subtle: rgba(214, 177, 60, 0.12);
  --panther-black: #000000;
  --panther-dark: #070709;
  --panther-carbon: #0E0E12;
  --panther-surface: #141418;
  --panther-surface-glass: rgba(14, 14, 18, 0.78);
  --panther-border: rgba(214, 177, 60, 0.22);
  --panther-border-hover: rgba(214, 177, 60, 0.7);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ==========================================================================
     GLOBAL UNIFIED DIMENSION SYSTEM (HOME PAGE STANDARD)
     All pages and sections reference these tokens so layout edits apply uniformly.
     ========================================================================== */
  --site-gutter: clamp(20px, 4vw, 56px);
  --site-section-py: clamp(80px, 9vw, 120px);
  --site-section-compact-pb: 100px;
  --site-section-hero-py: clamp(140px, 16vw, 190px);
  --site-grid-gap: 24px;
  --site-split-gap: clamp(32px, 5vw, 64px);
  --site-container-max: 100%;
}

html, body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(214, 177, 60, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 15% 45%, rgba(214, 177, 60, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(214, 177, 60, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  color: #FFFFFF;
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

* { box-sizing: border-box; }
a { color: #D6B13C; text-decoration: none; transition: var(--transition-smooth); }
a:hover { color: #FFF; }
input, select, textarea, button { font-family: inherit; }

/* ==========================================================================
   GLOBAL CINEMATIC LAYOUT ENGINE
   Enforces consistent dimensions, gutters and responsive scaling across all screens.
   ========================================================================== */
.cinematic-page {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Full-Width Section using unified home page gutter and vertical rhythm */
.cinematic-section {
  width: 100%;
  box-sizing: border-box;
  padding: var(--site-section-py) var(--site-gutter);
  position: relative;
}

/* Compact Full-Width Section (e.g. grids immediately following subpage hero) */
.cinematic-section-compact {
  width: 100%;
  box-sizing: border-box;
  padding: 0 var(--site-gutter) var(--site-section-compact-pb);
  position: relative;
}

/* Highlight / Contrasting Full-Width Section */
.cinematic-section-alt {
  width: 100%;
  box-sizing: border-box;
  padding: var(--site-section-py) var(--site-gutter);
  position: relative;
  background: rgba(14, 14, 18, 0.45);
  border-top: 1px solid rgba(214, 177, 60, 0.18);
}

/* Two-Column Cinematic Split Grid (Matches "More Than A Team" and "Closing" on Home Page) */
.cinematic-split-grid {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: var(--site-split-gap);
  align-items: center;
}

.cinematic-split-grid.align-start {
  align-items: flex-start;
}

/* Fluid Auto-fit Responsive Card Grids (Squad, Values, Partners, Posts) */
.cinematic-grid-cards {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--site-grid-gap);
}

.cinematic-grid-squad {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: var(--site-grid-gap);
}

.cinematic-grid-partners {
  width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--site-grid-gap);
}

/* Unified Section Header (Title + CTA / Subtitle) */
.cinematic-section-header {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

/* Content Width for Single Reading Articles */
.cinematic-article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--site-section-hero-py) var(--site-gutter) 100px;
  box-sizing: border-box;
}

/* Cinematic Intro Sequence Styles */
.cinematic-intro-wrap {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  animation: introSequence 3.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.cinematic-intro-wrap.intro-dismissed {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}
@keyframes introSequence {
  0% { opacity: 1; visibility: visible; }
  75% { opacity: 1; visibility: visible; }
  92% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.intro-particles {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(2px 2px at 20% 30%, #D6B13C 50%, transparent),
    radial-gradient(3px 3px at 40% 70%, rgba(214,177,60,0.8) 50%, transparent),
    radial-gradient(2px 2px at 60% 20%, #D6B13C 50%, transparent),
    radial-gradient(3px 3px at 80% 60%, rgba(252,230,138,0.7) 50%, transparent);
  animation: particleFloat 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes particleFloat {
  0% { transform: scale(1) translateY(0); opacity: 0.6; }
  100% { transform: scale(1.08) translateY(-10px); opacity: 0.9; }
}

.intro-radial-aura {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 177, 60, 0.35) 0%, rgba(214, 177, 60, 0.08) 45%, transparent 70%);
  filter: blur(50px);
  animation: auraPulse 3s ease-in-out infinite;
}
@keyframes auraPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.95; }
}

.intro-crest-wrap {
  position: relative;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 1;
  animation: crestDramaticEntrance 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.intro-crest-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(214, 177, 60, 0.8));
}
@keyframes crestDramaticEntrance {
  0% { opacity: 0; transform: scale(0.35) rotate(-10deg); filter: brightness(0.2); }
  25% { opacity: 1; transform: scale(1.08) rotate(1deg); filter: brightness(1.4); }
  45% { transform: scale(1) rotate(0deg); filter: brightness(1); }
  85% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.12); }
}

.intro-text-wrap {
  text-align: center;
  margin-top: 24px;
  animation: textReveal 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes textReveal {
  0%, 20% { opacity: 0; transform: translateY(24px); }
  40% { opacity: 1; transform: translateY(0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-16px); }
}

.intro-kicker {
  font-size: clamp(11px, 1.4vw, 13px);
  color: #D6B13C;
  letter-spacing: 0.28em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.intro-title {
  font-size: clamp(28px, 5.2vw, 56px);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #FFFFFF 0%, #FCE68A 30%, #D6B13C 70%, #9B7B1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-shadow: 0 0 30px rgba(214, 177, 60, 0.5);
}
.intro-motto {
  margin-top: 8px;
  font-size: clamp(12px, 1.8vw, 16px);
  color: #DDD;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
.intro-prompt {
  margin-top: 32px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #D6B13C;
  text-transform: uppercase;
  font-weight: 700;
  animation: auraPulse 2s infinite ease-in-out;
}
.intro-skip-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: rgba(20, 20, 24, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 177, 60, 0.35);
  color: #D6B13C;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.intro-skip-btn:hover {
  background: #D6B13C;
  color: #000;
  box-shadow: 0 0 20px rgba(214, 177, 60, 0.6);
  transform: scale(1.05);
}

/* Page Transitions */
.cinematic-page {
  animation: cinematicFadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cinematicFadeIn {
  0% { opacity: 0; transform: translateY(22px) scale(0.995); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Floating Glassmorphism Header */
.cinematic-header {
  position: fixed;
  top: 16px;
  left: clamp(12px, 4vw, 48px);
  right: clamp(12px, 4vw, 48px);
  z-index: 1000;
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(214, 177, 60, 0.25);
  border-radius: 18px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(214, 177, 60, 0.08);
  transition: var(--transition-smooth);
}
.cinematic-header:hover {
  border-color: rgba(214, 177, 60, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.9), 0 0 35px rgba(214, 177, 60, 0.15);
}
.brand-crest-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.brand-crest-link:hover { transform: scale(1.04); }
.brand-crest-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(214, 177, 60, 0.4));
  transition: var(--transition-smooth);
}
.brand-crest-link:hover .brand-crest-img {
  filter: drop-shadow(0 0 18px rgba(214, 177, 60, 0.8));
}
.brand-title-wrap { display: flex; flex-direction: column; }
.brand-name {
  font-size: 17px;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFF;
  line-height: 1;
}
.brand-badge {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D6B13C;
  font-weight: 700;
  margin-top: 3px;
}

.cinematic-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cinematic-nav-item {
  color: #DDD;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: var(--transition-smooth);
}
.cinematic-nav-item:hover {
  color: #FFF;
  background: rgba(214, 177, 60, 0.1);
}
.cinematic-nav-item.active {
  color: #D6B13C;
  background: rgba(214, 177, 60, 0.14);
}
.cinematic-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: #D6B13C;
  box-shadow: 0 0 8px #D6B13C;
  border-radius: 2px;
}

/* Mobile Nav Toggle & Drawer */
.cinematic-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mobile-nav-toggle {
  display: none;
  background: rgba(214, 177, 60, 0.12);
  border: 1px solid rgba(214, 177, 60, 0.4);
  color: #D6B13C;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav-toggle:hover,
.mobile-nav-toggle.open {
  background: #D6B13C;
  color: #000;
  border-color: #D6B13C;
  box-shadow: 0 0 18px rgba(214, 177, 60, 0.5);
}

.mobile-nav-drawer {
  position: fixed;
  top: 76px;
  left: clamp(10px, 3vw, 36px);
  right: clamp(10px, 3vw, 36px);
  background: rgba(12, 12, 16, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(214, 177, 60, 0.35);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 999;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 35px rgba(214, 177, 60, 0.15);
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
.mobile-nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-drawer a {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #DDD;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
}
.mobile-nav-drawer a:hover,
.mobile-nav-drawer a:active {
  color: #FFF;
  background: rgba(214, 177, 60, 0.12);
  border-color: rgba(214, 177, 60, 0.3);
  transform: translateX(3px);
}
.mobile-nav-drawer a.active {
  color: #D6B13C;
  background: rgba(214, 177, 60, 0.16);
  border-color: rgba(214, 177, 60, 0.5);
  box-shadow: 0 0 14px rgba(214, 177, 60, 0.15);
}

.mobile-nav-drawer .drawer-match-cta {
  background: linear-gradient(135deg, #FCE68A 0%, #D6B13C 50%, #9B7B1E 100%) !important;
  color: #000 !important;
  font-weight: 900 !important;
  letter-spacing: 0.12em !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  text-align: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(214, 177, 60, 0.35) !important;
  margin-bottom: 6px !important;
  transform: none !important;
}
.mobile-nav-drawer .drawer-match-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 22px rgba(214, 177, 60, 0.55) !important;
}

.mobile-nav-drawer .drawer-intro-btn {
  background: rgba(214, 177, 60, 0.08);
  border: 1px solid rgba(214, 177, 60, 0.25);
  color: #D6B13C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
}
.mobile-nav-drawer .drawer-intro-btn:hover {
  background: rgba(214, 177, 60, 0.18);
  border-color: #D6B13C;
  color: #FFF;
}

/* Responsive Navigation Breakpoints */
@media (max-width: 1180px) {
  .cinematic-nav { display: none !important; }
  .mobile-nav-toggle { display: inline-flex !important; }
}

@media (max-width: 900px) {
  .cinematic-header .btn-intro-replay { display: none !important; }
}

@media (max-width: 640px) {
  .cinematic-header {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }
  .brand-crest-img {
    width: 38px !important;
    height: 38px !important;
  }
  .brand-name {
    font-size: 15px !important;
    letter-spacing: 0.09em !important;
  }
  .brand-badge {
    font-size: 9px !important;
    letter-spacing: 0.14em !important;
  }
  .cinematic-header-actions {
    gap: 8px !important;
  }
  .cinematic-header .btn-gold-cinematic {
    display: none !important;
  }
  .cinematic-header .btn-intro-replay {
    display: none !important;
  }
  .mobile-nav-drawer {
    top: 66px !important;
    left: 10px !important;
    right: 10px !important;
    padding: 14px !important;
    max-height: calc(100vh - 78px) !important;
  }
}

/* Button System */
.btn-gold-cinematic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FCE68A 0%, #D6B13C 50%, #9B7B1E 100%);
  color: #000;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(214, 177, 60, 0.35);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-gold-cinematic::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}
.btn-gold-cinematic:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(214, 177, 60, 0.6);
  color: #000;
}
.btn-gold-cinematic:hover::after { left: 130%; }

.btn-glass-cinematic {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 14, 18, 0.6);
  backdrop-filter: blur(12px);
  color: #FFF;
  border: 1px solid rgba(214, 177, 60, 0.35);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-glass-cinematic:hover {
  border-color: #D6B13C;
  color: #D6B13C;
  background: rgba(214, 177, 60, 0.12);
  box-shadow: 0 0 20px rgba(214, 177, 60, 0.25);
  transform: translateY(-2px);
}
.btn-intro-replay {
  background: rgba(214, 177, 60, 0.12);
  border: 1px solid rgba(214, 177, 60, 0.3);
  color: #D6B13C;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-intro-replay:hover {
  background: #D6B13C;
  color: #000;
  box-shadow: 0 0 16px rgba(214, 177, 60, 0.4);
}

/* Hero Section Elements */
.hero-bg-zoom {
  animation: heroKenBurns 22s infinite alternate ease-in-out;
}
@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}
.hero-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 177, 60, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D6B13C;
  font-weight: 800;
  box-shadow: 0 0 20px rgba(214, 177, 60, 0.2);
}
.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D6B13C;
  box-shadow: 0 0 10px #D6B13C;
  animation: auraPulse 2s infinite ease-in-out;
}
.hero-title-cinematic {
  position: relative;
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.88;
  margin: 0;
  font-size: clamp(48px, 8.4vw, 118px);
  letter-spacing: -0.01em;
  color: #FFF;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}
.hero-title-gold {
  background: linear-gradient(135deg, #FFF 0%, #FCE68A 30%, #D6B13C 70%, #9B7B1E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(214, 177, 60, 0.45));
}
.hero-subtitle-cinematic {
  margin: 16px auto 0;
  max-width: 680px;
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.5;
  color: #DDD;
  text-wrap: pretty;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Stats HUD Banner */
.stats-hud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(214, 177, 60, 0.25);
  border: 1px solid rgba(214, 177, 60, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(214, 177, 60, 0.1);
}
.stats-hud-item {
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(14px);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.stats-hud-item:hover {
  background: rgba(214, 177, 60, 0.12);
  transform: translateY(-2px);
}
.stats-hud-item:hover .stats-hud-num {
  text-shadow: 0 0 24px rgba(214, 177, 60, 0.8);
}
.stats-hud-item:hover .stats-hud-label {
  color: #FFF;
}
.stats-hud-num {
  font-size: clamp(32px, 3.8vw, 50px);
  font-weight: 900;
  font-stretch: 125%;
  color: #D6B13C;
  line-height: 1;
  text-shadow: 0 0 16px rgba(214, 177, 60, 0.4);
}
.stats-hud-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #AAA;
  font-weight: 600;
}

/* Live Broadcast Strip */
.hud-match-strip {
  background: rgba(8, 8, 12, 0.92);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(214, 177, 60, 0.25);
  border-bottom: 1px solid rgba(214, 177, 60, 0.25);
  color: #FFF;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px 40px;
  padding: 24px var(--site-gutter);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9);
}
.hud-match-card {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: #FFF;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(214, 177, 60, 0.15);
  border-radius: 14px;
  transition: var(--transition-smooth);
}
/* Homepage HUD/ticker pieces stay hidden until genuine data is available */
.stats-hud-item[hidden],
.hud-match-strip[hidden],
.hud-match-card[hidden] {
  display: none !important;
}
.hud-match-card:hover {
  background: rgba(214, 177, 60, 0.08);
  border-color: rgba(214, 177, 60, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 20px rgba(214, 177, 60, 0.15);
}
.live-beacon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D6B13C;
  font-weight: 800;
}
.live-beacon-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5CD67A;
  box-shadow: 0 0 12px #5CD67A;
  animation: beaconPulse 1.8s infinite;
}
@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Futuristic HUD Image Frame */
.hud-frame-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(214, 177, 60, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(214, 177, 60, 0.12);
}
.hud-frame-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hud-corner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #D6B13C;
  pointer-events: none;
  z-index: 5;
}
.hud-tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.hud-tr { top: 8px; right: 8px; border-left: none; border-bottom: none; }
.hud-bl { bottom: 8px; left: 8px; border-right: none; border-top: none; }
.hud-br { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* Values Cards */
.value-card-cinematic {
  background: #0D0D11;
  border: 1px solid rgba(214, 177, 60, 0.18);
  border-radius: 14px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
}
.value-card-cinematic:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 177, 60, 0.6);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 25px rgba(214, 177, 60, 0.2);
}
.partner-page-card {
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 40px 28px 32px;
  border-radius: 24px;
}
.partner-page-card:hover .partner-marquee-icon {
  border-color: #D6B13C;
  transform: scale(1.08) rotate(3deg);
}
.partner-page-icon {
  width: 140px;
  height: 140px;
}
.value-card-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D6B13C, transparent);
}
.value-card-name {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  color: #D6B13C;
  font-size: 24px;
  letter-spacing: 0.05em;
}
.value-card-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #CCC;
  margin: 0;
}

/* Partner Showcase Cards */
.partner-card-cinematic {
  background: #0E0E12;
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 14px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-decoration: none;
  color: #EEE;
  transition: var(--transition-smooth);
}
.partner-card-cinematic:hover {
  border-color: #D6B13C;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(214, 177, 60, 0.25);
  color: #FFF;
}
.partner-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #AAA;
  text-align: center;
  margin: 0;
}
.partner-logo-wrap {
  width: 100%;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(214, 177, 60, 0.15);
}
.partner-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.partner-card-cinematic:hover .partner-logo-wrap img {
  transform: scale(1.08);
}
.partner-card-name {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: #EEE;
}
.partner-card-role {
  font-size: 11px;
  color: #D6B13C;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Partner Cards Row (each partner shown once, centered and wrapping) */
.partner-marquee-container {
  width: 100%;
  padding: 8px var(--site-gutter);
}

.partner-marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Vertical partner card: icon on top, then name, then tag */
.partner-marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: 1 1 260px;
  max-width: 320px;
  background: rgba(14, 14, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(214, 177, 60, 0.28);
  border-radius: 24px;
  padding: 36px 24px 32px;
  text-decoration: none;
  text-align: center;
  color: #FFF;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.partner-marquee-item:hover {
  border-color: #D6B13C;
  transform: translateY(-3px) scale(1.02);
  background: rgba(24, 24, 32, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(214, 177, 60, 0.35);
  color: #FFF;
}

.partner-marquee-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(214, 177, 60, 0.45);
  background: #000;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(214, 177, 60, 0.25);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.partner-marquee-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-marquee-item:hover .partner-marquee-icon {
  border-color: #D6B13C;
  transform: scale(1.08) rotate(3deg);
}

.partner-marquee-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.partner-marquee-name {
  font-size: 20px;
  font-weight: 900;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: #FFF;
  overflow-wrap: anywhere;
}

.partner-marquee-role {
  font-size: 12px;
  color: #D6B13C;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .partner-marquee-track {
    gap: 12px;
  }
  .partner-marquee-item {
    flex: 1 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
    padding: 22px 12px 20px;
    gap: 14px;
  }
  .partner-marquee-icon {
    width: 84px;
    height: 84px;
  }
  .partner-marquee-name {
    font-size: 16px;
  }
  .partner-marquee-role {
    font-size: 10px;
  }
}

/* EA FC Holographic Squad Cards */
.squad-card-cinematic {
  background: linear-gradient(180deg, #121217 0%, #0A0A0E 100%);
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-bounce);
  cursor: pointer;
}
.squad-card-cinematic:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(214, 177, 60, 0.75);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.9), 0 0 35px rgba(214, 177, 60, 0.3);
}
.squad-img-wrap {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 30%, #1A1A22 0%, #08080A 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}
.squad-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.squad-card-cinematic .card-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(214, 177, 60, 0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.squad-card-cinematic:hover .card-sheen {
  transform: translateX(100%);
}

/* Position Filter Chips */
.filter-chip-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 36px;
}
.filter-chip {
  background: rgba(14, 14, 18, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 177, 60, 0.2);
  color: #AAA;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.filter-chip:hover {
  color: #FFF;
  border-color: rgba(214, 177, 60, 0.5);
  background: rgba(214, 177, 60, 0.1);
}
.filter-chip.active {
  background: #D6B13C;
  color: #000;
  border-color: #D6B13C;
  box-shadow: 0 0 16px rgba(214, 177, 60, 0.4);
}

/* Player Spotlight Modal */
#player-spotlight-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#player-spotlight-modal.hidden {
  display: none !important;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.spotlight-box {
  background: #0E0E14;
  border: 1px solid rgba(214, 177, 60, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px rgba(214, 177, 60, 0.3);
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  padding: 32px;
}
.spotlight-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(214, 177, 60, 0.3);
  color: #D6B13C;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition-smooth);
}
.spotlight-close-btn:hover {
  background: #D6B13C;
  color: #000;
  transform: rotate(90deg);
}

/* Toast Notifications */
.cinematic-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #D6B13C;
  color: #000;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(214, 177, 60, 0.4);
  z-index: 10000;
  display: none;
}
.cinematic-toast.show {
  display: block;
  animation: toastFade 2.4s ease forwards;
}
@keyframes toastFade {
  0% { opacity: 0; transform: translate(-50%, 15px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  85% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -10px); }
}

/* Footer Styling */
.cinematic-footer {
  width: 100%;
  box-sizing: border-box;
  padding: 80px var(--site-gutter) 40px;
  background: linear-gradient(180deg, #000000 0%, #050508 100%);
  border-top: 1px solid rgba(214, 177, 60, 0.18);
  display: flex;
  flex-direction: column;
  gap: 70px;
}

/* Subpage Hero Banner */
.subpage-hero {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: var(--site-section-hero-py) var(--site-gutter) 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(214, 177, 60, 0.12) 0%, transparent 65%);
}
.subpage-title {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(40px, 6vw, 76px);
  text-transform: uppercase;
  margin: 12px 0 8px;
  line-height: 0.95;
}
.subpage-subtitle {
  max-width: 650px;
  font-size: clamp(16px, 1.8vw, 19px);
  color: #BBB;
  line-height: 1.5;
  margin: 0;
}

/* Form Elements */
.cinematic-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cinematic-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D6B13C;
}
.cinematic-input, .cinematic-select, .cinematic-textarea {
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid rgba(214, 177, 60, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  color: #FFF;
  font-size: 15px;
  transition: var(--transition-smooth);
}
.cinematic-input:focus, .cinematic-select:focus, .cinematic-textarea:focus {
  outline: none;
  border-color: #D6B13C;
  box-shadow: 0 0 15px rgba(214, 177, 60, 0.35);
  background: rgba(20, 20, 26, 0.95);
}

/* Cinematic League Table */
.table-container {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid rgba(214, 177, 60, 0.2);
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8);
}
.cinematic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.cinematic-table th {
  background: rgba(214, 177, 60, 0.12);
  color: #D6B13C;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(214, 177, 60, 0.25);
}
.cinematic-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
  color: #DDD;
}
.cinematic-table tr:hover td {
  background: rgba(214, 177, 60, 0.05);
}
.cinematic-table tr.panthers-row td {
  background: rgba(214, 177, 60, 0.14);
  color: #FFF;
  font-weight: 800;
  border-top: 1px solid rgba(214, 177, 60, 0.4);
  border-bottom: 1px solid rgba(214, 177, 60, 0.4);
}
.cinematic-table tr.panthers-row td:first-child {
  border-left: 3px solid #D6B13C;
}

/* Fixtures List */
.fixture-card {
  background: #0E0E14;
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-smooth);
}
.fixture-card:hover {
  border-color: rgba(214, 177, 60, 0.55);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(214, 177, 60, 0.12);
  transform: translateY(-2px);
}
.fixture-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.fixture-badge-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-transform: uppercase;
  color: #D6B13C;
  background: rgba(214, 177, 60, 0.12);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(214, 177, 60, 0.3);
}
.fixture-matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.fixture-score-box {
  background: rgba(214, 177, 60, 0.15);
  border: 1px solid rgba(214, 177, 60, 0.4);
  padding: 6px 18px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 900;
  font-stretch: 125%;
  color: #D6B13C;
}

/* Blog Cards */
.blog-card-cinematic {
  background: #0E0E14;
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}
.blog-card-cinematic:hover {
  border-color: rgba(214, 177, 60, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(214, 177, 60, 0.2);
}
.blog-img-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #141418;
}
.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card-cinematic:hover .blog-img-wrap img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

/* Player spotlight modal: equal-width, centred action buttons */
.spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
.spotlight-actions > * {
  flex: 1 1 150px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* Club Activities Gallery */
.club-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(214, 177, 60, 0.25);
  border-radius: 16px;
  overflow: hidden;
  background: #050508;
  cursor: zoom-in;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: var(--transition-smooth);
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-tile:hover,
.gallery-tile:focus-visible {
  border-color: #D6B13C;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 25px rgba(214, 177, 60, 0.25);
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 36px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.88));
  text-align: left;
}
.gallery-tile-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D6B13C;
}
.gallery-tile-caption {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  line-height: 1.3;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(1200px, 100%);
}
.gallery-lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(214, 177, 60, 0.3);
}
.gallery-lightbox-figure figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #FFF;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  background: rgba(14, 14, 20, 0.9);
  border: 1px solid rgba(214, 177, 60, 0.4);
  color: #FFF;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover { border-color: #D6B13C; color: #D6B13C; }
.gallery-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 18px;
}
.gallery-lightbox-nav {
  width: 52px;
  height: 52px;
  font-size: 30px;
  line-height: 1;
}
@media (max-width: 640px) {
  .club-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-tile-overlay { padding: 24px 10px 8px; }
  .gallery-tile-caption { font-size: 12px; }
  .gallery-lightbox { padding: 12px; }
  .gallery-lightbox-nav {
    position: absolute;
    bottom: 20px;
    width: 46px;
    height: 46px;
  }
  .gallery-lightbox-nav.prev { left: calc(50% - 56px); }
  .gallery-lightbox-nav.next { right: calc(50% - 56px); }
}

/* Admin: position picker (custom dropdown, all options visible without scrolling) */
.pos-picker {
  position: relative;
}
.pos-picker-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.pos-picker-btn {
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding-right: 40px;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: linear-gradient(45deg, transparent 50%, #D6B13C 50%), linear-gradient(135deg, #D6B13C 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.pos-picker-btn.is-empty { color: #888; }
.pos-picker-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  width: min(620px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 18px;
  padding: 16px;
  background: #0E0E14;
  border: 1px solid rgba(214, 177, 60, 0.4);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}
.pos-picker-panel[hidden] { display: none; }
.pos-picker-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pos-picker-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D6B13C;
  padding: 0 8px 4px;
}
.pos-picker-option {
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #DDD;
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  padding: 7px 8px;
  cursor: pointer;
}
.pos-picker-option:hover,
.pos-picker-option:focus-visible {
  outline: none;
  background: rgba(214, 177, 60, 0.12);
  color: #FFF;
}
.pos-picker-option.active {
  background: #D6B13C;
  color: #000;
  font-weight: 800;
}
@media (max-width: 640px) {
  .pos-picker-panel {
    position: fixed;
    top: auto;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Admin: gallery manager */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.admin-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 12px;
}
.admin-gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #050508;
}
.admin-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Admin Console UI */
.admin-tab-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(214, 177, 60, 0.25);
  padding-bottom: 12px;
  margin-bottom: 28px;
}
.admin-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(214, 177, 60, 0.2);
  color: #BBB;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.admin-tab-btn:hover {
  color: #FFF;
  border-color: rgba(214, 177, 60, 0.5);
}
.admin-tab-btn.active {
  background: #D6B13C;
  color: #000;
  border-color: #D6B13C;
}
.admin-card {
  background: #0E0E14;
  border: 1px solid rgba(214, 177, 60, 0.2);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ==========================================================================
   GLOBAL RESPONSIVENESS (MOBILE, TABLET, DESKTOP)
   Ensures single dimension fluidity without clipping, overflow or misalignment.
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --site-split-gap: clamp(24px, 4vw, 40px);
  }

  .cinematic-footer > div:first-child {
    gap: 36px 24px;
  }
}

@media (max-width: 768px) {
  :root {
    --site-gutter: 20px;
    --site-section-py: clamp(50px, 7vw, 70px);
    --site-section-compact-pb: 60px;
    --site-section-hero-py: clamp(120px, 14vw, 150px);
    --site-split-gap: 32px;
  }

  .cinematic-split-grid {
    grid-template-columns: minmax(0, 1fr); /* long headings can't widen the column past the screen */
    gap: 36px;
  }

  .hud-frame-wrap:not(.coaching-card-hud) {
    height: auto !important;
    max-height: 340px;
    aspect-ratio: 16 / 10;
  }
  .coaching-card-hud {
    height: auto !important;
    max-height: 520px !important;
    aspect-ratio: 3 / 4 !important;
  }

  .hud-match-strip {
    flex-direction: column;
    padding: 12px var(--site-gutter);
    gap: 12px;
  }

  .stats-hud {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    padding: 20px 16px !important;
  }

  .cinematic-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .filter-chip-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    scrollbar-width: none;
  }
  .filter-chip-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-chip {
    flex-shrink: 0;
  }

  .spotlight-box {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 20px;
    max-height: 94vh;
  }

  .admin-card {
    padding: 20px !important;
  }

  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .fixture-matchup {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .cinematic-footer {
    gap: 40px;
    padding: 60px var(--site-gutter) 32px;
  }
}

/* Phones: keep the hero inside the screen (long words like "COMMITMENT." used to push it wider than the viewport) */
@media (max-width: 640px) {
  .hero-title-cinematic {
    font-size: clamp(30px, 9.4vw, 118px);
  }
  .hero-kicker-pill {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 0.14em;
    padding: 8px 14px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  /* Big section headings set inline with clamp(): scale with the screen so long words (e.g. "DEVELOPMENT") fit */
  main h1[style*="clamp"],
  main h2[style*="clamp"],
  main h3[style*="clamp"] {
    font-size: clamp(26px, 8.4vw, 40px) !important;
  }

  main .btn-gold-cinematic,
  main .btn-glass-cinematic,
  .cinematic-section .btn-gold-cinematic,
  .cinematic-section .btn-glass-cinematic,
  .cinematic-footer .btn-gold-cinematic {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .stats-hud {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .stats-hud-num {
    font-size: 24px !important;
  }

  .stats-hud-label {
    font-size: 10px !important;
  }
}



/* Three HUD figures (no genuine league standing): span the odd one out across the 2-column mobile grid */
@media (max-width: 768px) {
  .stats-hud[data-items="3"] .stats-hud-item:nth-child(3) {
    grid-column: 1 / -1;
  }
}
