/* ==========================================================================
   SOLANA VICE CITY (solanavicecity.fun) - Narco City High-Fidelity UI
   Inspired by Mikhayloff Artworks • Unbounded Geometric Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@600;700&family=Exo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Mr+Dafoe&family=Orbitron:wght@600;700;800;900&family=Silkscreen:wght@400;700&family=Unbounded:wght@400;500;600;700;800;900&family=Audiowide&display=swap');

/* Authentic 7-Segment Alarm Clock Digital Fonts */
@font-face {
  font-family: 'DSEG7 Classic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/dseg7-classic-bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@fontsource/dseg7-classic@5.3.0/files/dseg7-classic-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'DSEG7 Modern';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/dseg7-modern-bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@fontsource/dseg7-modern@5.3.0/files/dseg7-modern-latin-700-normal.woff2') format('woff2');
}

:root {
  --narco-purple: #6d28d9;
  --narco-darkpurple: #4c1d95;
  --narco-deepbg: #0b001a;
  --narco-surface: #12072e;
  --brand-gradient: linear-gradient(135deg, #ff0055 0%, #7928ca 100%);
  --neon-pink: #ff0055;
  --neon-red: #ff0055;
  --neon-cyan: #00f0ff;
  --neon-lime: #39ff14;
  --neon-lime-alt: #ccff00;
  --neon-gold: #ffd700;
  --neon-diamond: #70e2ff;
  --ice-light: #e0f2fe;
  
  --font-brand: 'Unbounded', sans-serif;
  --font-vice-script: 'Mr Dafoe', 'Pacifico', cursive, sans-serif;
  --font-arcade: 'Silkscreen', 'Chakra Petch', 'Unbounded', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-hud: 'Exo 2', 'Chakra Petch', 'Inter', sans-serif;
  --font-btn: 'Exo 2', 'Chakra Petch', 'Unbounded', sans-serif;
  --font-display: 'Unbounded', monospace, sans-serif;
  --font-clock: 'DSEG7 Classic', 'DSEG7 Modern', 'Orbitron', 'Chakra Petch', 'Courier New', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--narco-deepbg);
  color: #f1f5f9;
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* Custom Neon & Violet Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #070214;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff0055, #6d28d9, #00f0ff);
  border-radius: 6px;
  box-shadow: 0 0 10px #7928ca;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff3377, #8b5cf6, #38bdf8);
}

/* Typography Utility */
.font-brand {
  font-family: var(--font-brand);
  letter-spacing: -0.02em;
}

.font-body {
  font-family: var(--font-body);
}

.font-hud {
  font-family: var(--font-hud);
}

.font-display {
  font-family: var(--font-display);
}

.font-vice-script {
  font-family: var(--font-vice-script);
}

/* ==========================================================================
   ICONIC VICE 1986 CURSIVE BRUSH SCRIPT
   Matches the uploaded reference alphabet: white fill, neon pink/magenta
   border stroke, solid 3D black drop shadow, and signature underline swash.
   ========================================================================== */
.vice-script-text {
  font-family: var(--font-vice-script);
  font-weight: 400;
  font-style: normal;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  -webkit-text-stroke: 3px #ff2a9d;
  paint-order: stroke fill;
  letter-spacing: 0.02em;
  display: inline-block;
  transform: rotate(-3deg);
  filter:
    drop-shadow(3px 4px 0px #000000)
    drop-shadow(5px 6px 0px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 18px rgba(255, 42, 157, 0.8));
  user-select: none;
  line-height: 1.1;
}

/* Compact scale variant for small badges and navbar */
.vice-script-sm {
  -webkit-text-stroke: 1.6px #ff2a9d !important;
  transform: rotate(-2deg);
  filter:
    drop-shadow(2px 2px 0px #000000)
    drop-shadow(0 0 10px rgba(255, 42, 157, 0.75)) !important;
}

/* Signature underline brush stroke matching the original title logo */
.vice-script-underlined {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.vice-script-underlined::after {
  content: '';
  position: absolute;
  left: 2%;
  right: -6%;
  bottom: -4px;
  height: 5px;
  border-radius: 9999px;
  background: #ffffff;
  border: 2px solid #ff2a9d;
  box-shadow:
    3px 4px 0px #000000,
    0 0 14px rgba(255, 42, 157, 0.95);
  pointer-events: none;
}

/* Text Glows */
.neon-pink {
  color: #fff;
  text-shadow: 
    0 0 4px #fff,
    0 0 12px var(--neon-pink),
    0 0 25px var(--neon-pink);
}

.neon-purple {
  color: #fff;
  text-shadow: 
    0 0 4px #fff,
    0 0 12px var(--narco-purple),
    0 0 30px #7928ca;
}

.neon-cyan {
  color: #fff;
  text-shadow: 
    0 0 4px #fff,
    0 0 12px var(--neon-cyan),
    0 0 25px var(--neon-cyan);
}

/* 80s / Narco Chrome Text Gradient */
.chrome-text {
  background: linear-gradient(180deg, #ffffff 0%, #e9d5ff 30%, #6b21a8 50%, #ffffff 52%, #ff0055 80%, #70002b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(121, 40, 202, 0.5));
}

/* Glassmorphism Cards inspired by Narco City UI */
.narco-card {
  background: rgba(18, 8, 38, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(139, 92, 246, 0.22);
  box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.65), inset 0 0 15px rgba(121, 40, 202, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.narco-card:hover {
  border-color: rgba(255, 0, 85, 0.5);
  box-shadow: 0 16px 45px 0 rgba(109, 40, 217, 0.3), inset 0 0 20px rgba(255, 0, 85, 0.12);
  transform: translateY(-4px);
}

/* Model Pills (matching Image 1 & 2) */
.badge-lime {
  background: var(--neon-lime);
  color: #000;
  font-family: var(--font-brand);
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  font-family: var(--font-hud);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Color Swatch Card from Image 1 */
.swatch-box {
  border-radius: 18px;
  padding: 16px;
  background: #110729;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.swatch-gradient-bar {
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff0055 0%, #7928ca 100%);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.swatch-purple-bar {
  height: 50px;
  border-radius: 12px;
  background: #6d28d9;
}

/* Loot Crates Cards */
.loot-gold-card {
  background: linear-gradient(145deg, rgba(38, 24, 8, 0.9) 0%, rgba(18, 8, 38, 0.95) 100%);
  border: 2px solid rgba(255, 215, 0, 0.55);
  box-shadow: 0 12px 40px rgba(255, 215, 0, 0.2), inset 0 0 25px rgba(255, 215, 0, 0.1);
}

.loot-diamond-card {
  background: linear-gradient(145deg, rgba(8, 28, 48, 0.9) 0%, rgba(18, 8, 38, 0.95) 100%);
  border: 2px solid rgba(0, 240, 255, 0.55);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.25), inset 0 0 25px rgba(0, 240, 255, 0.12);
}

/* Connected Status Badge (strictly Connected, no quantity box) */
.wallet-connected-pill {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.38) 100%) !important;
  border: 1.5px solid #10b981 !important;
  color: #6ee7b7 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4), inset 0 0 10px rgba(16, 185, 129, 0.2) !important;
}

/* Role Selector Tabs */
.role-tab-btn {
  transition: all 0.25s ease;
  font-family: var(--font-brand);
  letter-spacing: -0.01em;
  border-radius: 14px;
}

.role-tab-btn.active {
  background: linear-gradient(135deg, #ff0055 0%, #7928ca 100%);
  color: #fff;
  box-shadow: 0 8px 30px rgba(255, 0, 85, 0.4);
}

/* Perspective Grid */
.synthwave-stage {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #070212 0%, #17072e 40%, #2f0957 70%, #ff00552b 100%);
}

.synthwave-grid {
  position: absolute;
  bottom: 0;
  left: -50%;
  right: -50%;
  height: 55%;
  background-image: 
    linear-gradient(rgba(109, 40, 217, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 85, 0.35) 1px, transparent 1px);
  background-size: 60px 45px;
  transform: perspective(350px) rotateX(68deg);
  transform-origin: bottom center;
  animation: grid-slide 12s linear infinite;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, transparent 100%);
  pointer-events: none;
}

@keyframes grid-slide {
  0% { background-position: 0 0; }
  100% { background-position: 0 450px; }
}

/* Retro Sun */
.retro-sun {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffe600 0%, #ff0055 60%, #7928ca 100%);
  box-shadow: 0 0 60px rgba(255, 0, 85, 0.8), 0 0 120px rgba(121, 40, 202, 0.5);
  position: relative;
  overflow: hidden;
}

.retro-sun::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 6px,
    #0d041c 6px,
    #0d041c 10px
  );
}

/* Action Buttons */
.btn-narco-brand {
  background: linear-gradient(135deg, #ff0055 0%, #7928ca 100%);
  color: #fff;
  border: none;
  font-family: var(--font-brand);
  font-weight: 700;
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.5), 0 0 45px rgba(121, 40, 202, 0.35);
  transition: all 0.25s ease;
}

.btn-narco-brand:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 0, 85, 0.8), 0 0 65px rgba(121, 40, 202, 0.55);
}

