/* ================================================================
   GPS TREASURE HUNT — Promotional Website
   Design System: Purple / Blue / Green / Gold
   ================================================================ */

:root {
  --purple-900: #2A1B5C;
  --purple-800: #3D2A82;
  --purple-700: #4F30B8;
  --purple-600: #6C5CE7;
  --purple-500: #7D6FEF;
  --purple-400: #A68BFF;

  --blue-500: #2196F3;
  --blue-400: #42A5F5;
  --cyan-400: #00E5FF;

  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --mint-400: #00E676;

  --gold-500: #FFC947;
  --gold-400: #FDCB6E;
  --gold-300: #FFD77A;

  --bg: #0A0520;
  --bg-2: #120A38;
  --surface: rgba(255,255,255,0.04);
  --surface-hi: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.1);
  --text: #FFFFFF;
  --text-dim: rgba(255,255,255,0.72);
  --text-mute: rgba(255,255,255,0.5);

  --max: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 20px rgba(108, 92, 231, 0.25);
  --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.35);
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Global animated gradient background layer */
.bg-orbs {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-orbs::before, .bg-orbs::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orbFloat 18s var(--ease) infinite alternate;
}
.bg-orbs::before {
  background: radial-gradient(circle, var(--purple-600), transparent 60%);
  top: -200px; left: -100px;
}
.bg-orbs::after {
  background: radial-gradient(circle, var(--blue-500), transparent 60%);
  bottom: -200px; right: -100px;
  animation-delay: -9s;
}
.bg-orbs .orb-gold {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(130px);
  background: radial-gradient(circle, var(--gold-400), transparent 60%);
  opacity: 0.2;
  top: 40%; left: 45%;
  animation: orbFloat 22s var(--ease) infinite alternate-reverse;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, -60px) scale(1.15); }
  100% { transform: translate(-60px, 80px) scale(0.95); }
}

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 22px; position: relative; z-index: 2; }
section { padding: 70px 0; position: relative; }

/* Typography */
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; }
h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.15; }
h3 { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold-400);
  background: rgba(255, 201, 71, 0.08);
  border: 1px solid rgba(255, 201, 71, 0.3);
  border-radius: 999px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head p { color: var(--text-dim); margin-top: 10px; font-size: 15px; }

.gradient-text {
  background: linear-gradient(100deg, #FFFFFF 0%, #A68BFF 40%, #FFC947 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 5, 32, 0.55);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 5, 32, 0.9);
  border-bottom-color: var(--border);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; color: var(--text);
  text-decoration: none;
  font-family: 'Sora', sans-serif;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple-600), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.45);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: ''; position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.25), transparent 30%);
  animation: logoSpin 4s linear infinite;
}
.logo-mark svg { position: relative; z-index: 1; }
@keyframes logoSpin { to { transform: rotate(360deg); } }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: var(--text-dim); text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: color 0.2s;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--gold-400); }
.nav-cta {
  margin-left: 8px;
  padding: 11px 22px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.45) !important;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative;
}
.nav-cta svg { width: 16px; height: 16px; }

/* Brand-icon helper */
.brand-ic {
  width: 20px; height: 20px;
  display: inline-block;
  vertical-align: middle;
}
.brand-ic.instagram { color: #E1306C; }
.brand-ic.tiktok { color: #ffffff; }
.menu-toggle {
  display: none; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 24px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  border: 0;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-500));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2A1B5C;
  box-shadow: 0 8px 25px rgba(255, 201, 71, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-hi); }

