/* ═══════════════════════════════════════════════════════════
   صايع بحر — Premium Landing 2026
   sayebahr.com
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy: #030712;
  --navy-mid: #0f172a;
  --navy-light: #1e293b;
  --surface: rgba(15, 23, 42, 0.55);
  --surface-hover: rgba(30, 41, 59, 0.75);
  --gold: #eab308;
  --gold-light: #fde047;
  --gold-dark: #a16207;
  --amber: #fbbf24;
  --cyan: #22d3ee;
  --cyan-dim: #0891b2;
  --purple: #818cf8;
  --rose: #fb7185;
  --sea: #0e7490;
  --sea-deep: #164e63;
  --text: #f8fafc;
  --text-muted: rgba(248, 250, 252, 0.62);
  --glass: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(34, 211, 238, 0.35);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font: 'Tajawal', system-ui, sans-serif;
  --shadow-glow: 0 0 60px rgba(34, 211, 238, 0.12);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gradient-brand: linear-gradient(135deg, #22d3ee 0%, #fde047 45%, #818cf8 100%);
  --gradient-gold: linear-gradient(135deg, #fde047, #eab308, #a16207);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: var(--header-h);
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

a:hover { color: var(--gold-light); }

img { max-width: 100%; height: auto; display: block; }

.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Background layers ── */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(14, 116, 144, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(129, 140, 248, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(234, 179, 8, 0.08), transparent),
    linear-gradient(180deg, #020617 0%, var(--navy) 50%, #0c4a6e 100%);
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: aurora-drift 20s ease-in-out infinite alternate;
  pointer-events: none;
}

.aurora-1 {
  width: 55vw;
  height: 55vw;
  max-width: 600px;
  max-height: 600px;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
}

.aurora-2 {
  width: 45vw;
  height: 45vw;
  max-width: 500px;
  bottom: 10%;
  left: -15%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.25), transparent 70%);
  animation-delay: -8s;
  animation-duration: 26s;
}

.aurora-3 {
  width: 35vw;
  height: 35vw;
  top: 40%;
  left: 30%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.12), transparent 70%);
  animation-delay: -14s;
  animation-duration: 32s;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.08); }
}

.grid-floor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Legacy ocean-bg for inner pages */
.ocean-bg { display: none; }

/* ── Scroll progress ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 300;
  background: var(--gradient-brand);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
  pointer-events: none;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 48px);
  height: var(--header-h);
  transition: background 0.4s var(--ease-out), border-color 0.4s, backdrop-filter 0.4s;
}

.site-header.is-scrolled {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ── Logo (legacy, kept for backward compat) ── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  z-index: 1;
  text-decoration: none;
}

.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.logo-icon {
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 12px rgba(234, 179, 8, 0.5));
}

.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.35);
  animation: logo-spin 12s linear infinite;
}

.logo-ring::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}

@keyframes logo-spin {
  to { transform: rotate(360deg); }
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.1rem; font-weight: 800; color: var(--text); }
.logo-text small { font-size: 0.62rem; opacity: 0.55; letter-spacing: 0.12em; text-transform: uppercase; }

/* ── Logo SVG Premium ── */
.logo-svg-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  z-index: 1;
  position: relative;
}

.logo-svg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-hex-svg {
  width: 44px;
  height: 44px;
  /* Subtle hover scale */
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.35s ease;
  filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.25));
}

.logo-svg-wrap:hover .logo-hex-svg {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 16px rgba(234, 179, 8, 0.55))
          drop-shadow(0 0 8px rgba(34, 211, 238, 0.3));
}

/* Text section */
.logo-text-new {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}

.logo-name-ar {
  font-size: 1.125rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fef9c3 0%, #fde047 40%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  /* Shimmer animation */
  background-size: 200% 100%;
  animation: logo-shimmer 4s ease-in-out infinite;
}

@keyframes logo-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.logo-name-en {
  font-size: 0.575rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.8;
  /* Subtle glow pulse */
  animation: logo-en-pulse 4s ease-in-out infinite;
}

