/* ==========================================================================
   DINOHOOD ($DINO) — Clean Cyber-Prehistoric
   Inspired by best-in-class · Not a clone · CCFF00 electric
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-primary: #F9FBE9;
  --bg-secondary: #F0F4D8;
  --bg-card: #FFFFFF;
  --bg-terminal: #121310;
  --bg-game: #E8ECD0;

  --text-primary: #1F2A15;
  --text-secondary: #4A5540;
  --text-muted: #8B947E;
  --text-inverse: #FFFFFF;

  --accent: #CCFF00;
  --accent-deep: #8FB800;
  --fossil-gold: #D4A017;
  --accent-glow: rgba(204, 255, 0, 0.25);
  --accent-subtle: rgba(204, 255, 0, 0.06);

  --border-light: rgba(31, 42, 21, 0.06);
  --border-medium: rgba(31, 42, 21, 0.12);
  --border-accent: rgba(204, 255, 0, 0.35);

  --shadow-xs: 0 1px 2px rgba(31, 42, 21, 0.03);
  --shadow-sm: 0 2px 8px rgba(31, 42, 21, 0.05);
  --shadow-md: 0 8px 24px rgba(31, 42, 21, 0.07);
  --shadow-lg: 0 20px 60px rgba(31, 42, 21, 0.1);
  --shadow-glow: 0 0 60px rgba(204, 255, 0, 0.12);

  --font-body: 'Plus Jakarta Sans', Inter, ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --section-pad: 100px 0;
  --container-max: 1200px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-parallax: cubic-bezier(0.22, 0.61, 0.36, 1);

  --z-nav: 100;
  --z-overlay: 200;
  --z-fullscreen: 300;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
  --bg-primary: #0C0F0A;
  --bg-secondary: #11140E;
  --bg-card: #191D14;
  --bg-terminal: #080A06;
  --bg-game: #151910;

  --text-primary: #EDF0E5;
  --text-secondary: #A0A898;
  --text-muted: #6B7060;
  --text-inverse: #0C0F0A;

  --accent: #CCFF00;
  --accent-deep: #8FB800;
  --fossil-gold: #D4A017;
  --accent-glow: rgba(204, 255, 0, 0.2);
  --accent-subtle: rgba(204, 255, 0, 0.04);

  --border-light: rgba(255,255,255,0.04);
  --border-medium: rgba(255,255,255,0.08);
  --border-accent: rgba(204,255,0,0.25);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 60px rgba(204,255,0,0.08);
}

/* ── Theme transition ── */
body, .navbar, .card-3d, .t-card, .feature-box, .game-wrapper, .terminal-wrapper,
.hero-section, .about-section, .ai-section, .game-section, .tokenomics-section,
.features-section, .footer, .ca-box, .distribution-box, .btn-circle-social,
.nav-link, .game-tab-btn, .bawok-brand, .floating-badge, .mobile-drawer {
  transition: background-color 0.35s ease, color 0.35s ease,
              border-color 0.35s ease, box-shadow 0.35s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.highlight { color: var(--accent-deep); }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav);
  background: rgba(249,251,233,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
}
[data-theme="dark"] .navbar { background: rgba(12,15,10,0.85); }
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-container {
  max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon-3d {
  width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  border: 2px solid var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}
.logo-img { width: 100%; height: 100%; object-fit: cover; }
.logo-text {
  font-size: 18px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--text-primary);
}
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  padding: 8px 14px; border-radius: 10px;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--accent-subtle); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Theme Toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary); font-size: 15px;
  background: var(--bg-card); cursor: pointer; box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}
.theme-toggle:hover {
  border-color: var(--accent); color: var(--accent-deep);
  box-shadow: var(--shadow-glow);
}
[data-theme="dark"] .theme-toggle .fa-moon::before { content: '\f185'; }

/* BAWOK */
.bawok-brand {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--text-primary); padding: 8px 14px;
  border: 1.5px solid var(--accent); border-radius: 10px;
  transition: all 0.2s; letter-spacing: 1px; flex-shrink: 0;
}
.bawok-brand:hover { background: var(--accent-subtle); box-shadow: 0 0 20px var(--accent-glow); }

/* Hood Badge */
.hood-badge {
  font-size: 11px; font-weight: 600; font-family: var(--font-mono);
  color: var(--text-primary); background: var(--accent-subtle);
  border: 1px solid var(--accent); padding: 6px 12px; border-radius: 10px;
  white-space: nowrap; letter-spacing: 0.5px;
}

/* Circular Social */
.btn-circle-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary); font-size: 15px;
  background: var(--bg-card); box-shadow: var(--shadow-xs);
  transition: all 0.2s;
}
.btn-circle-social:hover {
  border-color: var(--accent); color: var(--accent-deep);
  box-shadow: var(--shadow-glow); transform: translateY(-1px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  transition: all 0.25s var(--ease-out-expo);
}
.btn-clean-primary {
  background: var(--text-primary); color: var(--text-inverse);
  border: 1.5px solid var(--text-primary); box-shadow: var(--shadow-sm);
}
.btn-clean-primary:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
  box-shadow: var(--shadow-glow); transform: translateY(-1px);
}
.btn-clean-secondary {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
}
.btn-clean-secondary:hover {
  border-color: var(--accent); background: var(--accent-subtle);
  box-shadow: var(--shadow-sm);
}
.btn-clean-copy {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 10px; font-size: 12px; font-weight: 500;
  font-family: var(--font-mono); color: var(--text-secondary);
  border: 1px solid var(--border-medium); transition: all 0.2s;
}
.btn-clean-copy:hover { border-color: var(--accent); color: var(--text-primary); }