.btn-neon-cyan {
  background: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
  color: #030a16;
  font-family: var(--font-brand);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
  transition: all 0.25s ease;
}

.btn-neon-cyan:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.9);
}

/* Countdown Card (Overridden by metallic flip-card HUD rules below) */

/* Marquee */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #10b981;
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
    box-shadow: 0 0 20px #10b981;
  }
}

.pulse-indicator {
  animation: pulse-glow 2s infinite ease-in-out;
}

/* Radio Equalizer */
.radio-eq-bar {
  width: 3px;
  background: #ff0055;
  border-radius: 2px;
  transition: height 0.15s ease;
  box-shadow: 0 0 6px #ff0055;
}

/* Toast */
#toast-notification {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#toast-notification.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#toast-notification.hide {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
}

/* ===== Hero decorative art (matches reference mockup) ===== */
.art-blend {
  position: absolute;
  z-index: 15;
  pointer-events: none;
  mix-blend-mode: screen;
  user-select: none;
}
.art-palms-l { left: -6%; bottom: 0; width: 34%; opacity: .85; }
.art-palms-r { right: -6%; bottom: 0; width: 34%; opacity: .85; transform: scaleX(-1); }
.art-char-woman { left: 1%; top: 6%; width: 24%; max-width: 380px; filter: drop-shadow(0 0 25px rgba(255,0,127,.35)); }
.art-char-floral { left: 12%; bottom: 3%; width: 22%; max-width: 340px; filter: drop-shadow(0 0 25px rgba(0,240,255,.25)); }
.art-char-suit { right: 1%; bottom: 2%; width: 24%; max-width: 380px; filter: drop-shadow(0 0 25px rgba(0,240,255,.3)); }
.art-car-1 { left: -3%; bottom: -2%; width: 30%; max-width: 480px; }
.art-car-2 { right: 3%; top: 16%; width: 28%; max-width: 440px; }
.art-bullets { right: 22%; top: 8%; width: 14%; max-width: 220px; }
@media (max-width: 1023px) {
  .art-car-1 { width: 55%; left: -10%; opacity: .6; }
  .art-palms-l, .art-palms-r { width: 50%; opacity: .5; }
  .art-bullets { width: 24%; }
}
/* Story tiles */
.story-tile { border-radius: 14px; overflow: hidden; border: 1px solid rgba(139,92,246,.35); box-shadow: 0 0 20px rgba(121,40,202,.25); }
.story-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story-tile:hover img { transform: scale(1.07); }


/* Retro 80s display face for the hero logotype (Latin only) */
h1 .chrome-text, h1 .neon-pink { font-family: 'Audiowide', 'Unbounded', sans-serif; letter-spacing: .02em; }
.font-hud { letter-spacing: .02em; }

/* Section art helpers */
.sec-art { position: absolute; pointer-events: none; mix-blend-mode: screen; user-select: none; z-index: 0; }
.sec-rel > *:not(.sec-art) { position: relative; z-index: 1; }
.sec-rel { overflow: hidden; }