/* Hero */
.hero {
  padding: 110px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 { margin: 14px 0 16px; }
.hero p.lead {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; }
.trust-chip {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
}
.trust-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint-400);
  box-shadow: 0 0 12px var(--mint-400);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Phone mockup */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: float 6s var(--ease) infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.phone {
  width: 270px; height: 540px;
  border-radius: 38px;
  background: linear-gradient(180deg, #1a1130, #0a0520);
  border: 2px solid rgba(255,255,255,0.08);
  padding: 10px;
  box-shadow: 0 30px 70px rgba(108, 92, 231, 0.4), inset 0 0 0 2px rgba(255,255,255,0.03);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute;
  top: 20px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, #4F30B8, #6C5CE7);
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 60px 22px 22px;
}
.phone-top {
  font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 700; letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.phone-brand { font-size: 22px; font-weight: 800; font-family: 'Sora', sans-serif; margin-bottom: 2px; }
.phone-sub { font-size: 13px; color: var(--gold-400); font-weight: 700; letter-spacing: 0.18em; margin-bottom: 18px; }

.compass {
  width: 210px; height: 210px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--purple-600), var(--blue-500), var(--green-500), var(--gold-500), var(--purple-600));
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 3px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(255, 201, 71, 0.3);
  animation: compassSpin 12s linear infinite;
}
.compass::before {
  content: ''; position: absolute; inset: 3px;
  background: radial-gradient(circle at 30% 30%, #2D1C6B, #0a0520);
  border-radius: 50%;
  z-index: 1;
}
.compass-pointer {
  position: relative; z-index: 2;
  width: 0; height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 60px solid var(--gold-400);
  filter: drop-shadow(0 0 10px rgba(255, 201, 71, 0.7));
  animation: compassUnspin 12s linear infinite;
}
@keyframes compassSpin { to { transform: rotate(360deg); } }
@keyframes compassUnspin { to { transform: rotate(-360deg); } }

.phone-stats {
  display: flex; gap: 10px; margin-top: 22px;
}
.phone-stat {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.phone-stat b { display: block; font-size: 16px; font-weight: 800; color: var(--gold-400); }
.phone-stat span { font-size: 9px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
.phone-cta {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2A1B5C;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800; font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 25px rgba(255, 201, 71, 0.4);
}

/* Floating decorations around phone */
.float-chip {
  position: absolute;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  animation: float 5s var(--ease) infinite;
}
.float-chip.c1 { top: 12%; left: -5%; animation-delay: -2s; color: var(--gold-400); }
.float-chip.c2 { top: 40%; right: -8%; animation-delay: -1s; color: var(--mint-400); }
.float-chip.c3 { bottom: 16%; left: -2%; animation-delay: -3s; color: var(--cyan-400); }

/* Stats Strip */
.stats-strip {
  margin: 40px auto 0;
  max-width: 1100px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  backdrop-filter: blur(20px);
}
.stat-cell { text-align: center; }
.stat-num {
  font-size: 34px; font-weight: 800;
  background: linear-gradient(135deg, var(--gold-400), var(--purple-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-lbl { color: var(--text-mute); font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em; margin-top: 4px; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.feature-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -20%, var(--gc, rgba(108,92,231,0.3)), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.fi-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c1, var(--purple-600)), var(--c2, var(--blue-500)));
  margin-bottom: 18px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  font-size: 32px;
  line-height: 1;
}
.feature-card h3 { margin-bottom: 10px; font-size: 19px; }
.feature-card p { color: var(--text-dim); font-size: 15px; }

/* How to Play */
.howto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2A1B5C;
  font-weight: 800; font-size: 18px;
  font-family: 'Sora', sans-serif;
  box-shadow: 0 10px 20px rgba(255, 201, 71, 0.4);
}
.step h3 { margin: 18px 0 10px; font-size: 17px; }
.step p { color: var(--text-dim); font-size: 14px; }
.step-emoji { font-size: 42px; margin-top: 8px; display: block; }

/* NFT Gallery */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.nft-card {
  aspect-ratio: 1;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, var(--rc1), var(--rc2));
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.3s var(--ease);
}
.nft-card:hover { transform: translateY(-5px) rotate(-1deg); }
.nft-inner {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(10,5,32,0.9), rgba(18,10,56,0.9));
  border-radius: 14px;
  padding: 16px 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  position: relative;
}
.nft-emoji { font-size: 50px; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.nft-name {
  font-size: 12px; font-weight: 700; text-align: center; line-height: 1.3;
  color: var(--text);
  margin-top: auto;
}
.nft-rarity {
  font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em;
  margin-top: 4px;
  color: var(--rc-text);
}
/* Rarity color map applied via JS */
.r-common { --rc1: #7d8899; --rc2: #9e9e9e; --rc-text: #c9d0da; }
.r-uncommon { --rc1: #2e7d32; --rc2: #66bb6a; --rc-text: #a5d6a7; }
.r-rare { --rc1: #1565c0; --rc2: #42a5f5; --rc-text: #90caf9; }
.r-epic { --rc1: #6a1b9a; --rc2: #ba68c8; --rc-text: #ce93d8; }
.r-legendary { --rc1: #ffb300; --rc2: #ffd54f; --rc-text: #ffe082; }
.r-premium { --rc1: #ff4081; --rc2: #ffc947; --rc-text: #ffd77a; }
.r-premium .nft-inner { background: linear-gradient(180deg, rgba(60,10,50,0.9), rgba(30,5,20,0.9)); }

.nft-img {
  width: 82px; height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5));
  margin-top: 4px;
  border-radius: 14px;
}
.nft-premium-badge {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(135deg, #FF4081, #FFC947);
  color: #2A1B5C;
  font-size: 8px; font-weight: 900; letter-spacing: 0.12em;
  padding: 3px 6px; border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.4);
  z-index: 2;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.price-card {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(108,92,231,0.15), rgba(33,150,243,0.1));
  border: 1px solid rgba(255, 201, 71, 0.45);
  box-shadow: 0 20px 60px rgba(108,92,231,0.3);
  transform: scale(1.03);
}
.price-badge {
  position: absolute; top: -14px; right: 24px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2A1B5C;
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
}
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { color: var(--text-mute); font-size: 13px; margin-bottom: 22px; }
.price-amount {
  font-family: 'Sora', sans-serif;
  font-size: 42px; font-weight: 800;
}
.price-amount small { font-size: 16px; color: var(--text-mute); font-weight: 500; }
.price-list { list-style: none; margin: 22px 0 28px; flex: 1; }
.price-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0;
  color: var(--text-dim);
  font-size: 14px;
}
.price-list li::before {
  content: '✓';
  color: var(--mint-400);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
}
.price-list li.cross::before { content: '—'; color: var(--text-mute); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(255, 201, 71, 0.4); }
.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: 0;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; font-weight: 600;
  font-family: inherit;
}
.faq-q .chev { color: var(--gold-400); transition: transform 0.3s; font-size: 20px; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0 22px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }

/* Social / community */
.social-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 32px;
}
.social-card {
  width: 86px; height: 86px;
  border-radius: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  text-decoration: none;
  transition: all 0.2s var(--ease);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.social-card:hover {
  transform: translateY(-4px);
  color: var(--text);
  border-color: rgba(255, 201, 71, 0.4);
  background: var(--surface-hi);
}
.social-card .icon { font-size: 26px; }

/* CTA Band */
.cta-band {
  margin: 80px auto;
  max-width: 1100px;
  padding: 60px 40px;
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-600), var(--blue-500));
  box-shadow: 0 30px 80px rgba(108, 92, 231, 0.4);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 201, 71, 0.3), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 17px; }

/* Store Badges */
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: #000;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
  border: 1px solid rgba(255,255,255,0.15);
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn .store-icon { font-size: 30px; }
.store-btn .store-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn .store-text small { font-size: 10px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.1em; }
.store-btn .store-text b { font-size: 16px; font-weight: 700; }

/* Footer */
footer {
  background: #05021A;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text); margin-bottom: 16px; }
.footer-grid a, .footer-grid p { display: block; color: var(--text-mute); font-size: 14px; text-decoration: none; padding: 5px 0; transition: color 0.2s; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bot {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  color: var(--text-mute); font-size: 13px;
}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Action / Lifestyle Mosaic */
.action-mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
  margin-top: 30px;
}

/* Hero bg image overlay */
.hero-bg .hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../img/life/city_start.jpg');
  background-size: cover; background-position: center;
  opacity: 0.15;
  filter: blur(1px) saturate(1.1);
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero-bg .container { position: relative; z-index: 2; }

/* Category entry cards (home page) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cat-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 201, 71, 0.4);
}
.cat-card:hover .cat-img { transform: scale(1.06); }
.cat-img {
  height: 160px;
  background-size: cover; background-position: center;
  transition: transform 0.6s var(--ease);
  position: relative;
}
.cat-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,5,32,0.55) 100%);
}
.cat-content { padding: 18px 20px 20px; }
.cat-tag {
  display: inline-block;
  font-size: 10px; font-weight: 800;
  color: var(--gold-400); letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cat-content h3 { font-size: 17px; margin-bottom: 6px; }
.cat-content p { color: var(--text-dim); font-size: 13px; line-height: 1.5; min-height: 40px; }
.cat-arrow {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  font-size: 13px; font-weight: 700;
  transition: transform 0.2s;
}
.cat-card:hover .cat-arrow { color: var(--gold-400); }

/* Highlight row (6 mini cards) */
.highlight-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.hl {
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.hl:hover { transform: translateY(-3px); border-color: rgba(255, 201, 71, 0.3); }
.hl-ic { font-size: 22px; display: block; margin-bottom: 6px; }
.hl b { display: block; font-size: 12px; font-weight: 700; color: var(--text); }
.hl em { display: block; font-size: 10px; color: var(--text-mute); font-style: normal; margin-top: 2px; line-height: 1.4; }

/* Social inline (in CTA) */
.social-inline {
  display: flex; gap: 18px; justify-content: center; margin-top: 18px; flex-wrap: wrap;
}
.social-inline a {
  color: rgba(255,255,255,0.9); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 6px 12px; background: rgba(255,255,255,0.1); border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.social-inline a:hover { background: rgba(255,255,255,0.18); }

/* Footer slim */
.footer-slim {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand strong { font-size: 14px; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-mute); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--gold-400); }

/* Page header (for sub-pages) */
.page-header {
  padding: 120px 0 40px;
  text-align: center;
  position: relative;
}
.page-header h1 { font-size: clamp(28px, 4vw, 44px); }
.page-header p { color: var(--text-dim); max-width: 640px; margin: 12px auto 0; font-size: 15px; }
.breadcrumb {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 12px; color: var(--text-mute);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-mute); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold-400); }


.action-cell {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  isolation: isolate;
}
.action-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.action-cell:hover img { transform: scale(1.08); }
.action-cell::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,5,32,0.85) 100%);
}
.action-cell .caption {
  position: absolute; bottom: 20px; left: 22px; right: 22px;
  z-index: 2;
  color: #fff;
}
.action-cell .caption .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 201, 71, 0.9);
  color: #2A1B5C;
  font-size: 10px; font-weight: 800; letter-spacing: 0.15em;
  border-radius: 999px;
  margin-bottom: 8px;
}
.action-cell .caption h3 { font-size: 20px; font-weight: 800; line-height: 1.2; }
.action-cell .caption p { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.action-cell.wide { grid-row: span 2; }

/* Changelog */
.changelog-wrap {
  max-width: 820px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(14px);
}
.changelog-ver {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.changelog-ver .ver-pill {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #2A1B5C;
  font-weight: 800; font-size: 12px; letter-spacing: 0.15em;
  padding: 4px 10px; border-radius: 999px;
}
.changelog-ver .ver-date { color: var(--text-mute); font-size: 13px; }
.changelog-wrap h3 { font-size: 20px; margin-bottom: 18px; }
.changelog-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.changelog-list li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  color: var(--text-dim); font-size: 14px;
  line-height: 1.5;
}
.changelog-list li .bullet {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: rgba(108,92,231,0.2);
  color: var(--purple-400);
}
.changelog-list li.feat .bullet { background: rgba(76,175,80,0.18); color: var(--mint-400); }
.changelog-list li.fix  .bullet { background: rgba(33,150,243,0.18); color: var(--blue-400); }
.changelog-list li.new  .bullet { background: rgba(255,201,71,0.18); color: var(--gold-400); }

/* Legal doc pages */
.doc-page {
  padding: 140px 0 60px;
  min-height: 70vh;
}
.doc-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.doc-content h1 { font-size: 36px; margin-bottom: 8px; }
.doc-content .doc-meta { color: var(--text-mute); font-size: 13px; margin-bottom: 32px; }
.doc-content h2 { font-size: 22px; margin: 28px 0 10px; color: var(--gold-400); }
.doc-content h3 { font-size: 17px; margin: 18px 0 6px; color: var(--purple-400); }
.doc-content p, .doc-content li { color: var(--text-dim); font-size: 15px; line-height: 1.75; margin-bottom: 10px; }
.doc-content ul { padding-left: 20px; margin-bottom: 14px; }
.doc-content strong { color: var(--text); }
.doc-content a { color: var(--blue-400); }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 20px;
  color: var(--text-mute); text-decoration: none; font-size: 14px;
}
.back-link:hover { color: var(--gold-400); }

