/* ═══════════════════════════════════════════
   FSJM THEME — Design System
   Cinematic Editorial / Champions League Vibe
   ═══════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --bg: #06090F;
  --bg2: #0C1219;
  --bg3: #111923;
  --blue: #2B5EA7;
  --blue-light: #4A8FD9;
  --blue-pale: #89C4E8;
  --red: #D42027;
  --red-glow: #FF3040;
  --white: #FFFFFF;
  --off: #E8EDF3;
  --muted: #5A6E85;
  --dim: #2A3545;
  --gold: #D4A843;
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max-w: 1300px;
  --max-w-content: 1100px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }

/* ── Animations ── */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1.5deg); }
  75% { transform: translateY(5px) rotate(-1deg); }
}
@keyframes glow-pulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(212,32,39,.3)); }
  50% { filter: drop-shadow(0 0 45px rgba(212,32,39,.6)); }
}
@keyframes diag-stripe {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .25s; }
.reveal-d3 { transition-delay: .4s; }
.reveal-d4 { transition-delay: .55s; }
.reveal-d5 { transition-delay: .7s; }

/* ── Typography ── */
.h-display {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 1px;
}
.h-xl { font-size: clamp(48px, 7vw, 88px); line-height: .92; }
.h-lg { font-size: clamp(36px, 5vw, 56px); }
.h-md { font-size: clamp(24px, 3vw, 32px); }
.h-sm { font-size: 20px; }
.text-red { color: var(--red); }
.text-blue { color: var(--blue-light); }
.text-blue-pale { color: var(--blue-pale); }
.text-muted { color: var(--muted); }
.text-off { color: var(--off); }

/* ── Section Label ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--red);
}
.section-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
}
.section-label--center {
  justify-content: center;
}
.section-label--center::after {
  content: '';
  width: 40px;
  height: 3px;
  background: var(--red);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--red), var(--red-glow));
  color: #fff;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  box-shadow: 0 8px 32px rgba(212,32,39,.4);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(212,32,39,.6);
}
.btn--outline {
  color: var(--off);
  border: 1px solid var(--dim);
  background: transparent;
}
.btn--outline:hover { border-color: var(--blue); }
.btn--white {
  background: var(--white);
  color: var(--red);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  font-family: var(--font-heading);
  font-size: 16px;
}
.btn--white:hover { transform: translateY(-3px); }

/* ── Layout ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: var(--max-w-content); }
.section { padding: 120px 24px; position: relative; overflow: hidden; }
.bg-dark { background: var(--bg); }
.bg-dark2 { background: var(--bg2); }
.bg-dark3 { background: var(--bg3); }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .5s;
  padding: 20px 40px;
}
.site-nav.scrolled {
  background: rgba(6,9,15,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dim);
  padding: 10px 40px;
}
.site-nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-nav__logo img { height: 44px; }
.site-nav__links { display: flex; align-items: center; gap: 36px; }
.site-nav__link {
  color: var(--off);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
}
.site-nav__link:hover { color: var(--red); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link.active { color: var(--red); font-weight: 600; }
.site-nav__link.active::after { transform: scaleX(1); }
.site-nav__cta {
  background: linear-gradient(135deg, var(--red), var(--red-glow));
  color: #fff;
  padding: 12px 32px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: transform .3s;
}
.site-nav__cta:hover { transform: scale(1.05); color: #fff; }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 6px; }
.nav-toggle span { width: 28px; height: 2px; background: #fff; display: block; transition: all .3s; }

/* Mobile overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav.active { display: flex; }
.mobile-nav__logo img { height: 80px; margin-bottom: 20px; }
.mobile-nav__link {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: 3px;
}
.mobile-nav__cta {
  background: var(--red);
  color: #fff;
  padding: 16px 48px;
  font-family: var(--font-heading);
  font-size: 20px;
  margin-top: 16px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* ── Video Background ── */
.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__video-bg iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; /* 16:9 ratio */
  min-height: 100vh; min-width: 177.78vh; /* inverse 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  /* opacity set inline from Customizer */
  pointer-events: none;
}
/* When video is active, make gradient/stripes semi-transparent so video shows through */
.hero--has-video .hero__gradient { opacity: .5; }
.hero--has-video .hero__stripes { opacity: .015; }
.hero--has-video .hero__diagonal { opacity: .5; }
/* Hide video on mobile — YT autoplay doesn't work + saves bandwidth */
@media (max-width: 768px) {
  .hero__video-bg,
  .hero__video-overlay { display: none; }
  .hero--has-video .hero__gradient { opacity: 1; }
  .hero--has-video .hero__stripes { opacity: .03; }
  .hero--has-video .hero__diagonal { opacity: 1; }
}

.hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, var(--bg) 0%, var(--bg2) 30%, rgba(43,94,167,.08) 60%, rgba(212,32,39,.06) 100%);
}
.hero__stripes {
  position: absolute; inset: 0; opacity: .03;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 60px, rgba(255,255,255,.5) 60px, rgba(255,255,255,.5) 61px);
  animation: diag-stripe 6s linear infinite;
}
.hero__diagonal {
  position: absolute; right: 0; top: 0; width: 50%; height: 100%;
  background: linear-gradient(135deg, transparent, rgba(43,94,167,.05) 40%, rgba(43,94,167,.1));
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}
.hero__accent-line {
  position: absolute; height: 4px;
  transition: width 1.5s ease 1s;
  width: 0;
}
.hero__accent-line.loaded { width: var(--line-w); }
.hero__accent-line--left { left: 0; top: 50%; background: var(--red); --line-w: 120px; }
.hero__accent-line--right { right: 0; bottom: 30%; background: var(--blue); --line-w: 80px; transition-delay: 1.2s; }
.hero__content {
  max-width: var(--max-w);
  margin: 0 auto; width: 100%;
  padding: 0 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  position: relative; z-index: 2;
}
.hero__text-label {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px;
}
.hero__text-label::before {
  content: ''; width: 48px; height: 2px; background: var(--red);
}
.hero__text-label span {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  color: var(--red); text-transform: uppercase;
}
.hero__title span {
  display: block;
  opacity: 0; transform: translateY(50px);
  transition: all 1s var(--ease-out);
}
.hero__title.loaded span { opacity: 1; transform: translateY(0); }
.hero__title span:nth-child(1) { color: var(--off); transition-delay: .5s; }
.hero__title span:nth-child(2) { color: var(--red); text-shadow: 0 0 60px rgba(212,32,39,.4); transition-delay: .7s; }
.hero__title span:nth-child(3) { color: var(--off); transition-delay: .9s; }
.hero__desc {
  font-size: 17px; color: var(--muted); max-width: 420px;
  line-height: 1.8; margin-bottom: 40px; font-weight: 300;
}
.hero__logo-area {
  display: flex; justify-content: center; align-items: center; position: relative;
}
.hero__logo-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,94,167,.15), transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}
.hero__logo img {
  width: clamp(200px, 20vw, 280px); height: auto;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.5));
}
.hero__vertical-text {
  position: absolute; right: -20px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 8px;
  color: var(--blue); opacity: .12;
  white-space: nowrap; text-transform: uppercase;
}
.hero__bottom-cut {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 80px;
  background: var(--bg);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* ── Marquee ── */
.marquee-bar {
  background: linear-gradient(90deg, var(--red), var(--red-glow), var(--red));
  padding: 14px 0; overflow: hidden; white-space: nowrap;
}
.marquee-bar__inner {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.marquee-bar__text {
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 6px; color: #fff;
}

/* ── Bento Grid (Why Us) ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}
.bento-card {
  background: var(--bg2);
  border: 1px solid var(--dim);
  padding: 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  position: relative; overflow: hidden;
  transition: all .5s; cursor: default;
}
.bento-card:hover { transform: translateY(-4px); }
.bento-card--tall { grid-row: span 2; }
.bento-card--wide { grid-column: span 2; }
.bento-card__accent {
  position: absolute; top: 0; right: 0; width: 60px; height: 60px;
}
.bento-card__icon { font-size: 32px; margin-bottom: 12px; }
.bento-card__title {
  font-family: var(--font-heading);
  font-size: 18px; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 8px;
}
.bento-card__desc { color: var(--muted); line-height: 1.7; font-size: 14px; }

/* ── Camp Cards ── */
.camp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.camp-card {
  background: var(--bg3);
  border: 1px solid var(--dim);
  position: relative; overflow: hidden;
  transition: all .5s;
}
.camp-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 20px 40px rgba(212,32,39,.1);
}
.camp-card--hot { border-color: var(--red); }
.camp-card__badge {
  background: var(--red);
  padding: 6px 16px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-align: center;
  text-transform: uppercase;
}
.camp-card__number {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--font-heading);
  font-size: 80px; color: rgba(43,94,167,.05);
  line-height: 1;
}
.camp-card--hot .camp-card__number { top: 32px; }
.camp-card__body { padding: 28px; }
.camp-card__title {
  font-family: var(--font-heading);
  font-size: 20px; text-transform: uppercase;
  margin-bottom: 20px; letter-spacing: 1px;
  color: var(--blue-pale);
}
.camp-card__row {
  display: flex; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--dim);
  font-size: 14px;
}
.camp-card__label { color: var(--muted); }
.camp-card__value { font-weight: 600; }
.camp-card__footer {
  display: flex; justify-content: space-between;
  align-items: center; margin-top: 20px;
}
.camp-card__spots {
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px;
}
.camp-card__spots--hot { color: var(--red); }
.camp-card__spots--open { color: #4CAF50; }

/* ── Stats ── */
.stats-bar {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  padding: 72px 24px;
  position: relative; overflow: hidden;
}
.stats-bar__stripes {
  position: absolute; inset: 0; opacity: .05;
  background-image: repeating-linear-gradient(135deg, transparent, transparent 40px, rgba(255,255,255,.5) 40px, rgba(255,255,255,.5) 41px);
}
.stats-bar__grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 40px; text-align: center;
  position: relative;
}
.stats-bar__number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 72px);
  color: #fff; line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.stats-bar__label {
  font-size: 13px; letter-spacing: 3px;
  color: rgba(255,255,255,.7);
  font-weight: 500; margin-top: 8px;
  text-transform: uppercase;
}