/* ===== Mockup-matched hero: framed characters, logo, metal countdown ===== */
.hero-logo { width: min(100%, 560px); height: auto; margin: 0 auto 4px; filter: drop-shadow(0 0 30px rgba(255,0,127,.35)); }
.char-frame { position: absolute; z-index: 15; border: 1.5px solid; background: #05010d; overflow: hidden; box-shadow: 0 0 22px rgba(0,240,255,.35), inset 0 0 18px rgba(255,0,127,.2); }
.char-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cf-woman { left: 1.5%; top: 9%; width: 17%; max-width: 270px; aspect-ratio: 3/4; border-color: #ff2d9a; box-shadow: 0 0 22px rgba(255,45,154,.5); }
.cf-floral { left: 12%; bottom: 3%; width: 16%; max-width: 250px; aspect-ratio: 3/4; border-color: #00f0ff; }
.cf-suit { right: 1.5%; bottom: 3%; width: 17%; max-width: 270px; aspect-ratio: 3/4; border-color: #00f0ff; }
.art-car-2 { right: 3%; top: 8%; width: 24%; }
.art-car-1 { left: -2%; bottom: -1%; width: 20%; }
.art-palms-l, .art-palms-r { width: 28%; }

.stat-chip { background: rgba(8,4,24,.75); border: 1px solid rgba(0,240,255,.25); border-radius: 12px; padding: 8px 6px; }
.btn-tg { background: rgba(0,60,80,.55); border: 1.5px solid #00f0ff; color: #e0faff; box-shadow: 0 0 18px rgba(0,240,255,.3); transition: all .25s; }
.btn-tg:hover { background: rgba(0,240,255,.2); transform: translateY(-2px); }

/* ==========================================================================
   RETRO-DIGITAL ALARM CLOCK (DESPERTADOR DIGITAL) COUNTDOWN HUD
   ========================================================================== */

/* Alarm Clock Casing & Outer Shell */
.alarm-clock-chassis.cd-panel,
.cd-panel {
  position: relative;
  padding: 16px 14px 18px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 0, 128, 0.16), transparent 60%),
    radial-gradient(ellipse at 85% 100%, rgba(0, 240, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #1c132f 0%, #110920 40%, #080312 100%);
  border: 2px solid #4a336e;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 18px 45px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(121, 40, 202, 0.35),
    0 0 60px rgba(0, 240, 255, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}

.cd-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #00f0ff;
  filter: drop-shadow(0 0 6px #00f0ff);
  pointer-events: none;
  z-index: 5;
}
.cd-corner.tl { top: -2px; left: -2px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.cd-corner.tr { top: -2px; right: -2px; border-left: 0; border-bottom: 0; border-top-right-radius: 12px; border-color: #ff2d9a; filter: drop-shadow(0 0 6px #ff2d9a); }
.cd-corner.bl { bottom: -2px; left: -2px; border-right: 0; border-top: 0; border-bottom-left-radius: 12px; border-color: #ff2d9a; filter: drop-shadow(0 0 6px #ff2d9a); }
.cd-corner.br { bottom: -2px; right: -2px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }

/* Top Snooze & Status Bar */
.alarm-top-bar {
  background: linear-gradient(180deg, #0e0719 0%, #06020c 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.6);
}
.alarm-status-led {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981, 0 0 14px #34d399;
  animation: alarmLedPulse 1.5s ease-in-out infinite alternate;
}
@keyframes alarmLedPulse {
  from { opacity: 0.6; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1.15); box-shadow: 0 0 10px #10b981, 0 0 18px #34d399; }
}
.alarm-snooze-badge {
  letter-spacing: 0.18em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.alarm-speaker-vents {
  display: inline-flex;
  gap: 2.5px;
  align-items: center;
}
.alarm-speaker-vents i {
  display: block;
  width: 2px;
  height: 9px;
  background: #543f75;
  border-radius: 1px;
}

/* Alarm Clock Recessed Screen Glass */
.alarm-screen {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(35, 14, 60, 0.75) 0%, transparent 70%),
    linear-gradient(180deg, #070312 0%, #030108 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.35);
  border-radius: 14px;
  box-shadow:
    inset 0 4px 18px rgba(0, 0, 0, 0.95),
    inset 0 0 35px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(0, 240, 255, 0.15);
  overflow: hidden;
  transition: box-shadow 0.35s ease, background 0.35s ease;
}
/* Authentic CRT / VFD scanlines */
.alarm-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.28) 0px,
    rgba(0, 0, 0, 0.28) 1.5px,
    transparent 1.5px,
    transparent 3.5px
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}
/* Glass reflection glare sweep */
.alarm-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 40%,
    transparent 41%
  );
  pointer-events: none;
  z-index: 2;
}

/* Backlight illumination pulse (triggered by Snooze/Light button) */
.alarm-screen.backlight-flash {
  box-shadow:
    inset 0 0 60px rgba(0, 240, 255, 0.45),
    inset 0 4px 18px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 240, 255, 0.5) !important;
  background:
    radial-gradient(ellipse at 50% 25%, rgba(0, 240, 255, 0.25) 0%, transparent 70%),
    linear-gradient(180deg, #100824 0%, #060212 100%) !important;
}

.alarm-clock-icon {
  filter: drop-shadow(0 0 8px rgba(255, 45, 154, 0.7));
}

/* Digital Readout Row (Cards + Blinking Colons) */
.alarm-clock-digits-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2px;
  width: 100%;
}
@media (min-width: 640px) {
  .alarm-clock-digits-row {
    gap: 8px;
  }
}

/* Digit Cards (Sleek Alarm Clock Housing) */
.countdown-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: transform 0.2s ease;
}
.countdown-card:hover {
  transform: translateY(-2px);
}
/* Flip card line overrides */
.countdown-card::before,
.countdown-card::after {
  display: none !important;
}

/* Recessed LED Digit Bezel */
.alarm-digit-bezel {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 2px 6px;
  background: #04010a;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.95),
    inset 0 0 8px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.countdown-card:hover .alarm-digit-bezel {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.95),
    0 0 15px rgba(0, 240, 255, 0.25);
}
.countdown-card.card-seconds .alarm-digit-bezel {
  border-color: rgba(255, 45, 154, 0.25);
}
.countdown-card.card-seconds:hover .alarm-digit-bezel {
  border-color: rgba(255, 45, 154, 0.7);
  box-shadow:
    inset 0 3px 10px rgba(0, 0, 0, 0.95),
    0 0 18px rgba(255, 0, 128, 0.3);
}
@media (min-width: 640px) {
  .alarm-digit-bezel {
    padding: 10px 4px 8px;
    border-radius: 10px;
  }
}

/* Dim Ghost Background Segments (88) */
.alarm-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-clock);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: rgba(0, 240, 255, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.countdown-card.card-seconds .alarm-ghost {
  color: rgba(255, 0, 128, 0.09);
}

/* Active Glowing LED Digital Alarm Numerals */
.countdown-number {
  position: relative;
  z-index: 2;
  font-family: var(--font-clock);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0.02em;
  text-shadow:
    0 0 3px #ffffff,
    0 0 8px #00f0ff,
    0 0 16px #00f0ff,
    0 0 28px rgba(0, 240, 255, 0.85),
    0 0 42px rgba(0, 240, 255, 0.4);
  filter: none;
}
.countdown-card.card-seconds .countdown-number {
  text-shadow:
    0 0 3px #ffffff,
    0 0 8px #ff2d9a,
    0 0 16px #ff007f,
    0 0 28px rgba(255, 45, 154, 0.9),
    0 0 42px rgba(255, 0, 85, 0.45);
}

/* Blinking Digital Colon Separators (:) */
.alarm-colon {
  flex: 0 0 auto;
  position: relative;
  align-self: flex-start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 1px 6px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
@media (min-width: 640px) {
  .alarm-colon {
    padding: 10px 2px 8px;
  }
}
.alarm-colon .colon-ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-clock);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1;
  color: rgba(255, 45, 154, 0.12);
}
.alarm-colon .colon-char {
  position: relative;
  z-index: 2;
  font-family: var(--font-clock);
  font-weight: 700;
  font-size: clamp(1.75rem, 5.5vw, 3.5rem);
  line-height: 1;
  color: #ff2d9a;
  text-shadow:
    0 0 4px #fff,
    0 0 10px #ff2d9a,
    0 0 18px #ff007f,
    0 0 28px rgba(255, 0, 128, 0.6);
  animation: alarmColonBlink 1s steps(1, start) infinite;
}
/* Backward compatibility for colon-dot if needed */
.colon-dot {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff2d9a;
  box-shadow:
    0 0 6px #ff2d9a,
    0 0 12px #ff007f,
    0 0 18px rgba(255, 0, 128, 0.6);
  animation: alarmColonBlink 1s steps(1, start) infinite;
}
@media (min-width: 640px) {
  .colon-dot {
    width: 7px;
    height: 7px;
  }
}
@keyframes alarmColonBlink {
  0%, 49.9% {
    opacity: 1;
    filter: drop-shadow(0 0 6px #ff2d9a);
  }
  50%, 100% {
    opacity: 0.15;
    filter: none;
  }
}

/* Digit Labels */
.cd-label {
  font-family: var(--font-hud);
  font-weight: 800;
  font-size: clamp(0.55rem, 1.6vw, 0.78rem);
  letter-spacing: 0.16em;
  margin-top: 8px;
  text-shadow: 0 0 8px currentColor;
  position: relative;
  z-index: 3;
  text-align: center;
}

.cd-note {
  padding: 7px 14px;
  border: 1.5px solid rgba(16, 185, 129, 0.75);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.25);
  display: inline-block;
}

/* Large, crisp HD Top-Left Logo without destructive radial masks */
.top-left-logo {
  mix-blend-mode: screen;
  filter: contrast(1.15) brightness(1.08) drop-shadow(0 0 14px rgba(255, 0, 127, 0.75)) drop-shadow(0 0 5px rgba(0, 240, 255, 0.6));
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.header-brand:hover .top-left-logo {
  transform: scale(1.08);
  filter: contrast(1.22) brightness(1.15) drop-shadow(0 0 20px rgba(255, 0, 127, 0.95)) drop-shadow(0 0 10px rgba(0, 240, 255, 0.8));
}

#coin-launch img[src*="logo-main"] {
  mix-blend-mode: screen;
  filter: contrast(1.22) brightness(1.06) drop-shadow(0 0 20px rgba(255, 0, 127, 0.5));
  -webkit-mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, #000 84%, transparent 100%);
  mask-image: radial-gradient(ellipse 96% 92% at 50% 50%, #000 84%, transparent 100%);
}

/* ==========================================================================
   EXACT IMAGE 2 SYNTHWAVE SPLIT-HORIZON CHROME GRADIENT ("SOLANA")
   - Top Half: Light Lilac/Lavender -> Deep Royal Violet / Indigo
   - Horizon: Sharp horizontal reflection divide with pure white specular line
   - Bottom Half: Vibrant Bubblegum Pink -> Saturated Neon Hot-Magenta
   - Font: Audiowide (rounded geometric synthwave caps)
   ========================================================================== */
.solana-chrome-img2 {
  font-family: 'Audiowide', cursive, sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    #f8f4ff 0%,
    #ddc8ff 16%,
    #9333ea 35%,
    #4c1d95 47%,
    #2a084e 49.2%,
    #ffffff 49.5%,
    #ffffff 51.5%,
    #f472b6 52.5%,
    #ff0080 75%,
    #dc0058 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  filter: drop-shadow(0 2px 2px #090014) drop-shadow(0 0 10px rgba(255, 0, 127, 0.6)) drop-shadow(0 0 20px rgba(147, 51, 234, 0.45));
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 1;
}

/* ==========================================================================
   SYNTHWAVE DOUBLE-NEON-TUBE ARCADE BUTTON AESTHETIC (REFERENCE IMAGE MATCH)
   - Outer Neon Tube: Electric Cyan (top/right) + Hot Magenta/Violet (bottom/left)
   - Recessed Dark Channel + Concentric Inner Neon Frame
   - Specular Cyan/Magenta Hotspots + Bottom-Right Diagonal Laser Streaks
   - Glowing Duotone Icons + Crisp Blocky Arcade White Typography
   ========================================================================== */

.btn-narco-brand,
.btn-neon-cyan,
.btn-tg,
.copy-ca-btn,
#btn-copy-ref-link,
.role-tab-btn,
.btn-arcade-neon,
header nav a,
.nav-pill {
  position: relative;
  isolation: isolate;
  border-radius: 13px !important;
  border: 2px solid transparent !important;
  background-image:
    /* Top-right cyan tube hotspot flare */
    radial-gradient(ellipse 30% 18% at 68% 0%, rgba(255, 255, 255, 0.92) 0%, rgba(0, 240, 255, 0.75) 35%, transparent 100%),
    /* Bottom-left magenta tube hotspot flare */
    radial-gradient(ellipse 32% 18% at 32% 100%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 0, 127, 0.85) 38%, transparent 100%),
    /* Bottom-right diagonal synthwave laser streak (matching reference image) */
    linear-gradient(125deg, transparent 62%, rgba(255, 0, 127, 0.48) 67%, rgba(255, 255, 255, 0.72) 69.5%, rgba(168, 85, 247, 0.5) 72%, transparent 77%),
    /* Bottom-right horizontal cyan-magenta laser beam */
    radial-gradient(ellipse 30% 9% at 84% 78%, rgba(0, 240, 255, 0.55) 0%, rgba(255, 0, 127, 0.45) 55%, transparent 100%),
    /* Left icon nebula aura */
    radial-gradient(circle at 20% 42%, rgba(0, 240, 255, 0.22) 0%, rgba(121, 40, 202, 0.2) 48%, transparent 75%),
    /* Deep cosmic violet glass fill */
    linear-gradient(180deg, #270956 0%, #150433 54%, #2b0752 100%),
    /* Outer Neon Tube Border (Cyan top/right -> Magenta/Purple bottom/left) */
    linear-gradient(155deg, #00f0ff 0%, #38bdf8 34%, #9333ea 52%, #ff007f 78%, #ff0055 100%) !important;
  background-origin: padding-box, padding-box, padding-box, padding-box, padding-box, padding-box, border-box !important;
  background-clip: padding-box, padding-box, padding-box, padding-box, padding-box, padding-box, border-box !important;
  color: #ffffff !important;
  font-family: var(--font-btn) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  text-shadow:
    0 2px 4px #070114,
    0 0 8px rgba(255, 255, 255, 0.5),
    0 0 18px rgba(0, 240, 255, 0.35) !important;
  box-shadow:
    0 -3px 14px rgba(0, 240, 255, 0.42),
    0 5px 18px rgba(255, 0, 127, 0.52),
    0 0 26px rgba(121, 40, 202, 0.42),
    inset 0 0 0 2.5px #080116,
    inset 0 0 16px rgba(139, 92, 246, 0.35) !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, filter 0.22s ease !important;
}

/* Concentric Inner Neon Tube Ring (matches double-border frame in reference image) */
.btn-narco-brand::before,
.btn-neon-cyan::before,
.btn-tg::before,
.copy-ca-btn::before,
#btn-copy-ref-link::before,
.role-tab-btn::before,
.btn-arcade-neon::before,
header nav a::before,
.nav-pill::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 9px;
  padding: 1.5px;
  background: linear-gradient(
    160deg,
    rgba(0, 240, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.95) 22%,
    rgba(168, 85, 247, 0.85) 50%,
    rgba(255, 0, 127, 0.95) 78%,
    rgba(255, 255, 255, 0.9) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
  transition: opacity 0.22s ease, filter 0.22s ease;
}

/* Keep child icons & text crisp above the inner frame */
.btn-narco-brand > *,
.btn-neon-cyan > *,
.btn-tg > *,
.copy-ca-btn > *,
#btn-copy-ref-link > *,
.role-tab-btn > *,
.btn-arcade-neon > *,
header nav a > *,
.nav-pill > * {
  position: relative;
  z-index: 2;
}

/* Glowing Cyan/Magenta Icons inside Arcade Buttons */
.btn-narco-brand svg,
.btn-narco-brand i,
.btn-neon-cyan svg,
.btn-neon-cyan i,
.btn-tg svg,
.btn-tg i,
.copy-ca-btn svg,
.copy-ca-btn i,
#btn-copy-ref-link svg,
#btn-copy-ref-link i,
.role-tab-btn svg,
.role-tab-btn i,
.btn-arcade-neon svg,
.btn-arcade-neon i,
header nav a svg,
header nav a i,
.nav-pill svg,
.nav-pill i {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.85)) drop-shadow(0 0 12px rgba(255, 0, 127, 0.45));
  transition: transform 0.22s ease, color 0.22s ease, filter 0.22s ease;
}

/* Interactive Hover State for Double-Neon-Tube Buttons */
.btn-narco-brand:hover,
.btn-neon-cyan:hover,
.btn-tg:hover,
.copy-ca-btn:hover,
#btn-copy-ref-link:hover,
.role-tab-btn:hover,
.btn-arcade-neon:hover,
header nav a:hover,
.nav-pill:hover {
  transform: translateY(-2px) scale(1.025);
  filter: brightness(1.12);
  box-shadow:
    0 -5px 22px rgba(0, 240, 255, 0.78),
    0 7px 26px rgba(255, 0, 127, 0.82),
    0 0 38px rgba(147, 51, 234, 0.68),
    inset 0 0 0 2.5px #080116,
    inset 0 0 24px rgba(0, 240, 255, 0.35) !important;
}

.btn-narco-brand:hover svg,
.btn-narco-brand:hover i,
.btn-neon-cyan:hover svg,
.btn-neon-cyan:hover i,
.btn-tg:hover svg,
.btn-tg:hover i,
.copy-ca-btn:hover svg,
.copy-ca-btn:hover i,
#btn-copy-ref-link:hover svg,
#btn-copy-ref-link:hover i,
header nav a:hover svg,
header nav a:hover i,
.nav-pill:hover svg,
.nav-pill:hover i {
  transform: scale(1.14) rotate(-4deg);
  color: #70e2ff !important;
  filter: drop-shadow(0 0 9px rgba(0, 240, 255, 1)) drop-shadow(0 0 16px rgba(255, 0, 127, 0.8));
}

.btn-narco-brand:active,
.btn-neon-cyan:active,
.btn-tg:active,
.copy-ca-btn:active,
#btn-copy-ref-link:active,
.role-tab-btn:active,
.btn-arcade-neon:active,
header nav a:active,
.nav-pill:active {
  transform: translateY(1px) scale(0.985);
}

/* Active Role Selector Tab State */
.role-tab-btn:not(.active) {
  opacity: 0.78;
}
.role-tab-btn.active {
  opacity: 1;
  box-shadow:
    0 -5px 22px rgba(0, 240, 255, 0.85),
    0 6px 26px rgba(255, 0, 127, 0.9),
    0 0 40px rgba(147, 51, 234, 0.75),
    inset 0 0 0 2.5px #080116,
    inset 0 0 24px rgba(255, 0, 127, 0.4) !important;
}

/* Connected Wallet State in Double-Neon-Tube Aesthetic (Emerald + Cyan Neon) */
.wallet-connected-pill {
  position: relative;
  isolation: isolate;
  border-radius: 11px !important;
  border: 2px solid transparent !important;
  background-image:
    radial-gradient(ellipse 34% 20% at 68% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(16, 185, 129, 0.8) 40%, transparent 100%),
    radial-gradient(ellipse 34% 20% at 32% 100%, rgba(255, 255, 255, 0.9) 0%, rgba(0, 240, 255, 0.8) 40%, transparent 100%),
    linear-gradient(180deg, #0b3128 0%, #071923 55%, #0d2b36 100%),
    linear-gradient(155deg, #00f0ff 0%, #10b981 50%, #39ff14 100%) !important;
  background-origin: padding-box, padding-box, padding-box, border-box !important;
  background-clip: padding-box, padding-box, padding-box, border-box !important;
  color: #a7f3d0 !important;
  font-family: var(--font-brand) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow:
    0 -3px 14px rgba(0, 240, 255, 0.45),
    0 4px 18px rgba(16, 185, 129, 0.55),
    inset 0 0 0 2px #041014,
    inset 0 0 14px rgba(16, 185, 129, 0.3) !important;
}

/* Header nav pills & top buttons — uniform height, single-line framing, zero overflow */
.header-container {
  width: 100%;
  max-width: 100%;
}

header nav {
  display: flex;
  align-items: center;
  gap: 2px !important;
  flex-wrap: nowrap;
}

header nav a,
.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  height: 35px;
  padding: 0 4.5px;
  border-radius: 9px !important;
  font-family: var(--font-btn) !important;
  font-weight: 800 !important;
  font-size: 9.5px !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1;
}

header nav a::before,
.nav-pill::before {
  inset: 2px;
  border-radius: 7px;
  padding: 1.2px;
}

@media (min-width: 1280px) and (max-width: 1439px) {
  header nav a i,
  .nav-pill i {
    display: none !important;
  }
  header nav a,
  .nav-pill {
    height: 34px !important;
    padding: 0 4px !important;
    font-size: 9px !important;
    gap: 0 !important;
  }
  header nav {
    gap: 2px !important;
  }
  header .connect-wallet-trigger {
    height: 34px !important;
    font-size: 9.5px !important;
    padding: 0 7px !important;
  }
  header #radio-toggle-btn,
  header #lang-select {
    height: 34px !important;
  }
  header #radio-tuner-btn {
    height: 34px !important;
    width: 24px !important;
  }
}

@media (min-width: 1440px) {
  header nav {
    gap: 3.5px !important;
  }
  header nav a,
  .nav-pill {
    height: 38px;
    padding: 0 7px;
    font-size: 10.5px !important;
  }
}

@media (min-width: 1536px) {
  header nav {
    gap: 3px !important;
  }
  header nav a,
  .nav-pill {
    height: 37px;
    padding: 0 6.5px;
    font-size: 10px !important;
  }
}

@media (min-width: 1680px) {
  header nav {
    gap: 4px !important;
  }
  header nav a,
  .nav-pill {
    height: 38px;
    padding: 0 8px;
    font-size: 10.5px !important;
  }
}

@media (min-width: 1920px) {
  header nav {
    gap: 5px !important;
  }
  header nav a,
  .nav-pill {
    height: 42px;
    padding: 0 11px;
    font-size: 11.5px !important;
  }
}

header #radio-toggle-btn,
header #lang-select,
header .connect-wallet-trigger {
  height: 35px;
  border-radius: 9px !important;
  white-space: nowrap !important;
  flex-shrink: 0;
  line-height: 1;
}

header #radio-tuner-btn {
  height: 35px;
  width: 25px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

header #radio-tuner-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

@media (min-width: 1440px) {
  header #radio-toggle-btn,
  header #lang-select,
  header .connect-wallet-trigger {
    height: 38px;
  }
  header #radio-tuner-btn {
    height: 38px;
    width: 28px;
  }
}

@media (min-width: 1680px) {
  header #radio-toggle-btn,
  header #lang-select,
  header .connect-wallet-trigger {
    height: 40px;
  }
  header #radio-tuner-btn {
    height: 40px;
    width: 32px;
  }
}

.radio-title-wide,
.brand-sub-wide {
  display: none !important;
}

@media (min-width: 1760px) {
  .radio-title-wide {
    display: inline-block !important;
  }
  .brand-sub-wide {
    display: block !important;
  }
}

#radio-status-text {
  max-width: 50px;
}

