/* ==========================================================================
   MONEY HEIST ($HEIST) — Universal Responsive Stylesheet
   Pons Launchpad Fair Launch & Passive USDG Rewards on Robinhood Chain
   Aesthetics: Rich Red Gradient Motion, Gold Accents, 3D Meme Depth
   100% Responsive from 320px Mobile to 4K Ultra-Wide
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-crimson: #D90429;
  --bg-crimson-bright: #E50914;
  --bg-crimson-dark: #960012;
  --bg-crimson-mid: #7D000E;
  --bg-crimson-deep: #5A000A;
  --bg-crimson-darker: #3E0006;
  --bg-dark-choco: #180003;
  --bg-card-dark: #2C0006;
  --choco-deep: #100002;
  --gold-accent: #FFD166;
  --gold-hover: #FFA200;
  --amber-warm: #FFB703;
  --crispy-red: #E50914;
  --crispy-red-dark: #B20710;
  --mint-green: #06D6A0;
  --border-dark: #110002;
  --border-gold: #FFD166;
  --text-main: #FFFFFF;
  --text-light: #FFFDF8;
  --text-muted: #FFD2D2;

  /* Typography */
  --font-luckiest: 'Luckiest Guy', cursive, sans-serif;
  --font-mali: 'Mali', cursive, sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', sans-serif;

  /* 3D Shadows */
  --shadow-3d-sm: 0 4px 0 var(--border-dark);
  --shadow-3d-md: 0 6px 0 var(--border-dark);
  --shadow-3d-lg: 0 10px 0 var(--border-dark);
}

/* ==========================================================================
   Reset & Global Containment
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-mali);
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
  background: linear-gradient(135deg, #D90429 0%, #B8001F 25%, #800010 50%, #E50914 75%, #4D0008 100%);
  background-size: 300% 300%;
  animation: gradientMotionBG 16s ease infinite alternate;
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

@keyframes gradientMotionBG {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 100%; }
}

/* Ambient Radial Glow Pulse */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 209, 102, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(229, 9, 20, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255, 183, 3, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: meshPulse 10s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.06) rotate(2deg); opacity: 1; }
  100% { transform: scale(0.96) rotate(-2deg); opacity: 0.8; }
}

/* Ambient Floating Emojis */
.ambient-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.crumb {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.32;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
  animation: floatAround 14s infinite ease-in-out alternate;
}

.crumb-1 { top: 8%; left: 3%; animation-duration: 11s; }
.crumb-2 { top: 30%; right: 4%; animation-duration: 15s; font-size: 2rem; }
.crumb-3 { top: 56%; left: 5%; animation-duration: 18s; font-size: 1.5rem; }
.crumb-4 { top: 76%; right: 5%; animation-duration: 13s; font-size: 1.8rem; }
.crumb-5 { top: 44%; left: 40%; animation-duration: 20s; opacity: 0.2; font-size: 2.2rem; }
.crumb-6 { top: 88%; left: 25%; animation-duration: 16s; }

@keyframes floatAround {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
  100% { transform: translateY(20px) rotate(-15deg); }
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background-color: var(--bg-dark-choco);
  color: var(--gold-accent);
  font-family: var(--font-luckiest);
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 3px solid var(--border-dark);
  position: relative;
  z-index: 100;
  width: 100%;
}

.announcement-track {
  display: inline-flex;
  gap: 16px;
  animation: ticker 28s linear infinite;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(26, 0, 4, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--border-dark);
  width: 100%;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-luckiest);
  font-size: 1.7rem;
  color: #FFF;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: scale(1.04);
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-dark);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  display: inline-block;
  flex-shrink: 0;
}

.text-gold { color: var(--gold-accent); }
.text-green { color: var(--mint-green); }
.text-highlight { color: var(--gold-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  font-family: var(--font-luckiest);
  color: #FFF;
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-item:hover {
  color: var(--gold-accent);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #3A0007;
  border: 2px solid var(--border-dark);
  border-radius: 50%;
  color: #FFF;
  font-family: var(--font-luckiest);
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--border-dark);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.nav-social-btn:hover {
  transform: translateY(-2px);
  background: var(--crispy-red);
  color: var(--gold-accent);
  box-shadow: 0 5px 0 var(--border-dark), 0 0 12px rgba(229, 9, 20, 0.5);
}

.nav-social-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--border-dark);
}

