/* ==========================================================================
   Cryptograph — landing & legal pages
   A crypto trading SIMULATOR. Real prices, virtual money. It's a game.
   ========================================================================== */

:root {
  --bg:        #0A0C11;
  --bg-2:      #0D1016;
  --bg-3:      #0f131a;
  --card:      #14181F;
  --card-2:    #181d25;
  --border:    #232a33;
  --border-soft: rgba(255, 255, 255, 0.07);
  --text:      #F2F5F8;
  --muted:     #96A0AC;
  --muted-2:   #6b7480;
  --green:     #00D182;
  --green-2:   #16E08C;
  --green-ink: #04130d;
  --green-soft: rgba(0, 209, 130, 0.12);
  --green-line: rgba(0, 209, 130, 0.30);
  --red:       #ef5f6b;
  --gold:      #e6b13e;
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--green-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 700; }

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

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-2);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- pills & badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--green-soft);
  color: var(--green-2);
  border: 1px solid var(--green-line);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--green-2), var(--green)); color: var(--green-ink); }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(0, 209, 130, 0.25); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--green-line); color: var(--green-2); }

/* "Coming soon" Play badge */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: #11151c;
  border: 1px solid var(--border);
  color: var(--text);
  position: relative;
  cursor: default;
}
.store-badge:hover { text-decoration: none; }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .ico { width: 26px; height: 28px; display: grid; place-items: center; flex: none; }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge .lines small { font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.store-badge .lines b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.store-badge .soon {
  position: absolute; top: -9px; right: -9px;
  background: var(--gold); color: #1c1503;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 56px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 420px at 22% 28%, rgba(0, 209, 130, 0.16), transparent 70%),
    radial-gradient(700px 500px at 88% 6%, rgba(22, 224, 140, 0.07), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green-2), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 19px; color: var(--muted); margin: 22px 0 0; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 14px; color: var(--muted-2); }
.hero-note svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* phone visual */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  width: 290px; max-width: 78%;
  border-radius: 30px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-soft);
  transform: rotate(2deg);
}
.hero-glowcard {
  position: absolute; inset: auto; z-index: -1;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,209,130,0.22), transparent 65%);
  filter: blur(20px);
}

/* ---------- big disclaimer strip ---------- */
.disclaimer-strip {
  border-top: 1px solid var(--green-line);
  border-bottom: 1px solid var(--green-line);
  background:
    linear-gradient(180deg, rgba(0,209,130,0.07), rgba(0,209,130,0.02));
}
.disclaimer-strip .container {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding-top: 26px; padding-bottom: 26px;
}
.disclaimer-strip .ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  display: grid; place-items: center;
}
.disclaimer-strip .ico svg { width: 24px; height: 24px; color: var(--green-2); }
.disclaimer-strip p { margin: 0; font-size: 16px; color: var(--text); max-width: 880px; }
.disclaimer-strip b { color: var(--green-2); }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover { border-color: var(--green-line); transform: translateY(-3px); background: var(--card-2); }
.card .ficon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--green-soft); border: 1px solid var(--green-line);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .ficon svg { width: 24px; height: 24px; color: var(--green-2); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 16px; }
.step .num {
  font-size: 14px; font-weight: 700; color: var(--green-ink);
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-2), var(--green));
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- gallery ---------- */
.gallery {
  display: flex; gap: 20px; overflow-x: auto;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 24px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.gallery figure { margin: 0; flex: none; width: 244px; scroll-snap-align: center; }
.gallery img {
  width: 100%; border-radius: 22px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.gallery figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 4px 22px;
  margin-bottom: 14px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--green-line); }
.faq summary {
  list-style: none; cursor: pointer;
  font-weight: 600; font-size: 17px;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform .2s ease; color: var(--muted); flex: none; }
.faq details[open] summary .chev { transform: rotate(45deg); color: var(--green-2); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--green-line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(0,209,130,0.10), rgba(0,209,130,0.02));
  padding: 56px 32px;
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 50% -10%, rgba(0,209,130,0.18), transparent 70%);
  pointer-events: none;
}
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); position: relative; }
.cta-card p { color: var(--muted); font-size: 17px; margin: 14px auto 28px; max-width: 520px; position: relative; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-2); padding: 56px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 14px; }
.footer-blurb { color: var(--muted); font-size: 14.5px; max-width: 340px; margin: 0; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-legal {
  border-top: 1px solid var(--border-soft);
  padding-top: 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  color: var(--muted-2); font-size: 13.5px;
}
.footer-legal .disc { max-width: 720px; }
.footer-legal b { color: var(--muted); font-weight: 600; }

/* ---------- legal pages ---------- */
.legal-hero { padding: 56px 0 28px; border-bottom: 1px solid var(--border-soft); }
.legal-hero .pill { margin-bottom: 18px; }
.legal-hero h1 { font-size: clamp(32px, 5vw, 46px); }
.legal-hero .meta { color: var(--muted-2); font-size: 14px; margin-top: 14px; }
.legal-callout {
  margin: 28px 0 0;
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--green-soft);
  border: 1px solid var(--green-line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.legal-callout svg { width: 22px; height: 22px; color: var(--green-2); flex: none; margin-top: 2px; }
.legal-callout p { margin: 0; font-size: 15.5px; color: var(--text); }
.legal-callout b { color: var(--green-2); }

.legal-body { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-body h2 {
  font-size: 22px; margin: 44px 0 14px;
  padding-top: 8px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin: 26px 0 10px; color: var(--text); }
.legal-body p, .legal-body li { color: #c4ccd4; font-size: 16px; }
.legal-body p { margin: 0 0 16px; }
.legal-body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 9px; }
.legal-body strong { color: var(--text); }
.legal-body .lead { font-size: 17px; color: var(--muted); }
.legal-toc {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px;
}
.legal-toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin: 0 0 12px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal-toc li { margin-bottom: 7px; font-size: 14.5px; }
.legal-toc a { color: var(--muted); }
.legal-toc a:hover { color: var(--green-2); }
.placeholder { color: var(--gold); font-style: italic; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .disclaimer-strip .container { flex-direction: column; text-align: center; align-items: center; }
  .legal-toc ol { columns: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero h1 { font-size: 40px; }
}

/* ---------- cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  display: flex; justify-content: center;
  animation: cg-rise .28s ease both;
}
@keyframes cg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cookie-inner {
  width: 100%; max-width: 940px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(18, 22, 29, 0.97);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.cookie-text { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cookie-text strong { color: var(--text); font-weight: 600; }
.cookie-text a { color: var(--green-2); }
.cookie-actions { display: flex; gap: 12px; flex: none; }
.cookie-banner .btn { padding: 11px 18px; font-size: 14px; white-space: nowrap; }
.cookie-settings-link { cursor: pointer; }
@media (max-width: 680px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .cookie-actions { gap: 10px; }
  .cookie-banner .btn { flex: 1; }
}