@media (min-width: 1366px) {
  #radio-status-text {
    max-width: 65px;
  }
}

@media (min-width: 1440px) {
  #radio-status-text {
    max-width: 80px;
  }
}

@media (min-width: 1680px) {
  #radio-status-text {
    max-width: 95px;
  }
}

header .connect-wallet-trigger {
  font-family: var(--font-btn) !important;
  font-weight: 800 !important;
  font-size: 9.5px !important;
  letter-spacing: 0.02em !important;
  padding: 0 7.5px !important;
}

@media (min-width: 1366px) {
  header .connect-wallet-trigger {
    font-size: 10px !important;
    padding: 0 9px !important;
  }
}

@media (min-width: 1440px) {
  header .connect-wallet-trigger {
    font-size: 10.5px !important;
    padding: 0 10.5px !important;
  }
}

@media (min-width: 1536px) {
  header .connect-wallet-trigger {
    font-size: 11px !important;
    padding: 0 11px !important;
  }
}

@media (min-width: 1680px) {
  header .connect-wallet-trigger {
    font-size: 11.5px !important;
    padding: 0 13px !important;
  }
}

header #lang-select {
  border: 2px solid transparent !important;
  background-image:
    linear-gradient(180deg, #250852 0%, #13042c 100%),
    linear-gradient(155deg, #00f0ff 0%, #9333ea 50%, #ff007f 100%) !important;
  background-origin: padding-box, border-box !important;
  background-clip: padding-box, border-box !important;
  font-family: var(--font-btn);
  font-weight: 700;
  font-size: 10.5px;
  padding-left: 8px;
  padding-right: 20px;
  box-shadow: 0 -2px 10px rgba(0, 240, 255, 0.35), 0 3px 12px rgba(255, 0, 127, 0.4), inset 0 0 0 2px #080116;
}

@media (min-width: 1536px) {
  header #lang-select {
    font-size: 11px;
    padding-left: 9px;
    padding-right: 22px;
  }
}