/* ── Cursor Canvas ── */
#cursorCanvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.4; }

/* ═══════════════════════════════════════════
   HERO — PREMIUM MULTI-LAYER PARALLAX SYSTEM
   ═══════════════════════════════════════════ */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px; background: var(--bg-primary);
  overflow: hidden;
  isolation: isolate;
  perspective: 1200px;
}

/* Layered parallax backdrop — re-enabled & upgraded.
   #parallaxBg is the JS-driven scroll layer (translateY at 0.25x scroll).
   It now hosts a rich, glowing, depth-scaled scene instead of being hidden. */
.hero-overlay,
.parallax-bg-layer {
  display: block;
  position: absolute;
  inset: -15% -10%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

#parallaxBg {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Deep grid layer — furthest, moves slowest */
#parallaxBg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, black 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 35%, black 20%, transparent 78%);
  opacity: 0.55;
  animation: gridDrift 26s linear infinite;
}

/* Glowing color orbs — mid layer, drift + pulse independently for depth */
#parallaxBg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(38% 32% at 18% 22%, var(--accent-glow) 0%, transparent 70%),
    radial-gradient(30% 26% at 84% 18%, rgba(212,160,23,0.16) 0%, transparent 70%),
    radial-gradient(34% 30% at 78% 78%, var(--accent-glow) 0%, transparent 72%),
    radial-gradient(26% 24% at 12% 82%, rgba(212,160,23,0.12) 0%, transparent 72%);
  filter: blur(2px);
  animation: orbFloat 16s var(--ease-parallax) infinite alternate;
}

@keyframes gridDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-14px, 10px, 0) scale(1.015); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); opacity: 0.9; }
  50%  { transform: translate3d(2%, -3%, 0) rotate(4deg) scale(1.06); opacity: 1; }
  100% { transform: translate3d(-2%, 3%, 0) rotate(-3deg) scale(1.02); opacity: 0.92; }
}

/* Floating fossil-dust particles — foreground-most parallax layer, fastest drift */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 10% 20%, var(--accent) 0%, transparent 100%),
    radial-gradient(2px 2px at 80% 15%, var(--fossil-gold) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 65% 65%, var(--accent) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 80%, var(--accent) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 85%, var(--fossil-gold) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 40%, var(--accent) 0%, transparent 100%);
  opacity: 0.5;
  animation: particleDrift 12s ease-in-out infinite;
}
@keyframes particleDrift {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.35; }
  50%      { transform: translate3d(0, -18px, 0); opacity: 0.65; }
}

/* Radial vignette to keep focus centered, sits above particles */
.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, transparent 55%, var(--bg-primary) 100%);
  opacity: 0.7;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-right {
  display: flex; justify-content: center; order: 2;
  transform-style: preserve-3d;
}
.hero-3d-frame {
  position: relative; width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
  animation: heroFrameHover 6s var(--ease-parallax) infinite;
  transform-style: preserve-3d;
}
@keyframes heroFrameHover {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(1.2deg); }
}
.hero-mascot-img {
  width: 320px; height: 320px; border-radius: 28px; object-fit: cover;
  border: 2px solid var(--border-light); box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.hero-3d-frame:hover .hero-mascot-img {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
/* Rotating glow ring behind mascot for extra depth */
.hero-3d-frame::before {
  content: '';
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent-glow), transparent 30%, var(--accent-glow) 60%, transparent 90%);
  filter: blur(18px);
  animation: ringSpin 10s linear infinite;
  opacity: 0.8;
}
@keyframes ringSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
#threeCanvasContainer { display: none; }

.floating-badge {
  position: absolute; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 14px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md); font-size: 12px;
  animation: floatBadge 4s var(--ease-parallax) infinite;
  will-change: transform;
}
.floating-badge strong { display: block; font-weight: 700; color: var(--text-primary); font-size: 13px; }
.floating-badge small { color: var(--text-muted); font-size: 11px; }
.floating-badge i { color: var(--accent); }
.badge-1 { top: -10px; right: -30px; animation-delay: 0s; }
.badge-2 { bottom: 20px; left: -40px; animation-delay: 2s; }
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(20px); }
}

.hero-left { order: 1; }
.hero-title {
  font-size: 60px; font-weight: 900; letter-spacing: -2.5px;
  line-height: 1.02; color: var(--text-primary); margin-bottom: 20px;
}

/* ── Sticker Text Effect ──
   Wrap any word in <span class="sticker-text">DINOHOOD</span> to render it
   like a die-cut vinyl sticker: thick outline, background patch, drop
   shadow and a slight playful tilt. Great for the hero title. */
