:root{
  --ink:#f4f4f4; --muted:#c8c8c8; --bg:#08080a; --card:#111; --line:#2a2a2a;
  --brand:#5a7cff; --brand2:#ff6bd6; --glow:#83a0ff66;
  --navInk:#ffffff; --navInkDim:#999;
}
*{box-sizing:border-box}
body.tour-body{
  margin:0; background:radial-gradient(1200px 600px at 15% -25%, #15204a 0%, transparent 60%), var(--bg);
  color:var(--ink); font-family:system-ui,Segoe UI,Roboto,Arial; line-height:1.55;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

/* ===== Hero ===== */
.tour-hero{
  position:relative; padding:0 0 50px 0; text-align:center; overflow:clip;
  isolation:isolate;
}
.tour-bg{
  position:absolute; inset:-10% -10% -15% -10%;
  background:
    radial-gradient(1200px 800px at 80% -10%, #1b1442 0%, transparent 55%),
    radial-gradient(900px 600px at -10% 60%, #101a3d 0%, transparent 60%),
    linear-gradient(120deg, #0a0a0f 0%, #0a0a0a 60%);
  z-index:0;
  filter:saturate(1.1);
}

/* Aurora blobs */
.aurora{position:absolute; inset:auto; width:60vmax; height:60vmax; filter:blur(60px) saturate(1.2); opacity:.45; pointer-events:none}
.aurora--1{top:-20vmax; left:-10vmax; background:radial-gradient(circle at 30% 30%, #5a7cff 0%, transparent 55%); animation:float1 18s ease-in-out infinite}
.aurora--2{bottom:-28vmax; right:-6vmax; background:radial-gradient(circle at 60% 40%, #ff6bd6 0%, transparent 55%); animation:float2 22s ease-in-out infinite}
@keyframes float1{50%{transform:translate3d(3vmax,2vmax,0) scale(1.05)}}
@keyframes float2{50%{transform:translate3d(-2vmax,-3vmax,0) scale(1.04)}}

/* Grain/noise overlay (subtle) */
.noise{
  position:absolute; inset:0; pointer-events:none; opacity:.07; mix-blend-mode:soft-light; z-index:1;
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'>\<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter>\<rect width='100%' height='100%' filter='url(%23n)' opacity='0.25'/>\</svg>");
  background-size: 140px 140px;
}

/* Particles */
#tourParticles{
  position:absolute; inset:0; z-index:0; opacity:.55;
}

/* Hero inner (parallax target) */
.tour-hero-inner{
  position:relative; z-index:2; padding:64px 16px 18px;
  will-change: transform, filter;
}
.tour-logo{ max-width:min(480px, 80vw); width:100%; filter:drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.tour-tagline{ margin:10px 0 0; font-size:clamp(14px, 1.6vw, 18px); color:#dfe3ff; opacity:.95 }

/* ===== Nav ===== */
.tour-nav{
  position:relative; z-index:3; display:flex; gap:18px; flex-wrap:wrap; justify-content:center; align-items:center;
  margin-top:20px; padding:0 12px 6px;
}
.tour-nav a{
  color:var(--navInkDim); text-decoration:none; padding:8px 10px; border-radius:12px; position:relative;
  transition: color .2s ease, background .2s ease;
}
.tour-nav a:hover, .tour-nav a:focus{ color:var(--navInk); background:rgba(255,255,255,.08); outline:none }
.tour-nav a.active{ color:#fff; background:rgba(255,255,255,.12); }
.tour-nav .nav-ink{
  position:absolute; bottom:0; left:0; height:2px; width:0; background:linear-gradient(90deg,var(--brand),var(--brand2));
  border-radius:2px; transition: transform .24s cubic-bezier(.2,.6,.2,1), width .24s, left .24s;
}

/* Sticky shrink */
.tour-hero.is-stuck .tour-logo{ transform:scale(.92); transition:transform .28s ease }
.tour-hero.is-stuck .tour-tagline{ opacity:.85 }

/* ===== Main wrapper ===== */
.tour-content{ max-width:1100px; margin:0 auto; padding:24px 16px 48px }

/* ===== Utilities reused across pages ===== */
.btn{display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; border:1px solid var(--line); background:#191919; color:#fff; text-decoration:none}
.btn:hover{background:#222}
.btn.primary{background:var(--brand);border-color:var(--brand); box-shadow:0 8px 28px -10px var(--glow)}
.btn.ghost{background:transparent}
.btn.small{padding:6px 10px; font-size:.94rem}

/* Reveal on scroll / generic snap */
[data-snap]{opacity:0; transform:translateY(14px); transition:opacity .65s ease, transform .65s ease}
[data-snap].in{opacity:1; transform:none}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .aurora, .tour-hero-inner, .tour-nav .nav-ink, [data-snap]{ animation: none !important; transition: none !important }
  #tourParticles{ display:none }
}