@keyframes logo-en-pulse {
  0%, 100% { opacity: 0.7; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
}

/* Hover: name glow */
.logo-svg-wrap:hover .logo-name-ar {
  animation: logo-shimmer 1.5s ease-in-out infinite;
}

.logo-svg-wrap:hover .logo-name-en {
  opacity: 1;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a { color: var(--text-muted); position: relative; }
.nav a:not(.nav-play):hover { color: var(--text); }

.nav a:not(.nav-play)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav a:not(.nav-play):hover::after { width: 100%; }

.nav-play {
  position: relative;
  overflow: hidden;
  background: var(--gradient-gold);
  color: var(--navy) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 4px 24px rgba(234, 179, 8, 0.35);
  transition: transform 0.25s, box-shadow 0.25s;
}

.nav-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(234, 179, 8, 0.45);
  color: var(--navy) !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: 0 8px 32px rgba(234, 179, 8, 0.35);
}

.btn-primary:hover { box-shadow: 0 12px 40px rgba(234, 179, 8, 0.5); color: var(--navy); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--glass-border);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--glass-border-hover);
  color: var(--text);
}

.btn-gold { background: var(--gradient-gold); color: var(--navy); box-shadow: 0 6px 28px rgba(234, 179, 8, 0.35); }
.btn-outline { border-color: rgba(234, 179, 8, 0.4); color: var(--gold-light); background: rgba(234, 179, 8, 0.06); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-xl { padding: 18px 40px; font-size: 1.12rem; }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

.btn-glow { position: relative; }
.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-brand);
  opacity: 0;
  z-index: -1;
  filter: blur(16px);
  transition: opacity 0.3s;
}

.btn-glow:hover::before { opacity: 0.5; }

.pulse { animation: pulse-glow 2.5s ease-in-out infinite; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 32px rgba(234, 179, 8, 0.35); }
  50% { box-shadow: 0 8px 48px rgba(251, 191, 36, 0.55); }
}

/* ── Hero ── */
main { padding-top: 0; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 48px) clamp(40px, 6vw, 64px);
  min-height: calc(100vh - var(--header-h));
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--cyan);
}

.hero-title { margin-bottom: 24px; }

.hero-title-line {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hero-title-gradient {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 35%, var(--gold-light) 70%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(34, 211, 238, 0.2));
}

.hero-title-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.35);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-lead strong { color: var(--gold-light); font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.hero-trust span {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-chip {
  position: absolute;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow);
  animation: float-chip 6s ease-in-out infinite;
}

.orbit-chip-1 { top: 8%; left: 5%; animation-delay: 0s; }
.orbit-chip-2 { top: 55%; right: 0; animation-delay: -2s; }
.orbit-chip-3 { bottom: 12%; left: 15%; animation-delay: -4s; }

@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-device {
  position: relative;
  z-index: 1;
}

.device-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), rgba(234, 179, 8, 0.08), transparent 65%);
  pointer-events: none;
}

.device-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.15);
  pointer-events: none;
}

.device-ring-1 {
  inset: -12%;
  animation: ring-spin 20s linear infinite;
}

.device-ring-2 {
  inset: -22%;
  border-color: rgba(234, 179, 8, 0.1);
  animation: ring-spin 30s linear infinite reverse;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.hero-frame {
  position: relative;
  max-width: 300px;
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--navy-mid), var(--navy-mid)) padding-box,
    linear-gradient(135deg, rgba(34, 211, 238, 0.6), rgba(234, 179, 8, 0.6), rgba(129, 140, 248, 0.4)) border-box;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    var(--shadow-glow);
  animation: float-device 6s ease-in-out infinite;
}

.hero-frame img { width: 100%; object-fit: cover; }

.hero-frame-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  animation: shine-sweep 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-device {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

@keyframes shine-sweep {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(100%); opacity: 1; }
}

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  border-block: 1px solid var(--glass-border);
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 35s linear infinite;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-track span { opacity: 0.75; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Stats ── */
.stats-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 48px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.stat-icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }

.stat-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card small { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* Legacy .stat for inner pages */
.stats-bar { display: none; }
.stat { display: none; }

/* ── Section headers ── */
section { padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 48px); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(40px, 5vw, 56px);
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Bento grid ── */
.features { max-width: 1200px; margin: 0 auto; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.bento-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.bento-hero {
  grid-column: span 2;
  grid-row: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  min-height: 280px;
}

.bento-glow {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
  pointer-events: none;
}

.bento-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: var(--gold-light);
  margin-bottom: 12px;
}

.bento-hero h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.bento-hero p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; margin-bottom: 16px; }

.bento-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan);
}

.bento-visual {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.bento-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.bento-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.bento-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.bento-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

.bento-wide {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.bento-wide .bento-icon { margin-bottom: 0; flex-shrink: 0; }

/* ── Pillars (no game images) ── */
.pillars-section { max-width: 1200px; margin: 0 auto; }

.pillars-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.pillar-spotlight {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  text-align: center;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}

.pillar-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.12), transparent 55%);
  pointer-events: none;
}

.pillar-spotlight:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.pillar-orbit {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
}

.pillar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.35);
  animation: pillar-spin 8s linear infinite;
}

.pillar-ring::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.pillar-ring-gold { border-color: rgba(234, 179, 8, 0.4); }
.pillar-ring-gold::after { background: var(--gold-light); box-shadow: 0 0 12px var(--gold-light); }

.pillar-ring-red { border-color: rgba(244, 63, 94, 0.4); }
.pillar-ring-red::after { background: #f43f5e; box-shadow: 0 0 12px #f43f5e; }

@keyframes pillar-spin {
  to { transform: rotate(360deg); }
}

.pillar-core {
  position: absolute;
  inset: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.85);
  border: 1px solid var(--glass-border);
}

.pillar-spotlight h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
}

.pillar-spotlight p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
}

.pillar-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--cyan);
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pillar-card {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.pillar-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.pillar-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.pillar-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Legacy features-grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── Modes ── */
.modes { max-width: 1200px; margin: 0 auto; }

.modes-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan-dim) transparent;
}

.mode-card {
  flex: 0 0 min(300px, 80vw);
  scroll-snap-align: start;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--mode-accent, var(--cyan));
  opacity: 0.8;
}

.mode-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--mode-accent, var(--cyan)) 40%, transparent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.mode-num {
  font-size: 2.5rem;
  font-weight: 900;
  opacity: 0.08;
  position: absolute;
  top: 12px;
  left: 16px;
  line-height: 1;
}

.mode-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; position: relative; }
.mode-card p { font-size: 0.85rem; color: var(--text-muted); position: relative; }

/* ── Gallery ── */
.gallery { max-width: 1100px; margin: 0 auto; }

.gallery-cinema {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 4px 20px;
  flex: 1;
}

.gallery-slide {
  flex: 0 0 min(85vw, 480px);
  scroll-snap-align: center;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-slide:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.gallery-slide:hover img { transform: scale(1.04); }

.gallery-slide figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--glass-border);
}

.gallery-slide figcaption span { font-size: 1.1rem; }

.gallery-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.gallery-nav:hover {
  background: rgba(34, 211, 238, 0.15);
  border-color: var(--glass-border-hover);
  transform: scale(1.05);
}

/* ── Store preview ── */
.store-preview { max-width: 900px; margin: 0 auto; }

.store-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  text-align: center;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.store-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
}

.store-card-hot {
  border-color: rgba(234, 179, 8, 0.4);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.08), var(--glass));
}

.hot-badge {
  position: absolute;
  top: 12px;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--amber);
}

.store-card h3 { font-size: 1rem; font-weight: 800; }
.store-price { font-size: 1.1rem; font-weight: 700; color: var(--gold-light); }
.store-price small { font-size: 0.75rem; opacity: 0.7; font-weight: 500; }
.store-cta-wrap { text-align: center; margin-top: 2rem; }