/* Vintage Retro Arcade Elements (Mini Boombox LED, Tuner Freq & Vintage Digits) */
.font-arcade,
.station-preset-btn,
#radio-deck-freq,
.retro-arcade-badge {
  font-family: var(--font-arcade);
  font-weight: 400 !important;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   CUTE & INTERACTIVE RETRO SYNTHWAVE RADIO BUTTON & MINI BOOMBOX DECK
   ========================================================================== */

#radio-toggle-btn {
  position: relative;
  isolation: isolate;
  border: 2px solid transparent !important;
  border-radius: 11px !important;
  background-image:
    radial-gradient(ellipse 35% 22% at 65% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(0, 240, 255, 0.8) 40%, transparent 100%),
    radial-gradient(ellipse 35% 22% at 35% 100%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 0, 127, 0.85) 40%, transparent 100%),
    linear-gradient(125deg, transparent 60%, rgba(255, 0, 127, 0.45) 66%, rgba(255, 255, 255, 0.7) 68%, rgba(0, 240, 255, 0.5) 71%, transparent 76%),
    linear-gradient(180deg, #2b095c 0%, #140330 55%, #2f085a 100%),
    linear-gradient(155deg, #00f0ff 0%, #38bdf8 32%, #a855f7 52%, #ff007f 80%, #ff0055 100%) !important;
  background-origin: padding-box, padding-box, padding-box, padding-box, border-box !important;
  background-clip: padding-box, padding-box, padding-box, padding-box, border-box !important;
  box-shadow:
    0 -3px 14px rgba(0, 240, 255, 0.48),
    0 5px 18px rgba(255, 0, 127, 0.58),
    0 0 26px rgba(139, 92, 246, 0.45),
    inset 0 0 0 2px #080116,
    inset 0 0 14px rgba(255, 0, 127, 0.28) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}

#radio-toggle-btn::before {
  content: '';
  position: absolute;
  inset: 2.5px;
  border-radius: 8px;
  padding: 1.2px;
  background: linear-gradient(160deg, rgba(0, 240, 255, 0.95), rgba(255, 255, 255, 0.85), rgba(255, 0, 127, 0.95));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

#radio-toggle-btn > * {
  position: relative;
  z-index: 2;
}

