:root {
  --orange: #ff7a00;
  --orange-deep: #e86a00;
  --yellow: #ffcc33;
  --cream: #f6e2c2;
  --cream-2: #f3d7a8;
  --ink: #14110d;
  --muted: #5c4d3a;
  --white: #fff7ea;
  --shadow: #1a1208;
  --up: #1f8a4c;
  --down: #c43b2e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(255, 122, 0, 0.18), transparent 55%),
    repeating-linear-gradient(45deg, #f8e6c8 0 14px, #f4dcb6 14px 28px);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(246, 226, 194, 0.88);
  border-bottom: 2px solid rgba(20, 17, 13, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-ca {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  max-width: 520px;
  margin: 0 8px;
  padding: 8px 10px;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.nav-ca[hidden] { display: none !important; }
.nav-ca-label {
  flex-shrink: 0;
  background: var(--orange);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 999px;
}
.nav-ca-address {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}
.nav-ca-copy {
  flex-shrink: 0;
  border: 0;
  background: var(--orange);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  margin-left: auto;
}
.nav-links a { text-decoration: none; }
.nav-cta {
  background: var(--orange);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 72px 6vw 48px;
}
.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange-deep);
  margin: 0 0 12px;
  font-size: 0.82rem;
}
h1, h2 {
  font-family: "Bebas Neue", sans-serif;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin: 0;
}
h1 { font-size: clamp(3.4rem, 8vw, 7rem); }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
.lede {
  font-size: 1.25rem;
  max-width: 38ch;
  margin: 18px 0 28px;
  color: var(--muted);
  font-weight: 650;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary { background: var(--orange); color: white; }
.btn-ghost { background: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.coming {
  margin-top: 22px;
  font-weight: 800;
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.ca-section {
  padding: 0 6vw 36px;
}
.ca-card {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 18px;
  padding: 22px 24px;
  max-width: 920px;
}
.ca-card.is-waiting h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px;
}
.ca-card.is-waiting p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}
.ca-live {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.ca-live .kicker { margin: 0 0 8px; }
.ca-address {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(0.82rem, 2vw, 1rem);
  word-break: break-all;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.ca-copy {
  flex-shrink: 0;
  min-width: 108px;
}

.admin-shell {
  min-height: 100vh;
}
.admin-main {
  padding: 36px 6vw 72px;
  max-width: 880px;
}
.admin-panel, .admin-gate {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  border-radius: 18px;
  padding: 28px;
}
.admin-gate h1, .admin-panel h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 8px;
}
.admin-lede {
  color: var(--muted);
  font-weight: 650;
  margin: 0 0 22px;
}
.admin-form {
  display: grid;
  gap: 14px;
}
.admin-form label, .admin-field label {
  font-weight: 800;
  font-size: 0.92rem;
}
.admin-form input, .admin-field input, .admin-field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fffaf0;
  font: 700 0.95rem/1.4 Manrope, system-ui, sans-serif;
  color: var(--ink);
}
.admin-field input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.admin-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  font-weight: 700;
}
.admin-status.is-error { color: var(--down); }
.admin-status.is-ok { color: var(--up); }
.admin-preview {
  margin-top: 28px;
}
.admin-preview .ca-card {
  max-width: none;
}
.admin-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}
.hidden { display: none !important; }

.hero-visual { position: relative; min-height: 420px; }
.hero-frame {
  background: linear-gradient(180deg, #ff8a00, #ffcc33);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(-2deg);
}
.hero-frame img { width: 100%; height: 340px; object-fit: cover; }
.hero-caption {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
}
.hero-caption img { border-radius: 10px; }
.hero-caption span { display: block; font-size: 0.9rem; color: #f0d4a8; }
.float-card, .coin {
  position: absolute;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  animation: float 4.5s ease-in-out infinite;
}
.float-card {
  width: 84px;
  height: 118px;
  background: white;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.4rem;
}
.ace { top: -18px; right: 24px; color: #c43b2e; transform: rotate(14deg); }
.eight { bottom: 18px; left: -18px; animation-delay: -1.4s; }
.coin {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(#ffe27a, #f5b400);
  right: 8px;
  bottom: 72px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: #c57a00;
  animation-delay: -2s;
}
@keyframes float {
  50% { transform: translateY(-10px) rotate(8deg); }
}

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}
.ticker-track {
  display: flex;
  gap: 36px;
  width: max-content;
  padding: 12px 0;
  animation: marquee 28s linear infinite;
  font-weight: 800;
}
.ticker-item { white-space: nowrap; }
.ticker-item .up { color: #7dff9a; }
.ticker-item .down { color: #ff8b7a; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 42px 6vw;
}
.promo {
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  overflow: hidden;
  background: var(--orange);
}
.promo img { width: 100%; height: 100%; object-fit: cover; }

.statement, .cards-section, .volatility, .robinhood {
  padding: 28px 6vw 64px;
}
.statement {
  max-width: 980px;
}
.statement p, .cards-section p, .volatility p {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 600;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--orange-deep);
  margin-bottom: 8px;
}
.section-head { max-width: 920px; margin-bottom: 32px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.play-card {
  background: linear-gradient(180deg, #fffaf0, #f3d7a8);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  border-radius: 18px;
  padding: 18px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
}
.play-card header {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.sym {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}
.badge {
  background: var(--orange);
  color: white;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
}
.price { font-size: 1.7rem; font-weight: 800; }
.change { font-weight: 800; }
.change.up { color: var(--up); }
.change.down { color: var(--down); }
.meta { color: var(--muted); font-size: 0.92rem; font-weight: 700; }

.volatility {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.highlight {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.2rem;
  color: var(--ink);
  line-height: 1;
}
.vol-panel {
  position: relative;
  background: linear-gradient(180deg, #ff8a00, #ffc43a);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pulse-ring {
  position: absolute;
  width: 140px;
  height: 140px;
  border: 8px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.8); opacity: 0; }
}
.vol-stat {
  position: relative;
  text-align: center;
  padding: 24px;
}
.vol-stat span { font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.vol-stat strong { display: block; font-size: 2rem; margin: 8px 0; }

.robinhood {
  margin: 0 6vw 64px;
  padding: 36px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 36px 6vw;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-brand { display: flex; gap: 12px; align-items: center; }
.footer-brand img { border-radius: 10px; }
.footer a { color: var(--orange); font-weight: 800; }
.footer-copy { color: #f0d4a8; margin: 0; }

@media (max-width: 980px) {
  .hero, .volatility, .footer, .promos, .card-grid, .robinhood, .ca-live {
    grid-template-columns: 1fr;
    display: grid;
  }
  .menu-btn { display: flex; }
  .nav-ca {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 8px 0 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    right: 6vw;
    top: 74px;
    background: var(--white);
    border: 2px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    flex-direction: column;
    padding: 16px;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .hero-visual { min-height: 0; }
  .hero { padding-top: 36px; }
}