.sticker-text {
  position: relative;
  display: inline-block;
  color: var(--text-primary);
  background: var(--accent);
  padding: 2px 18px 8px;
  border-radius: 16px;
  transform: rotate(-3deg);
  box-shadow:
    3px 3px 0 var(--text-primary),
    0 10px 24px rgba(31, 42, 21, 0.25);
  -webkit-text-stroke: 1.5px var(--text-primary);
  paint-order: stroke fill;
  transition: transform 0.3s var(--ease-out-back);
  animation: stickerWiggle 5s ease-in-out infinite;
}
.sticker-text:hover {
  transform: rotate(0deg) scale(1.04);
}
[data-theme="dark"] .sticker-text {
  color: var(--bg-primary);
  -webkit-text-stroke: 1.5px var(--bg-primary);
  box-shadow:
    3px 3px 0 rgba(0,0,0,0.6),
    0 10px 24px rgba(0,0,0,0.4);
}
@keyframes stickerWiggle {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(-1deg); }
}
/* Little peeling-corner detail for extra sticker realism */
.sticker-text::after {
  content: '';
  position: absolute;
  bottom: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--bg-primary);
  border-radius: 0 0 4px 0;
  box-shadow: -2px -2px 4px rgba(31,42,21,0.15);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  opacity: 0.85;
}

@media (max-width: 480px) {
  .sticker-text {
    padding: 1px 12px 6px;
    -webkit-text-stroke: 1px var(--text-primary);
    box-shadow: 2px 2px 0 var(--text-primary), 0 6px 16px rgba(31,42,21,0.22);
  }
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradientShift 5s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}
.hero-subtitle {
  font-size: 17px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 32px; max-width: 540px;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 700; }
.ca-container { margin-bottom: 28px; }
.ca-header-row { margin-bottom: 8px; }
.ca-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 1.5px;
}
.ca-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1.5px solid var(--border-medium);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.ca-box code {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--text-primary); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; flex: 1;
}
.hero-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.btn-hero { padding: 13px 28px; font-size: 14px; }

