/* ==========================================================================
   WILLBE // THE MUSIC OF WILLIAM LAMY // RETRO VIDEOGAME & ARCADE PORTAL
   Aesthetics: Bold Videogame Colors, Pixel Patterns, 100% Borderless
   Typography:
     - IBM VGA 8x16 (Web437_IBM_VGA_8x16.woff) -> Headings (H1, H2, H3, etc.)
     - Tseng EVA 132 6x14 (Web437_TsengEVA_132_6x14.woff) -> All other UI & Body text
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=VT323&display=swap');

/* Primary Big Headings (H1, H2, H3, Giant Brand) */
@font-face {
  font-family: 'IBMVGA';
  src: url('../Web437_IBM_VGA_8x16.woff') format('woff'),
       url('Web437_IBM_VGA_8x16.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Everywhere Else (All Body text, Nav, Player, Tracklist, Buttons, Badges, Footer) */
@font-face {
  font-family: 'TsengEVA';
  src: url('../Web437_TsengEVA_132_6x14.woff') format('woff'),
       url('Web437_TsengEVA_132_6x14.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Bold Retro Videogame Color Palette */
  --c-cyan:       #00f0ff; /* Electric Arcade Cyan */
  --c-cyan-dim:   rgba(0, 240, 255, 0.18);
  --c-pink:       #ff007f; /* Neo-Geo / Capcom Hot Pink */
  --c-pink-dim:   rgba(255, 0, 127, 0.2);
  --c-yellow:     #ffe600; /* High-Score / Insert Coin Yellow */
  --c-yellow-dim: rgba(255, 230, 0, 0.2);
  --c-green:      #00ff66; /* 1-UP Emerald Green */
  --c-green-dim:  rgba(0, 255, 102, 0.2);
  --c-purple:     #a855f7; /* Tracker Purple */

  /* Pure Contrasting Texts */
  --text-pure:    #ffffff;
  --text-main:    #e2e8f0;
  --text-muted:   #94a3b8;
  --text-dark:    #475569;

  /* Distinct Arcade Stage Backgrounds (Bold Colored Blocks) */
  --stage-01-bg: #0e032d;
  --stage-02-bg: #252f54;
  --stage-03-bg: #63438e;
  --stage-04-bg: #246082;
  --stage-05-bg: #349b7b;
  --stage-06-bg: #c4a881;
  --footer-bg:    #030208;

  /* Arcade Box / Card Backgrounds */
  --card-ost:          #101a38;
  --card-ost-hover:    #182650;
  --card-demo:         #200e38;
  --card-demo-hover:   #2b144c;
  --card-release:      #121d2b;
  --card-release-hover:#1c2d42;
  --card-social:       #0b2022;
  --card-social-hover: #123034;
  --card-coffee:       #2b1c06;

  /* Font System:
     - Headings (H1, H2, H3) -> 'IBMVGA' (Web437_IBM_VGA_8x16.woff)
     - Everywhere else       -> 'TsengEVA' (Web437_TsengEVA_132_6x14.woff)
  */
  --font-heading: 'IBMVGA', monospace;
  --font-body:    'TsengEVA', monospace;

  /* Spacing */
  --pad-x: 4vw;
}

/* Reset & Global Borderless Framework */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 !important;
  outline: none;
}

html {
  font-size: 28px;
  background-color: var(--stage-01-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  background-color: var(--stage-01-bg);
  font-family: var(--font-body);
  position: relative;
  line-height: 28px;
  letter-spacing: 0.02em;
  font-size: 28px;
}

p, span, div, a, button, input, label, li {
  font-family: var(--font-body);
  font-size: 28px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 32px;
}

/* CRT Arcade Scanline & Phosphor Mesh */
.crt-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: 
    linear-gradient(rgba(18, 16, 26, 0) 50%, rgba(0, 0, 0, 0.28) 50%),
    repeating-linear-gradient(90deg, rgba(255,0,0,0.015), rgba(0,255,0,0.01) 1px, rgba(0,0,255,0.015) 2px);
  background-size: 100% 4px, 3px 100%;
  opacity: 0.75;
}

/* Full Width Fluid Container */
.full-container {
  width: 100%;
  padding: 0 var(--pad-x);
}

/* ==========================================================================
   ARCADE HEADER (BORDERLESS)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #080318;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 8px 0;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-text-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-name-pixel {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: normal;
  color: var(--c-yellow);
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0px #000, 0 0 10px rgba(255, 230, 0, 0.6);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-static-prefix {
  color: var(--text-pure);
}

.brand-typed-text {
  color: var(--c-yellow);
  margin-left: 0.35em;
}

.brand-cursor {
  display: inline-block;
  color: var(--c-cyan);
  margin-left: 3px;
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 0 8px var(--c-cyan);
  animation: cursorBlink 0.75s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.brand-text-logo:hover .brand-typed-text {
  color: #fff;
  text-shadow: 2px 2px 0px #000, 0 0 16px var(--c-cyan);
}

/* ==========================================================================
   ULTRA-COMPACT INLINE HEADER PLAYER (RIGHT ALIGNED)
   ========================================================================== */

.header-player-compact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0e0524;
  padding: 4px 12px;
  box-shadow: 2px 2px 0px #000;
  height: 38px;
  flex: 0 1 auto;
  margin-left: auto;
}

.hp-transport-btns {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.hp-btn {
  width: 26px;
  height: 26px;
  background: #1c0c3e;
  color: var(--text-pure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 1px 1px 0px #000;
  transition: all 0.15s ease;
  border: none;
  padding: 0;
}

.hp-btn:hover {
  background: var(--c-cyan);
  color: #000;
  box-shadow: 1px 1px 0px #000, 0 0 8px var(--c-cyan);
}

.hp-btn-play {
  width: 28px;
  height: 28px;
  background: var(--c-yellow);
  color: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 1px 1px 0px #000, 0 0 10px rgba(255, 230, 0, 0.6);
  transition: all 0.15s ease;
  border: none;
  padding: 0;
}

.hp-btn-play:hover {
  background: #fff;
  box-shadow: 2px 2px 0px #000, 0 0 12px #fff;
  transform: scale(1.05);
}

.hp-btn-play svg {
  width: 14px;
  height: 14px;
}

.hp-track-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 460px;
  min-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 6px;
}

.hp-track-idx {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  flex-shrink: 0;
  line-height: 1;
}

.hp-track-title {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-pure);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
}

.hp-timeline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hp-time {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  line-height: 1;
  min-width: 32px;
}

.hp-time.curr {
  text-align: right;
  color: var(--c-yellow);
}

.hp-scrub-lane {
  width: 75px;
  height: 6px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #060212;
  box-shadow: inset 1px 1px 0px #000;
  position: relative;
}

.hp-scrub-lane .scrub-bar-bg {
  position: relative;
  width: 100%;
  height: 100%;
}

.hp-scrub-lane .scrub-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--c-pink);
  box-shadow: 0 0 6px var(--c-pink);
}