/* Legacy store-preview */
.store-preview-grid { display: none; }

/* ── Timeline / How ── */
.how { max-width: 720px; margin: 0 auto; text-align: center; }

.timeline {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  text-align: right;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.timeline-step:hover { border-color: var(--glass-border-hover); box-shadow: var(--shadow-glow); }

.timeline-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gradient-gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 1.1rem;
}

.timeline-step h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.timeline-step p { font-size: 0.85rem; color: var(--text-muted); }

.steps { display: none; }

/* ── Promo ── */
.promo {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) clamp(20px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.06), rgba(234, 179, 8, 0.04));
  border: 1px solid var(--glass-border);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px dashed rgba(34, 211, 238, 0.3);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}

.promo-card:hover { border-color: var(--cyan); transform: translateY(-4px); }

.promo-card code {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  font-family: ui-monospace, 'Courier New', monospace;
}

.promo-card span { font-size: 0.8rem; color: var(--text-muted); }

.promo-hot {
  border-style: solid;
  border-color: rgba(234, 179, 8, 0.5);
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.1), var(--glass));
}

.promo-copy {
  display: block;
  margin: 12px auto 0;
  padding: 6px 18px;
  font-size: 0.75rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}

.promo-copy:hover { background: rgba(34, 211, 238, 0.15); border-color: var(--cyan); }

/* ── Testimonials ── */
.testimonials { max-width: 1100px; margin: 0 auto; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.quote-card:hover { border-color: var(--glass-border-hover); box-shadow: var(--shadow-glow); }

.quote-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  font-style: italic;
}

.quote-card footer { font-size: 0.82rem; font-weight: 700; color: var(--cyan); }

/* ── CTA Final ── */
.cta-final {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 80px) clamp(20px, 5vw, 48px);
}

.cta-final-inner {
  position: relative;
  text-align: center;
  padding: clamp(48px, 8vw, 72px) clamp(24px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.cta-final-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.12), rgba(234, 179, 8, 0.08), transparent 60%);
  pointer-events: none;
}

.cta-final h2 {
  position: relative;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-final p {
  position: relative;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 480px;
  margin-inline: auto;
}

.cta-final .btn { position: relative; }

/* Legacy cta-banner */
.cta-banner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 64px) clamp(24px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
}

.cta-banner h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 12px; font-weight: 900; }
.cta-banner p { color: var(--text-muted); margin-bottom: 28px; }

/* ── FAQ ── */
.faq { max-width: 680px; margin: 0 auto; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] { border-color: var(--glass-border-hover); }

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 20px;
  color: var(--text);
  list-style: none;
  transition: color 0.25s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  float: left;
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.3s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item[open] summary { border-bottom: 1px solid var(--glass-border); color: var(--cyan); }

.faq-item p {
  padding: 16px 20px 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-more { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; }

/* ── Contact ── */
.contact { max-width: 720px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  color: var(--text);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow);
  color: var(--text);
}

.contact-icon { font-size: 2.2rem; }
.contact-card strong { font-size: 1.05rem; color: var(--gold-light); direction: ltr; }
.contact-card small { color: var(--text-muted); font-size: 0.82rem; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 48px clamp(20px, 5vw, 48px) 32px;
  margin-top: 48px;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(12px);
}

.footer-grid,
.footer-cols {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-brand p { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.footer-brand strong { font-size: 1.05rem; color: var(--text); }
.footer-tagline { font-size: 0.72rem; opacity: 0.55; margin-top: 8px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--text); }

.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.88rem; }
.footer-links a { color: var(--text-muted); }

/* ── FAB ── */
.fab-play {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(234, 179, 8, 0.45);
  z-index: 90;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, bottom 0.3s;
}

.fab-play:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(234, 179, 8, 0.55);
  color: var(--navy);
}

