/* ============================================================
   Prishaan Interactive — Portal Stylesheet
   Theme: casual mobile gaming with a subtle tech edge
   Palette pulled from the brand logo (amber / violet / teal)
   ============================================================ */

@font-face {
  font-family: "Orbitron";
  src: url("../assets/fonts/Orbitron-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Orbitron";
  src: url("../assets/fonts/Orbitron-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --bg-0: #0b1524;
  --bg-1: #0e1c30;
  --bg-2: #12233a;
  --panel: rgba(19, 36, 58, 0.72);
  --panel-solid: #13243a;
  --line: rgba(148, 178, 220, 0.16);

  --text: #eaf1fb;
  --muted: #9db1cd;
  --dim: #6d81a0;

  --amber-1: #ffd36e;
  --amber-2: #f58a00;
  --violet-1: #a78bfa;
  --violet-2: #6d28d9;
  --teal-1: #5eead4;
  --teal-2: #0d9488;

  --grad-brand: linear-gradient(135deg, var(--amber-1), var(--amber-2));
  --grad-violet: linear-gradient(135deg, var(--violet-1), var(--violet-2));
  --grad-teal: linear-gradient(135deg, var(--teal-1), var(--teal-2));

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-glow: 0 18px 50px -18px rgba(0, 0, 0, 0.7);

  --font-display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --nav-h: 68px;
  --max-w: 1180px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(109, 40, 217, 0.16), transparent 60%),
    radial-gradient(900px 480px at -10% 8%, rgba(13, 148, 136, 0.13), transparent 55%),
    radial-gradient(700px 420px at 50% 110%, rgba(245, 138, 0, 0.10), transparent 60%),
    var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(255, 179, 77, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--amber-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* subtle tech grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

/* ---------- Layout helpers ---------- */
.container { width: min(var(--max-w), calc(100% - 48px)); margin-inline: auto; }

.section { padding-block: clamp(56px, 9vw, 110px); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-1);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  margin: 14px 0 10px;
}

.section-sub { color: var(--muted); max-width: 640px; font-size: 1.03rem; }

.grad-text-amber { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-violet { background: var(--grad-violet); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text-teal { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary {
  background: var(--grad-brand);
  color: #231504;
  box-shadow: 0 10px 28px -10px rgba(245, 138, 0, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(245, 138, 0, 0.8); }

.btn-ghost {
  background: rgba(148, 178, 220, 0.08);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(148, 178, 220, 0.16); transform: translateY(-2px); }

.btn-violet { background: var(--grad-violet); color: #fff; box-shadow: 0 10px 28px -10px rgba(109, 40, 217, 0.6); }
.btn-violet:hover { transform: translateY(-2px); }

.btn-teal { background: var(--grad-teal); color: #032b25; box-shadow: 0 10px 28px -10px rgba(13, 148, 136, 0.6); }
.btn-teal:hover { transform: translateY(-2px); }

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.35);
}
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }

/* store button (Google Play style, dark) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #05070c;
  border: 1px solid rgba(148, 178, 220, 0.3);
  color: var(--text);
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--amber-1); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn .store-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn .store-txt small { font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.store-btn .store-txt strong { font-size: 1.02rem; font-weight: 700; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: 999px;
}
.badge-live { background: rgba(94, 234, 212, 0.14); color: var(--teal-1); border: 1px solid rgba(94, 234, 212, 0.35); }
.badge-soon { background: rgba(255, 211, 110, 0.12); color: var(--amber-1); border: 1px solid rgba(255, 211, 110, 0.35); }
.badge-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; animation: pulse 2s infinite; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(11, 21, 36, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(var(--max-w), calc(100% - 48px)); margin-inline: auto; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; }
.brand img { height: 38px; width: auto; border-radius: 12px; box-shadow: 0 6px 18px -6px rgba(94, 234, 212, 0.35); }
.brand .brand-name { font-size: 1.02rem; line-height: 1; display: flex; flex-direction: column; gap: 3px; }
.brand .brand-name small { font-family: var(--font-body); font-weight: 700; font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--teal-1); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(148, 178, 220, 0.08); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px;
  background: var(--grad-brand);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: rgba(148, 178, 220, 0.08);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
body.menu-open .nav-toggle .icon-menu { display: none; }
body.menu-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(60px, 10vw, 120px) clamp(48px, 7vw, 90px); position: relative; overflow: hidden; }

.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 5vw, 64px); align-items: center; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.12;
  margin: 18px 0 16px;
}
.hero p.lede { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 540px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* floating app icons in hero */
.hero-art { position: relative; min-height: 380px; }
.float-card {
  position: absolute;
  width: clamp(120px, 15vw, 168px);
  border-radius: var(--radius-l);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-glow);
  padding: 14px;
  backdrop-filter: blur(8px);
  animation: floaty 7s ease-in-out infinite;
}
.float-card img { width: 100%; border-radius: 18px; }
.float-card .fc-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-weight: 700; font-size: 0.85rem; }
.float-card.fc-ludo { top: 4%; left: 2%; animation-delay: -1.2s; transform: rotate(-6deg); }
.float-card.fc-kine { bottom: 6%; right: 0%; animation-delay: -3.5s; transform: rotate(5deg); width: clamp(140px, 18vw, 200px); }
.hero-orb {
  position: absolute; inset: auto 18% 30% 26%;
  width: min(46%, 240px); aspect-ratio: 1;
  background: var(--grad-brand);
  border-radius: 50%;
  filter: blur(70px); opacity: 0.35;
  animation: floaty 9s ease-in-out infinite reverse;
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(20px, 2.6vw, 30px);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
  content: "";
  position: absolute; inset: -1px;
  background: radial-gradient(420px 180px at var(--mx, 50%) -20%, rgba(255, 211, 110, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 211, 110, 0.4); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }

.icon-chip {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-chip svg { width: 26px; height: 26px; }
.chip-amber { background: rgba(255, 179, 77, 0.14); color: var(--amber-1); border: 1px solid rgba(255, 179, 77, 0.3); }
.chip-violet { background: rgba(167, 139, 250, 0.14); color: var(--violet-1); border: 1px solid rgba(167, 139, 250, 0.3); }
.chip-teal { background: rgba(94, 234, 212, 0.12); color: var(--teal-1); border: 1px solid rgba(94, 234, 212, 0.3); }

.card h3 { font-family: var(--font-display); font-size: 1.08rem; margin: 0 0 8px; letter-spacing: 0.02em; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Featured game cards (home) ---------- */
.game-card { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 34px); }
.game-card .gc-top { display: flex; align-items: center; gap: 16px; }
.game-card .gc-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: var(--shadow-glow); flex: none; }
.game-card h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-bottom: 4px; }
.game-card .gc-tagline { color: var(--muted); font-size: 0.98rem; }
.game-card ul.ticks { display: grid; gap: 8px; margin-top: 2px; }
.game-card ul.ticks li { position: relative; padding-left: 26px; color: var(--muted); font-size: 0.93rem; }
.game-card ul.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 17px; height: 17px; border-radius: 50%;
  background: rgba(94, 234, 212, 0.18);
  border: 1px solid rgba(94, 234, 212, 0.45);
}
.game-card ul.ticks li::after {
  content: "";
  position: absolute; left: 5px; top: 8px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--teal-1);
  border-bottom: 2px solid var(--teal-1);
  transform: rotate(-45deg);
}
.game-card .gc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 22px); }
.stat { text-align: center; padding: clamp(18px, 2.5vw, 30px) 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-m); }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.2rem); display: block; }
.stat .lbl { color: var(--muted); font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; margin-top: 34px; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--amber-1), var(--violet-1), var(--teal-1)); border-radius: 2px; opacity: 0.55; }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute; left: -24px; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-1);
  border: 3px solid var(--amber-1);
  box-shadow: 0 0 0 4px rgba(255, 179, 77, 0.15), 0 0 14px rgba(255, 179, 77, 0.5);
}
.tl-item.tl-violet::before { border-color: var(--violet-1); box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.15), 0 0 14px rgba(167, 139, 250, 0.5); }
.tl-item.tl-teal::before { border-color: var(--teal-1); box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.15), 0 0 14px rgba(94, 234, 212, 0.5); }
.tl-item h4 { font-family: var(--font-display); margin: 0 0 6px; font-size: 1.05rem; letter-spacing: 0.03em; }
.tl-item p { color: var(--muted); margin: 0; font-size: 0.95rem; max-width: 620px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 84px) clamp(30px, 4vw, 50px); position: relative; overflow: hidden; }
.page-hero .hero-grid { align-items: center; }
.app-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-hero .app-logo { width: clamp(96px, 14vw, 150px); height: auto; border-radius: var(--radius-l); box-shadow: var(--shadow-glow); animation: floaty 8s ease-in-out infinite; }