.hp-scrub-lane .scrub-bar-block {
  display: none;
}

.hp-btn-tracklist {
  font-family: var(--font-body);
  font-size: 28px;
  background: #1c0c3e;
  color: var(--c-yellow);
  padding: 4px 10px;
  cursor: pointer;
  box-shadow: 1px 1px 0px #000;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  transition: all 0.15s ease;
}

.hp-btn-tracklist:hover,
.hp-btn-tracklist.active {
  background: var(--c-cyan);
  color: #000;
  box-shadow: 1px 1px 0px #000, 0 0 10px var(--c-cyan);
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 6px 0;
  }
  .header-player-compact {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .hp-track-label-wrap {
    max-width: 180px;
    min-width: 120px;
  }
}

/* ==========================================================================
   01. HERO PROCEDURAL 3D VISUALIZER WITH 3 MODES
   ========================================================================== */

.hero-visualizer-section {
  position: relative;
  width: 100vw;
  height: calc(100vh - 60px);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  background-color: var(--stage-01-bg);
  overflow: hidden;
}

.canvas-viewport {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visualizer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

/* Giant Center Audio-Reactive Logo */
.hero-center-logo-wrap {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82vw;
  max-width: 760px;
}

.hero-giant-logo {
  width: 100%;
  height: auto;
  opacity: 0.96;
  transform-origin: center center;
  will-change: transform, filter;
  transform: translateZ(0);
  transition: filter 0.05s linear;
}

/* ==========================================================================
   INTERMITTENT DEMOSCENE LOGO FX SUITE
   ========================================================================== */

/* 1. Matrice ASCII */
.hero-giant-logo.fx-ascii-matrix {
  filter: drop-shadow(0 0 16px #00ff66) hue-rotate(85deg) contrast(220%) brightness(1.25);
  mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 5px, transparent 5px, transparent 9px),
              repeating-linear-gradient(90deg, #fff 0px, #fff 4px, transparent 4px, transparent 7px);
  -webkit-mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 5px, transparent 5px, transparent 9px),
                      repeating-linear-gradient(90deg, #fff 0px, #fff 4px, transparent 4px, transparent 7px);
}

/* 2. Mosaïque Pixel Low-Res */
.hero-giant-logo.fx-pixel-mosaic {
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: contrast(240%) drop-shadow(5px 5px 0px #00f0ff) drop-shadow(-5px -5px 0px #ff007f);
  mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 4px, transparent 4px, transparent 6px),
              repeating-linear-gradient(90deg, #fff 0px, #fff 4px, transparent 4px, transparent 6px);
  -webkit-mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 4px, transparent 4px, transparent 6px),
                      repeating-linear-gradient(90deg, #fff 0px, #fff 4px, transparent 4px, transparent 6px);
}

/* 3. Contour Sans Aliasing 6px */
.hero-giant-logo.fx-crisp-outline-6px {
  filter: drop-shadow(6px 0px 0px #00f0ff)
          drop-shadow(-6px 0px 0px #ff007f)
          drop-shadow(0px 6px 0px #ffe600)
          drop-shadow(0px -6px 0px #00ff66)
          drop-shadow(6px 6px 0px #00f0ff)
          drop-shadow(-6px -6px 0px #ff007f)
          drop-shadow(6px -6px 0px #ffe600)
          drop-shadow(-6px 6px 0px #00ff66);
}

/* 4. Scan Lines Gros Pixels */
.hero-giant-logo.fx-chunky-scanlines {
  filter: drop-shadow(-6px 0px 0px #ff007f) drop-shadow(6px 0px 0px #00f0ff) contrast(200%);
  mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 4px, transparent 4px, transparent 8px);
  -webkit-mask-image: repeating-linear-gradient(0deg, #fff 0px, #fff 4px, transparent 4px, transparent 8px);
}

/* 5. Matrice Dots 4px */
.hero-giant-logo.fx-dot-matrix-4px {
  filter: drop-shadow(0 0 20px #00f0ff) drop-shadow(4px 4px 0px #ffe600);
  mask-image: radial-gradient(circle at center, #fff 1.8px, transparent 2px);
  mask-size: 5px 5px;
  -webkit-mask-image: radial-gradient(circle at center, #fff 1.8px, transparent 2px);
  -webkit-mask-size: 5px 5px;
}

/* ==========================================================================
   MODERN ANIMATED COSMIC NEBULA BACKDROP (GPU-COMPOSITED ZERO-CPU)
   ========================================================================== */
.cosmic-nebula-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 50%, #0d0424 0%, #050110 70%, #020008 100%);
}

.nebula-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(65px);
  opacity: 0.85;
  will-change: transform;
  pointer-events: none;
}

.nebula-1 {
  width: 60vw;
  height: 60vw;
  top: -20%;
  left: -15%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.85) 0%, rgba(107, 33, 168, 0.45) 45%, transparent 70%);
  animation: nebulaFloat1 26s ease-in-out infinite alternate;
}

.nebula-2 {
  width: 55vw;
  height: 55vw;
  bottom: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.8) 0%, rgba(14, 116, 144, 0.4) 45%, transparent 70%);
  animation: nebulaFloat2 30s ease-in-out infinite alternate;
}

.nebula-3 {
  width: 50vw;
  height: 50vw;
  top: 15%;
  right: 10%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.75) 0%, rgba(190, 24, 93, 0.35) 45%, transparent 70%);
  animation: nebulaFloat3 22s ease-in-out infinite alternate;
}

.nebula-4 {
  width: 48vw;
  height: 48vw;
  bottom: 5%;
  left: 15%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.6) 0%, rgba(180, 83, 9, 0.3) 45%, transparent 70%);
  animation: nebulaFloat4 34s ease-in-out infinite alternate;
}

@keyframes nebulaFloat1 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(12vw, 8vh, 0) scale(1.18) rotate(20deg); }
  100% { transform: translate3d(-6vw, 14vh, 0) scale(0.94) rotate(-15deg); }
}

@keyframes nebulaFloat2 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-10vw, -12vh, 0) scale(1.22) rotate(-25deg); }
  100% { transform: translate3d(8vw, -6vh, 0) scale(0.9) rotate(15deg); }
}