body.has-pwa-banner .fab-play {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* ── PWA banner ── */
.pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}

.pwa-install-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pwa-install-text { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.pwa-install-text strong { font-size: 0.92rem; color: var(--text); }
.pwa-install-hint, .pwa-install-ios-hint { font-size: 0.72rem; color: var(--text-muted); }
.pwa-install-ios-hint { color: var(--amber); }
.pwa-install-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pwa-dismiss-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 6px;
}

.pwa-dismiss-btn:hover { color: var(--text); }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal]:nth-child(2) { transition-delay: 0.1s; }
[data-reveal]:nth-child(3) { transition-delay: 0.2s; }
[data-reveal]:nth-child(4) { transition-delay: 0.3s; }

/* ── Tilt cards ── */
.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* ── Inner pages ── */
.page-hero {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) clamp(20px, 5vw, 48px) 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 1rem;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero p { color: var(--text-muted); max-width: 36rem; margin: 0 auto; line-height: 1.75; }

.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 5%;
}

.page-404 h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.page-404 p { color: var(--text-muted); margin-bottom: 1.5rem; }

.nav-store.active { color: var(--cyan) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .hero-meta, .hero-trust { justify-content: center; }
  .hero-visual { order: -1; min-height: 360px; }
  .hero-frame { max-width: 260px; }
  .bento-hero { grid-column: span 1; grid-row: span 1; grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-wide { grid-column: span 2; }
  .pillars-band { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 8px;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.35s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a:not(.nav-play) { padding: 12px 16px; border-radius: var(--radius-sm); }
  .nav a:not(.nav-play):hover { background: rgba(255, 255, 255, 0.04); }
  .nav-play { text-align: center; margin-top: 8px; }

  .bento-grid { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; flex-direction: column; text-align: center; }
  .pillars-grid { grid-template-columns: 1fr; }
  .store-cards, .promo-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid, .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-nav { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .orbit-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ══════════════════════════════════════════════════
   HERO FRAME LIVE — Animated Overlays
   ══════════════════════════════════════════════════ */

.hero-frame-live {
  position: relative;
  overflow: hidden;
}

.hero-game-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Particle Canvas ── */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* ── Wave Overlay (bottom shimmer) ── */
.hero-wave-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 3;
}

.hero-wave-overlay svg {
  width: 100%;
  height: 100%;
}

.hero-wave-path-1 {
  animation: wave-morph-1 3.5s ease-in-out infinite;
}

.hero-wave-path-2 {
  animation: wave-morph-2 2.8s ease-in-out infinite reverse;
}

@keyframes wave-morph-1 {
  0%, 100% { d: path("M0,80 C80,60 160,100 240,75 C320,50 400,90 480,70 L480,120 L0,120 Z"); }
  50% { d: path("M0,90 C80,70 160,110 240,85 C320,60 400,100 480,80 L480,120 L0,120 Z"); }
}

@keyframes wave-morph-2 {
  0%, 100% { d: path("M0,100 C120,85 240,115 360,90 C400,80 440,95 480,88 L480,120 L0,120 Z"); }
  50% { d: path("M0,95 C120,80 240,110 360,95 C400,85 440,100 480,92 L480,120 L0,120 Z"); }
}

/* ── Floating Gems ── */
.hero-gems {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  overflow: hidden;
}

.hero-gem {
  position: absolute;
  bottom: -2rem;
  left: var(--x, 50%);
  font-size: 1.1rem;
  line-height: 1;
  animation: gem-float var(--dur, 4s) var(--delay, 0s) ease-in-out infinite;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.7));
}

@keyframes gem-float {
  0% { transform: translateY(0) scale(0.5) rotate(0deg); opacity: 0; }
  15% { opacity: 0.9; }
  75% { opacity: 0.7; }
  100% { transform: translateY(-105%) scale(1.1) rotate(20deg); opacity: 0; }
}

/* ── Fish Jump ── */
.hero-fish-wrap {
  position: absolute;
  bottom: 18%;
  left: 62%;
  pointer-events: none;
  z-index: 5;
}

.hero-fish-jump {
  display: block;
  font-size: 2rem;
  filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.85));
  transform-origin: bottom center;
  animation: fish-jump 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fish-jump {
  0%   { transform: translateY(0) rotate(0deg) scaleX(1); opacity: 0; }
  5%   { opacity: 1; }
  30%  { transform: translateY(-90px) rotate(-35deg) scaleX(1); opacity: 1; }
  50%  { transform: translateY(-130px) rotate(-60deg) scaleX(1); opacity: 1; }
  55%  { transform: translateY(-130px) rotate(-60deg) scaleX(-1); }
  75%  { transform: translateY(-40px) rotate(-20deg) scaleX(-1); opacity: 1; }
  88%  { transform: translateY(0) rotate(0deg) scaleX(-1); opacity: 0.6; }
  100% { transform: translateY(0) rotate(0deg) scaleX(1); opacity: 0; }
}

