@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --bg:        #07090F;
  --bg-2:      #0C0F1C;
  --bg-card:   #111827;
  --bg-card-h: #162033;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(255,255,255,0.14);
  --text:      #EEF0F6;
  --text-2:    #8892A4;
  --text-3:    #525C6E;
  --accent:    #22D3EE;
  --accent-2:  #3B82F6;
  --grad:      linear-gradient(135deg,#22D3EE 0%,#3B82F6 100%);
  --radius:    12px;
  --radius-lg: 20px;
  --nav-h:     56px;
  --max-w:     1100px;
  --ease:      0.2s ease;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem,5vw,3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem,3vw,2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p  { color: var(--text-2); line-height: 1.75; }
a  { color: var(--accent); text-decoration: none; transition: opacity var(--ease); }
a:hover { opacity: 0.8; }

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

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7,9,15,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.15rem;
  color: var(--text); text-decoration: none;
}
.nav-logo:hover { opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--text-2); font-size: 0.875rem; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: all var(--ease);
  text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); opacity: 1; }
.nav-links a.active { color: var(--text); background: rgba(34,211,238,0.1); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all 0.2s ease; border: none;
}
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 20px rgba(34,211,238,0.22);
}
.btn-primary:hover {
  transform: translateY(-1px); color: #fff; opacity: 1;
  box-shadow: 0 6px 28px rgba(34,211,238,0.32);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-h);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2);
  opacity: 1; color: var(--text);
}
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}
.badge-live   { background: rgba(16,185,129,0.1);  color: #10B981; border: 1px solid rgba(16,185,129,0.2); }
.badge-soon   { background: rgba(245,158,11,0.1);  color: #F59E0B; border: 1px solid rgba(245,158,11,0.2); }
.badge-beta   { background: rgba(99,102,241,0.1);  color: #818CF8; border: 1px solid rgba(99,102,241,0.2); }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all 0.25s ease;
}
.card:hover {
  background: var(--bg-card-h); border-color: var(--border-h);
  transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card a.card { color: inherit; }

/* Platform icon boxes */
.platform-icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-ios     { background: linear-gradient(135deg,#1c1c1e,#3a3a3c); border: 1px solid rgba(255,255,255,0.12); }
.icon-android { background: linear-gradient(135deg,#3DDC84,#2bbd73); }
.icon-windows { background: linear-gradient(135deg,#0078D4,#00B4F0); }
.icon-mac     { background: linear-gradient(135deg,#48484a,#8e8e93); border: 1px solid rgba(255,255,255,0.1); }
.icon-discord { background: linear-gradient(135deg,#5865F2,#4752C4); }

/* Platform grid on index */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px;
  transition: all 0.25s ease; text-decoration: none; display: block;
  position: relative; overflow: hidden;
}
.platform-card:hover {
  background: var(--bg-card-h); border-color: var(--border-h);
  transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  opacity: 1;
}
.platform-card .badge { position: absolute; top: 16px; right: 16px; }
.platform-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.platform-card p  { font-size: 0.82rem; color: var(--text-3); line-height: 1.45; margin-top: 6px; }
.platform-card .card-arrow {
  margin-top: 20px; font-size: 0.8rem; color: var(--accent); font-weight: 600;
  display: flex; align-items: center; gap: 4px;
}

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 18px; margin-top: 48px; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34,211,238,0.1); font-size: 1.2rem; margin-bottom: 14px;
}

/* How it works / Steps */
.steps { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; max-width: 680px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.step-content h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 600; }
.step-content p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 48px; max-width: 760px; }
details.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s;
}
details.faq-item[open] { border-color: rgba(34,211,238,0.22); }
details.faq-item summary {
  padding: 18px 22px; font-weight: 600; font-size: 0.925rem; color: var(--text);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: var(--text-3);
  flex-shrink: 0; margin-left: 16px; font-weight: 300; line-height: 1;
}
details.faq-item[open] summary::after { content: '−'; }
.faq-body {
  padding: 16px 22px 20px; font-size: 0.875rem; color: var(--text-2);
  line-height: 1.75; border-top: 1px solid var(--border);
}

/* Hero */
.hero {
  padding: 96px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center,rgba(34,211,238,0.07) 0%,transparent 65%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.18);
  color: var(--accent); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Store badges */
.store-badges { gap: 14px; align-items: center; }
.store-badge { display: inline-flex; transition: transform 0.2s ease, opacity 0.2s ease; }
.store-badge:hover { transform: translateY(-2px); opacity: 0.88; }
.store-badge svg { height: 54px; width: auto; max-width: 100%; display: block; }

/* Platform page hero */
.platform-hero {
  padding: 72px 0 60px; text-align: center; position: relative; overflow: hidden;
}
.platform-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -10%,rgba(34,211,238,0.07) 0%,transparent 60%);
  pointer-events: none;
}
.platform-hero-icon {
  width: 90px; height: 90px; border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.platform-hero h1 { margin-bottom: 12px; }
.platform-hero p  { font-size: 1.1rem; max-width: 540px; margin: 0 auto 28px; }
.platform-hero .hero-actions { justify-content: center; }

/* Section label */
.section-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block;
}

/* Streaming platforms strip */
.stream-strip {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 40px;
}
.stream-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 13px;
  font-size: 0.8rem; color: var(--text-2); font-weight: 500;
}
.stream-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* How it works two-col layout */
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start;
}

/* CTA strip */
.cta-strip {
  background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 64px 0; text-align: center;
}
.cta-strip h2 { margin-bottom: 12px; }
.cta-strip p  { margin-bottom: 28px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer {
  background: var(--bg-2); border-top: 1px solid var(--border); padding: 52px 0 32px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.footer-brand p { font-size: 0.85rem; color: var(--text-3); margin-top: 8px; max-width: 220px; }
.footer-nav { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h5 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--text-2); font-size: 0.875rem;
  text-decoration: none; margin-bottom: 9px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.78rem; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text-2); opacity: 1; }

/* Privacy / Terms pages */
.prose-page { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.prose-page h1 { font-size: 2rem; margin-bottom: 8px; }
.prose-page .last-updated { color: var(--text-3); font-size: 0.85rem; margin-bottom: 48px; }
.prose-page h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.prose-page p  { margin-bottom: 16px; }
.prose-page ul { margin: 12px 0 16px 20px; }
.prose-page li { color: var(--text-2); margin-bottom: 6px; font-size: 0.925rem; }
.prose-page a  { color: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
  .platform-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .hero   { padding: 72px 0 56px; }
  .platform-grid { grid-template-columns: repeat(2,1fr); }
  .feature-grid  { grid-template-columns: 1fr; }
  .how-grid      { grid-template-columns: 1fr; gap: 0; }
  .footer-top    { flex-direction: column; }
  .footer-nav    { gap: 32px; }
  .nav-links     { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7,9,15,0.98); backdrop-filter: blur(20px);
    padding: 16px 24px 24px; border-bottom: 1px solid var(--border);
    gap: 2px;
  }
}
@media (max-width: 480px) {
  .platform-grid { grid-template-columns: 1fr; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}

/* Fade-in animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade { animation: fadeUp 0.55s ease forwards; }
.d1   { animation-delay: 0.05s; opacity: 0; }
.d2   { animation-delay: 0.15s; opacity: 0; }
.d3   { animation-delay: 0.25s; opacity: 0; }
.d4   { animation-delay: 0.35s; opacity: 0; }