@keyframes nebulaFloat3 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(-14vw, 10vh, 0) scale(0.85) rotate(30deg); }
  100% { transform: translate3d(6vw, -12vh, 0) scale(1.12) rotate(-20deg); }
}

@keyframes nebulaFloat4 {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(8vw, -10vh, 0) scale(1.18) rotate(-15deg); }
  100% { transform: translate3d(-12vw, 8vh, 0) scale(0.88) rotate(25deg); }
}

/* ==========================================================================
   RETRO ARCADE TRACKLIST DRAWER (ATTACHED TO HEADER)
   ========================================================================== */

.arcade-tracklist-drawer {
  position: absolute;
  top: calc(100% + 4px);
  right: var(--pad-x);
  left: auto;
  transform: none;
  width: 480px;
  max-width: 95vw;
  max-height: 440px;
  background: #0d0620;
  z-index: 120;
  display: none;
  flex-direction: column;
  box-shadow: 6px 6px 0px #000, 0 0 35px rgba(0, 0, 0, 0.9);
}

.arcade-tracklist-drawer.open {
  display: flex;
}

@media (max-width: 768px) {
  .arcade-tracklist-drawer {
    right: 50%;
    transform: translateX(50%);
  }
}

.tracklist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1a0c3b;
}

.t-head-title {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-head-dot {
  width: 10px;
  height: 10px;
  background: var(--c-yellow);
  box-shadow: 0 0 6px var(--c-yellow);
}

.t-close-btn {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--text-pure);
  background: none;
  cursor: pointer;
  padding: 0 6px;
}

.t-close-btn:hover {
  color: var(--c-pink);
}

.tracklist-body {
  overflow-y: auto;
  padding: 8px 0;
}

.tracklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tracklist-row:hover {
  background: rgba(0, 240, 255, 0.18);
}

.tracklist-row.active {
  background: var(--c-cyan);
  color: #000;
}

.tracklist-row.active .t-name,
.tracklist-row.active .t-num {
  color: #000;
  font-weight: bold;
}

