/* =====================================================================
   ACTUALLY FUN TOURS — SHARED STYLES (tokens, layout, nav, footer,
   buttons, cards, map, marquee, sticky contact bar, animations)
   ===================================================================== */
:root {
  --bg: #060d1f;
  --panel: #0b1a3a;
  --accent: #13285c;
  --red: #ff2d46;
  --gold: #ffc247;
  --text: #ffffff;
  --text-2: #c9d3ea;
  --muted: #93a1c4;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-head: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.aft {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.aft img { max-width: 100%; display: block; }
.aft a { color: inherit; }
.aft h1, .aft h2, .aft h3, .aft h4 { font-family: var(--font-head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
.aft p { margin: 0 0 1em; }
.aft .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.aft .skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 8px; }
.aft .skip-link:focus { left: 8px; }
.aft :focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gold { color: var(--gold); }
.glow-gold { color: var(--gold); text-shadow: 0 0 18px rgba(255, 194, 71, .55), 0 0 42px rgba(255, 194, 71, .25); }

/* ---------- NAV ---------- */
.aft-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(6, 13, 31, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.aft-nav__brand { display: flex; align-items: center; }
.aft-nav__brand img { height: 50px; width: auto; border-radius: 8px; }
.aft-nav__links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.aft-nav__links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--text-2);
  transition: color .2s, background .2s;
}
.aft-nav__links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.aft-nav__links a[aria-current="page"] { color: #fff; background: var(--red); box-shadow: 0 0 18px rgba(255, 45, 70, .45); }
.aft-nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.aft-nav__toggle svg { width: 24px; height: 24px; }
@media (max-width: 820px) {
  .aft-nav__toggle { display: inline-flex; }
  .aft-nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 14px var(--gutter) 22px;
    background: rgba(6, 13, 31, .98); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .aft-nav.is-open .aft-nav__links { opacity: 1; transform: none; visibility: visible; }
  .aft-nav__links a { padding: 14px 16px; font-size: 18px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 26px rgba(255, 45, 70, .4); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 45, 70, .6); }
.btn--gold { background: var(--gold); color: #1a1200; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 194, 71, .45); }
.btn--wa { background: #1fae5b; color: #fff; }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31, 174, 91, .45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- SECTIONS ---------- */
.aft-section { padding: clamp(56px, 9vw, 100px) 0; position: relative; }
.aft-section--panel { background: linear-gradient(180deg, var(--panel), var(--bg)); }
.eyebrow-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 5vw, 48px); }
.section-lead { color: var(--text-2); max-width: 640px; font-size: 18px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- PAGE HERO ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
  padding: 70px 0 60px;
  background:
    radial-gradient(60% 60% at 15% 20%, rgba(255, 45, 70, .22), transparent 70%),
    radial-gradient(50% 50% at 85% 70%, rgba(255, 194, 71, .16), transparent 70%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(40px, 8vw, 84px); margin-bottom: 14px; }
.page-hero .tagline { font-size: clamp(18px, 2.4vw, 23px); color: var(--text-2); max-width: 620px; }
.page-hero .container { position: relative; z-index: 2; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 194, 71, .55); color: var(--gold);
  box-shadow: 0 0 20px rgba(255, 194, 71, .18);
}

/* floating party objects */
.floaters { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.floater { position: absolute; opacity: .55; will-change: transform; animation: aft-float var(--d, 14s) ease-in-out var(--delay, 0s) infinite alternate; }
.floater svg { width: 100%; height: 100%; }
@keyframes aft-float {
  0% { transform: translate3d(0, 0, 0) rotate(var(--r0, -8deg)); }
  100% { transform: translate3d(var(--dx, 20px), var(--dy, -40px), 0) rotate(var(--r1, 10deg)); }
}

/* ---------- CARDS / INCLUDED ---------- */
.price-block {
  display: grid; gap: 28px; align-items: center;
  grid-template-columns: 1fr; background: var(--panel); border: 1px solid var(--line);
  border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
}
@media (min-width: 820px) { .price-block { grid-template-columns: 0.8fr 1.2fr; } }
.price-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(54px, 9vw, 92px); line-height: 1; color: var(--gold); text-shadow: 0 0 30px rgba(255, 194, 71, .35); }
.price-big small { display: block; font-size: 18px; color: var(--text-2); font-weight: 600; margin-top: 8px; text-shadow: none; }
.included { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.included li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; }
.included .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; color: var(--gold); }
.included .ico svg { width: 26px; height: 26px; }
.note { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- BOOKING ---------- */
.booking {
  text-align: center; border-radius: 28px; padding: clamp(32px, 6vw, 64px) var(--gutter);
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 45, 70, .25), transparent 70%), var(--panel);
  border: 1px solid var(--line);
}
.booking .btn-row { justify-content: center; margin-top: 22px; }
.booking-group { margin-top: 26px; }
.booking-group h3 { font-size: 20px; color: var(--gold); }
.booking .btn { font-size: 18px; min-height: 58px; }