.scroll-indicator {
  grid-column: 1 / -1;
  justify-self: center;
  width: auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  margin-top: 40px;
  color: var(--text-muted); font-family: var(--font-body);
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  opacity: 0.45; text-transform: uppercase;
  pointer-events: none;
  animation: fadePulse 2.5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 10px;
}
.scroll-indicator i {
  font-size: 16px;
  animation: bounceArrow 1.5s ease-in-out infinite;
  color: var(--accent);
}
@keyframes fadePulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.65; }
}
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
.section-header { margin-bottom: 56px; }
.section-header::before {
  content: '[ ' attr(data-label) ' ]';
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.section-title {
  font-size: 44px; font-weight: 900; letter-spacing: -1.5px;
  line-height: 1.1; color: var(--text-primary); margin-bottom: 14px;
}
.section-desc {
  font-size: 16px; color: var(--text-secondary);
  max-width: 620px; margin: 0 auto; line-height: 1.7;
}

/* ═══════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════ */
.animated-dashed-line {
  height: 1.5px; width: 100%; opacity: 0.25;
  background-image: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 16px);
  animation: dashMove 3s linear infinite;
}
@keyframes dashMove {
  0% { background-position: 0 0; }
  100% { background-position: 22px 0; }
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.about-section,
.ai-section,
.game-section,
.tokenomics-section,
.features-section { padding: var(--section-pad); }
.about-section, .game-section, .features-section { background: var(--bg-secondary); }
.ai-section, .tokenomics-section { background: var(--bg-primary); }

/* ═══════════════════════════════════════════
   ABOUT — Cards Grid
   ═══════════════════════════════════════════ */
.grid-3d { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-3d {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.4s var(--ease-out-expo);
}
.card-3d:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg); border-color: var(--border-accent);
}
.card-img-wrapper { overflow: hidden; }
.card-img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.card-3d:hover .card-img { transform: scale(1.04); }
.card-content { padding: 24px; }
.card-content h3 {
  font-size: 17px; font-weight: 800; color: var(--text-primary);
  margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.card-content h3 i { color: var(--accent-deep); font-size: 15px; }
.card-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════
   TERMINAL AI
   ═══════════════════════════════════════════ */
.terminal-wrapper {
  background: var(--bg-terminal); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.terminal-header {
  display: flex; align-items: center; padding: 12px 20px;
  background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 12px;
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; } .dot-yellow { background: #FEBC2E; } .dot-green { background: #28C840; }
.terminal-title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 8px; flex: 1;
}
.terminal-header-actions { display: flex; align-items: center; gap: 12px; }
.btn-terminal-expand {
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.btn-terminal-expand:hover { color: #fff; }
.terminal-status {
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 6px;
}
.status-indicator { width: 6px; height: 6px; border-radius: 50%; }
.status-indicator.online { background: var(--accent); box-shadow: 0 0 6px var(--accent); }

.prompt-presets {
  padding: 10px 20px; background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.preset-label { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 1px; }
.preset-buttons-container { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-preset {
  font-family: var(--font-mono); font-size: 11px; padding: 5px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
  transition: all 0.2s; white-space: nowrap;
}
.btn-preset:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }

.terminal-body {
  padding: 20px; min-height: 200px; max-height: 400px; overflow-y: auto;
  font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.log-entry { margin-bottom: 8px; }
.log-time { color: rgba(255,255,255,0.25); font-size: 11px; margin-right: 8px; }
.system-msg { color: rgba(255,255,255,0.3); font-style: italic; }

.terminal-input-form {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.15);
}
.prompt-symbol { font-family: var(--font-mono); font-size: 13px; color: var(--accent); white-space: nowrap; }
.terminal-input-form input {
  flex: 1; background: transparent; border: none; color: #fff;
  font-family: var(--font-mono); font-size: 13px; outline: none;
}
.terminal-input-form input::placeholder { color: rgba(255,255,255,0.2); }
.btn-clean-send {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent);
  display: flex; align-items: center; gap: 6px; padding: 6px 14px;
  border: 1px solid rgba(204,255,0,0.25); border-radius: 10px; transition: all 0.2s;
}
.btn-clean-send:hover { background: var(--accent); color: #1A2000; }

.terminal-mobile-launch-box { display: none; margin-bottom: 24px; }

/* ═══════════════════════════════════════════
   ARCADE GAMES
   ═══════════════════════════════════════════ */
.game-tabs-row { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.game-tab-btn {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  padding: 10px 22px; border-radius: 12px;
  border: 1.5px solid var(--border-medium);
  color: var(--text-secondary); background: var(--bg-card);
  transition: all 0.2s;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.game-tab-btn.active, .game-tab-btn:hover {
  border-color: var(--accent); color: var(--text-primary);
  background: var(--accent-subtle);
}
.game-wrapper {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md);
}
.game-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: var(--bg-game);
  border-bottom: 1px solid var(--border-light); flex-wrap: wrap; gap: 10px;
}
.game-title-text {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px; color: var(--text-primary);
}
.game-logo-pfp { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--accent); }
.game-top-actions { display: flex; align-items: center; gap: 16px; }
.btn-game-expand {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.btn-game-expand:hover { color: var(--text-primary); }
.game-scores { display: flex; gap: 16px; font-family: var(--font-mono); font-size: 12px; }
.score-label { color: var(--text-muted); }
.score-label strong { color: var(--text-primary); font-weight: 600; }
.game-canvas-container {
  position: relative; background: var(--bg-terminal);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.game-canvas-container canvas {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Subway canvas */
.subway-canvas-box canvas { background: #1a1a2e; }

/* Game overlay */
.game-overlay {
  position: absolute; inset: 0; background: rgba(18,19,16,0.94);
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.game-overlay-content { text-align: center; }
.game-dino-logo-wrapper { margin-bottom: 16px; }
.game-dino-mascot-img {
  width: 80px; height: 80px; border-radius: 18px;
  border: 2px solid var(--accent); margin: 0 auto;
  box-shadow: 0 0 24px var(--accent-glow);
}
.game-overlay-content h3 {
  font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px;
}
.game-overlay-content p {
  font-size: 14px; color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.game-action-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.game-action-row .btn-clean-primary {
  background: var(--accent); color: #1A2000; border-color: var(--accent);
}
.game-action-row .btn-clean-primary:hover { background: var(--accent-deep); box-shadow: 0 0 40px var(--accent-glow); }
.game-action-row .btn-clean-secondary {
  background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2);
}
.game-action-row .btn-clean-secondary:hover {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); color: #fff;
}

/* ═══════════════════════════════════════════
   TOKENOMICS
   ═══════════════════════════════════════════ */
.tokenomics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.t-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 18px; padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.35s var(--ease-out-expo);
}
.t-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(-3px);
}
.t-icon { font-size: 28px; color: var(--accent-deep); margin-bottom: 14px; }
.t-value {
  font-size: 30px; font-weight: 900; color: var(--text-primary);
  margin-bottom: 4px; letter-spacing: -1px;
}
.t-label {
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-mono); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.5px;
}
.distribution-box {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 18px; padding: 28px; box-shadow: var(--shadow-sm);
}
.distribution-box h3 {
  font-size: 15px; font-weight: 800; color: var(--text-primary);
  margin-bottom: 20px; font-family: var(--font-mono); letter-spacing: 0.5px;
}
.progress-bar-container {
  height: 8px; border-radius: 4px; background: var(--bg-secondary);
  overflow: hidden; margin-bottom: 16px;
}
.bar-segment {
  height: 100%; border-radius: 4px; font-size: 10px;
  font-family: var(--font-mono); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  color: #1A2000;
}
.bar-segment.liquidity { background: var(--accent); }
.distribution-legend {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  display: flex; gap: 20px; flex-wrap: wrap;
}
.dot-legend { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.dot-legend.lp { background: var(--accent); }

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-box {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: 18px; padding: 28px; text-align: center;
  box-shadow: var(--shadow-xs);
  transition: all 0.35s var(--ease-out-expo);
  display: flex; flex-direction: column; align-items: center;
  min-height: 180px;
}
.feature-box:hover {
  border-color: var(--border-accent); transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.f-icon-3d { font-size: 32px; color: var(--accent-deep); margin-bottom: 16px; }
.feature-box h3 { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.feature-box p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--bg-primary); padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
}
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; margin-bottom: 32px; flex-wrap: wrap;
}
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 8px; max-width: 300px; }
.footer-links h4 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 1px; margin-bottom: 12px;
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--border-medium); color: var(--text-secondary);
  font-size: 16px; transition: all 0.2s;
}
.social-icons a:hover {
  border-color: var(--accent); color: var(--accent-deep);
  background: var(--accent-subtle);
}
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-light); }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-primary); color: var(--text-inverse);
  padding: 14px 24px; border-radius: 14px; font-size: 14px;
  font-weight: 600; z-index: 999; opacity: 0;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════
   FULLSCREEN OVERLAYS
   ═══════════════════════════════════════════ */