.tracklist-row.active .t-tag {
  background: #000;
  color: var(--c-yellow);
}

.t-left {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.t-num {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
}

.t-name {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-tag {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 4px 10px;
  color: var(--text-pure);
  background: #25124f;
}

/* ==========================================================================
   DYNAMIC VIDEOGAME SECTION STYLES & PIXEL PATTERNS (BORDERLESS)
   ========================================================================= */

.full-strip {
  width: 100vw;
  padding: 88px 0;
  position: relative;
}

/* Stage 02: Game OST Showcase (Cobalt Blue Arcade Pattern) */
#ost {
  background-color: var(--stage-02-bg);
}

/* Stage 03: Demovibes Showcase (Demoscene Neon Violet Dither) */
#demovibes {
  background-color: var(--stage-03-bg);
}

/* Stage 04: Releases & Streaming (Cyber Matrix Navy Grid) */
#releases {
  background-color: var(--stage-04-bg);
}

/* Stage 05: Official Channels (Cyberpunk Emerald Matrix) */
#connect {
  background-color: var(--stage-05-bg);
}

/* Stage 06: Patronage / Insert Coin (Arcade Amber Bevel) */
#support {
  background-color: var(--stage-06-bg);
}

/* Section Header Badges (Borderless) */
.section-tag-pixel {
  font-family: var(--font-body);
  font-size: 28px;
  color: #000;
  background: var(--c-yellow);
  letter-spacing: 0.08em;
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 14px;
  box-shadow: 3px 3px 0px #000;
}

.section-head-pixel {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0px #000, 0 0 12px rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.section-subtext {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  max-width: 840px;
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

/* ==========================================================================
   STAGE 02: FEATURED VIDEO GAME SOUNDTRACKS (WITH COVER ART)
   ========================================================================== */

.ost-showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  margin-bottom: 24px;
}

.ost-feature-card {
  width: 100%;
  background: var(--card-ost);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 6px 6px 0px #000;
  transition: all 0.15s ease;
  position: relative;
}

@media (min-width: 768px) {
  .ost-feature-card {
    flex-direction: row;
    align-items: stretch;
    gap: 36px;
    padding: 36px;
  }
}

.ost-feature-card:hover {
  background: var(--card-ost-hover);
  box-shadow: 6px 6px 0px #000, 0 0 20px rgba(0, 240, 255, 0.3);
}

.ost-feature-card:last-child:hover {
  box-shadow: 6px 6px 0px #000, 0 0 20px rgba(255, 0, 127, 0.3);
}

.ost-cover-wrap {
  width: 100%;
  max-width: 260px;
  height: 260px;
  flex-shrink: 0;
  box-shadow: 4px 4px 0px #000;
  overflow: hidden;
  background: #080d1e;
  aspect-ratio: 1/1;
}

@media (max-width: 767px) {
  .ost-cover-wrap {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}

.ost-cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ost-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ost-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ost-pill {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 4px 12px;
  letter-spacing: 0.06em;
  box-shadow: 2px 2px 0px #000;
}

.ost-pill-cyan {
  color: #000;
  background: var(--c-cyan);
}

.ost-pill-pink {
  color: #000;
  background: var(--c-pink);
}

.ost-pill-year {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  background: #080d1e;
  padding: 4px 10px;
}

.ost-card-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0px #000;
  margin-bottom: 4px;
}

.ost-meta-author {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.ost-card-desc {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.ost-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-ost-yt {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 12px 22px;
  background: var(--text-pure);
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  text-decoration: none;
  box-shadow: 3px 3px 0px #000;
  transition: all 0.15s ease;
}

.btn-ost-yt:hover {
  background: var(--c-cyan);
  box-shadow: 4px 4px 0px #000, 0 0 14px var(--c-cyan);
}

.btn-ost-hub-play {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 12px 20px;
  background: #080d1e;
  color: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 0px #000;
  transition: all 0.15s ease;
}

.btn-ost-hub-play:hover {
  background: var(--c-yellow);
  color: #000;
  box-shadow: 4px 4px 0px #000, 0 0 14px var(--c-yellow);
}

/* ==========================================================================
   STAGE 02B & 02C: RETROARCHIVES & CONCEPT ALBUMS
   ========================================================================== */

#tracking-memories {
  background-color: #070c1e;
}

#time-machine {
  background-color: #0b0820;
}

#waxxelerated {
  background-color: #060e22;
}

#demoscene-worxx {
  background-color: #0c0822;
}

#livedown {
  background-color: #081120;
}

#right-place-right-time {
  background-color: #080f1e;
}

#tunes-about-emergency {
  background-color: #0d061c;
}

.tracking-memories-card {
  width: 100%;
  background: var(--card-ost);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 860px) {
  .tracking-memories-card {
    flex-direction: row;
    align-items: stretch;
    gap: 36px;
    padding: 36px;
  }
}

.video-embed-wrap {
  width: 100%;
  flex: 1.15;
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  box-shadow: 4px 4px 0px #000;
  background: #000;
  overflow: hidden;
}

.video-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0 !important;
}

.tracking-content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.tracking-card-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0px #000;
  margin-bottom: 4px;
}

