/* ============================================================
   $Robber — styles
   ============================================================ */

:root {
  --bg: #0a0a0c;
  --bg-elev: #131318;
  --bg-card: #16161c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f4f6;
  --muted: #9b9ba6;

  --gold: #ffce3a;
  --gold-deep: #e9a800;
  --green: #3ad97f;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --ring: 0 0 0 1px var(--border);
}

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

html { scroll-behavior: smooth; }

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

/* subtle background texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(255, 206, 58, 0.10), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(58, 217, 127, 0.06), transparent 60%);
  pointer-events: none;
}

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

h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.1; letter-spacing: -0.01em; }

a { color: inherit; text-decoration: none; }

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

.grad {
  background: linear-gradient(100deg, var(--gold), var(--gold-deep) 60%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: #1a1305;
  box-shadow: 0 10px 30px -10px rgba(255, 206, 58, 0.6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(255, 206, 58, 0.75); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  object-fit: contain;
  background: #fff;
}
.brand__name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.15rem; }

.nav__links { display: flex; gap: 28px; }
.nav__links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--text); }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255,206,58,0.08), rgba(58,217,127,0.05));
  padding: 10px 0;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-size: 0.9rem;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 72px 0 64px; }
.hero__glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 206, 58, 0.18), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero__sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* CA box */
.ca {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 10px 10px 16px;
  max-width: 560px;
}
.ca__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  flex-shrink: 0;
}
.ca__addr {
  font-family: "Space Grotesk", ui-monospace, monospace;
  font-size: 0.86rem;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.ca__copy {
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ca__copy:hover { border-color: var(--gold); color: var(--gold); }
.ca__copy.copied { background: var(--green); border-color: var(--green); color: #06250f; }

.ca--wide { max-width: 100%; margin: 28px auto 0; }

/* Hero art / logo */
.hero__art { display: flex; justify-content: center; }
.logo-frame {
  position: relative;
  width: min(380px, 80vw);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  padding: 14px;
  background: linear-gradient(160deg, rgba(255,206,58,0.18), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
}
.logo-frame::after {
  content: "";
  position: absolute;
  inset: -30% -30% auto auto;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(58,217,127,0.25), transparent 70%);
  z-index: -1;
  filter: blur(10px);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ============================================================
   Sections
   ============================================================ */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-elev); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 14px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ============================================================
   Steps (The Heist)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ============================================================
   Features
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--gold); }
.feature__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ============================================================
   Tokenomics
   ============================================================ */
.tokenomics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.stat__k {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.stat__v {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--gold);
}

.links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); padding: 0 0 18px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 90px 0; text-align: center; }
.cta__inner {
  background: linear-gradient(160deg, rgba(255,206,58,0.10), rgba(58,217,127,0.05));
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 56px 32px;
}
.cta h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.cta p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg-elev); }
.footer__inner { text-align: center; }
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.footer__brand img { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--border-strong); object-fit: contain; }
.footer__disclaimer { color: var(--muted); font-size: 0.85rem; max-width: 620px; margin: 0 auto 16px; }
.footer__copy { color: var(--muted); font-size: 0.85rem; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .ca { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .pill { margin-inline: auto; }

  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .tokenomics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .features, .tokenomics { grid-template-columns: 1fr; }
  .ca { flex-wrap: wrap; }
  .ca__addr { white-space: normal; word-break: break-all; flex-basis: 100%; }
  .section { padding: 64px 0; }
}