.fullscreen-terminal-overlay,
.fullscreen-game-overlay {
  position: fixed; inset: 0; z-index: var(--z-fullscreen);
  background: var(--bg-terminal); display: none; flex-direction: column;
}
.fullscreen-terminal-overlay.active,
.fullscreen-game-overlay.active { display: flex; }
.fullscreen-terminal-container,
.fullscreen-game-container { flex: 1; display: flex; flex-direction: column; max-height: 100vh; }
.fullscreen-terminal-header,
.fullscreen-game-header {
  display: flex; align-items: center; padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05); gap: 16px;
}
.btn-clean-back {
  font-family: var(--font-mono); font-size: 13px;
  color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 8px;
}
.btn-clean-back:hover { color: #fff; }
.fs-terminal-title, .fs-game-title {
  font-family: var(--font-mono); font-size: 13px;
  color: rgba(255,255,255,0.5); flex: 1;
  display: flex; align-items: center; gap: 8px;
}
.fs-terminal-status, .fs-game-scores {
  font-family: var(--font-mono); font-size: 12px;
  color: rgba(255,255,255,0.3); display: flex; align-items: center; gap: 6px;
}
.fs-terminal-body { flex: 1; overflow-y: auto; padding: 24px; font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.6); }
.fs-input-form { border-top: 1px solid rgba(255,255,255,0.05); }
.fs-game-canvas-wrapper {
  flex: 1; display: flex; align-items: center; justify-content: center; position: relative;
  overflow: hidden;
}
.fs-game-canvas-wrapper canvas { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ═══════════════════════════════════════════
   HAMBURGER + MOBILE DRAWER
   ═══════════════════════════════════════════ */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; border-radius: 10px;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-card); cursor: pointer; z-index: 151;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg-card);
  z-index: 150;
  padding: 20px;
  flex-direction: column;
  gap: 6px;
  border-bottom: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  max-height: 70vh;
  overflow-y: auto;
}
.mobile-drawer.active { display: flex; }
.mobile-drawer nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-drawer .nav-link {
  font-size: 16px; font-weight: 700; padding: 14px 18px; border-radius: 12px;
  color: var(--text-primary);
}
.mobile-drawer .nav-link:hover { background: var(--accent-subtle); }
.mobile-drawer-actions {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 16px; margin-top: 8px;
  border-top: 1px solid var(--border-light);
}

/* ═══════════════════════════════════════════
   DESKTOP OPTIMIZATIONS (≥1025px)
   ═══════════════════════════════════════════ */
@media (min-width: 1025px) {
  :root {
    --container-max: 1200px;
  }
  
  /* Nav — lebih lega */
  .nav-container { gap: 28px; }
  .nav-menu { gap: 2px; }
  .nav-link { font-size: 13px; padding: 8px 16px; }
  
  /* Floating badges — jangan sampai kepotong */
  .badge-1 { right: -20px; top: 0; }
  .badge-2 { left: -30px; bottom: 30px; }
  
  /* Cards — konsisten height */
  .card-3d { min-height: 100%; }
  
  /* Game canvas container — jangan terlalu tinggi */
  .game-canvas-container { min-height: 300px; }
  
  /* Tokenomics cards — lebih compact */
  .t-card { padding: 24px 16px; }
  .t-value { font-size: 28px; }
  
  /* Features grid — seimbang */
  .feature-box { padding: 26px 20px; min-height: 200px; }
  
  /* Footer — breathing room */
  .footer { padding: 80px 0 40px; }
}