.tracking-card-desc {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  line-height: 28px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

/* ==========================================================================
   STAGE 03: DEMOVIBES (WITH COVER ART)
   ========================================================================== */

.demovibes-arcade-banner {
  background: var(--card-demo);
  padding: 40px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .demovibes-arcade-banner {
    grid-template-columns: 220px 1fr 200px;
  }
}

.demo-cover-col {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1/1;
  box-shadow: 5px 5px 0px #000;
  overflow: hidden;
}

@media (max-width: 899px) {
  .demo-cover-col {
    max-width: 200px;
    margin: 0 auto;
  }
}

.demo-cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.demo-title-huge {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  text-shadow: 2px 2px 0px #000;
  margin-bottom: 14px;
}

.demo-title-huge span {
  color: var(--c-cyan);
  font-weight: normal;
}

.demo-body-text {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  line-height: 28px;
  letter-spacing: 0.02em;
}

.demo-body-text p + p {
  margin-top: 12px;
}

.demo-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.demo-spec-badge {
  font-family: var(--font-body);
  font-size: 28px;
  color: #000;
  background: var(--c-cyan);
  box-shadow: 2px 2px 0px #000;
  padding: 6px 14px;
}

.demo-cta-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.btn-arcade-action {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 16px 28px;
  background: var(--c-pink);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 4px 4px 0px #000;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-arcade-action:hover {
  background: var(--c-yellow);
  color: #000;
  box-shadow: 6px 6px 0px #000, 0 0 24px var(--c-yellow);
}

.demo-link-label {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
}

/* ==========================================================================
   04: RELEASES & RADIAL CYBER CONSTELLATION NEXUS (3D ORBITAL MOTION)
   ========================================================================== */

.radial-nexus-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0 60px;
  perspective: 1100px;
  perspective-origin: 50% 45%;
  overflow: visible;
}

.radial-constellation-stage {
  position: relative;
  width: 960px;
  height: 740px;
  max-width: 98vw;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  animation: celestialGimbalSway 14s ease-in-out infinite alternate;
}

@keyframes celestialGimbalSway {
  0% {
    transform: rotateY(-18deg) rotateX(4deg) translateY(0px);
  }
  50% {
    transform: rotateY(0deg) rotateX(-2deg) translateY(-12px);
  }
  100% {
    transform: rotateY(18deg) rotateX(-5deg) translateY(0px);
  }
}

.radial-constellation-stage:hover {
  animation-play-state: paused;
}

/* 3D Tilted Rotating Orbit Plane */
.orbit-3d-plane {
  position: absolute;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  margin-top: -400px;
  margin-left: -400px;
  transform-style: preserve-3d;
  animation: spin3dOrbitRing 60s linear infinite;
  transform-origin: 400px 400px;
}

.radial-constellation-stage:hover .orbit-3d-plane {
  animation-play-state: paused;
}

@keyframes spin3dOrbitRing {
  0% {
    transform: rotateX(62deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(62deg) rotateZ(360deg);
  }
}

/* SVG Orbit Tracks in 3D */
.nexus-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.orbit-line {
  fill: none;
  stroke: rgba(0, 240, 255, 0.35);
  stroke-width: 2.5;
  stroke-dasharray: 8 10;
}

.orbit-outer {
  stroke: rgba(0, 240, 255, 0.45);
  stroke-width: 3;
  stroke-dasharray: 10 12;
}

.orbit-mid {
  stroke: rgba(255, 0, 127, 0.35);
  stroke-width: 2.5;
  stroke-dasharray: 6 8;
}

.orbit-inner {
  stroke: rgba(255, 230, 0, 0.45);
  stroke-width: 3;
}

/* Concentric Radar Pulsing Waves expanding in 3D Plane */
.nexus-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 2px solid var(--c-cyan);
  animation: nexus3dRadarWave 4.2s cubic-bezier(0.1, 0.8, 0.25, 1) infinite;
}

.nexus-pulse-ring.ring-1 { animation-delay: 0s; }
.nexus-pulse-ring.ring-2 { animation-delay: 1.4s; }
.nexus-pulse-ring.ring-3 { animation-delay: 2.8s; }

@keyframes nexus3dRadarWave {
  0% {
    width: 130px;
    height: 130px;
    opacity: 0.95;
    border-color: var(--c-cyan);
    box-shadow: 0 0 14px var(--c-cyan), inset 0 0 10px var(--c-cyan);
  }
  50% {
    border-color: var(--c-pink);
    box-shadow: 0 0 25px var(--c-pink), inset 0 0 15px var(--c-pink);
  }
  100% {
    width: 760px;
    height: 760px;
    opacity: 0;
    border-color: var(--c-yellow);
    box-shadow: 0 0 40px var(--c-yellow);
  }
}

/* 8 Rotating 3D Radial Satellite Arms */
.satellite-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateZ(var(--arm-angle));
}