/* ---------- Feature list (game pages) ---------- */
.feature-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .fl-dot { width: 34px; height: 34px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255, 179, 77, 0.12); color: var(--amber-1); border: 1px solid rgba(255, 179, 77, 0.28); }
.feature-list .fl-dot svg { width: 18px; height: 18px; }
.feature-list strong { display: block; font-size: 0.98rem; }
.feature-list span.desc { color: var(--muted); font-size: 0.92rem; }

/* ---------- Screenshot gallery ---------- */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 18px); margin-top: 30px; }
.shot {
  position: relative; border-radius: var(--radius-m); overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); background: var(--bg-2);
  aspect-ratio: 715 / 1400;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,21,36,.55), transparent 45%);
  opacity: 0; transition: opacity .25s ease;
}
.shot:hover { transform: translateY(-6px) scale(1.02); border-color: var(--amber-1); box-shadow: var(--shadow-glow); }
.shot:hover::after { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 8, 14, 0.92);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: clamp(12px, 4vw, 40px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: min(86vh, 900px); border-radius: var(--radius-m); box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); border: 1px solid var(--line); }
.lb-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  background: rgba(148,178,220,.12); border: 1px solid var(--line); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: rgba(255,179,77,.25); transform: scale(1.08); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { position: absolute; top: 18px; right: 18px; }
.lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .85rem; letter-spacing: .1em; }