/* ---------- MARQUEE ---------- */
.marquee { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 10px 0 18px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee::-webkit-scrollbar { display: none; }
.marquee__track { display: flex; gap: 16px; width: max-content; padding: 0 16px; }
.marquee__item { width: clamp(200px, 28vw, 300px); aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; flex: none; border: 1px solid var(--line); background: var(--panel); transform: rotate(var(--tilt, 0deg)); }
.marquee__item:nth-child(odd) { --tilt: -1.5deg; }
.marquee__item:nth-child(even) { --tilt: 1.5deg; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; }
.social-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- STICKY MOBILE CONTACT BAR ---------- */
.contact-bar { display: none; }
@media (max-width: 820px) {
  .contact-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(6, 13, 31, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .contact-bar .btn { min-height: 50px; font-size: 16px; padding: 8px 10px; }
  body.has-contact-bar { padding-bottom: 76px; }
}

/* ---------- FOOTER ---------- */
.aft-footer { background: #040915; border-top: 1px solid var(--line); padding: 48px 0 28px; color: var(--text-2); font-size: 15px; }
.aft-footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .aft-footer__grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; } }
.aft-footer img { width: 120px; height: auto; border-radius: 12px; }
.aft-footer h2 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-family: var(--font-body); }
.aft-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aft-footer a { text-decoration: none; color: var(--text-2); }
.aft-footer a:hover { color: #fff; text-decoration: underline; }
.aft-footer__bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--muted); }
.aft-footer--slim { padding: 14px 0; }
.aft-footer--slim .aft-footer__bottom { margin: 0; padding: 0; border: 0; justify-content: center; gap: 8px 18px; }

/* ---------- REVEAL ---------- */
.js .reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal-up.is-in { opacity: 1; transform: none; }

/* ---------- HOME ---------- */
body.page-home { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.home-main {
  flex: 1; min-height: 0; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2.4vh, 26px);
  padding: clamp(8px, 2vh, 24px) var(--gutter); text-align: center;
  background:
    radial-gradient(45% 50% at 20% 25%, rgba(255, 45, 70, .25), transparent 70%),
    radial-gradient(45% 50% at 80% 75%, rgba(255, 194, 71, .18), transparent 70%),
    var(--bg);
}
.home-logo { height: clamp(70px, 17vh, 170px); width: auto; border-radius: 14px; position: relative; z-index: 2; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.home-title { position: relative; z-index: 2; font-size: clamp(26px, min(6.4vw, 6.2vh), 64px); max-width: 980px; margin: 0; }
.home-title .line { display: block; }
.home-title::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .10) 48%, rgba(255, 194, 71, .14) 52%, transparent 70%);
  background-size: 250% 100%; animation: aft-sweep 6s ease-in-out infinite; border-radius: 40px; filter: blur(8px);
}
@keyframes aft-sweep { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.home-cards { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); width: 100%; max-width: 980px; }
.home-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: clamp(14px, 3vh, 30px) 14px; border-radius: 22px; text-decoration: none;
  background: linear-gradient(160deg, var(--accent), var(--panel)); border: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s, border-color .25s;
}
.home-card svg { width: clamp(40px, 7vh, 64px); height: clamp(40px, 7vh, 64px); color: var(--gold); }
.home-card:hover, .home-card:focus-visible { transform: translateY(-6px) scale(1.03); border-color: var(--red); box-shadow: 0 0 0 2px var(--red), 0 0 34px rgba(255, 45, 70, .65); }
.home-card:active { transform: translateY(-2px) scale(.98); }
@media (max-width: 640px) {
  .home-cards { grid-template-columns: 1fr; max-width: 420px; gap: 10px; }
  .home-card { flex-direction: row; justify-content: flex-start; gap: 16px; padding: clamp(10px, 2vh, 18px) 20px; min-height: 60px; }
  .home-card svg { width: 40px; height: 40px; }
}
.js .home-anim { opacity: 0; transform: translateY(22px); animation: aft-in .8s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--ad, 0s); }
@keyframes aft-in { to { opacity: 1; transform: none; } }
.icon-wiggle { animation: aft-wiggle 2.8s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes aft-wiggle { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-9deg); } 30% { transform: rotate(7deg); } 45% { transform: rotate(0); } }

