:root {
  --bg: #ece7df;
  --card: rgba(255,255,255,0.78);
  --text: #121212;
  --muted: #5e5a56;
  --line: rgba(0,0,0,0.12);
  --accent: #efbf78;
  --accent-deep: #8fd0ea;
  --shadow: 0 24px 80px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.9), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.55), transparent 20%),
    linear-gradient(180deg, #f4f0ea 0%, #ece7df 100%);
}

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

.page-shell {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
}

.topbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 4px 6px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #131313;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  letter-spacing: 0.04em;
}

.top-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.top-links a {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.top-links a:hover { transform: translateY(-1px); background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.2); }

.hero-stage {
  position: relative;
  height: calc(100% - 82px);
  margin-top: 14px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.12)),
    linear-gradient(180deg, #f4f0ea 0%, #e7e1d7 100%);
  box-shadow: var(--shadow);
}

.ambient {
  position: absolute;
  width: 32vw;
  height: 32vw;
  border-radius: 999px;
  filter: blur(60px);
  opacity: .25;
}
.ambient-left { left: -8vw; top: 14%; background: rgba(239, 191, 120, 0.45); }
.ambient-right { right: -8vw; bottom: 10%; background: rgba(143, 208, 234, 0.35); }

.content-card {
  position: absolute;
  inset: 44px 120px 170px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
  z-index: 3;
}

.copy-col {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.mini-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.subtitle {
  max-width: 560px;
  margin: 18px 0 26px;
  font-size: 18px;
  line-height: 1.55;
  color: #3f3b38;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: #111;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}
.btn-light {
  background: rgba(255,255,255,0.7);
  color: #151515;
  border: 1px solid var(--line);
}

.ca-box {
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.62);
  border-radius: 24px;
}
.ca-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#contractText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
}
#copyBtn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  background: #111;
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 22px;
}
.stat {
  padding: 18px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 20px;
}
.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stat span {
  font-size: 14px;
  color: var(--muted);
}

.scene-col {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}

.hero-art {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  min-height: 320px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.14);
  background: #f0ece5;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.park-lane {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 2;
}

.track-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 56%;
  border-top: 2px dashed rgba(0,0,0,0.14);
}

.ramp {
  position: absolute;
  bottom: 34px;
  width: 22vw;
  max-width: 310px;
  min-width: 220px;
  height: 120px;
  background: linear-gradient(180deg, #222 0%, #171717 100%);
  border-radius: 26px 26px 0 0;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.04), 0 20px 40px rgba(0,0,0,0.2);
}
.ramp::before {
  content: '';
  position: absolute;
  inset: 14px 14px 0 14px;
  border-radius: 18px 18px 0 0;
  border: 2px solid rgba(255,255,255,0.08);
}
.ramp-left {
  left: 34px;
  clip-path: polygon(0 100%, 0 76%, 50% 16%, 100% 0, 100% 100%);
}
.ramp-right {
  right: 34px;
  clip-path: polygon(0 0, 50% 16%, 100% 76%, 100% 100%, 0 100%);
}

.skateboard {
  position: absolute;
  left: 8%;
  top: 48%;
  width: 118px;
  height: 34px;
  transform-origin: center;
  animation: ride 8.5s ease-in-out infinite;
}

.deck {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #111 0%, #2a2a2a 100%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.06), 0 8px 18px rgba(0,0,0,0.2);
}
.deck::after {
  content: 'FOMO';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}
.truck {
  position: absolute;
  top: 20px;
  width: 18px;
  height: 5px;
  background: #b7b7b7;
  border-radius: 20px;
}
.truck-left { left: 20px; }
.truck-right { right: 20px; }
.wheel {
  position: absolute;
  bottom: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f6f6f6;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08);
  animation: spin 1.4s linear infinite;
}
.wheel-1 { left: 14px; }
.wheel-2 { left: 32px; }
.wheel-3 { right: 32px; }
.wheel-4 { right: 14px; }

@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes ride {
  0%   { transform: translateX(0) translateY(12px) rotate(-10deg); }
  10%  { transform: translateX(9vw) translateY(-8px) rotate(8deg); }
  20%  { transform: translateX(19vw) translateY(6px) rotate(-6deg); }
  30%  { transform: translateX(31vw) translateY(-14px) rotate(7deg); }
  40%  { transform: translateX(42vw) translateY(4px) rotate(-5deg); }
  50%  { transform: translateX(50vw) translateY(-4px) rotate(2deg); }
  60%  { transform: translateX(58vw) translateY(10px) rotate(4deg); }
  70%  { transform: translateX(67vw) translateY(-12px) rotate(-7deg); }
  80%  { transform: translateX(76vw) translateY(8px) rotate(5deg); }
  90%  { transform: translateX(85vw) translateY(-6px) rotate(-8deg); }
  100% { transform: translateX(0) translateY(12px) rotate(-10deg); }
}

@media (max-width: 1180px) {
  .content-card {
    inset: 34px 34px 180px;
    grid-template-columns: 1fr;
  }
  .scene-col { min-height: 250px; }
  .hero-art { min-height: 250px; width: min(100%, 460px); aspect-ratio: 1 / 1; }
  .copy-col { order: 2; }
  .scene-col { order: 1; }
  .park-lane { height: 180px; }
}

@media (max-width: 720px) {
  body { overflow: auto; }
  .page-shell { height: auto; min-height: 100%; padding: 14px; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .hero-stage {
    height: auto;
    min-height: 1200px;
  }
  .content-card {
    position: relative;
    inset: unset;
    padding: 26px 18px 220px;
    display: grid;
  }
  .copy-col { padding: 24px; }
  .hero-art { position: relative; min-height: 280px; width: 100%; aspect-ratio: 1 / 1; padding: 8px; }
  .stat-row { grid-template-columns: 1fr; }
  .park-lane { height: 220px; }
  .ramp { min-width: 140px; width: 34vw; }
  h1 { font-size: 4rem; }
}