/* ── Coaches ── */
.coaches-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.coach-card {
  background: var(--bg2);
  border: 1px solid var(--dim);
  overflow: hidden; transition: all .5s;
}
.coach-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
}
.coach-card__photo {
  height: 260px;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.coach-card__initials {
  font-family: var(--font-heading);
  font-size: 80px; color: rgba(43,94,167,.15);
}
.coach-card__stripe {
  position: absolute; bottom: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.coach-card__number {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-heading);
  font-size: 48px; color: rgba(212,32,39,.08);
}
.coach-card__body { padding: 24px; }
.coach-card__name {
  font-family: var(--font-heading);
  font-size: 22px; text-transform: uppercase;
  color: var(--blue-pale); margin-bottom: 2px;
}
.coach-card__role {
  color: var(--red); font-size: 12px;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.coach-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.coach-card__meta strong { color: var(--off); font-weight: 600; }

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 200px 200px;
  gap: 8px;
}
.gallery-item {
  background: linear-gradient(135deg, var(--bg3), var(--bg));
  border: 1px solid var(--dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .4s;
  overflow: hidden;
}
.gallery-item:hover { border-color: var(--blue-light); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item__label {
  font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}

/* ── CTA Section ── */
.cta-section {
  position: relative; padding: 120px 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--red), #8B0000 50%, var(--bg));
}
.cta-section__stripes {
  position: absolute; inset: 0; opacity: .04;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(255,255,255,.5) 30px, rgba(255,255,255,.5) 31px);
}
.cta-section__top-cut {
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: var(--bg2);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}
.cta-section__inner {
  max-width: 800px; margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.cta-section__logo img {
  width: 90px; margin: 0 auto 24px; opacity: .9;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.3));
}

/* ── Footer ── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--dim);
  padding: 72px 24px 36px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; margin-bottom: 48px;
}
.site-footer__brand img { height: 50px; margin-bottom: 16px; }
.site-footer__desc { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 260px; }
.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 14px; letter-spacing: 2px;
  color: var(--blue-pale); margin-bottom: 14px;
}
.site-footer__link { color: var(--muted); font-size: 14px; display: block; margin-bottom: 6px; }
.site-footer__link:hover { color: var(--red); }
.site-footer__contact { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.site-footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dim);
  border-radius: 50%;
  color: var(--muted);
  transition: all .3s;
}
.site-footer__social-link:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(212, 32, 39, .3);
}
.site-footer__bottom {
  border-top: 1px solid var(--dim);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--muted);
}

/* ── Mobile Sticky CTA ── */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: rgba(6,9,15,.97);
  backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 2px solid var(--red);
  display: none;
  transform: translateY(100%);
  transition: transform .3s;
}
.mobile-cta.visible { transform: translateY(0); }
.mobile-cta__btn {
  display: block;
  background: linear-gradient(90deg, var(--red), var(--red-glow));
  color: #fff; text-align: center;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 15px; letter-spacing: 2px;
}

/* ── Diagonal Cuts ── */
.diagonal-top {
  position: absolute; top: -1px; left: 0; right: 0; height: 80px;
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 100%);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
  .bento-card--tall { grid-row: auto; }
  .hero__content { grid-template-columns: 1fr; }
  .hero__logo-area { display: none; }
  .coaches-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-cta { display: block; }
}
@media (max-width: 640px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card--wide { grid-column: auto; }
  .coaches-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item--wide { grid-column: auto; }
  .stats-bar__grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 80px 16px; }
  .container { padding: 0 20px; }
}

/* ── Cookie Consent Bar ── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg2);
  border-top: 2px solid var(--red);
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform .5s var(--ease-out);
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-bar__text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}
.cookie-bar__link {
  color: var(--blue-pale);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar__link:hover { color: var(--white); }
.cookie-bar__accept {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 28px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
  transition: background .3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cookie-bar__accept:hover { background: var(--red-glow); }
@media (max-width: 640px) {
  .cookie-bar__inner { flex-direction: column; text-align: center; }
}

/* ── Cookie Ball Indicator (after consent) ── */
.cookie-ball {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 9998;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--bg2);
  border: 1px solid var(--dim);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: scale(0) rotate(-180deg);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.cookie-ball.visible {
  display: flex;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.cookie-ball:hover {
  transform: scale(1.15) rotate(15deg);
  border-color: var(--red);
}

/* ── Cookie Info Popup ── */
.cookie-popup {
  position: fixed;
  bottom: 74px; left: 20px;
  z-index: 9999;
  width: 260px;
  background: var(--bg2);
  border: 1px solid var(--dim);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(10px) scale(.95);
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.cookie-popup.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cookie-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--off);
}
.cookie-popup__close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.cookie-popup__close:hover {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.cookie-popup__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.cookie-popup__link {
  display: block;
  font-size: 12px;
  color: var(--blue-pale);
  margin-bottom: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-popup__link:hover { color: var(--white); }
.cookie-popup__revoke {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 6px;
  transition: all .3s;
}
.cookie-popup__revoke:hover {
  background: var(--red);
  color: #fff;
}