#radio-toggle-btn:hover {
  transform: translateY(-2px) scale(1.035);
  box-shadow:
    0 -5px 22px rgba(0, 240, 255, 0.85),
    0 7px 26px rgba(255, 0, 127, 0.9),
    0 0 38px rgba(168, 85, 247, 0.75),
    inset 0 0 0 2px #080116,
    inset 0 0 20px rgba(0, 240, 255, 0.4) !important;
}

#radio-toggle-btn.radio-is-playing {
  animation: radio-neon-breathe 2.4s infinite ease-in-out;
}

@keyframes radio-neon-breathe {
  0%, 100% {
    box-shadow:
      0 -4px 18px rgba(0, 240, 255, 0.75),
      0 6px 24px rgba(255, 0, 127, 0.85),
      0 0 34px rgba(57, 255, 20, 0.35),
      inset 0 0 0 2px #080116,
      inset 0 0 18px rgba(255, 0, 127, 0.45);
  }
  50% {
    box-shadow:
      0 -6px 26px rgba(0, 240, 255, 0.98),
      0 8px 30px rgba(255, 0, 127, 1),
      0 0 46px rgba(168, 85, 247, 0.85),
      inset 0 0 0 2px #080116,
      inset 0 0 26px rgba(0, 240, 255, 0.55);
  }
}

/* Cute Mini Vinyl / Boombox Icon Badge inside #radio-toggle-btn */
.radio-disc-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff007f 0%, #3b0764 55%, #090117 100%);
  border: 1.5px solid #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.7), inset 0 0 6px rgba(255, 0, 127, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

#radio-toggle-btn:hover .radio-disc-badge {
  transform: rotate(25deg) scale(1.1);
}

#radio-toggle-btn.radio-is-playing .radio-disc-badge {
  animation: spin-reel 3.2s linear infinite;
  border-color: #39ff14;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.85), 0 0 18px rgba(0, 240, 255, 0.7);
}

/* Multi-color Neon Equalizer Bars */
.radio-eq-bar,
.deck-eq-bar {
  width: 3px;
  border-radius: 999px;
  transition: height 0.14s ease, transform 0.2s ease;
}