/* Wide screens (≥1400px) */
@media (min-width: 1400px) {
  :root {
    --container-max: 1280px;
    --section-pad: 120px 0;
  }
  
  .hero-container { gap: 100px; }
  .hero-title { font-size: 64px; }
  .hero-3d-frame { width: 420px; height: 420px; }
  .hero-mascot-img { width: 360px; height: 360px; }
  
  .grid-3d { gap: 28px; }
  .card-img { height: 240px; }
  
  .features-grid { gap: 22px; }
  .tokenomics-grid { gap: 22px; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE (Mobile)
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 70px 0; }
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: 1; } .hero-left { order: 2; text-align: center; }
  .hero-title { font-size: 42px; }
  .hero-subtitle { max-width: 100%; }
  .ca-box { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .grid-3d { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tokenomics-grid { grid-template-columns: repeat(2, 1fr); }

  .hamburger { display: flex; }
  .nav-menu { display: none; }
  .hood-badge { display: none; }
  .mobile-drawer .hood-badge { display: inline-flex; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .nav-container { padding: 0 16px; }
  .logo-text { font-size: 15px; }
  .bawok-brand { font-size: 10px; padding: 6px 10px; }
  .hero-3d-frame { width: 240px; height: 240px; }
  .hero-mascot-img { width: 200px; height: 200px; }
  .hero-title { font-size: 32px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 15px; }
  .section-title { font-size: 28px; letter-spacing: -1px; }
  .section-header::before { font-size: 9px; letter-spacing: 1.5px; }
  .grid-3d { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tokenomics-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .floating-badge { display: none; }

  .terminal-wrapper.desktop-only-terminal { display: none; }
  .terminal-mobile-launch-box { display: block; }
  .t-launch-card {
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 18px; padding: 32px 24px; text-align: center;
  }
  .t-launch-icon { font-size: 36px; color: var(--accent-deep); margin-bottom: 16px; }
  .t-launch-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
  .t-launch-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 16px; }
  .btn-launch-app {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: #1A2000; border: 1.5px solid var(--accent);
    padding: 12px 24px; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer;
  }
  .terminal-input-form { padding: 10px 14px; gap: 6px; }
  .terminal-input-form input { font-size: 12px; }
  .prompt-symbol { font-size: 11px; }
  /* Games */
  .game-tabs-row { flex-direction: column; align-items: stretch; }
  .game-tab-btn { font-size: 10px; padding: 10px 14px; }
  .btn-preset { font-size: 10px; padding: 5px 10px; white-space: normal; }
  .game-top-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 18px; }
  .game-title-text { font-size: 13px; }
  .game-top-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .btn-game-expand { font-size: 10px; white-space: nowrap; }
  .game-scores { gap: 8px; font-size: 10px; flex-wrap: wrap; }
  .game-canvas-container canvas { width: 100% !important; height: auto !important; }
  .game-overlay-content h3 { font-size: 16px; }
  .game-overlay-content p { font-size: 12px; }

  .distribution-box { padding: 20px; }
  .container { padding: 0 16px; }
  .card-content { padding: 18px; }
  .card-content h3 { font-size: 15px; }
  .card-content p { font-size: 13px; }

  .footer { padding: 40px 0 24px; }
  .footer-content { flex-direction: column; text-align: center; gap: 20px; }
  .footer-brand p { max-width: 100%; }
  .social-icons { justify-content: center; }

  /* Tame the parallax scene on tablets/phones for performance & clarity */
  #parallaxBg::before,
  #parallaxBg::after { animation-duration: 20s; }
  .hero-section::before { opacity: 0.3; }
  .hero-3d-frame::before { filter: blur(12px); }
}

@media (max-width: 480px) {
  :root { --section-pad: 48px 0; }
  .nav-container { padding: 0 10px; gap: 6px; height: 56px; }
  .navbar .nav-container { height: 56px; }
  .logo-text { font-size: 12px; }
  .logo-icon-3d { width: 26px; height: 26px; }
  .bawok-brand { font-size: 8px; padding: 4px 7px; border-width: 1px; }
  .theme-toggle { width: 32px; height: 32px; font-size: 13px; }
  .hamburger { width: 36px; height: 36px; padding: 6px; }
  .btn-circle-social { width: 32px; height: 32px; font-size: 13px; }
  .hero-section { min-height: auto; padding: 80px 0 40px; }
  .scroll-indicator { margin-top: 28px; font-size: 9px; letter-spacing: 2px; gap: 4px; }
  .scroll-indicator span { font-size: 9px; }
  .scroll-indicator i { font-size: 13px; }
  .hero-3d-frame { width: 180px; height: 180px; }
  .hero-mascot-img { width: 150px; height: 150px; border-radius: 20px; }
  .hero-title { font-size: 28px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .btn { font-size: 12px; padding: 10px 16px; }
  .section-title { font-size: 24px; }
  .section-header { margin-bottom: 36px; }
  .section-header::before { font-size: 9px; }
  .section-desc { font-size: 14px; }

  .features-grid { grid-template-columns: 1fr; }
  .tokenomics-grid { grid-template-columns: 1fr; }
  .grid-3d { gap: 14px; }

  .t-card { padding: 20px 16px; }
  .t-value { font-size: 24px; }
  .t-label { font-size: 11px; }
  .feature-box { padding: 20px 16px; min-height: auto; }
  .feature-box h3 { font-size: 14px; }

  .ca-box { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 12px; }
  .ca-box code { font-size: 11px; }
  .btn-clean-copy { width: 100%; justify-content: center; }

  .terminal-body { padding: 14px; font-size: 12px; max-height: 280px; }
  .prompt-presets { padding: 8px 14px; }

  .game-wrapper { border-radius: 14px; }
  .game-top-bar { padding: 10px 14px; gap: 8px; }
  .game-title-text { font-size: 12px; }
  .btn-game-expand { font-size: 9px; }
  .game-scores { font-size: 9px; gap: 6px; }
  .game-overlay-content h3 { font-size: 15px; }
  .game-overlay-content p { font-size: 11px; margin-bottom: 14px; }
  .game-dino-mascot-img { width: 50px; height: 50px; }
  .game-action-row { gap: 8px; }
  .game-action-row .btn { font-size: 11px; padding: 8px 14px; }

  /* Fullscreen overlays */
  .fullscreen-game-header { padding: 10px 14px; gap: 8px; flex-wrap: wrap; }
  .fullscreen-game-header .btn-clean-back { font-size: 11px; }
  .fullscreen-game-header .btn-clean-back span { display: none; }
  .fullscreen-game-header .fs-game-title { font-size: 11px; }
  .fullscreen-game-header .fs-game-scores { font-size: 10px; gap: 6px; }
  .fullscreen-terminal-header { padding: 10px 14px; gap: 8px; }
  .fullscreen-terminal-header .btn-clean-back { font-size: 11px; }
  .fullscreen-terminal-header .btn-clean-back span { display: none; }

  .distribution-box { padding: 16px; }
  .distribution-box h3 { font-size: 14px; }
  .distribution-legend { font-size: 11px; }

  .footer { padding: 32px 0 20px; }
  .footer-bottom p { font-size: 11px; }

  .mobile-drawer .nav-link { font-size: 15px; padding: 12px 14px; }

  .toast { left: 16px; right: 16px; transform: translateY(100px); font-size: 12px; }
  .toast.show { transform: translateY(0); }

  .btn, .btn-clean-primary, .btn-clean-secondary, .btn-circle-social,
  .theme-toggle, .hamburger, .btn-clean-send, .btn-preset {
    min-height: 44px; min-width: 44px;
  }

  /* Simplify parallax scene further on very small screens */
  .hero-section::before,
  .hero-section::after { display: none; }
  #parallaxBg::before,
  #parallaxBg::after { opacity: 0.35; }
  .hero-3d-frame::before { display: none; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  #parallaxBg::before,
  #parallaxBg::after,
  .hero-section::before,
  .hero-3d-frame,
  .hero-3d-frame::before,
  .floating-badge,
  .gradient-text {
    animation: none !important;
  }
  #parallaxBg { transition: none !important; }
}

/* ── Parallax Utility ──
   Applied via JS (e.g. window.scrollY * factor) to any element you want
   to drift at a custom depth/speed. Layer several elements with different
   data-speed values for a rich, cinematic multi-plane parallax effect. */
.parallax-slow {
  transition: transform 0.1s linear;
  will-change: transform;
}
.parallax-layer {
  will-change: transform;
  transition: transform 0.15s var(--ease-parallax);
}
.hero-label{

display:inline-flex;
align-items:center;
gap:8px;

padding:10px 18px;

border-radius:999px;

background:#eef9e8;

color:#3f7d2b;

font-weight:700;

font-size:13px;

margin-bottom:25px;

}

.hero-title-wrap{

position:relative;

display:inline-block;

}

.hero-sticker{

position:absolute;

pointer-events:none;

opacity:.18;

z-index:0;

}

.sticker-left{

width:240px;

top:-90px;

left:-120px;

}

.sticker-right{

width:120px;

right:-60px;

top:-20px;

}

.hero-title{

position:relative;

z-index:2;

}

.hero-mini-badges{

display:flex;

flex-wrap:wrap;

gap:12px;

margin:30px 0;

}

.mini-badge{

padding:10px 18px;

background:white;

border-radius:999px;

font-size:14px;

font-weight:700;

box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.hero-3d-frame{

position:relative;

}

.coin{

position:absolute;

width:58px;

height:58px;

border-radius:50%;

background:#b9ff37;

display:flex;

justify-content:center;

align-items:center;

font-weight:900;

font-size:28px;

box-shadow:0 10px 35px rgba(127,255,0,.35);

animation:floatCoin 4s ease-in-out infinite;

}

.coin1{

top:15%;

left:-30px;

}

.coin2{

top:70%;

right:-20px;

animation-delay:1s;

}

.coin3{

top:5%;

right:15%;

animation-delay:2s;

}

@keyframes floatCoin{

0%,100%{

transform:translateY(0px);

}

50%{

transform:translateY(-15px);

}

}

/* ==========================================================================
   ARCADE LEADERBOARD HUB STYLES (Papan Peringkat)
   ========================================================================== */
.leaderboard-container {
    margin-top: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.leaderboard-title {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 13px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.leaderboard-tabs {
    display: flex;
    gap: 10px;
}

.leaderboard-tab-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 10px;
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.leaderboard-tab-btn:hover {
    background: var(--accent-subtle);
    color: var(--accent);
    border-color: var(--accent);
}

.leaderboard-tab-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
}

.leaderboard-body {
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: left;
}

.leaderboard-table th {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 10px;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-light);
    text-transform: uppercase;
}

.leaderboard-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.leaderboard-table tr:hover td {
    background: var(--bg-glass);
}

.leaderboard-rank {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.player-name {
    font-weight: 700;
    color: var(--accent);
}

.badge-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
}

.leaderboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
}

.nickname-input {
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--accent);
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
    width: 150px;
    transition: var(--transition-fast);
}

.nickname-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

/* ==========================================================================
   MARKET STATS, MEME STUDIO & RAID HUB STYLES
   ========================================================================== */
.market-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 25px;
}

.m-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.m-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.m-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-stat-val {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 14px;
    color: var(--text-primary);
}

/* Meme Studio */
.meme-studio-section {
    padding: 60px 0;
    position: relative;
}

.meme-studio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .meme-studio-grid {
        grid-template-columns: 1fr;
    }
}