/* ---------- ROUTE MAP ---------- */
.map-wrap { position: relative; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.day-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); }
.day-toggle button { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--text-2); font-weight: 700; font-family: var(--font-body); font-size: 15px; cursor: pointer; transition: background .25s, color .25s; }
.day-toggle button[aria-pressed="true"] { background: var(--red); color: #fff; }
.start-note { color: var(--text-2); font-weight: 600; }
.map-stage {
  position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: #050b1a; box-shadow: var(--shadow), inset 0 0 80px rgba(0, 0, 0, .6);
  aspect-ratio: 16 / 10; perspective: 1200px;
}
@media (max-width: 640px) { .map-stage { aspect-ratio: 4 / 5; } }
.map-tilt { position: absolute; inset: 0; transform: rotateX(14deg) scale(1.08); transform-origin: 50% 60%; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-cam { transition: transform 1.4s cubic-bezier(.65, .05, .36, 1); }
.map-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }
.route-base { fill: none; stroke: rgba(255, 45, 70, .18); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 12; }
.route-seg { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; filter: url(#glowRed); transition: stroke-dashoffset 1.3s ease-in-out; }
.route-seg.pulse { animation: aft-pulse 1.6s ease-in-out infinite; }
@keyframes aft-pulse { 50% { stroke-width: 8; opacity: .8; } }
.stop-marker { cursor: pointer; transition: opacity .4s; }
.stop-marker .ring { fill: none; stroke: var(--mc, var(--red)); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; }
.stop-marker .dot { fill: var(--mc, var(--red)); stroke: #fff; stroke-width: 3; }
.stop-marker text { fill: #fff; font: 800 20px var(--font-head); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.stop-marker.is-dim { opacity: .38; }
.stop-marker.is-active .ring { opacity: 1; animation: aft-ring 1.6s ease-out infinite; }
.stop-marker:focus { outline: none; }
.stop-marker:focus-visible .dot { stroke: var(--gold); stroke-width: 5; }
@keyframes aft-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
.traveler { pointer-events: none; filter: url(#glowGold); }
.map-card {
  position: absolute; z-index: 3; right: 18px; top: 18px; width: min(340px, 44%);
  background: rgba(11, 26, 58, .94); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px;
  padding: 18px 18px 16px; box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: opacity .35s, transform .35s;
}
.map-card.is-swap { opacity: 0; transform: translateY(8px); }
.map-card__num { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.map-card__name { font-size: 22px; margin: 4px 0 6px; }
.map-card__time { display: inline-block; font-weight: 700; color: #fff; background: var(--red); border-radius: 999px; padding: 2px 12px; font-size: 14px; margin-bottom: 8px; }
.map-card__vibe { display: inline-block; font-weight: 700; border-radius: 999px; padding: 2px 12px; font-size: 14px; margin: 0 0 8px 6px; color: #160a00; }
.map-card__text { color: var(--text-2); font-size: 15.5px; margin: 0; }
.map-card__shot { margin: 8px 0 0; font-weight: 800; color: var(--gold); font-size: 15px; }
.map-card__anim { position: absolute; right: 14px; top: 12px; width: 52px; height: 52px; color: var(--gold); }
@media (max-width: 640px) {
  .map-card { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; padding: 14px 14px 12px; }
  .map-card__name { font-size: 19px; }
  .map-card__anim { width: 42px; height: 42px; }
}
.map-controls { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.map-controls button.ctrl { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: #fff; cursor: pointer; display: grid; place-items: center; }
.map-controls button.ctrl:hover { border-color: var(--red); }
.map-controls button.ctrl svg { width: 22px; height: 22px; }
.map-dots { display: flex; gap: 6px; margin: 0 6px; }
.map-dots button { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.map-dots button span { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .3s, transform .3s; }
.map-dots button[aria-current="step"] span { background: var(--red); transform: scale(1.35); box-shadow: 0 0 12px var(--red); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.timeline button {
  text-align: left; padding: 12px 12px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel);
  color: var(--text-2); cursor: pointer; font-family: var(--font-body); position: relative; overflow: hidden; min-height: 44px;
}
.timeline button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--red); transition: width .5s; }
.timeline button.is-done::after, .timeline button[aria-current="step"]::after { width: 100%; }
.timeline button[aria-current="step"] { border-color: var(--red); color: #fff; }
.timeline .t-time { display: block; font-weight: 800; color: #fff; font-size: 16px; transition: opacity .3s; }
.timeline .t-name { display: block; font-size: 13px; line-height: 1.3; }
@media (max-width: 640px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
.map-canvas { position: absolute; inset: 0; z-index: 2; pointer-events: none; width: 100%; height: 100%; }
.barge-light { animation: aft-blink 1.8s ease-in-out infinite; }
.barge-light:nth-of-type(2n) { animation-delay: .9s; }
@keyframes aft-blink { 50% { opacity: .25; } }
.boat { animation: aft-boat 18s linear infinite; }
@keyframes aft-boat { 0% { transform: translateX(-60px); } 100% { transform: translateX(160px); } }
.statue-glow { transition: opacity .8s; opacity: .45; }
.statue-glow.is-strong { opacity: 1; }
.statue-pulse { animation: aft-statue 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes aft-statue { 50% { opacity: .55; } }

/* ---------- BELGRADE WARM THEME ---------- */
.theme-belgrade .page-hero {
  background:
    radial-gradient(55% 60% at 12% 25%, rgba(255, 63, 164, .28), transparent 70%),
    radial-gradient(50% 55% at 88% 70%, rgba(255, 138, 61, .25), transparent 70%),
    var(--bg);
}
.theme-belgrade .aft-section--panel { background: linear-gradient(180deg, #160f3a, var(--bg)); }
.theme-belgrade .booking { background: radial-gradient(70% 90% at 50% 0%, rgba(255, 63, 164, .25), transparent 70%), var(--panel); }

/* ---------- SPECIAL OFFERS ---------- */
.theme-offers .page-hero {
  background:
    linear-gradient(115deg, rgba(214, 40, 57, .30) 0 50%, rgba(120, 190, 255, .22) 50% 100%),
    var(--bg);
}
.floodlight { position: absolute; top: -10%; width: 40%; height: 130%; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 75%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); transform-origin: 50% 0; animation: aft-sweepbeam 9s ease-in-out infinite alternate; }
.floodlight--l { left: -5%; --a0: -18deg; --a1: 14deg; }
.floodlight--r { right: -5%; --a0: 18deg; --a1: -14deg; animation-delay: -4s; }
@keyframes aft-sweepbeam { from { transform: rotate(var(--a0)); } to { transform: rotate(var(--a1)); } }
.crowd { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 1; pointer-events: none; opacity: .5; }
.derby-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin-top: 30px; position: relative; }
.derby-side { padding: clamp(22px, 4vw, 40px); min-height: 150px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(20px, 3vw, 30px); }
.derby-side--a { background: linear-gradient(135deg, #b81f33, #ff4b5c); }
.derby-side--b { background: linear-gradient(135deg, #8fd0ff, #3d7fd6); color: #04122b; }
.derby-vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: var(--bg); color: var(--gold); border: 2px solid var(--gold); font: 800 22px var(--font-head); padding: 10px 16px; border-radius: 14px; box-shadow: 0 0 30px rgba(255, 194, 71, .45); }
.offers-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); margin-top: 30px; }
.offer-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.offer-card:hover, .offer-card:focus-within { transform: translateY(-4px); border-color: rgba(255, 45, 70, .6); }
.offer-scene { height: 150px; background: radial-gradient(80% 90% at 50% 100%, var(--accent), #050b1a); position: relative; }
.offer-scene svg { width: 100%; height: 100%; }
.offer-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.offer-body h3 { font-size: 22px; margin: 0; }
.offer-body p { color: var(--text-2); margin: 0; }
.offer-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--muted); font-size: 14.5px; }
.offer-meta strong { color: var(--text-2); }
.offer-inc-title { font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.offer-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.offer-inc li { display: flex; gap: 10px; align-items: center; }
.offer-inc li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.offer-note { font-weight: 700; color: var(--text-2); }
.offer-price { font-weight: 800; color: var(--gold); }
.offer-card .btn-row { margin-top: auto; padding-top: 6px; }
.offer-card .btn { flex: 1; min-width: 130px; }
.matches { list-style: none; margin: 30px 0 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 16px; }
.matches::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--red), var(--gold)); border-radius: 3px; }
.match { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.match::before { content: ""; position: absolute; left: -24px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red); }
.match-empty { background: var(--panel); border: 1px dashed rgba(255, 194, 71, .5); border-radius: 18px; padding: 24px; text-align: center; font-size: 18px; font-weight: 600; margin-top: 30px; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; font-weight: 600; font-size: 17px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font: 800 22px var(--font-head); margin-bottom: 12px; box-shadow: 0 0 20px rgba(255, 45, 70, .5); }

/* ---------- CONTACT / PRIVACY (existing content on the dark theme) ---------- */
.aft-legacy section { background: transparent; }
.aft-legacy .contact-form input, .aft-legacy .contact-form textarea { background: var(--panel); color: #fff; border-color: rgba(255, 255, 255, .25); }
.aft-legacy .contact-form input::placeholder, .aft-legacy .contact-form textarea::placeholder { color: var(--muted); }
.aft-legacy .privacy-content a, .aft-legacy .contact-item a { color: var(--gold); }

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .home-anim, .js .reveal-up { opacity: 1 !important; transform: none !important; }
  .floaters, .floodlight, .map-canvas { display: none !important; }
}

/* ---------- SMALL SCENE ANIMATIONS ---------- */
.spin { animation: aft-spin 3s linear infinite; transform-box: fill-box; transform-origin: center; }
.spin-slow { animation: aft-spin 14s linear infinite; }
@keyframes aft-spin { to { transform: rotate(360deg); } }
.map-card__anim svg { width: 100%; height: 100%; animation: aft-bob 1.6s ease-in-out infinite; }
@keyframes aft-bob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.flicker { animation: aft-flicker 3.2s steps(1) infinite; }
.flicker.d2 { animation-delay: -1.3s; }
@keyframes aft-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .55; } 50% { opacity: 1; } 52% { opacity: .7; } }
.bounce { animation: aft-bounce 1.1s cubic-bezier(.5, 0, .5, 1) infinite alternate; }
@keyframes aft-bounce { from { transform: translateY(0); } to { transform: translateY(-34px); } }
.drop { animation: aft-drop 2.4s ease-in infinite; }
@keyframes aft-drop { 0% { transform: translateY(-20px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(46px); opacity: 1; } 100% { transform: translateY(60px); opacity: 0; } }
.hoop { animation: aft-hoop 2.4s ease-in infinite; }
@keyframes aft-hoop { 0%, 60% { filter: none; } 72% { filter: drop-shadow(0 0 8px #ff2d46); } 100% { filter: none; } }
.draw path, .draw rect, .draw circle { stroke-dasharray: 600; stroke-dashoffset: 600; animation: aft-draw 5s ease-in-out infinite; }
@keyframes aft-draw { 0% { stroke-dashoffset: 600; } 50%, 100% { stroke-dashoffset: 0; } }
.walkers { animation: aft-walk 7s linear infinite; }
@keyframes aft-walk { from { transform: translateX(0); } to { transform: translateX(170px); } }
.march { animation: aft-march 1.2s linear infinite; }
@keyframes aft-march { to { stroke-dashoffset: -26; } }
.twinkle { animation: aft-twinkle 2s ease-in-out infinite; }
@keyframes aft-twinkle { 50% { opacity: .35; } }
#lock-state .shackle-open { display: none; }
#lock-state.is-open .shackle-open { display: inline; }
#lock-state.is-open .shackle-closed { display: none; }
@media (max-width: 640px) {
  .aft-footer--slim { font-size: 13px; padding: 10px 0; }
  .aft-footer--slim .aft-footer__bottom { gap: 4px 14px; }
}
@media (max-width: 640px) {
  .map-stage { aspect-ratio: 3 / 4; }
  .map-card { padding: 11px 12px 10px; border-radius: 14px; }
  .map-card__num { font-size: 11px; }
  .map-card__name { font-size: 17px; margin: 2px 0 4px; padding-right: 40px; }
  .map-card__text { font-size: 14px; line-height: 1.45; }
  .map-card__time, .map-card__vibe { font-size: 12.5px; margin-bottom: 4px; }
  .map-card__shot { font-size: 13.5px; margin-top: 4px; }
  .map-controls { gap: 6px; }
  .map-dots { margin: 0; gap: 0; }
  .map-dots button { width: 34px; }
  .map-controls button.ctrl { width: 44px; height: 44px; }
}
