/* ========================================================
   The Great Squeeze – Landing Page Styles
   Retro arcade + Wall Street meme aesthetic
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323:wght@400&family=Rajdhani:wght@400;600;700&display=swap');

/* ── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green:     #00ff41;
  --gold:      #ffd700;
  --red:       #ff2d2d;
  --dark:      #090c10;
  --panel:     #0d1117;
  --panel2:    #161b22;
  --border:    #30363d;
  --text:      #e6edf3;
  --subtext:   #8b949e;
  --pixel:     'Press Start 2P', monospace;
  --vt:        'VT323', monospace;
  --body:      'Rajdhani', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  overflow-x: hidden;
  line-height: 1.6;
}

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

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--panel); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

/* ── Ticker Tape ────────────────────────────────────────── */
.ticker-wrapper {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ticker-content {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  font-family: var(--vt);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.ticker-item {
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-item .sym  { color: var(--gold); font-weight: 700; }
.ticker-item .up   { color: var(--green); }
.ticker-item .down { color: var(--red); }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 6rem;
  overflow: hidden;
}

/* Animated grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,65,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,65,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridScroll 20s linear infinite;
  pointer-events: none;
}

/* Radial vignette */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--dark) 100%);
  pointer-events: none;
}

@keyframes gridScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(48px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

/* Badge */
.badge {
  display: inline-block;
  background: rgba(0,255,65,0.1);
  border: 1px solid var(--green);
  color: var(--green);
  font-family: var(--pixel);
  font-size: 0.55rem;
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0,255,65,0.4); }
  50%       { box-shadow: 0 0 18px rgba(0,255,65,0.9); }
}

/* Title */
.hero-title {
  font-family: var(--pixel);
  font-size: clamp(1.8rem, 6vw, 3.6rem);
  line-height: 1.4;
  color: var(--gold);
  text-shadow:
    0 0 12px rgba(255,215,0,0.6),
    4px 4px 0 #7a5200,
    -2px -2px 0 #3a2800;
  margin-bottom: 0.8rem;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 12px rgba(255,215,0,0.6), 4px 4px 0 #7a5200, -2px -2px 0 #3a2800; }
  50%       { text-shadow: 0 0 32px rgba(255,215,0,0.95), 4px 4px 0 #7a5200, -2px -2px 0 #3a2800; }
}

.hero-subtitle {
  font-family: var(--vt);
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  color: var(--subtext);
  margin-bottom: 2.5rem;
  letter-spacing: 0.08em;
}

/* Rocket emoji row */
.rockets {
  font-size: 2rem;
  letter-spacing: 0.6rem;
  margin-bottom: 2.8rem;
  animation: rocketBounce 1.6s ease-in-out infinite alternate;
  display: block;
}

@keyframes rocketBounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  font-family: var(--pixel);
  font-size: 0.65rem;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.08em;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--green);
  color: var(--dark);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0,255,65,0.5);
}

.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0,255,65,0.9);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(255,215,0,0.2);
}

