/* ===========================================================
   ATLARA — launcher for cozy, atmospheric games
   Redesigned to match the launcher: deep navy · indigo · Inter
   =========================================================== */

:root {
  /* Backgrounds */
  --bg:        #0a0b14;
  --bg-2:      #0d0f1c;
  --surface:   #111318;
  --surface-2: #161829;
  --deep:      #07080f;
  --hearth:    #0a0b14;

  /* Borders */
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.13);

  /* Indigo accent */
  --accent:    #818cf8;
  --accent-dk: #4f6ef7;
  --accent-bg: rgba(129,140,248,0.1);
  --accent-bo: rgba(129,140,248,0.25);

  /* Archivara keeps its own gold identity */
  --arch-gold: #f5cd83;

  /* Text */
  --tx-light:    #e2e8f0;
  --tx-dim:      #94a3b8;
  --tx-faint:    #475569;
  --tx-ink:      #e2e8f0;
  --tx-ink-dim:  #94a3b8;

  /* Status */
  --green:     #22c55e;
  --amber:     #818cf8;
  --amber-dp:  #6366f1;
  --sage:      #818cf8;
  --sage-dp:   #6366f1;

  /* Misc */
  --cream:     #111318;
  --paper:     #161829;
  --ink:       #0a0b14;
  --grad:      linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #4f6ef7 100%);

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 30px 70px -28px rgba(0,0,0,.9);
  --r: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.65;
}
.serif { font-family: "Cormorant Garamond", Georgia, serif; }
h1,h2,h3,h4 { font-family: "Inter", system-ui, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 34px; }

.eyebrow {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent); opacity: .5; }

/* ---------- buttons ---------- */
.btn {
  font-family: "Inter", sans-serif; font-weight: 600;
  font-size: 14px; letter-spacing: .01em;
  padding: 13px 24px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), opacity .2s;
}
.btn svg { width: 16px; height: 16px; }
.btn-amber {
  background: var(--accent-dk);
  color: #fff;
  box-shadow: 0 8px 28px -8px rgba(79,110,247,.6);
}
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(79,110,247,.7); opacity: .92; }
.btn-ghost { background: rgba(255,255,255,.05); border-color: var(--border-2); color: var(--tx-light); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-ink { background: var(--surface); color: var(--tx-light); border-color: var(--border-2); }
.btn-ink:hover { transform: translateY(-2px); background: var(--surface-2); }
.btn-sm { padding: 9px 16px; font-size: 13px; border-radius: 8px; }

/* ===========================================================
   NAV
   =========================================================== */
nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,11,20,.88); backdrop-filter: blur(16px);
  padding: 12px 40px; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(129,140,248,.4)); }