.meme-controls-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.form-label {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 10px;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    background: var(--bg-glass);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.meme-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.meme-canvas-wrapper canvas {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    background: #000000;
}

/* Raid Hub */
.raid-hub-section {
    padding: 60px 0;
    position: relative;
}

.raid-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.raid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.raid-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.raid-card-header {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 11px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.raid-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-style: italic;
}

/* ==========================================================================
   DEXSCREENER LIVE TERMINAL STYLES
   ========================================================================== */
.dex-terminal-container {
    margin-top: 35px;
    background: #0f141d;
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.dex-terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.dex-pair-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dex-pair-title {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 15px;
    color: #ffffff;
}

.dex-badge {
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.dex-live-tag {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dex-terminal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.dex-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-fast);
}

.dex-stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
}

.dex-stat-card.highlight-card {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.dex-stat-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dex-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dex-stat-val {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 14px;
    color: #ffffff;
}

.dex-change-pill {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
}

.dex-change-pill.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.dex-change-pill.negative {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Pressure Bar */
.dex-pressure-box {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
}

.dex-pressure-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.pressure-bar-track {
    width: 100%;
    height: 10px;
    background: #ef4444;
    border-radius: 5px;
    overflow: hidden;
}

.pressure-bar-fill {
    height: 100%;
    background: #10b981;
    border-radius: 5px 0 0 5px;
    transition: width 0.5s ease;
}

/* Chart Container */
.dex-chart-container {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: #090d14;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dex-chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    padding: 40px;
}

.meme-theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.meme-theme-btn:hover {
    background: var(--accent-subtle);
    color: var(--accent);
    border-color: var(--accent);
}

.meme-theme-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.dex-chart-container {
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: #090d14;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dex-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dex-timeframe-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tf-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
}

.tf-badge.active {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--accent);
    color: #ffffff;
}

/* ==========================================================================
   ABOUT SECTION 3D CARDS STYLES
   ========================================================================== */
.grid-3d {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.card-3d {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.card-3d:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-content h3 {
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 13px;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   RETRO WHITEPAPER & SECURITY AUDIT MODAL STYLES
   ========================================================================== */
.whitepaper-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.whitepaper-modal-container {
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), 0 0 40px rgba(255, 107, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(255, 107, 0, 0.05);
    border-bottom: 1px solid var(--border-light);
}

.wp-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Press Start 2P', cursive, sans-serif;
    font-size: 13px;
    color: var(--text-primary);
}

.wp-logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
}

.btn-wp-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.btn-wp-close:hover {
    color: var(--accent);
}

.wp-modal-nav {
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
    overflow-x: auto;
}

.wp-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}

.wp-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.wp-tab-btn.active {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--accent);
    color: #ffffff;
}

.wp-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: 60vh;
}