/* ── Scan Line ── */
.hero-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  /* Moving bright scan line */
  overflow: hidden;
}

.hero-scanline::after {
  content: '';
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  height: 8%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(34, 211, 238, 0.06),
    rgba(34, 211, 238, 0.12),
    rgba(34, 211, 238, 0.06),
    transparent
  );
  animation: scanline-move 7s linear infinite;
}

@keyframes scanline-move {
  0% { top: -10%; }
  100% { top: 110%; }
}

/* ── Vignette ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(
    ellipse 90% 90% at 50% 50%,
    transparent 60%,
    rgba(3, 7, 18, 0.45) 100%
  );
}

/* ── Corner Glows ── */
.hero-corner-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 3;
  border-radius: 50%;
  animation: corner-pulse 4s ease-in-out infinite alternate;
}

.hero-corner-tl {
  top: -20px;
  right: -20px;
  background: radial-gradient(circle, rgba(234,179,8,0.25) 0%, transparent 70%);
}

.hero-corner-br {
  bottom: 30px;
  left: -20px;
  background: radial-gradient(circle, rgba(34,211,238,0.2) 0%, transparent 70%);
  animation-delay: -2s;
}

@keyframes corner-pulse {
  from { opacity: 0.5; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

/* ── Live Badge ── */
.hero-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(34, 197, 94, 0.5);
  backdrop-filter: blur(6px);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #86efac;
  pointer-events: none;
  z-index: 7;
}

.hero-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Image Chips ── */
.hero-img-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 7;
}

.hero-img-chip {
  position: absolute;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.chip-fish {
  top: 22%;
  left: 8px;
  border-color: rgba(34, 211, 238, 0.45);
  color: #67e8f9;
  animation: chip-bob 3s ease-in-out infinite;
}

.chip-pvp {
  top: 42%;
  right: 8px;
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  animation: chip-bob 3.5s ease-in-out infinite 0.8s;
}

.chip-dragon {
  bottom: 28%;
  left: 8px;
  border-color: rgba(234, 179, 8, 0.45);
  color: #fde047;
  animation: chip-bob 4s ease-in-out infinite 1.5s;
}

@keyframes chip-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ── Reduce motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-gem,
  .hero-fish-jump,
  .hero-scanline::after,
  .hero-corner-glow,
  .hero-wave-path-1,
  .hero-wave-path-2,
  .hero-img-chip,
  .hero-particles-canvas { animation: none !important; }
}

/* ── Hero watermark ── */
.hero-watermark {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  width: 62%;
  pointer-events: none;
  z-index: 8;
  opacity: 0.85;
}

.hero-watermark svg {
  width: 100%;
  height: auto;
}

/* ── Site auth header ── */
.site-auth-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-auth-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-auth-slot {
    width: 100%;
    justify-content: center;
    padding: 8px 0;
  }
}