.btn-secondary:hover {
  background: rgba(255,215,0,0.08);
  box-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.btn-disabled {
  background: var(--panel2);
  color: var(--subtext);
  border-color: var(--border);
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-disabled:hover { transform: none; box-shadow: none; }

/* Scroll hint */
.scroll-hint {
  color: var(--subtext);
  font-family: var(--vt);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.scroll-hint .arrow {
  font-size: 1.5rem;
  animation: bounce 1.4s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── Section Commons ────────────────────────────────────── */
section {
  padding: 5rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.section-desc {
  color: var(--subtext);
  font-size: 1.1rem;
  max-width: 680px;
}

/* ── Lore ───────────────────────────────────────────────── */
.lore {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lore-text p {
  color: var(--subtext);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.lore-text p strong {
  color: var(--text);
}

.lore-text p em {
  color: var(--green);
  font-style: normal;
  font-family: var(--vt);
  font-size: 1.25em;
}

/* Ticker-chart mockup */
.chart-mockup {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  font-family: var(--vt);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.chart-sym   { font-size: 1.5rem; color: var(--gold); }
.chart-price { font-size: 2rem; color: var(--green); }
.chart-chg   { font-size: 1.2rem; color: var(--green); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
  border-bottom: 1px solid var(--border);
}

.chart-bars .bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--green);
  opacity: 0.75;
  animation: barGrow 0.6s ease backwards;
}

.chart-bars .bar.red {
  background: var(--red);
  opacity: 0.6;
}

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}

.chart-bars .bar:nth-child(1)  { height: 14%; animation-delay: 0.00s; }
.chart-bars .bar:nth-child(2)  { height: 18%; animation-delay: 0.05s; }
.chart-bars .bar:nth-child(3)  { height: 15%; animation-delay: 0.10s; }
.chart-bars .bar:nth-child(4)  { height: 21%; animation-delay: 0.15s; }
.chart-bars .bar:nth-child(5)  { height: 19%; animation-delay: 0.20s; }
.chart-bars .bar:nth-child(6)  { height: 25%; animation-delay: 0.25s; }
.chart-bars .bar:nth-child(7)  { height: 38%; animation-delay: 0.30s; }
.chart-bars .bar:nth-child(8)  { height: 62%; animation-delay: 0.35s; }
.chart-bars .bar:nth-child(9)  { height: 85%; animation-delay: 0.40s; }
.chart-bars .bar:nth-child(10) { height: 100%; animation-delay: 0.45s; }
.chart-bars .bar:nth-child(11) { height: 92%; animation-delay: 0.50s; }
.chart-bars .bar:nth-child(12) { height: 78%; animation-delay: 0.55s; }
.chart-bars .bar:nth-child(13) { height: 55%; animation-delay: 0.60s; }
.chart-bars .bar:nth-child(14) { height: 40%; animation-delay: 0.65s; }
.chart-bars .bar:nth-child(15) { height: 30%; animation-delay: 0.70s; }
.chart-bars .bar.red:nth-child(11) { height: 90%; }
.chart-bars .bar.red:nth-child(12) { height: 76%; }
.chart-bars .bar.red:nth-child(13) { height: 52%; }
.chart-bars .bar.red:nth-child(14) { height: 38%; }
.chart-bars .bar.red:nth-child(15) { height: 28%; }

.chart-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--subtext);
}

/* ── Features ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,255,65,0.1);
}

.feature-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-name {
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--gold);
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

.feature-desc {
  color: var(--subtext);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Timeline ───────────────────────────────────────────── */
.timeline-section {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green), var(--gold), var(--red));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.1rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--dark);
  box-shadow: 0 0 8px var(--green);
}

.timeline-date {
  font-family: var(--vt);
  font-size: 1rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.timeline-title {
  font-family: var(--pixel);
  font-size: 0.6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.timeline-body {
  color: var(--subtext);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ── Leaderboard preview ────────────────────────────────── */
.leaderboard-wrap {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  align-items: flex-start;
}

.leaderboard {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex: 1 1 360px;
}

.lb-header {
  background: var(--panel2);
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.12em;
}

.lb-row {
  display: grid;
  grid-template-columns: 2rem 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--vt);
  font-size: 1.15rem;
  transition: background 0.15s;
}

.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: rgba(255,255,255,0.03); }

.lb-rank { color: var(--subtext); }
.lb-rank.gold   { color: var(--gold); }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }

.lb-name   { color: var(--text); }
.lb-score  { color: var(--green); }
.lb-badge  { font-size: 1.2rem; }

.coming-soon-card {
  background: var(--panel);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.coming-soon-card .cs-icon { font-size: 3rem; }

.coming-soon-card .cs-title {
  font-family: var(--pixel);
  font-size: 0.65rem;
  color: var(--gold);
  line-height: 1.6;
}

.coming-soon-card .cs-desc {
  color: var(--subtext);
  font-size: 0.95rem;
}

/* ── Newsletter ─────────────────────────────────────────── */
.newsletter {
  background: linear-gradient(135deg, rgba(0,255,65,0.06) 0%, rgba(255,215,0,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.newsletter form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.newsletter input[type="email"] {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.85rem 1.2rem;
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  min-width: 280px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,255,65,0.15);
}

.newsletter .note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--subtext);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand .logo {
  font-family: var(--pixel);
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: var(--subtext);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--pixel);
  font-size: 0.5rem;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--subtext);
  font-size: 0.95rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.social-icons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  color: var(--subtext);
  transition: border-color 0.15s, color 0.15s;
  cursor: pointer;
  font-family: var(--body);
}

.social-icon:hover {
  border-color: var(--green);
  color: var(--green);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--subtext);
  font-size: 0.85rem;
}

.footer-bottom .disclaimer {
  font-size: 0.78rem;
  color: #484f58;
  max-width: 600px;
  line-height: 1.5;
}

/* ── Meme marquee ───────────────────────────────────────── */
.meme-strip {
  background: var(--panel2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.7rem 0;
}

.meme-marquee {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-family: var(--vt);
  font-size: 1.3rem;
  color: var(--subtext);
  letter-spacing: 0.06em;
}

.meme-marquee span {
  padding: 0 2rem;
}

.meme-marquee .highlight { color: var(--green); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .lore-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .btn {
    font-size: 0.55rem;
    padding: 0.85rem 1.4rem;
  }

  .hero-title {
    font-size: clamp(1.2rem, 7vw, 2rem);
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
    align-items: center;
  }
}