/* Ray / Spoke from Center (0,0) to Satellite (R=340px) */
.spoke-ray-line {
  position: absolute;
  top: 0;
  left: -2px;
  width: 4px;
  height: 340px;
  background: linear-gradient(to bottom, #ffe600 0%, #00f0ff 45%, #ff007f 85%, transparent 100%);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.9), 0 0 20px rgba(255, 230, 0, 0.5);
  transform-origin: top center;
  transform: rotate(180deg);
  pointer-events: none;
}

/* Billboard Container: counter-rotates and faces camera in 3D! */
.satellite-billboard {
  position: absolute;
  top: 0;
  left: 0;
  transform-style: preserve-3d;
  transform: translateY(-340px);
}

.satellite-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transform-style: preserve-3d;
  animation: billboardFaceCamera 60s linear infinite;
}

.radial-constellation-stage:hover .satellite-node {
  animation-play-state: paused;
}

@keyframes billboardFaceCamera {
  0% {
    transform: translate(-50%, -50%) rotateZ(calc(-1 * var(--arm-angle))) rotateZ(0deg) rotateX(-62deg);
  }
  100% {
    transform: translate(-50%, -50%) rotateZ(calc(-1 * var(--arm-angle))) rotateZ(-360deg) rotateX(-62deg);
  }
}

.satellite-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0f0724;
  box-shadow: 3px 3px 0px #000, 0 0 16px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-pure);
  transition: all 0.2s ease;
}

.satellite-circle svg {
  width: 34px;
  height: 34px;
  transition: transform 0.2s ease;
}

.satellite-label {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-pure);
  background: #080318;
  padding: 4px 10px;
  box-shadow: 2px 2px 0px #000;
  margin-top: 6px;
  white-space: nowrap;
  opacity: 0.92;
  transition: all 0.15s ease;
  pointer-events: none;
}

/* Node Specific Brand Color Hover Glows */
.satellite-node:hover .satellite-circle {
  transform: scale(1.15);
}

.satellite-node:hover .satellite-circle svg {
  transform: scale(1.12);
}