/* Bella Ciao Interactive Player Button */
.music-player-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #5A000A;
  border: 2px solid var(--gold-accent);
  border-radius: 999px;
  padding: 7px 14px;
  color: #FFF;
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--border-dark);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.music-player-btn:hover {
  background: #75000E;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--border-dark), 0 0 14px rgba(255, 209, 102, 0.4);
}

.music-player-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--border-dark);
}

.music-player-btn.is-playing {
  background: linear-gradient(135deg, #B8001F 0%, #E50914 100%);
  border-color: #FFF;
  box-shadow: 0 0 18px rgba(229, 9, 20, 0.8);
}

.audio-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-wave span {
  display: block;
  width: 3px;
  height: 4px;
  background: var(--gold-accent);
  border-radius: 2px;
  transition: height 0.1s ease;
}

.music-player-btn.is-playing .audio-wave span:nth-child(1) { animation: waveAnim 0.7s infinite alternate ease-in-out; }
.music-player-btn.is-playing .audio-wave span:nth-child(2) { animation: waveAnim 0.7s infinite alternate ease-in-out 0.2s; }
.music-player-btn.is-playing .audio-wave span:nth-child(3) { animation: waveAnim 0.7s infinite alternate ease-in-out 0.4s; }
.music-player-btn.is-playing .audio-wave span:nth-child(4) { animation: waveAnim 0.7s infinite alternate ease-in-out 0.1s; }

@keyframes waveAnim {
  0% { height: 3px; }
  100% { height: 12px; }
}

.mobile-menu-btn {
  display: none;
  background: #50000A;
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  box-shadow: var(--shadow-3d-sm);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #FFF;
  border-radius: 2px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #500008;
  border-left: 4px solid var(--border-dark);
  z-index: 200;
  box-shadow: -10px 0 30px rgba(0,0,0,0.7);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gold-accent);
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.drawer-link {
  font-family: var(--font-luckiest);
  font-size: 1.15rem;
  color: #FFF;
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.2);
}

.drawer-cta {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   3D Buttons
   ========================================================================== */
.btn-3d {
  display: inline-block;
  position: relative;
  text-decoration: none;
  font-family: var(--font-luckiest);
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 3px solid var(--border-dark);
  border-radius: 12px;
  cursor: pointer;
  background: transparent;
  user-select: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  max-width: 100%;
}

.btn-face {
  display: block;
  padding: 10px 20px;
  border-radius: 9px;
  text-align: center;
  white-space: nowrap;
}

.btn-3d-gold {
  background-color: var(--border-dark);
  box-shadow: var(--shadow-3d-md);
}

.btn-3d-gold .btn-face {
  background: linear-gradient(180deg, #FFD166 0%, #FFA200 100%);
  color: var(--border-dark);
}

.btn-3d-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--border-dark);
}

.btn-3d-gold:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--border-dark);
}

.btn-3d-dark {
  background-color: var(--border-dark);
  box-shadow: var(--shadow-3d-md);
}

.btn-3d-dark .btn-face {
  background: #180003;
  color: #FFF;
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.btn-3d-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--border-dark);
}

.btn-3d-dark:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--border-dark);
}

.btn-large .btn-face {
  padding: 14px 28px;
  font-size: 1.15rem;
}

/* ==========================================================================
   Scroll Reveal Animation System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Common Section Layouts
   ========================================================================== */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

.text-center { text-align: center; }

.section-badge {
  display: inline-block;
  background: var(--bg-dark-choco);
  color: var(--gold-accent);
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 2px solid var(--border-dark);
}

.section-title {
  font-family: var(--font-luckiest);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 14px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.section-subtitle {
  font-family: var(--font-mali);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.cloud-divider {
  width: 100%;
  line-height: 0;
  margin-top: -20px;
  overflow: hidden;
}

.cloud-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ==========================================================================
   Hero Section with Video Background & Centralized Text
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.92) contrast(1.05);
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(10, 0, 2, 0.2) 0%, rgba(10, 0, 2, 0.45) 70%, rgba(10, 0, 2, 0.75) 100%),
              linear-gradient(180deg, rgba(15, 0, 2, 0.35) 0%, transparent 35%, rgba(15, 0, 2, 0.35) 75%, rgba(120, 0, 15, 0.85) 100%);
  pointer-events: none;
}