.radio-eq-bar:nth-child(4n+1),
.deck-eq-bar:nth-child(4n+1) {
  background: linear-gradient(180deg, #ffffff 0%, #00f0ff 100%);
  box-shadow: 0 0 8px #00f0ff;
}
.radio-eq-bar:nth-child(4n+2),
.deck-eq-bar:nth-child(4n+2) {
  background: linear-gradient(180deg, #ffffff 0%, #ff007f 100%);
  box-shadow: 0 0 8px #ff007f;
}
.radio-eq-bar:nth-child(4n+3),
.deck-eq-bar:nth-child(4n+3) {
  background: linear-gradient(180deg, #ffffff 0%, #39ff14 100%);
  box-shadow: 0 0 8px #39ff14;
}
.radio-eq-bar:nth-child(4n+4),
.deck-eq-bar:nth-child(4n+4) {
  background: linear-gradient(180deg, #ffffff 0%, #ffd700 100%);
  box-shadow: 0 0 8px #ffd700;
}

/* Playful wave on hover even when paused */
#radio-toggle-btn:hover .radio-eq-bar:nth-child(1) { height: 11px !important; }
#radio-toggle-btn:hover .radio-eq-bar:nth-child(2) { height: 14px !important; }
#radio-toggle-btn:hover .radio-eq-bar:nth-child(3) { height: 8px !important; }
#radio-toggle-btn:hover .radio-eq-bar:nth-child(4) { height: 13px !important; }

/* Tuner Toggle Button next to Radio Button */
#radio-tuner-btn {
  height: 36px;
  width: 32px;
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  background-image:
    linear-gradient(180deg, #270956 0%, #150433 100%),
    linear-gradient(155deg, #00f0ff 0%, #a855f7 50%, #ff007f 100%) !important;
  background-origin: padding-box, border-box !important;
  background-clip: padding-box, border-box !important;
  box-shadow: 0 -2px 10px rgba(0, 240, 255, 0.38), 0 3px 12px rgba(255, 0, 127, 0.45), inset 0 0 0 2px #080116;
  transition: all 0.2s ease;
}

#radio-tuner-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 -4px 16px rgba(0, 240, 255, 0.75), 0 5px 18px rgba(255, 0, 127, 0.8);
}

/* Interactive Mini Boombox Deck Popover */
.radio-deck-card {
  border-radius: 18px;
  border: 2px solid transparent;
  background-image:
    radial-gradient(ellipse 40% 15% at 65% 0%, rgba(255, 255, 255, 0.85) 0%, rgba(0, 240, 255, 0.65) 45%, transparent 100%),
    radial-gradient(ellipse 40% 15% at 35% 100%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 0, 127, 0.75) 45%, transparent 100%),
    linear-gradient(180deg, rgba(28, 7, 62, 0.97) 0%, rgba(12, 3, 29, 0.98) 100%),
    linear-gradient(155deg, #00f0ff 0%, #9333ea 50%, #ff007f 100%);
  background-origin: padding-box, padding-box, padding-box, border-box;
  background-clip: padding-box, padding-box, padding-box, border-box;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.85),
    0 -4px 20px rgba(0, 240, 255, 0.45),
    0 8px 30px rgba(255, 0, 127, 0.55),
    inset 0 0 0 2.5px #070114;
  backdrop-filter: blur(20px);
}

/* Animated Cassette Tape Window & Spinning Reels */
.cassette-window {
  background: linear-gradient(180deg, #090218 0%, #160534 50%, #090218 100%);
  border: 1.5px solid rgba(0, 240, 255, 0.45);
  box-shadow: inset 0 0 18px rgba(255, 0, 127, 0.3), 0 0 12px rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.cassette-reel {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px dashed #00f0ff;
  background: radial-gradient(circle, #ff007f 0%, #1e0542 48%, #070114 70%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cassette-reel::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #00f0ff;
}

.cassette-reel.spinning {
  animation: spin-reel 2.4s linear infinite;
  border-color: #39ff14;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.75);
}

@keyframes spin-reel {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.station-preset-btn {
  border-radius: 9px;
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  background: rgba(15, 4, 36, 0.85);
  color: #cbd5e1;
  font-family: var(--font-arcade);
  font-weight: 400;
  font-size: 10px;
  transition: all 0.2s ease;
}

.station-preset-btn:hover {
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.45);
}

.station-preset-btn.active {
  border-color: #00f0ff;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.38) 0%, rgba(0, 240, 255, 0.28) 100%);
  color: #ffffff;
  box-shadow: 0 -2px 10px rgba(0, 240, 255, 0.55), 0 3px 12px rgba(255, 0, 127, 0.55);
}

/* Custom Neon Range Slider for Radio Volume */
.radio-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00f0ff 0%, #a855f7 50%, #ff007f 100%);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
  outline: none;
}

.radio-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #00f0ff;
  box-shadow: 0 0 10px #00f0ff, 0 0 16px #ff007f;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.radio-vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Removed squishing overrides that forced 8.2px/7.6px font-size and 32px height */


@media (max-width: 639px) {
  header #radio-toggle-btn,
  header #lang-select,
  header #radio-tuner-btn,
  header #mobile-menu-btn {
    height: 32px !important;
  }
  header #radio-tuner-btn {
    width: 28px !important;
  }
}

@media (max-width: 1023px) {
  .cd-panel { padding: 16px 10px 14px; }
  .art-car-1 { opacity: .5; }
}

/* ==========================================================================
   $VICE TOKEN SHOWCASE FRAME (IMAGE 3) & CAREER ROULETTE STYLES
   ========================================================================== */
.token-showcase-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(26, 8, 58, 0.94) 0%, rgba(12, 3, 28, 0.98) 100%);
  border: 2px solid transparent;
  background-image:
    linear-gradient(180deg, rgba(26, 8, 58, 0.94) 0%, rgba(12, 3, 28, 0.98) 100%),
    linear-gradient(155deg, #00f0ff 0%, #a855f7 50%, #ff007f 100%);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 -5px 30px rgba(0, 240, 255, 0.4),
    0 10px 40px rgba(255, 0, 127, 0.5),
    inset 0 0 25px rgba(147, 51, 234, 0.35);
  backdrop-filter: blur(14px);
}

.token-neon-halo {
  background: radial-gradient(circle, rgba(0, 240, 255, 0.35) 0%, rgba(255, 0, 127, 0.25) 55%, transparent 75%);
  animation: token-halo-pulse 3s infinite ease-in-out;
}

@keyframes token-halo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; filter: brightness(1.2); }
}

.token-neon-ring {
  border: 3px solid transparent;
  background-image: linear-gradient(#0c031e, #0c031e), linear-gradient(135deg, #00f0ff, #a855f7, #ff007f);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.65), inset 0 0 16px rgba(255, 0, 127, 0.55);
}

/* Career Roulette Wheel Styles */
.roulette-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.roulette-wheel-wrapper {
  position: relative;
  background: radial-gradient(circle, #2b0959 0%, #150233 70%, #0a011a 100%);
  border-radius: 9999px;
  box-shadow:
    0 -8px 35px rgba(0, 240, 255, 0.6),
    0 12px 45px rgba(255, 0, 127, 0.7),
    inset 0 0 25px rgba(121, 40, 202, 0.6);
}

.roulette-outer-bezel {
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 3px solid transparent;
  background-image: linear-gradient(#0a011a, #0a011a), linear-gradient(135deg, #00f0ff, #ffd700, #ff007f, #39ff14);
  background-origin: padding-box, border-box;
  background-clip: padding-box, border-box;
  pointer-events: none;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

/* Marquee Chasing LED Bulbs */
.roulette-marquee-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 15;
}

.marquee-bulb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: #39ff14;
  box-shadow: 0 0 6px #39ff14, 0 0 10px #39ff14;
  transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-148px);
  transition: opacity 0.2s;
  animation: marqueePulse 2.4s ease-in-out infinite;
  animation-delay: calc(var(--b-idx) * 0.09s);
}

@media (min-width: 640px) {
  .marquee-bulb {
    width: 9px;
    height: 9px;
    margin: -4.5px;
    transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-182px);
  }
}