/* ── Auth modal (Google + email) ── */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0.72rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  color: #1f2937;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-google:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.auth-google-g {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #ea4335 50%, #fbbc05 85%, #34a853);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-divider span { white-space: nowrap; }

/* ══ SEO / Marketing enhancements ══ */
.live-stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin: 0 auto 1.5rem;
  max-width: 42rem;
}
.live-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--glass-border);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.live-stat-pill strong { color: var(--gold-light); font-weight: 800; }

.hero-trailer-cta {
  margin-top: 1rem;
}
.btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(8, 47, 73, 0.55);
  color: var(--cyan);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s, transform 0.25s;
}
.btn-trailer:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-1px); }
.btn-trailer-play {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #0a1628;
  display: grid; place-items: center;
  font-size: 0.75rem;
}

.trailer-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: rgba(2, 6, 23, 0.92);
  padding: 1rem;
}
.trailer-modal[hidden] { display: none !important; }
.trailer-modal-inner {
  position: relative;
  width: min(920px, 96vw);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.trailer-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #020617;
}
.trailer-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.trailer-slideshow.is-playing .trailer-slide:nth-child(1) { animation: trailer-slide-a 12s infinite; }
.trailer-slideshow.is-playing .trailer-slide:nth-child(2) { animation: trailer-slide-b 12s infinite; }
.trailer-slideshow.is-playing .trailer-slide:nth-child(3) { animation: trailer-slide-c 12s infinite; }
@keyframes trailer-slide-a { 0%,30%{opacity:1} 35%,100%{opacity:0} }
@keyframes trailer-slide-b { 0%,30%{opacity:0} 35%,65%{opacity:1} 70%,100%{opacity:0} }
@keyframes trailer-slide-c { 0%,65%{opacity:0} 70%,100%{opacity:1} }
.trailer-modal-close {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.55);
  color: #fff; cursor: pointer; font-size: 1.1rem;
}

.screenshots-section { padding: 4rem 5%; }
.screenshots-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: zoom-in;
  aspect-ratio: 9 / 16;
  background: var(--navy-mid);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-size: 0.82rem;
}

.gallery-lightbox {
  position: fixed; inset: 0; z-index: 10000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.94);
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox-figure { grid-column: 2; margin: 0; text-align: center; }
.gallery-lightbox-img {
  max-width: min(900px, 88vw);
  max-height: 78vh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}
.gallery-lightbox-caption { margin-top: 10px; color: var(--text-muted); }
.gallery-lightbox-close {
  position: fixed; top: 16px; left: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5); color: #fff; cursor: pointer;
}
.gallery-lightbox-nav {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.45); color: #fff;
  font-size: 1.5rem; cursor: pointer;
}
body.gallery-lightbox-open,
body.trailer-modal-open { overflow: hidden; }

.quote-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.quote-discord-badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.45);
  color: #c7d2fe;
}
.quote-verified {
  font-size: 0.72rem;
  color: var(--cyan);
}

.page-hero-compact { min-height: auto; padding: 3rem 5%; text-align: center; }
.content-narrow { max-width: 46rem; margin: 0 auto; padding: 0 5% 3rem; }
.content-wide { max-width: 72rem; margin: 0 auto; padding: 0 5% 3rem; }
.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.press-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}
.press-card h3 { margin-bottom: 0.5rem; color: var(--gold-light); }
.press-downloads { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.blog-list { display: grid; gap: 14px; }
.blog-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  transition: border-color 0.25s;
}
.blog-card:hover { border-color: var(--glass-border-hover); }
.blog-card time { font-size: 0.82rem; color: var(--text-muted); }
.ads-hero-minimal .hero-cta { justify-content: center; }
.ads-trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px;
  margin-top: 1rem; color: var(--text-muted); font-size: 0.9rem;
}

@media (max-width: 900px) {
  .screenshots-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .screenshots-gallery { grid-template-columns: 1fr; }
  .gallery-lightbox { grid-template-columns: 1fr; }
  .gallery-lightbox-nav { display: none; }
}