/* Hero Video Audio Toggle Button */
.hero-video-sound-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40, 0, 5, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--gold-accent);
  color: #FFF;
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 209, 102, 0.3);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-video-sound-btn:hover {
  transform: scale(1.06);
  background: rgba(184, 0, 31, 0.95);
  box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6);
}

.hero-video-sound-btn.is-muted {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(20, 0, 4, 0.75);
  color: #CCC;
}

.hero-centered-container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(80, 0, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid var(--gold-accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  color: var(--gold-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--mint-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-luckiest);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.08;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.4);
  word-break: break-word;
  text-align: center;
}

.hero-description {
  font-family: var(--font-mali);
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  font-weight: 600;
  color: #FFF2F2;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 740px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Contract Copy Bar */
.contract-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(56, 0, 5, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 3px solid var(--border-dark);
  border-radius: 14px;
  padding: 8px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 28px;
  max-width: 580px;
  width: 100%;
  gap: 10px;
  box-sizing: border-box;
}

.contract-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-align: left;
}

.contract-label {
  font-family: var(--font-luckiest);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold-accent);
}

.contract-address {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  display: block;
}

.copy-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-accent);
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: var(--font-luckiest);
  font-size: 0.85rem;
  color: var(--border-dark);
  cursor: pointer;
  box-shadow: 0 2px 0 var(--border-dark);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 34px;
}

.hero-quick-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: rgba(77, 0, 7, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 3px solid var(--border-dark);
  border-radius: 14px;
  padding: 12px 22px;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.quick-stat-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-num {
  font-family: var(--font-luckiest);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--gold-accent);
  white-space: nowrap;
}

.stat-name {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 2px;
  height: 28px;
  background: #800010;
  flex-shrink: 0;
}
  width: 100%;
}

.mascot-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.mascot-backdrop-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.4) 0%, rgba(229, 9, 20, 0.25) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 1;
}

.hero-mascot-img {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 4px solid var(--border-dark);
  box-shadow: var(--shadow-3d-lg);
  z-index: 2;
  display: block;
}

.mascot-floating-badge {
  position: absolute;
  z-index: 3;
  background: #4D0008;
  color: var(--gold-accent);
  border: 3px solid var(--border-dark);
  padding: 6px 12px;
  border-radius: 10px;
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  box-shadow: var(--shadow-3d-sm);
  white-space: nowrap;
}

.badge-top-right {
  top: 12px;
  right: -10px;
  transform: rotate(5deg);
}

.badge-bottom-left {
  bottom: 16px;
  left: -10px;
  transform: rotate(-5deg);
}

/* ==========================================================================
   The Bank Scene: Pouring Money Over Madrid
   ========================================================================== */
.section-bankscene {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #960012 0%, #6E000B 100%);
  width: 100%;
}

.bank-scene-frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border: 4px solid var(--border-dark);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-3d-lg);
  background: #180003;
  width: 100%;
}

.bank-scene-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.1);
  transition: transform 0.4s ease;
}

.bank-scene-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px 24px;
  background: linear-gradient(0deg, rgba(20, 0, 4, 0.96) 0%, rgba(20, 0, 4, 0.78) 60%, transparent 100%);
  color: #FFF;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.bank-scene-badge {
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  color: var(--gold-accent);
  letter-spacing: 0.05em;
}