.brand .name { font-family: "Inter", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand .gg { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { font-size: 13px; font-weight: 500; color: var(--tx-dim); transition: color .25s; }
.nav-links > a:hover { color: var(--tx-light); }
.nav-links .btn-amber { color: #fff; padding: 9px 18px; }
@media (max-width: 880px) { .nav-links > a:not(.btn) { display: none; } }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative; overflow: hidden;
  padding: 160px 0 100px;
  background:
    radial-gradient(70% 60% at 75% 10%, rgba(79,110,247,.14) 0%, transparent 55%),
    radial-gradient(50% 50% at 15% 90%, rgba(99,102,241,.1) 0%, transparent 55%),
    linear-gradient(180deg, #0c0d1a, var(--bg));
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero .wrap { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1.04fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(40px, 5.2vw, 70px); margin: 20px 0 0; text-wrap: balance; }
.hero-copy h1 .amber {
  background: linear-gradient(90deg, #818cf8, #a78bfa, #818cf8);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: drift 8s ease-in-out infinite;
}
@keyframes drift { 0%,100%{ background-position: 0% 0 } 50%{ background-position: 100% 0 } }
.hero-copy .lead { font-size: 18px; color: var(--tx-dim); margin-top: 26px; max-width: 460px; line-height: 1.7; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 24px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--tx-faint); font-size: 12px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 13px; height: 13px; color: var(--accent); }

/* ===========================================================
   LAUNCHER APP WINDOW MOCK — mirrors real launcher
   =========================================================== */
.app-window {
  border-radius: 14px; overflow: hidden;
  background: #0d0f1c;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.5), 0 0 80px -16px rgba(129,140,248,.28);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform .6s var(--ease);
  will-change: transform;
  font-family: "Inter", sans-serif;
}
.hero .app-window:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) translateY(-4px); }
.app-bar {
  height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: #111318;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.dots i:nth-child(1){ background:#ff5f57; } .dots i:nth-child(2){ background:#febc2e; } .dots i:nth-child(3){ background:#28c840; }
.app-search {
  flex: 1; max-width: 240px; margin: 0 auto;
  height: 25px; border-radius: 7px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; gap: 7px; padding: 0 10px;
  color: rgba(148,163,184,.5); font-size: 11px;
}
.app-search svg { width: 12px; height: 12px; }
.app-bar .app-brand { font-weight: 600; font-size: 12px; letter-spacing: .04em; color: #e2e8f0; }
.app-bar .app-brand .gg { color: #818cf8; }
.app-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #4338ca, #6366f1); border: 1.5px solid rgba(129,140,248,.4); }

.app-body { display: grid; grid-template-columns: 164px 1fr; min-height: 376px; }
.app-side { background: #0f1120; border-right: 1px solid rgba(255,255,255,.06); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.side-h { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(148,163,184,.4); padding: 10px 10px 5px; font-weight: 600; }
.side-item { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; color: rgba(148,163,184,.8); cursor: pointer; transition: background .2s, color .2s; }
.side-item svg { width: 15px; height: 15px; opacity: .7; flex-shrink: 0; }
.side-item:hover { background: rgba(255,255,255,.05); color: #e2e8f0; }
.side-item.active { background: rgba(129,140,248,.15); color: #818cf8; }
.side-item.active svg { opacity: 1; }
.side-game { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; font-size: 12px; color: rgba(148,163,184,.7); cursor: pointer; transition: background .2s; }
.side-game:hover { background: rgba(255,255,255,.04); }
.side-game .gdot { width: 20px; height: 20px; border-radius: 5px; flex: none; }
.side-game .gdot.arch { background: linear-gradient(145deg, #4338ca, #312e81); }
.side-game .gdot.soon { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.side-foot { margin-top: auto; }

.app-main { padding: 16px; background: #0d0f1c; overflow: hidden; }
.app-feature {
  position: relative; border-radius: 12px; overflow: hidden;
  padding: 22px; min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 130% at 80% 0%, #3a2c63 0%, #1f1840 55%, #15102b 100%);
  border: 1px solid rgba(129,140,248,.2);
}
.app-feature::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(125deg, rgba(255,255,255,.04) 0 2px, transparent 2px 12px); opacity: .6; }
.app-feature .glow-orb { position: absolute; top: -40px; right: 40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(129,140,248,.4), transparent 70%); }
.app-feature .mini-book {
  position: absolute; top: 24px; right: 28px; width: 38px; height: 52px; border-radius: 2px 4px 4px 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.3) 0 5px, transparent 5px), linear-gradient(150deg, #9b73e0, #6b46b0);
  box-shadow: 0 8px 18px rgba(0,0,0,.5); transform: rotate(8deg);
}
.app-feature .tag { position: relative; z-index: 2; font-size: 10px; letter-spacing:.22em; text-transform:uppercase; color: var(--arch-gold); }
.app-feature h3 { position: relative; z-index: 2; font-family: "Cinzel Decorative", serif; font-size: 26px; color: var(--arch-gold); margin: 6px 0 4px; letter-spacing: .03em; }
.app-feature p { position: relative; z-index: 2; font-size: 12px; color: rgba(244,236,220,.7); max-width: 260px; }
.app-feature .play-row { position: relative; z-index: 2; margin-top: 14px; display: flex; gap: 10px; align-items: center; }
.app-play { display: inline-flex; align-items: center; gap: 7px; background: #4f6ef7; color:#fff; font-weight:600; font-size:12px; padding:7px 14px; border-radius:7px; cursor: pointer; transition: transform .2s, opacity .2s; }
.app-play:hover { transform: translateY(-1px); opacity: .9; }
.app-play svg { width: 12px; height: 12px; }
.app-installed { font-size: 11px; color: rgba(244,236,220,.5); }

.app-row-h { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 4px 10px; }
.app-row-h span { font-weight: 600; font-size: 12px; color: rgba(226,232,240,.8); }
.app-row-h em { font-style: normal; font-size: 11px; color: rgba(148,163,184,.5); }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.app-tile { border-radius: 9px; overflow: hidden; aspect-ratio: 3/4; position: relative; border: 1px solid rgba(255,255,255,.07); background:#131526; }
.app-tile .cover { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(129,140,248,.1) 0 8px, rgba(129,140,248,.03) 8px 16px); display: grid; place-items: end center; padding-bottom: 8px; }
.app-tile .cover small { font-size: 9px; letter-spacing:.12em; text-transform: uppercase; color: rgba(226,232,240,.4); }
.app-tile .soon-badge { position: absolute; top: 7px; left: 7px; font-size: 9px; letter-spacing:.1em; text-transform: uppercase; color: var(--accent); background: rgba(0,0,0,.5); padding: 3px 7px; border-radius: 5px; }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .app-window { transform: none; }
  .hero .app-window:hover { transform: translateY(-4px); }
}
@media (max-width: 560px) { .app-body { grid-template-columns: 1fr; } .app-side { display: none; } .app-grid { grid-template-columns: repeat(3,1fr); } }

/* ===========================================================
   SECTION SHELL
   =========================================================== */
section { position: relative; }
.section-pad { padding: 120px 0; }
.band-cream {
  background: var(--surface);
  color: var(--tx-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-cream .eyebrow { color: var(--accent); }
.band-cream .eyebrow::before { background: var(--accent); }
.band-dark { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 56px); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--tx-dim); line-height: 1.7; }

/* reveal & load-in */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.load-rise { animation: riseIn .8s var(--ease) .05s forwards; opacity: 0; }
.load-rise.d2 { animation-delay: .18s; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* ===========================================================
   ARCHIVARA SPOTLIGHT (keeps its own gold/indigo game identity)
   =========================================================== */
.spotlight {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 120% at 80% 10%, #3a2c63 0%, #1f1840 50%, #12102a 100%);
  padding: 110px 0;
  border-top: 1px solid rgba(129,140,248,.15);
  border-bottom: 1px solid rgba(129,140,248,.15);
}
.spotlight::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(125deg, rgba(255,255,255,.03) 0 2px, transparent 2px 14px); opacity:.6; pointer-events:none; }
.spot-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.spot-copy .game-of { font-weight:600; font-size:11px; letter-spacing:.22em; text-transform:uppercase; color: var(--arch-gold); display:flex; align-items:center; gap:10px; }
.spot-copy h2 { font-family:"Cinzel Decorative", serif; font-size: clamp(44px, 6.5vw, 84px); color:var(--arch-gold); margin: 16px 0 0; letter-spacing:.02em; line-height: 1; filter: drop-shadow(0 4px 24px rgba(224,164,85,.3)); }
.spot-copy .tagline { font-family:"Cormorant Garamond", serif; font-style: italic; font-size: 22px; color: rgba(244,236,220,.85); margin-top: 12px; }
.spot-copy p { color: rgba(148,163,184,.9); margin-top: 16px; max-width: 460px; font-size: 16px; }
.spot-copy .chips { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.chip { font-size: 11px; letter-spacing:.04em; color: rgba(244,236,220,.7); border:1px solid rgba(181,145,230,.35); padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.2); }
.spot-copy .spot-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.spot-copy .spot-cta .btn-amber { background: linear-gradient(180deg,#f5cd83,#e0a455); color:#3a2a0e; box-shadow: 0 10px 26px -8px rgba(224,164,85,.5); }
.spot-copy .spot-cta .btn-amber:hover { opacity: 1; }

.spot-art { position: relative; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; border: 1px solid rgba(181,145,230,.25); box-shadow: var(--shadow); background: #15102b; display: block; }
.spot-art .ph { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(181,145,230,.1) 0 12px, rgba(181,145,230,.04) 12px 24px); display: grid; place-items: center; }
.spot-art .ph span { font-family:"Courier New", monospace; font-size: 12px; color: rgba(245,205,131,.7); border: 1px dashed rgba(245,205,131,.35); padding: 5px 12px; border-radius: 5px; background: rgba(0,0,0,.35); }
.spot-art .float-book { position: absolute; z-index: 3; filter: drop-shadow(0 12px 20px rgba(0,0,0,.5)); }
@media (max-width: 900px) { .spot-grid { grid-template-columns: 1fr; gap: 36px; } }

.book { width: var(--bw,60px); height: var(--bh,84px); border-radius: 3px 5px 5px 3px; position: relative;
  background: linear-gradient(90deg, rgba(0,0,0,.34) 0 6px, transparent 6px), linear-gradient(150deg, var(--bc1,#9b73e0), var(--bc2,#6b46b0));
  box-shadow: inset -3px 0 6px rgba(0,0,0,.35), inset 2px 0 0 rgba(255,255,255,.12); }
.book::after { content:""; position:absolute; left:14px; right:10px; top:42%; height:15%; background: rgba(245,222,170,.5); border-radius:1px; }

/* ===========================================================
   CATALOG
   =========================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  display: flex; flex-direction: column;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px -16px rgba(0,0,0,.7); border-color: rgba(129,140,248,.25); }
.game-card .gc-cover { aspect-ratio: 16/10; position: relative; overflow: hidden; display: block; }
.game-card .gc-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.game-card h3 { font-size: 22px; color: var(--tx-light); letter-spacing: -.01em; }
.game-card .gc-tag { font-size: 11px; font-weight: 600; letter-spacing:.06em; color: var(--accent); margin-top: 6px; text-transform: uppercase; }
.game-card p { font-size: 14px; color: var(--tx-dim); margin-top: 10px; flex: 1; line-height: 1.6; }
.game-card .gc-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gc-status { font-size: 11px; font-weight: 600; letter-spacing:.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.gc-status .pip { width: 6px; height: 6px; border-radius: 50%; }
.gc-status.live { color: #22c55e; } .gc-status.live .pip { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.6); }
.gc-status.soon { color: var(--tx-faint); } .gc-status.soon .pip { background: var(--tx-faint); }

.gc-cover.arch { background: radial-gradient(120% 130% at 75% 0%, #3a2c63, #1f1840 55%, #15102b); }
.gc-cover.arch::after { content:""; position:absolute; inset:0; background-image: repeating-linear-gradient(125deg, rgba(255,255,255,.04) 0 2px, transparent 2px 13px); opacity:.6; }
.gc-cover.arch .title { position: absolute; inset: 0; display: grid; place-items: center; font-family:"Cinzel Decorative", serif; font-size: 28px; color: var(--arch-gold); letter-spacing:.04em; filter: drop-shadow(0 3px 14px rgba(224,164,85,.4)); z-index: 2; }
.gc-cover.arch .orb { position: absolute; top: -30px; right: 30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(129,140,248,.4), transparent 70%); }
.gc-cover.soon { background: var(--bg-2); }
.gc-cover.soon .ph { position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(129,140,248,.08) 0 10px, rgba(129,140,248,.03) 10px 20px); display: grid; place-items: center; }
.gc-cover.soon .ph span { font-family:"Courier New", monospace; font-size: 11px; color: var(--tx-faint); border: 1px dashed rgba(255,255,255,.1); padding: 4px 10px; border-radius: 5px; background: rgba(0,0,0,.3); }
.btn-ink.btn-sm { color: var(--tx-light); border-color: var(--border-2); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   WHY ATLARA — features
   =========================================================== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.feat { background: var(--bg-2); padding: 36px 30px; transition: background .3s; }
.feat:hover { background: var(--surface); }
.feat .ic { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 20px; background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-bo); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; color: var(--tx-light); font-weight: 600; letter-spacing: -.01em; }
.feat p { margin-top: 10px; font-size: 14px; color: var(--tx-dim); line-height: 1.65; }
@media (max-width: 880px) { .feat-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   COMMUNITY
   =========================================================== */
.community { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.community .ph-wide { aspect-ratio: 4/3; border-radius: 14px; border: 1px solid var(--border); position: relative; overflow: hidden; box-shadow: 0 16px 40px -20px rgba(0,0,0,.7); }
.community .ph-wide .ph { position:absolute; inset:0; background-image: repeating-linear-gradient(45deg, rgba(129,140,248,.08) 0 12px, rgba(99,102,241,.04) 12px 24px); background-color: var(--bg-2); display:grid; place-items:center; }
.community .ph-wide .ph span { font-family:"Courier New", monospace; font-size:12px; color: var(--tx-faint); border:1px dashed rgba(255,255,255,.1); padding:5px 12px; border-radius:5px; background: rgba(0,0,0,.3); }
@media (max-width: 880px) { .community { grid-template-columns: 1fr; gap: 32px; } }

/* ===========================================================
   FINAL CTA
   =========================================================== */
.cta-final { position: relative; overflow: hidden; text-align: center; padding: 140px 0; }
.cta-orb { position: absolute; top: 44%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(79,110,247,.2), rgba(129,140,248,.08) 45%, transparent 68%); animation: pulse 7s ease-in-out infinite; }
@keyframes pulse { 0%,100%{ transform: translate(-50%,-50%) scale(1); opacity:.9 } 50%{ transform: translate(-50%,-50%) scale(1.1); opacity:1 } }
.cta-final h2 { position: relative; z-index: 2; font-size: clamp(36px, 5.5vw, 68px); }
.cta-final p { position: relative; z-index: 2; color: var(--tx-dim); font-size: 18px; margin: 18px auto 32px; max-width: 520px; }
.cta-final .hero-cta { position: relative; z-index: 2; justify-content: center; }
.platforms { position: relative; z-index: 2; margin-top: 28px; display: flex; gap: 22px; justify-content: center; color: var(--tx-faint); font-size: 12px; flex-wrap: wrap; }
.platforms span { display: inline-flex; align-items: center; gap: 7px; }
.platforms svg { width: 14px; height: 14px; }

/* ===========================================================
   FOOTER
   =========================================================== */
footer { background: var(--deep); padding: 60px 0 36px; border-top: 1px solid var(--border); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-brand .foot-logo { display: inline-block; margin-bottom: 16px; }
.foot-brand .foot-logo img { height: 64px; width: auto; filter: drop-shadow(0 3px 14px rgba(129,140,248,.3)); }
.foot-brand p { color: var(--tx-faint); font-size: 14px; max-width: 260px; line-height: 1.65; }
.foot-col h4 { font-weight: 600; font-size: 11px; letter-spacing:.14em; text-transform: uppercase; color: var(--tx-dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--tx-faint); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--tx-light); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-bottom p { color: var(--tx-faint); font-size: 13px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--tx-dim); transition: background .25s, color .25s, transform .25s; }
.foot-social a:hover { background: var(--accent-bg); color: var(--accent); transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ===========================================================
   IMPORT SECTION
   =========================================================== */
.import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.import-copy h2 { font-size: clamp(30px, 4vw, 50px); }
.import-sources { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.import-src { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 500; background: var(--surface); border: 1px solid var(--border-2); color: var(--tx-dim); transition: color .2s, border-color .2s; }
.import-src:hover { color: var(--tx-light); border-color: rgba(129,140,248,.35); }
.import-src--ghost { border-style: dashed; color: var(--tx-faint); }
.import-src svg { flex-shrink: 0; }

.import-visual { display: flex; justify-content: center; }
.import-mock {
  width: 100%; max-width: 360px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4);
}
.im-hd { padding: 18px 20px 14px; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between; }
.im-hd-title { font-size: 14px; font-weight: 600; color: var(--tx-light); }
.im-hd-sub { font-size: 12px; color: var(--accent); font-weight: 500; }
.im-source { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.im-src-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; overflow: hidden; }
.im-src-info { flex: 1; }
.im-src-info span { display: block; font-size: 13px; font-weight: 500; color: var(--tx-light); }
.im-src-info small { font-size: 11px; color: var(--tx-faint); margin-top: 2px; display: block; }
.im-src-btn { font-size: 11px; font-weight: 600; color: var(--accent); padding: 5px 10px; border-radius: 7px; border: 1px solid var(--accent-bo); background: var(--accent-bg); white-space: nowrap; cursor: pointer; }
.im-footer { padding: 14px 20px; }
.im-footer-btn { background: var(--accent-dk); color: #fff; text-align: center; padding: 11px; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }

@media (max-width: 900px) { .import-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================================================
   SOCIAL FEATURES
   =========================================================== */
.social-feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.sfeat { background: var(--surface); padding: 32px 26px; transition: background .25s; }
.sfeat:hover { background: var(--surface-2); }
.sfeat-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px; background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-bo); }
.sfeat-icon svg { width: 20px; height: 20px; }
.sfeat h3 { font-size: 15px; font-weight: 600; color: var(--tx-light); letter-spacing: -.01em; }
.sfeat p { margin-top: 8px; font-size: 13px; color: var(--tx-dim); line-height: 1.6; }
@media (max-width: 900px) { .social-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .social-feat-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   DEALS SECTION
   =========================================================== */
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deal-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s; display: flex; flex-direction: column;
}
.deal-card:hover { transform: translateY(-5px); border-color: rgba(129,140,248,.3); }
.deal-cover { aspect-ratio: 16/9; background: var(--surface-2); position: relative; overflow: hidden; }
.deal-cover img { width: 100%; height: 100%; object-fit: cover; }
.deal-cover-ph { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(129,140,248,.08) 0 10px, rgba(129,140,248,.03) 10px 20px); display: grid; place-items: center; }
.deal-badge { position: absolute; top: 10px; left: 10px; background: var(--accent-dk); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 7px; letter-spacing: .04em; }
.deal-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.deal-title { font-size: 15px; font-weight: 600; color: var(--tx-light); }
.deal-desc { font-size: 13px; color: var(--tx-dim); margin-top: 6px; line-height: 1.5; flex: 1; }
.deal-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.deal-placeholder { grid-column: 1/-1; }
.deal-ph-inner { border: 1px dashed rgba(255,255,255,.1); border-radius: 14px; padding: 48px; text-align: center; }
.deal-ph-label { font-size: 14px; color: var(--tx-faint); }
@media (max-width: 900px) { .deals-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .deals-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal, .load-rise { opacity: 1; transform: none; }
  .app-window { transform: none !important; }
  html { scroll-behavior: auto; }
}