.wp-tab-content {
    display: none;
}

.wp-tab-content.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.wp-tab-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.wp-tab-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.wp-highlight-box {
    background: rgba(255, 107, 0, 0.06);
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 14px;
    padding: 16px 20px;
}

.wp-highlight-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.wp-highlight-box ul {
    padding-left: 20px;
}

.wp-highlight-box li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.5;
}

.wp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.wp-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.wp-stat span {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.wp-stat strong {
    font-size: 13px;
    color: var(--text-primary);
}

.security-check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.sec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.15);
    padding: 12px 16px;
    border-radius: 12px;
}

.sec-item i {
    font-size: 16px;
    margin-top: 2px;
}

.wp-roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.rm-phase {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px 20px;
    position: relative;
}

.rm-tag {
    font-size: 10px;
    font-weight: 800;
    background: var(--accent);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

.rm-phase h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.rm-phase p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   DINOHOOD AI MEME STUDIO STYLES
   ========================================================================== */
.meme-studio-section {
    padding: 90px 0;
}

.meme-studio-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 107, 0, 0.08);
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .meme-studio-card {
        grid-template-columns: 1fr;
    }
}

.meme-controls-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meme-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meme-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.meme-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-ai-sparkle {
    background: linear-gradient(135deg, #ff6b00, #ffd700);
    color: #000000;
    border: none;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    transition: all 0.2s ease-out;
}

.btn-ai-sparkle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 107, 0, 0.5);
}

.meme-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border-medium);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.meme-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.25);
    background: rgba(255, 107, 0, 0.03);
}

.meme-file-dropzone {
    position: relative;
    border: 2px dashed rgba(255, 107, 0, 0.4);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 107, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.meme-file-dropzone:hover {
    border-color: var(--accent);
    background: rgba(255, 107, 0, 0.08);
}

.dropzone-icon {
    font-size: 24px;
    color: var(--accent);
}

.dropzone-text strong {
    display: block;
    font-size: 13px;
    color: var(--text-primary);
}

.dropzone-text small {
    font-size: 11px;
    color: var(--text-muted);
}

.dropzone-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.meme-theme-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meme-theme-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.meme-theme-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.meme-theme-btn.active {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.2);
}

.theme-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-dark { background: #0f141d; border: 1px solid #ff6b00; }
.dot-volcano { background: #ff4500; }
.dot-matrix { background: #10b981; }
.dot-gold { background: #ffd700; }

.meme-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-meme-action {
    flex: 1;
    justify-content: center;
}

.meme-preview-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.meme-canvas-card {
    background: #090d14;
    border: 1.5px solid var(--border-medium);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 107, 0, 0.1);
    max-width: 100%;
}

.meme-canvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
}

.preview-badge {
    font-size: 11px;
    font-weight: 800;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.hd-badge {
    font-size: 10px;
    font-weight: 700;
    background: rgba(255, 107, 0, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 8px;
}

.meme-canvas-body {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #000000;
}

#memeCanvas {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}