.bank-scene-headline {
  font-family: var(--font-luckiest);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  color: #FFF;
  line-height: 1.15;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.bank-scene-desc {
  font-family: var(--font-mali);
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: #FFE6E6;
  max-width: 760px;
  line-height: 1.5;
}

.bank-scene-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* ==========================================================================
   USDG Passive Rewards Section
   ========================================================================== */
.section-usdg {
  padding: 75px 0 90px;
  background: linear-gradient(180deg, #6E000B 0%, #85000F 100%);
  border-top: 4px solid var(--border-dark);
  border-bottom: 4px solid var(--border-dark);
  width: 100%;
}

.usdg-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.usdg-feature-card {
  background: #3B0006;
  border: 4px solid var(--border-dark);
  border-radius: 20px;
  padding: 28px 20px;
  box-shadow: var(--shadow-3d-lg);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.usdg-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--mint-green);
}

.usdg-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.usdg-feature-card h3 {
  font-family: var(--font-luckiest);
  font-size: 1.35rem;
  color: var(--mint-green);
  margin-bottom: 10px;
}

.usdg-feature-card p {
  font-family: var(--font-mali);
  font-size: 0.95rem;
  color: #FFF0F0;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.usdg-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid var(--mint-green);
  color: var(--mint-green);
  font-family: var(--font-luckiest);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   Story & Lore Section
   ========================================================================== */
.section-story {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #85000F 0%, #7D000E 100%);
  width: 100%;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
}

.story-img-frame {
  position: relative;
  border: 4px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-3d-lg);
  background: var(--bg-dark-choco);
}

.story-mascot-img {
  width: 100%;
  height: auto;
  display: block;
}

.img-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--crispy-red);
  color: #FFF;
  font-family: var(--font-luckiest);
  font-size: 1.1rem;
  padding: 5px 12px;
  border-radius: 8px;
  border: 3px solid var(--border-dark);
  transform: rotate(10deg);
  box-shadow: var(--shadow-3d-sm);
}

.story-paragraph {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 600;
  color: #FFF5F5;
  line-height: 1.6;
  margin-bottom: 18px;
}

.heist-creed-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #50000A;
  border: 3px solid var(--gold-accent);
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 20px;
  box-shadow: var(--shadow-3d-md);
}

.creed-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.creed-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.creed-content strong {
  font-family: var(--font-luckiest);
  color: var(--gold-accent);
  font-size: 0.85rem;
}

.creed-content span {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: #FFFFFF;
}

/* ==========================================================================
   Vision Section
   ========================================================================== */
.section-vision {
  padding: 75px 0 90px;
  background: linear-gradient(180deg, #7D000E 0%, #63000A 100%);
  border-top: 4px solid var(--border-dark);
  border-bottom: 4px solid var(--border-dark);
  width: 100%;
}

.vision-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.vision-card {
  background: #450007;
  border: 4px solid var(--border-dark);
  border-radius: 18px;
  color: var(--text-light);
  box-shadow: var(--shadow-3d-lg);
  box-sizing: border-box;
}

.card-inner-pad {
  padding: 26px 20px;
}

.layer-pill {
  display: inline-block;
  background: var(--gold-accent);
  color: var(--border-dark);
  font-family: var(--font-luckiest);
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  border: 2px solid var(--border-dark);
  margin-bottom: 12px;
}

.card-headline {
  font-family: var(--font-luckiest);
  font-size: 1.45rem;
  margin-bottom: 10px;
  color: #FFF;
}

.card-desc {
  font-family: var(--font-mali);
  font-size: 0.96rem;
  line-height: 1.5;
  color: #FFE6E6;
  margin-bottom: 18px;
  min-height: 80px;
}

.card-highlight {
  background: rgba(255, 209, 102, 0.12);
  border-left: 4px solid var(--gold-accent);
  padding: 6px 10px;
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--gold-accent);
  border-radius: 0 6px 6px 0;
}

.vision-mascot-row {
  display: flex;
  justify-content: center;
}

.vision-mascot-box {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #4D0008;
  border: 4px solid var(--border-dark);
  border-radius: 20px;
  padding: 20px 28px;
  box-shadow: var(--shadow-3d-lg);
  max-width: 760px;
  width: 100%;
  box-sizing: border-box;
}

.suit-mascot-img {
  width: 120px;
  height: 120px;
  border-radius: 14px;
  border: 3px solid var(--border-dark);
  object-fit: cover;
  flex-shrink: 0;
}

.vision-quote-bubble p {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-main);
  margin-bottom: 4px;
}

.vision-quote-bubble span {
  font-family: var(--font-luckiest);
  font-size: 0.9rem;
  color: var(--gold-accent);
}

/* ==========================================================================
   Tokenomics Section & 3D Flipping Board
   ========================================================================== */