@media (min-width: 768px) {
  .marquee-bulb {
    width: 10px;
    height: 10px;
    margin: -5px;
    transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-198px);
  }
}

/* Bulb Neon Palette */
.marquee-bulb:nth-child(4n+1) {
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff, 0 0 14px #00f0ff;
}
.marquee-bulb:nth-child(4n+2) {
  background: #ff007f;
  box-shadow: 0 0 8px #ff007f, 0 0 14px #ff007f;
}
.marquee-bulb:nth-child(4n+3) {
  background: #ffd700;
  box-shadow: 0 0 8px #ffd700, 0 0 14px #ffd700;
}
.marquee-bulb:nth-child(4n) {
  background: #a855f7;
  box-shadow: 0 0 8px #a855f7, 0 0 14px #a855f7;
}

@keyframes marqueePulse {
  0%, 100% { opacity: 0.35; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-148px) scale(0.85); }
  50% { opacity: 1; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-148px) scale(1.2); }
}

@media (min-width: 640px) {
  @keyframes marqueePulse {
    0%, 100% { opacity: 0.35; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-182px) scale(0.85); }
    50% { opacity: 1; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-182px) scale(1.2); }
  }
}

@media (min-width: 768px) {
  @keyframes marqueePulse {
    0%, 100% { opacity: 0.35; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-198px) scale(0.85); }
    50% { opacity: 1; transform: rotate(calc(var(--b-idx) * 15deg)) translateY(-198px) scale(1.2); }
  }
}

/* Fast Chase Sequence when spinning */
.roulette-spinning .marquee-bulb {
  animation: marqueeChase 0.35s linear infinite !important;
  animation-delay: calc(var(--b-idx) * 0.015s) !important;
}

@keyframes marqueeChase {
  0% { opacity: 0.2; }
  50% { opacity: 1; filter: brightness(1.6); }
  100% { opacity: 0.2; }
}

/* Mechanical Pointer Needle & Spring Physics */
.roulette-pointer {
  transform-origin: 50% 12%;
  transition: transform 0.07s cubic-bezier(0.15, 0.9, 0.25, 1.3);
  will-change: transform;
}

.roulette-pointer.pointer-tick {
  transform: rotate(14deg) scale(1.06);
}

/* Wheel Canvas/SVG */
.roulette-wheel {
  transition: transform 3.8s cubic-bezier(0.12, 0.9, 0.22, 1);
  will-change: transform;
}

/* Center Hub Button */
.roulette-center-hub {
  width: 88px;
  height: 88px;
  background: radial-gradient(circle, #3d0768 0%, #170335 60%, #080014 100%);
  border: 3px solid #ffd700;
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.8),
    0 0 40px rgba(255, 0, 127, 0.55),
    inset 0 0 16px rgba(0, 240, 255, 0.5);
  cursor: pointer;
  z-index: 30;
}

@media (min-width: 640px) {
  .roulette-center-hub {
    width: 108px;
    height: 108px;
  }
}

.roulette-center-hub:hover {
  box-shadow:
    0 0 35px rgba(255, 215, 0, 1),
    0 0 50px rgba(255, 0, 127, 0.7),
    inset 0 0 22px rgba(0, 240, 255, 0.7);
}

.roulette-center-hub:active {
  transform: scale(0.92);
  box-shadow:
    0 0 15px rgba(255, 215, 0, 0.9),
    0 0 25px rgba(255, 0, 127, 0.6),
    inset 0 0 26px rgba(0, 240, 255, 0.9);
}

/* Career Roles Preview Strip */
.roulette-roles-strip {
  user-select: none;
}

.roulette-role-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(10, 2, 25, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.roulette-role-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.roulette-role-pill .pill-name {
  font-family: var(--font-vice-script);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #ffffff;
  -webkit-text-stroke: 1.1px #ff2a9d;
  text-shadow: 2px 2px 0 #000, 0 0 10px rgba(255, 42, 157, 0.65);
}

.role-pill-cop:hover, .role-pill-cop.winner-active {
  border-color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
  background: rgba(0, 240, 255, 0.14);
}

.role-pill-pizza:hover, .role-pill-pizza.winner-active {
  border-color: #ff7a00;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.7);
  background: rgba(255, 122, 0, 0.14);
}

.role-pill-dealer:hover, .role-pill-dealer.winner-active {
  border-color: #ff007f;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.7);
  background: rgba(255, 0, 127, 0.14);
}

.role-pill-trash:hover, .role-pill-trash.winner-active {
  border-color: #39ff14;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.7);
  background: rgba(57, 255, 20, 0.14);
}

.role-pill-biz:hover, .role-pill-biz.winner-active {
  border-color: #ffd700;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
  background: rgba(255, 215, 0, 0.14);
}

.role-pill-dishes:hover, .role-pill-dishes.winner-active {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.7);
  background: rgba(56, 189, 248, 0.14);
}

.role-pill-gangster:hover, .role-pill-gangster.winner-active {
  border-color: #c084fc;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.7);
  background: rgba(192, 132, 252, 0.14);
}

.role-pill-pickpocket:hover, .role-pill-pickpocket.winner-active {
  border-color: #f43f5e;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.7);
  background: rgba(244, 63, 94, 0.14);
}

.roulette-role-pill.winner-active {
  animation: pulseWinner 1.5s ease-in-out infinite;
}

@media (max-width: 640px) {
  .roulette-roles-strip {
    gap: 0.35rem;
  }
  .roulette-role-pill {
    padding: 0.35rem 0.75rem;
    gap: 0.35rem;
  }
  .roulette-role-pill .pill-name {
    font-size: 1rem;
  }
}

/* SVG Wheel Sector Text in Vice Script */
.roulette-sector-text {
  font-family: var(--font-vice-script);
  font-weight: 400;
  fill: #ffffff;
  paint-order: stroke fill;
  stroke: #ff2a9d;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 8px rgba(255, 42, 157, 0.6));
  letter-spacing: 0.04em;
  user-select: none;
}

/* Winning Career Result Title in Clean Vice Script */
#roulette-result-title {
  -webkit-text-stroke: 1.5px #ff2a9d;
  text-shadow: 2px 2px 0 #000, 0 0 15px rgba(255, 42, 157, 0.7);
  text-transform: none !important;
  letter-spacing: 0.03em;
  transform: rotate(-1.5deg);
}

@keyframes pulseWinner {
  0%, 100% { transform: scale(1.05); }
  50% { transform: scale(1.1); }
}

/* Live Syndicate Intel Box */
#roulette-intel-box {
  background: linear-gradient(135deg, rgba(8, 2, 28, 0.85) 0%, rgba(26, 4, 54, 0.85) 100%);
  border-left: 3px solid #00f0ff;
  position: relative;
  overflow: hidden;
}

#roulette-intel-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.6), transparent);
}

/* Neon Icon Styles */
.vice-neon-icon {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 6px currentColor);
}