/* Responsive */
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .hero { padding: 130px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .phone-wrap { margin: 0 auto; }
  .features-grid, .howto, .pricing { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: rgba(10,5,32,0.97); padding: 20px; border-top: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .price-card.featured { transform: none; }
  .action-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .action-cell { height: 240px; }
  .action-cell.wide { grid-row: span 1; }
  .changelog-list { grid-template-columns: 1fr; }
  .changelog-wrap { padding: 24px; }
  .category-grid { grid-template-columns: 1fr; }
  .highlight-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer-slim { flex-direction: column; gap: 18px; }
  .footer-nav { gap: 14px 22px; }
  .hero { padding: 100px 0 40px; }
  .page-header { padding: 100px 0 30px; }
  .cta-band { padding: 40px 24px; border-radius: 20px; margin: 40px 16px; }
}
@media (max-width: 520px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .doc-content { padding: 24px; }
  .phone { width: 280px; height: 560px; }
  .compass { width: 180px; height: 180px; }
}

/* ============== PRICING.HTML COMPONENTS ============== */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.price-card { position: relative; background: #fff; border: 1.5px solid #ECEAF8; border-radius: 18px; padding: 26px 20px 22px; transition: all .25s ease; }
.price-card:hover { transform: translateY(-4px); border-color: #6C5CE7; box-shadow: 0 18px 40px rgba(108,92,231,0.15); }
.price-card.popular { border-color: #FFC947; background: linear-gradient(180deg,#FFFBEC 0%,#fff 70%); }
.price-card.best { border-color: #6C5CE7; background: linear-gradient(180deg,#F2EEFF 0%,#fff 70%); }
.pc-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #F2EEFF; color: #6C5CE7; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.pc-tag.pop { background: #FFC947; color: #2D1B69; }
.pc-tag.best { background: #6C5CE7; color: #fff; }
.pc-price { font-family: 'Sora', sans-serif; font-size: 38px; font-weight: 800; color: #2D1B69; margin-top: 14px; }
.pc-amount { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; color: #5B3FD2; margin: 8px 0 14px; }
.pc-icon { font-size: 22px; }
.pc-list { list-style: none; padding: 0; margin: 0 0 14px; }
.pc-list li { font-size: 13px; color: #4A4060; padding: 5px 0; border-bottom: 1px dashed #ECEAF8; }
.pc-list li:last-child { border-bottom: 0; }
.pc-id { display: block; font-family: monospace; font-size: 10px; color: #9C95B5; word-break: break-all; }
.price-foot { margin-top: 24px; padding: 18px 22px; border-radius: 14px; background: linear-gradient(135deg,#F2EEFF 0%,#FFFBEC 100%); border: 1px solid #ECEAF8; }
.price-foot p { margin: 0; font-size: 14px; color: #2D1B69; }

.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 28px; }
.sub-card { position: relative; padding: 30px 28px 26px; background: #fff; border: 1.5px solid #ECEAF8; border-radius: 20px; }
.sub-card.best { border-color: #6C5CE7; background: linear-gradient(180deg,#F8F5FF 0%,#fff 60%); }
.sub-tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #F2EEFF; color: #6C5CE7; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.sub-tag.best { background: #FFC947; color: #2D1B69; }
.sub-price { font-family: 'Sora', sans-serif; font-size: 44px; font-weight: 800; color: #2D1B69; margin: 12px 0 16px; }
.sub-price small { font-size: 18px; font-weight: 600; color: #6C6A85; margin-left: 4px; }
.sub-list { list-style: none; padding: 0; margin: 0 0 14px; }
.sub-list li { font-size: 14px; color: #2D1B69; padding: 7px 0; border-bottom: 1px dashed #ECEAF8; font-weight: 500; }
.sub-list li:last-child { border-bottom: 0; }
.sub-id { display: block; font-family: monospace; font-size: 10px; color: #9C95B5; word-break: break-all; }

.pass-card { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 30px 32px; background: linear-gradient(135deg,#6C5CE7 0%,#3A1E9E 100%); color: #fff; border-radius: 24px; margin-top: 28px; }
.pass-left { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pass-left .pass-price { font-family: 'Sora', sans-serif; font-size: 50px; font-weight: 800; }
.pass-note { color: #FFD700; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.pass-right h3 { font-family: 'Sora', sans-serif; font-size: 22px; margin-bottom: 14px; }
.pass-right .sub-list li { color: #fff; border-color: rgba(255,255,255,0.18); }

.pu-table { margin-top: 28px; overflow-x: auto; border-radius: 16px; border: 1.5px solid #ECEAF8; background: #fff; }
.pu-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.pu-tbl thead th { background: #F8F5FF; color: #2D1B69; padding: 14px 18px; text-align: left; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.pu-tbl tbody td { padding: 14px 18px; border-top: 1px solid #ECEAF8; color: #2D1B69; }
.pu-tbl tbody tr:hover { background: #FAFAFE; }
.r { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.r.common { background: #ECEAF8; color: #6C6A85; }
.r.uncommon { background: #DEF5E0; color: #2E7D32; }
.r.rare { background: #DEEAFA; color: #1565C0; }
.r.epic { background: #F2DEFA; color: #7B1FA2; }
.r.legendary { background: linear-gradient(135deg,#FFD700,#FF6F61); color: #2D1B69; }

.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.slot { padding: 20px 22px; background: #fff; border: 1.5px solid #ECEAF8; border-radius: 16px; }
.slot h4 { font-family: 'Sora', sans-serif; font-size: 18px; margin: 0 0 10px; color: #2D1B69; display: flex; align-items: center; gap: 8px; }
.slot h4 small { font-weight: 600; color: #6C6A85; font-size: 13px; }
.slot ul { list-style: none; padding: 0; margin: 0; }
.slot ul li { font-size: 13px; padding: 6px 0; border-bottom: 1px dashed #ECEAF8; color: #4A4060; }
.slot ul li:last-child { border-bottom: 0; }
.slot ul li.gem { color: #6C5CE7; font-weight: 600; }
.avatar-note { margin-top: 18px; font-size: 12px; color: #6C6A85; text-align: center; }

.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.free { padding: 22px 18px; background: #fff; border: 1.5px solid #ECEAF8; border-radius: 14px; text-align: center; }
.free b { display: block; font-family: 'Sora', sans-serif; font-size: 32px; color: #6C5CE7; }
.free span { display: block; font-size: 13px; color: #6C6A85; margin-top: 4px; }

/* ============== ABOUT.HTML COMPONENTS ============== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.col-card { padding: 28px 26px; background: #fff; border: 1.5px solid #ECEAF8; border-radius: 18px; }
.col-card .eyebrow { margin-bottom: 12px; }
.col-card h3 { font-family: 'Sora', sans-serif; font-size: 22px; color: #2D1B69; margin: 0 0 12px; }
.col-card p { color: #4A4060; line-height: 1.65; }
.story-block { padding: 32px 36px; background: linear-gradient(135deg,#F8F5FF 0%,#fff 100%); border: 1.5px solid #ECEAF8; border-radius: 20px; max-width: 820px; margin: 24px auto 0; }
.story-block p { font-size: 15px; line-height: 1.75; color: #2D1B69; margin: 0 0 14px; }
.story-block p:last-child { margin-bottom: 0; }
.story-block a { color: #6C5CE7; font-weight: 700; }

.inventory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.inv-item { padding: 16px 18px; background: #fff; border: 1px solid #ECEAF8; border-radius: 12px; transition: all .2s; }
.inv-item:hover { border-color: #6C5CE7; transform: translateY(-2px); }
.inv-item b { display: block; font-size: 14px; color: #2D1B69; margin-bottom: 4px; }
.inv-item span { font-size: 12.5px; color: #6C6A85; line-height: 1.5; }
.inv-item code { background: #F2EEFF; color: #6C5CE7; padding: 1px 5px; border-radius: 4px; font-size: 11px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-grid { grid-template-columns: 1fr; }
  .pass-card { grid-template-columns: 1fr; padding: 26px 24px; }
  .slot-grid { grid-template-columns: 1fr 1fr; }
  .free-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .inventory-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: 1fr; }
  .free-grid { grid-template-columns: 1fr; }
  .inventory-grid { grid-template-columns: 1fr; }
  .pu-tbl { font-size: 12px; }
  .pu-tbl thead th, .pu-tbl tbody td { padding: 10px 12px; }
}

/* ============== REAL APP LOGO (replaces SVG sparkle) ============== */
.logo-img {
  width: 36px; height: 36px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(108,92,231,0.28);
  transition: transform 0.3s ease;
}
.logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }
.logo-img-sm {
  width: 28px; height: 28px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(108,92,231,0.22);
}
@media (max-width: 760px) {
  .logo-img { width: 32px; height: 32px; border-radius: 9px; }
}

/* ============== LEGAL DOCS ============== */
.doc-meta { color: #6C6A85; font-size: 13px; margin: -8px 0 28px; padding: 10px 14px; background: #F8F5FF; border-left: 3px solid #6C5CE7; border-radius: 0 8px 8px 0; }
.doc-meta strong { color: #2D1B69; }
.legal-callout {
  margin: 6px 0 28px; padding: 16px 20px; border-radius: 12px;
  background: linear-gradient(135deg, #FFF4D6 0%, #FFFBEC 100%);
  border: 2px solid #FFB200; color: #5C4400;
  font-size: 14px; line-height: 1.65;
}
.legal-callout strong { color: #C44600; }
.doc-content h3 { font-family: 'Sora', sans-serif; font-size: 17px; color: #2D1B69; margin: 22px 0 8px; }
.doc-content ul li, .doc-content ol li { margin-bottom: 6px; line-height: 1.65; }
.doc-content code { background: #F2EEFF; color: #6C5CE7; padding: 1px 6px; border-radius: 4px; font-size: 12.5px; }
.doc-foot { margin-top: 36px; padding: 18px 20px; border-radius: 12px; background: #F8F5FF; border: 1px dashed #6C5CE7; color: #2D1B69; font-size: 14px; }