.section-tokenomics {
  padding: 80px 0 95px;
  background: linear-gradient(180deg, #63000A 0%, #85000F 100%);
  width: 100%;
}

.token-board-perspective {
  perspective: 1200px;
  max-width: 860px;
  margin: 0 auto 40px;
  width: 100%;
}

.token-board-inner {
  position: relative;
  width: 100%;
  min-height: 440px;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.token-board-inner.is-flipped {
  transform: rotateY(180deg);
}

.token-board-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #250004;
  border: 4px solid var(--border-dark);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: var(--shadow-3d-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.face-back {
  transform: rotateY(180deg);
  background: #1D0003;
}

.board-top-tag {
  font-family: var(--font-luckiest);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: var(--mint-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--mint-green);
}

.token-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 18px 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 209, 102, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat-card .stat-label {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.78rem;
  color: #FFAEA8;
}

.stat-card .stat-value {
  font-family: var(--font-luckiest);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #FFF;
  word-break: break-word;
}

.stat-card .stat-value small {
  font-size: 0.8rem;
  color: var(--gold-accent);
}

.board-flip-cta {
  text-align: center;
}

.btn-flip {
  background: var(--gold-accent);
  border: 2px solid var(--border-dark);
  border-radius: 9px;
  padding: 8px 18px;
  font-family: var(--font-luckiest);
  font-size: 0.9rem;
  color: var(--border-dark);
  cursor: pointer;
  box-shadow: var(--shadow-3d-sm);
  max-width: 100%;
}

.allocation-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.alloc-item {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 209, 102, 0.35);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  box-sizing: border-box;
}

.alloc-pct {
  font-family: var(--font-luckiest);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 3px;
}

.alloc-title {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.85rem;
  color: #FFF;
}

.alloc-sub {
  font-size: 0.72rem;
  color: #FFD2D2;
  margin-top: 2px;
}

.safeguards-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.safeguard-box {
  background: #50000A;
  border: 3px solid var(--border-dark);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-3d-md);
  box-sizing: border-box;
}

.safe-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 6px;
}