/* ---------- KineQuest sub-game tiles ---------- */
.mini-game { display: flex; flex-direction: column; gap: 14px; }
.mini-game .mg-art {
  height: 130px; border-radius: var(--radius-m); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; margin-bottom: 4px;
}
.mg-art svg { width: 62px; height: 62px; color: #fff; filter: drop-shadow(0 8px 18px rgba(0,0,0,.5)); position: relative; z-index: 1; }
.mg-art::before { content: ""; position: absolute; inset: 0; opacity: .9; }
.mg-maze .mg-art::before { background: var(--grad-teal); }
.mg-drift .mg-art::before { background: var(--grad-violet); }
.mg-flow .mg-art::before { background: linear-gradient(135deg, #38bdf8, #0d9488); }
.mg-snap .mg-art::before { background: var(--grad-brand); }
.mg-art .mg-grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%); }
.mini-game .mg-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(148,178,220,.1); border: 1px solid var(--line); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: clamp(46px, 7vw, 80px) clamp(20px, 5vw, 60px); border-radius: var(--radius-l); background: linear-gradient(135deg, rgba(109,40,217,.25), rgba(13,148,136,.2)), var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 90deg, transparent, rgba(255,179,77,.16), transparent 30%); animation: spin 14s linear infinite; }
.cta-band > * { position: relative; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 36px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--text); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(11, 21, 36, 0.7); border: 1px solid var(--line); color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-1); box-shadow: 0 0 0 3px rgba(255, 179, 77, 0.18); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.field .err { display: none; color: #fca5a5; font-size: .8rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.form-note { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(94, 234, 212, 0.1); border: 1px solid rgba(94, 234, 212, 0.35); color: var(--teal-1); font-size: .92rem; margin-bottom: 18px; }
.form-note.show { display: flex; }

.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 2.6vw, 30px); }
.info-row { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .icon-chip { margin: 0; width: 46px; height: 46px; flex: none; }
.info-row strong { display: block; font-size: .95rem; }
.info-row a, .info-row span { color: var(--muted); font-size: .92rem; word-break: break-word; }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  width: 46px; height: 46px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(148, 178, 220, 0.08); border: 1px solid var(--line); color: var(--muted);
  transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; border-color: var(--amber-1); background: rgba(255, 179, 77, 0.16); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: rgba(9, 17, 30, 0.85); backdrop-filter: blur(10px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: clamp(24px, 4vw, 50px); padding-block: clamp(36px, 5vw, 60px) 26px; }
.footer h5 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-1); margin: 0 0 14px; }
.footer p.blurb { color: var(--muted); font-size: .93rem; max-width: 320px; margin: 14px 0 18px; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--muted); font-size: .93rem; transition: color .2s ease; }
.footer ul a:hover { color: var(--amber-1); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--dim); font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-brand); color: #231504; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(245, 138, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 320px; margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(9, 17, 30, 0.97); backdrop-filter: blur(16px);
    padding: 18px clamp(20px, 5vw, 36px) calc(24px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
    max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
  }
  body.menu-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: rgba(255, 179, 77, 0.1); color: var(--amber-1); }
  .nav-cta { margin: 12px 0 4px; justify-content: center; }
}

@media (max-width: 680px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-auto-flow: column; grid-auto-columns: minmax(150px, 46vw); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-inline: -12px; padding-inline: 12px; }
  .shot { scroll-snap-align: center; aspect-ratio: auto; height: clamp(300px, 62vw, 460px); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 36px); }
  .store-btn { padding-inline: 12px; }
  .float-card.fc-ludo { left: -2%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