.node-spotify:hover .satellite-circle { background: #1db954; color: #000; box-shadow: 0 0 25px #1db954; }
.node-spotify:hover .satellite-label { color: #1db954; }

.node-apple:hover .satellite-circle { background: #fa2d48; color: #fff; box-shadow: 0 0 25px #fa2d48; }
.node-apple:hover .satellite-label { color: #fa2d48; }

.node-ytmusic:hover .satellite-circle { background: #ff0000; color: #fff; box-shadow: 0 0 25px #ff0000; }
.node-ytmusic:hover .satellite-label { color: #ff0000; }

.node-bandcamp:hover .satellite-circle { background: var(--c-cyan); color: #000; box-shadow: 0 0 25px var(--c-cyan); }
.node-bandcamp:hover .satellite-label { color: var(--c-cyan); }

.node-deezer:hover .satellite-circle { background: #a238ff; color: #fff; box-shadow: 0 0 25px #a238ff; }
.node-deezer:hover .satellite-label { color: #a238ff; }

.node-soundcloud:hover .satellite-circle { background: #ff5500; color: #fff; box-shadow: 0 0 25px #ff5500; }
.node-soundcloud:hover .satellite-label { color: #ff5500; }

.node-tidal:hover .satellite-circle { background: #00f0ff; color: #000; box-shadow: 0 0 25px #00f0ff; }
.node-tidal:hover .satellite-label { color: #00f0ff; }

.node-amazon:hover .satellite-circle { background: #ffe600; color: #000; box-shadow: 0 0 25px #ffe600; }
.node-amazon:hover .satellite-label { color: #ffe600; }

/* Center Floating Core with Willbe Logo */
.nexus-center-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(10px);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #1e0a42 0%, #0c0420 75%, #05010f 100%);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5), inset 0 0 20px rgba(255, 0, 127, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 50;
  transition: all 0.25s ease;
  cursor: pointer;
}

.nexus-center-core:hover {
  transform: translate(-50%, -50%) translateZ(15px) scale(1.08);
  box-shadow: 0 0 45px var(--c-cyan), inset 0 0 25px var(--c-yellow);
}

.nexus-logo-img {
  width: 80px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
  transition: transform 0.2s ease;
}

.nexus-center-core:hover .nexus-logo-img {
  transform: scale(1.08);
}

.core-sublabel {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
  letter-spacing: 0.1em;
  margin-top: 4px;
  text-shadow: 0 0 6px #000;
}

/* Fluid Responsive Breakpoints for Constellation */
@media (max-width: 1100px) {
  .radial-constellation-stage {
    width: 740px;
    height: 600px;
  }
  .orbit-3d-plane {
    width: 640px;
    height: 640px;
    margin-top: -320px;
    margin-left: -320px;
    transform-origin: 320px 320px;
  }
  .spoke-ray-line {
    height: 270px;
  }
  .satellite-billboard {
    transform: translateY(-270px);
  }
}

@media (max-width: 820px) {
  .radial-constellation-stage {
    width: 560px;
    height: 480px;
  }
  .orbit-3d-plane {
    width: 480px;
    height: 480px;
    margin-top: -240px;
    margin-left: -240px;
    transform-origin: 240px 240px;
  }
  .spoke-ray-line {
    height: 205px;
  }
  .satellite-billboard {
    transform: translateY(-205px);
  }
  .satellite-circle {
    width: 60px;
    height: 60px;
  }
  .satellite-circle svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 580px) {
  .radial-constellation-stage {
    width: 360px;
    height: 380px;
  }
  .orbit-3d-plane {
    width: 340px;
    height: 340px;
    margin-top: -170px;
    margin-left: -170px;
    transform-origin: 170px 170px;
  }
  .satellite-billboard {
    transform: translateY(-145px);
  }
  .spoke-ray-line {
    height: 145px;
  }
  .satellite-circle {
    width: 50px;
    height: 50px;
  }
  .satellite-circle svg {
    width: 24px;
    height: 24px;
  }
  .satellite-label {
    display: none;
  }
  .nexus-center-core {
    width: 104px;
    height: 104px;
  }
  .nexus-logo-img {
    width: 54px;
  }
}

/* Universal HyperFollow Strip */
.hyperfollow-strip {
  background: #1a283b;
  padding: 28px var(--pad-x);
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 5px 5px 0px #000;
}

.hf-txt-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--c-yellow);
  margin-bottom: 4px;
}

.hf-txt-sub {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
}

.hf-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hf-arcade {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 12px 24px;
  background: var(--c-yellow);
  color: #000;
  text-decoration: none;
  box-shadow: 3px 3px 0px #000;
  transition: all 0.15s ease;
}

.btn-hf-arcade:hover {
  background: #fff;
  box-shadow: 4px 4px 0px #000, 0 0 16px #fff;
}

.btn-bandcamp-direct {
  background: var(--c-cyan) !important;
  color: #000 !important;
}

.btn-bandcamp-direct:hover {
  background: #fff !important;
  box-shadow: 4px 4px 0px #000, 0 0 16px var(--c-cyan) !important;
}

/* Responsive adjustment for small screens */
@media (max-width: 620px) {
  .radial-constellation-stage {
    width: 380px;
    height: 380px;
  }
  .satellite-node {
    transform: translate(-50%, -50%) rotate(var(--node-angle)) translateY(-145px) rotate(calc(-1 * var(--node-angle)));
  }
  .satellite-node:hover {
    transform: translate(-50%, -50%) rotate(var(--node-angle)) translateY(-145px) rotate(calc(-1 * var(--node-angle))) scale(1.1);
  }
  .satellite-circle {
    width: 52px;
    height: 52px;
  }
  .satellite-circle svg {
    width: 24px;
    height: 24px;
  }
  .satellite-label {
    display: none;
  }
  .nexus-center-core {
    width: 104px;
    height: 104px;
  }
  .nexus-logo-img {
    width: 54px;
  }
  .nexus-orbit-svg line {
    display: none;
  }
}

/* ==========================================================================
   STAGE 05: CONNECT & SOCIALS (BORDERLESS)
   ========================================================================== */

.social-bar-matrix {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.social-button-tile {
  background: var(--card-social);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: 4px 4px 0px #000;
  transition: all 0.15s ease;
}

.social-button-tile:hover {
  background: var(--card-social-hover);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000, 0 0 14px var(--c-green);
}

.social-button-tile:hover .s-name {
  color: var(--c-green);
}

.s-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-left svg {
  width: 24px;
  height: 24px;
  color: var(--c-green);
}

.s-name {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-pure);
  transition: color 0.15s ease;
}

/* ==========================================================================
   STAGE 06: SUPPORT / INSERT COIN (BORDERLESS)
   ========================================================================== */

.coffee-arcade-box {
  background: var(--card-coffee);
  padding: 40px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: 6px 6px 0px #000, 0 0 35px rgba(255, 230, 0, 0.3);
}

@media (min-width: 900px) {
  .coffee-arcade-box {
    grid-template-columns: auto 1.4fr 1fr;
    gap: 32px;
  }
}

/* Pixel Art Coffee & Jumping Mario Coin Stage */
.coffee-pixel-art-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 170px;
  margin: 0 auto;
  flex-shrink: 0;
  filter: drop-shadow(4px 4px 0px #000);
}

.pixel-coffee-scene-svg {
  display: block;
  overflow: visible;
}

/* Steam Float Animation */
.steam-left {
  animation: steamRiseA 3.2s ease-in-out infinite;
  transform-origin: 60px 80px;
}

.steam-right {
  animation: steamRiseB 2.8s ease-in-out infinite 0.6s;
  transform-origin: 90px 80px;
}

@keyframes steamRiseA {
  0% {
    transform: translateY(0) translateX(0) scale(0.9);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-16px) translateX(-4px) scale(1.1);
    opacity: 0.85;
  }
  100% {
    transform: translateY(-32px) translateX(2px) scale(1.3);
    opacity: 0;
  }
}

@keyframes steamRiseB {
  0% {
    transform: translateY(0) translateX(0) scale(0.9);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-18px) translateX(4px) scale(1.1);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-34px) translateX(-2px) scale(1.3);
    opacity: 0;
  }
}

/* Mario Coin Jump Trajectory (Out of Cup & Diving Back In) */
.mario-coin-trajectory {
  animation: marioCoinTrajectory 2.4s cubic-bezier(0.25, 1, 0.4, 1) infinite;
  transform-origin: 0 0;
}

@keyframes marioCoinTrajectory {
  0% {
    transform: translateY(14px) scale(0.5);
    opacity: 0;
  }
  6% {
    transform: translateY(0px) scale(0.85);
    opacity: 1;
  }
  38% {
    /* Peak of the jump high above the cup */
    transform: translateY(-88px) scale(1.18);
    opacity: 1;
  }
  64% {
    /* Fast descent back to cup level */
    transform: translateY(-4px) scale(1);
    opacity: 1;
  }
  72% {
    /* Plunging into dark coffee */
    transform: translateY(14px) scale(0.5);
    opacity: 0;
  }
  73%, 100% {
    /* Resting inside the coffee */
    transform: translateY(14px) scale(0.5);
    opacity: 0;
  }
}

/* Horizontal Mario 3D Coin Spin */
.mario-coin-spinner {
  animation: marioCoinSpin 0.6s linear infinite;
  transform-origin: 0 0;
}

@keyframes marioCoinSpin {
  0% {
    transform: scaleX(1);
  }
  25% {
    transform: scaleX(0.18);
  }
  50% {
    transform: scaleX(-1);
  }
  75% {
    transform: scaleX(-0.18);
  }
  100% {
    transform: scaleX(1);
  }
}

/* Sparkle Flash at Apex */
.coin-sparkle-fx {
  animation: coinSparkleGlint 2.4s ease infinite;
  transform-origin: 0 0;
}

@keyframes coinSparkleGlint {
  0%, 30% {
    opacity: 0;
    transform: scale(0.5);
  }
  36%, 42% {
    opacity: 1;
    transform: scale(1.2);
  }
  48%, 100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Coffee Splash Droplets when Coin Enters/Exits */
.splash-left {
  animation: coffeeSplashLeft 2.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  transform-origin: 44px 94px;
}

.splash-right {
  animation: coffeeSplashRight 2.4s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  transform-origin: 104px 94px;
}

@keyframes coffeeSplashLeft {
  0%, 64% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  70% {
    transform: translateY(-16px) translateX(-10px) scale(1.2);
    opacity: 1;
  }
  78% {
    transform: translateY(-8px) translateX(-18px) scale(0.8);
    opacity: 0.7;
  }
  84%, 100% {
    transform: translateY(2px) translateX(-22px) scale(0);
    opacity: 0;
  }
}

@keyframes coffeeSplashRight {
  0%, 64% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  70% {
    transform: translateY(-16px) translateX(10px) scale(1.2);
    opacity: 1;
  }
  78% {
    transform: translateY(-8px) translateX(18px) scale(0.8);
    opacity: 0.7;
  }
  84%, 100% {
    transform: translateY(2px) translateX(22px) scale(0);
    opacity: 0;
  }
}

.coffee-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coffee-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: normal;
  color: var(--c-yellow);
  text-shadow: 2px 2px 0px #000;
  margin-bottom: 12px;
}

.coffee-desc {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--text-main);
  line-height: 28px;
}

.coffee-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-paypal-arcade {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 16px 28px;
  background: var(--c-yellow);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 4px 4px 0px #000;
  transition: all 0.15s ease;
}

.btn-paypal-arcade:hover {
  background: #fff;
  box-shadow: 6px 6px 0px #000, 0 0 24px #fff;
}

.copy-email-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #140d04;
  box-shadow: 3px 3px 0px #000;
  padding: 12px 16px;
}

.copy-email-bar span {
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
}

.btn-copy-action {
  font-family: var(--font-body);
  font-size: 28px;
  padding: 6px 14px;
  background: #3b2808;
  color: var(--c-yellow);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-action:hover {
  background: var(--c-yellow);
  color: #000;
}

/* ==========================================================================
   FOOTER (BORDERLESS)
   ========================================================================== */

.site-footer {
  width: 100vw;
  background: var(--footer-bg);
  padding: 36px var(--pad-x);
}

.footer-line {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 28px;
  color: var(--c-yellow);
}

@media (min-width: 768px) {
  .footer-line {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.shortcuts-pixel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-pure);
}

.shortcuts-pixel span {
  font-family: var(--font-body);
  font-size: 28px;
  background: #120726;
  padding: 4px 10px;
}

/* Fullscreen Visualizer Mode */
body.fullscreen-visualizer .site-header,
body.fullscreen-visualizer .game-audio-bar,
body.fullscreen-visualizer .full-strip,
body.fullscreen-visualizer .site-footer {
  display: none !important;
}

body.fullscreen-visualizer .hero-visualizer-section {
  height: 100vh !important;
}

/* Toast Notifications */
.pixel-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #080318;
  color: var(--c-yellow);
  font-family: var(--font-body);
  font-size: 28px;
  padding: 12px 24px;
  box-shadow: 4px 4px 0px #000, 0 0 20px var(--c-yellow);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.pixel-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