.safeguard-box h4 {
  font-family: var(--font-luckiest);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.safeguard-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Roadmap Section
   ========================================================================== */
.section-roadmap {
  padding: 80px 0 95px;
  background: linear-gradient(180deg, #85000F 0%, #6B000C 100%);
  border-top: 4px solid var(--border-dark);
  border-bottom: 4px solid var(--border-dark);
  width: 100%;
}

.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.roadmap-step {
  position: relative;
}

.step-badge {
  display: inline-block;
  background: var(--crispy-red);
  color: #FFF;
  font-family: var(--font-luckiest);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 8px 8px 0 0;
  border: 3px solid var(--border-dark);
  border-bottom: none;
  margin-left: 16px;
}

.step-card {
  background: #4A0007;
  border: 4px solid var(--border-dark);
  border-radius: 18px;
  padding: 24px 20px;
  box-shadow: var(--shadow-3d-lg);
  height: 100%;
  box-sizing: border-box;
}

.step-title {
  font-family: var(--font-luckiest);
  font-size: 1.3rem;
  color: var(--gold-accent);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px dashed rgba(255, 209, 102, 0.3);
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-list li {
  font-family: var(--font-mali);
  font-weight: 600;
  font-size: 0.92rem;
  color: #FFF0F0;
  line-height: 1.4;
}

/* ==========================================================================
   Mini-Game: Money Printer
   ========================================================================== */
.section-game {
  padding: 75px 0 90px;
  background: #1C0003;
  color: #FFF;
  border-top: 4px solid var(--border-dark);
  border-bottom: 4px solid var(--border-dark);
  width: 100%;
}

.game-wrapper {
  background: #2C0005;
  border: 4px solid var(--border-dark);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow-3d-lg);
  max-width: 860px;
  margin: 0 auto;
  box-sizing: border-box;
}

.game-header {
  text-align: center;
  margin-bottom: 24px;
}

.game-header .section-title { color: #FFF; }
.game-header .section-subtitle { color: #FFD2D2; margin-bottom: 0; }

.game-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.kitkat-click-target {
  background: radial-gradient(circle, #8A0010 0%, #3D0006 100%);
  border: 5px solid var(--gold-accent);
  border-radius: 26px;
  width: 190px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 0 var(--border-dark), 0 0 30px rgba(255, 209, 102, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  user-select: none;
}

.kitkat-click-target:hover { transform: scale(1.04); }
.kitkat-click-target:active {
  transform: scale(0.95) translateY(4px);
  box-shadow: 0 3px 0 var(--border-dark), 0 0 45px rgba(255, 209, 102, 0.7);
}

.bar-visual {
  font-size: 4.2rem;
  line-height: 1;
}

.bar-label {
  font-family: var(--font-luckiest);
  font-size: 0.92rem;
  color: var(--gold-accent);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.game-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.game-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 209, 102, 0.35);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  box-sizing: border-box;
}

.stat-title {
  display: block;
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.76rem;
  color: #FFAEA8;
  margin-bottom: 3px;
}

.stat-count {
  font-family: var(--font-luckiest);
  font-size: 1.9rem;
  line-height: 1;
}

.stat-rank {
  font-family: var(--font-luckiest);
  font-size: 1.15rem;
  line-height: 1.2;
}

.stat-next {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: 0.82rem;
  color: #FFD2D2;
}

/* ==========================================================================
   Community Section
   ========================================================================== */
.section-community {
  padding: 80px 0 95px;
  background: linear-gradient(180deg, #8C0010 0%, #520008 100%);
  width: 100%;
}

.community-card {
  background: linear-gradient(135deg, #B8001F 0%, #E50914 45%, #FFA200 100%);
  border: 4px solid var(--border-dark);
  border-radius: 26px;
  padding: 40px 36px;
  box-shadow: var(--shadow-3d-lg);
  box-sizing: border-box;
  width: 100%;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.comm-title {
  font-family: var(--font-luckiest);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: #FFFFFF;
  text-shadow: 0 3px 0 var(--border-dark);
  margin-bottom: 12px;
  line-height: 1.05;
}

.comm-sub {
  font-family: var(--font-mali);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #FFFDF0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 22px;
  max-width: 520px;
}

.comm-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.comm-mascot-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
  border: 4px solid var(--border-dark);
  box-shadow: var(--shadow-3d-md);
  margin-left: auto;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #140002;
  border-top: 4px solid var(--border-dark);
  color: #FFD2D2;
  padding: 50px 0 35px;
  width: 100%;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
  gap: 20px;
}

.footer-brand .logo-text {
  font-family: var(--font-luckiest);
  font-size: 1.6rem;
  color: #FFF;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #FFAEA8;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-luckiest);
  font-size: 0.95rem;
  color: #FFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-disclaimer p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #E09898;
  margin-bottom: 6px;
}

.footer-disclaimer .copyright {
  font-family: var(--font-mali);
  font-weight: 700;
  color: var(--gold-accent);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--border-dark);
  color: var(--gold-accent);
  border: 2px solid var(--gold-accent);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-luckiest);
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 300;
  max-width: 90vw;
  width: max-content;
  text-align: center;
  transition: bottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
  bottom: 20px;
}

/* Confetti & Cash Rain Canvas */
.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 250;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Medium & Small Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .usdg-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .bank-scene-img {
    height: 380px;
  }
  .vision-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
  .card-desc {
    min-height: auto;
  }
  .safeguards-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .roadmap-timeline {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .allocation-items-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Portrait & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .nav-container {
    padding: 10px 16px;
  }
  
  .hero-section {
    padding: 35px 16px 50px;
  }
  
  .hero-quick-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }
  .stat-divider {
    display: none;
  }
  .stat-num {
    font-size: 0.95rem;
  }
  .stat-name {
    font-size: 0.72rem;
  }

  /* Bank Scene on mobile: flex-column to prevent overlay overflow */
  .bank-scene-frame {
    display: flex;
    flex-direction: column;
  }
  .bank-scene-img {
    height: 240px;
  }
  .bank-scene-overlay {
    position: relative;
    background: #1D0003;
    padding: 20px 18px;
  }
  .bank-scene-headline {
    font-size: 1.25rem;
  }
  .bank-scene-desc {
    font-size: 0.9rem;
  }
  .bank-scene-actions {
    flex-direction: column;
    width: 100%;
  }
  .bank-scene-actions .btn-3d {
    width: 100%;
    text-align: center;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .story-image-col {
    max-width: 400px;
    margin: 0 auto;
  }
  .heist-creed-box {
    text-align: left;
  }

  .vision-mascot-box {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px;
  }
  .suit-mascot-img {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  /* Tokenomics Board on mobile */
  .token-board-inner {
    min-height: 480px;
  }
  .token-board-face {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .token-stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0;
  }
  .stat-card {
    padding: 8px 12px;
  }
  .stat-card .stat-value {
    font-size: 1.15rem;
  }
  .allocation-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 12px 0;
  }
  .alloc-item {
    padding: 8px 6px;
  }
  .alloc-pct {
    font-size: 1.3rem;
  }
  .alloc-title {
    font-size: 0.8rem;
  }
  .alloc-sub {
    font-size: 0.7rem;
  }
  .btn-flip {
    width: 100%;
    font-size: 0.84rem;
    padding: 8px 10px;
  }

  /* Mini-Game */
  .game-wrapper {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .game-stats-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .game-share-row {
    width: 100%;
  }
  .game-share-row .btn-3d {
    width: 100%;
    text-align: center;
  }

  /* Community */
  .community-card {
    padding: 28px 18px;
    border-radius: 20px;
  }
  .community-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .comm-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .comm-btn-group {
    justify-content: center;
  }
  .comm-mascot-img {
    margin: 0 auto;
    max-width: 260px;
  }

  /* Footer */
  .footer {
    padding: 35px 0 25px;
  }
  .footer-top {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 12px;
  }
}

/* Medium Phones (<= 540px) */
@media (max-width: 540px) {
  #navBuyBtn {
    display: none;
  }
  .brand-logo {
    font-size: 1.35rem;
  }
  .brand-logo-img {
    width: 34px;
    height: 34px;
  }
  .music-player-btn {
    padding: 5px 10px;
    font-size: 0.74rem;
  }
  .music-label {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-cta {
    width: 100%;
    text-align: center;
  }
  .hero-cta .btn-face {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    white-space: normal;
  }

  .contract-copy-bar {
    padding: 8px 10px;
  }
  .contract-address {
    font-size: 0.78rem;
  }
  .copy-action-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .badge-top-right {
    top: 6px;
    right: 0px;
    font-size: 0.72rem;
    padding: 4px 8px;
  }
  .badge-bottom-left {
    bottom: 6px;
    left: 0px;
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .token-board-inner {
    min-height: 520px;
  }
  .safeguards-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kitkat-click-target {
    width: 160px;
    height: 160px;
    border-radius: 20px;
  }
  .bar-visual {
    font-size: 3.2rem;
  }
  .stat-count {
    font-size: 1.6rem;
  }

  .comm-btn-group {
    flex-direction: column;
    width: 100%;
  }
  .comm-btn-group .btn-3d {
    width: 100%;
    text-align: center;
  }
}

/* Small / Narrow Mobile Devices (<= 380px down to 320px) */
@media (max-width: 380px) {
  .content-container {
    padding: 0 10px;
  }
  .hero-section {
    padding: 25px 10px 40px;
  }
  .brand-logo-img {
    width: 28px;
    height: 28px;
  }
  .brand-logo .logo-text {
    font-size: 1.15rem;
  }
  .hero-headline {
    font-size: 1.85rem;
  }
  .hero-description {
    font-size: 0.92rem;
  }

  .hero-quick-stats {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 6px;
    padding: 8px 10px;
  }

  .token-board-inner {
    min-height: 540px;
  }
  .token-board-face {
    padding: 14px 10px;
  }
  .allocation-items-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .alloc-item {
    padding: 6px;
  }
  .alloc-pct {
    font-size: 1.15rem;
  }
  .alloc-sub {
    display: none;
  }

  .step-badge {
    margin-left: 8px;
    font-size: 0.72rem;
    padding: 4px 8px;
  }
  .step-card {
    padding: 16px 12px;
  }
  .step-title {
    font-size: 1.1rem;
  }

  .kitkat-click-target {
    width: 135px;
    height: 135px;
  }
  .bar-visual {
    font-size: 2.6rem;
  }
  .stat-count {
    font-size: 1.5rem;
  }

  .community-card {
    padding: 20px 12px;
  }
  .comm-title {
    font-size: 1.45rem;
  }
}
