/* ==========================================================================
   WILLBE // THE MUSIC OF WILLIAM LAMY // RETRO VIDEOGAME & ARCADE PORTAL
   Aesthetics: Bold Videogame Colors, Pixel Patterns, 100% Borderless
   Typography:
     - IBM CGA 8x8 (Web437_IBM_CGA.woff) -> H1 & H2 Headings
     - IBM DOS ISO8 (Web437_IBM_DOS_ISO8.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, Giant Brand) */
@font-face {
  font-family: 'IBMCGA';
  src: url('../Web437_IBM_CGA.woff') format('woff'),
       url('Web437_IBM_CGA.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Everywhere Else (All Body text, H3, Nav, Player, Tracklist, Buttons, Badges, Footer) */
@font-face {
  font-family: 'IBMDOSISO8';
  src: url('../Web437_IBM_DOS_ISO8.woff') format('woff'),
       url('Web437_IBM_DOS_ISO8.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:  #060212; /* Deep Space Arcade */
  --stage-02-bg:  #0a1026; /* Cobalt Blue Arcade (Game OST) */
  --stage-03-bg:  #150826; /* Deep Demoscene Purple (Demovibes) */
  --stage-04-bg:  #0d141e; /* Cyber Matrix Navy (Releases) */
  --stage-05-bg:  #061517; /* Emerald Cyberpunk (Connect) */
  --stage-06-bg:  #1f1404; /* Arcade Coin-Op Amber (Support) */
  --footer-bg:    #030208; /* Pure Space Void */

  /* 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) -> 'IBMCGA'
     - Everywhere else   -> 'IBMDOSISO8'
  */
  --font-heading: 'IBMCGA', monospace;
  --font-body:    'IBMDOSISO8', 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: 20px;
  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: 1.7;
  letter-spacing: 0.02em;
  font-size: 20px;
}

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

h1, h2 {
  font-family: var(--font-heading);
}

h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-size: 20px;
}

/* 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;
  z-index: 100;
  background: #080318;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.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: 20px;
  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);
}

.arcade-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.arcade-nav a {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-pure);
  text-decoration: none;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  background: #150930;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.15s ease;
}

.arcade-nav a:hover {
  color: #000;
  background: var(--c-cyan);
  box-shadow: 2px 2px 0px #000, 0 0 12px var(--c-cyan);
}

@media (max-width: 768px) {
  .arcade-nav {
    display: none;
  }
}

/* ==========================================================================
   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;
}

/* Floating Game HUD Top Bar */
.game-hud-top {
  position: absolute;
  top: 16px;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.mode-selector {
  pointer-events: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #080318;
  padding: 8px 10px;
  box-shadow: 3px 3px 0px #000;
}

.game-mode-btn {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-muted);
  background: #14092b;
  padding: 8px 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.game-mode-btn:hover {
  color: var(--text-pure);
  background: #1f0f40;
}

.game-mode-btn.active {
  color: #000;
  background: var(--c-cyan);
  box-shadow: 0 0 12px var(--c-cyan);
}

.hud-actions {
  pointer-events: auto;
  display: flex;
  gap: 8px;
}

.hud-btn {
  font-family: var(--font-body);
  font-size: 20px;
  padding: 8px 16px;
  background: #080318;
  box-shadow: 3px 3px 0px #000;
  color: var(--text-pure);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-btn:hover {
  color: #000;
  background: var(--c-cyan);
  box-shadow: 3px 3px 0px #000, 0 0 14px var(--c-cyan);
}

.fx-glow-btn {
  color: var(--c-yellow);
}

.fx-glow-btn:hover {
  background: var(--c-yellow) !important;
  color: #000 !important;
  box-shadow: 3px 3px 0px #000, 0 0 16px var(--c-yellow) !important;
}

/* Retro Arcade Tracklist Selector Drawer (Borderless) */
.arcade-tracklist-drawer,
.arcade-toolbox-drawer {
  position: absolute;
  top: 60px;
  right: var(--pad-x);
  width: 440px;
  max-width: 90vw;
  max-height: 80vh;
  background: #0d0620;
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: 6px 6px 0px #000, 0 0 35px rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.arcade-tracklist-drawer.open,
.arcade-toolbox-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

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

.cyan-dot {
  background: var(--c-cyan) !important;
  box-shadow: 0 0 6px var(--c-cyan) !important;
}

.toolbox-body {
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toolbox-row-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tb-label {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
}

.tb-presets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tb-preset-btn {
  font-family: var(--font-body);
  font-size: 20px;
  padding: 10px 12px;
  background: #180938;
  color: var(--text-muted);
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.15s ease;
  text-align: center;
}

.tb-preset-btn:hover {
  background: #25124f;
  color: var(--text-pure);
}

.tb-preset-btn.active {
  background: var(--c-cyan);
  color: #000;
  font-weight: bold;
}

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

.tb-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tb-field-head label {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.tb-val {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
  font-weight: bold;
}

.tb-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #1f0c45;
  cursor: pointer;
}

.tb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 22px;
  background: var(--c-cyan);
  cursor: pointer;
}

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

.btn-tb-action {
  flex: 1;
  font-family: var(--font-body);
  font-size: 20px;
  padding: 14px;
  background: var(--c-yellow);
  color: #000;
  cursor: pointer;
  box-shadow: 3px 3px 0px #000;
  transition: all 0.15s ease;
  font-weight: bold;
}

.btn-tb-action:hover {
  background: #fff;
}

.btn-tb-reset {
  font-family: var(--font-body);
  font-size: 20px;
  padding: 14px 18px;
  background: #1a0c3b;
  color: var(--c-cyan);
  cursor: pointer;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.15s ease;
}

.btn-tb-reset:hover {
  background: var(--c-cyan);
  color: #000;
}

.t-head-title {
  font-family: var(--font-body);
  font-size: 20px;
  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: 20px;
  color: var(--c-yellow);
}

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

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

/* ==========================================================================
   BOTTOM AUDIO TRANSPORT BAR (BORDERLESS)
   ========================================================================== */

.game-audio-bar {
  position: relative;
  z-index: 10;
  background: #090318;
  padding: 20px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.6);
}

@media (min-width: 900px) {
  .game-audio-bar {
    grid-template-columns: 1.2fr 2fr 1fr;
    align-items: center;
  }
}

.track-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-index-num {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
  letter-spacing: 0.05em;
}

.track-title-text {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-pure);
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.controls-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.transport-btns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-arcade {
  background: #180938;
  color: var(--text-pure);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px #000;
  transition: all 0.15s ease;
}

.btn-arcade:hover {
  background: var(--c-cyan);
  color: #000;
}

.btn-arcade-play {
  width: 48px;
  height: 48px;
  background: var(--c-yellow);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 3px 3px 0px #000, 0 0 16px var(--c-yellow);
  transition: all 0.15s ease;
}

.btn-arcade-play:hover {
  background: #fff;
  transform: scale(1.06);
}

.btn-arcade-play svg {
  width: 22px;
  height: 22px;
}

/* Timeline */
.pixel-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.pixel-time {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-muted);
  min-width: 56px;
}

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

.scrub-lane {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.scrub-bar-bg {
  position: relative;
  width: 100%;
  height: 8px;
  background: #1f0c45;
}

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

.scrub-bar-block {
  position: absolute;
  top: -4px;
  left: 0%;
  width: 8px;
  height: 16px;
  background: var(--c-yellow);
  box-shadow: 2px 2px 0px #000;
  transform: translateX(-50%);
}

.volume-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
}

.pixel-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 8px;
  background: #1f0c45;
  cursor: pointer;
}

.pixel-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 16px;
  background: var(--c-cyan);
  cursor: pointer;
}

/* ==========================================================================
   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);
  background-image: 
    radial-gradient(rgba(0, 240, 255, 0.12) 15%, transparent 16%),
    radial-gradient(rgba(0, 240, 255, 0.08) 15%, transparent 16%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
}

/* Stage 03: Demovibes Showcase (Demoscene Neon Violet Dither) */
#demovibes {
  background-color: var(--stage-03-bg);
  background-image: 
    linear-gradient(45deg, rgba(255, 0, 127, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 0, 127, 0.08) 75%, rgba(255, 0, 127, 0.08)),
    linear-gradient(45deg, rgba(255, 0, 127, 0.08) 25%, transparent 25%, transparent 75%, rgba(255, 0, 127, 0.08) 75%, rgba(255, 0, 127, 0.08));
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
}

/* Stage 04: Releases & Streaming (Cyber Matrix Navy Grid) */
#releases {
  background-color: var(--stage-04-bg);
  background-image: 
    linear-gradient(rgba(255, 230, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 230, 0, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Stage 05: Official Channels (Cyberpunk Emerald Matrix) */
#connect {
  background-color: var(--stage-05-bg);
  background-image: 
    radial-gradient(rgba(0, 255, 102, 0.12) 15%, transparent 16%);
  background-size: 12px 12px;
}

/* Stage 06: Patronage / Insert Coin (Arcade Amber Bevel) */
#support {
  background-color: var(--stage-06-bg);
  background-image: 
    repeating-linear-gradient(45deg, rgba(255, 230, 0, 0.05), rgba(255, 230, 0, 0.05) 10px, transparent 10px, transparent 20px);
}

/* Section Header Badges (Borderless) */
.section-tag-pixel {
  font-family: var(--font-body);
  font-size: 20px;
  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: 24px;
  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: 20px;
  color: var(--text-main);
  max-width: 840px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

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

.ost-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

@media (min-width: 990px) {
  .ost-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (min-width: 600px) {
  .ost-feature-card {
    flex-direction: row;
    align-items: flex-start;
  }
}

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

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

.ost-cover-wrap {
  width: 100%;
  max-width: 200px;
  flex-shrink: 0;
  box-shadow: 4px 4px 0px #000;
  overflow: hidden;
  background: #080d1e;
}

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

.ost-cover-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.ost-feature-card:hover .ost-cover-art {
  transform: scale(1.04);
}

.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: 20px;
  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: 20px;
  color: var(--c-yellow);
  background: #080d1e;
  padding: 4px 10px;
}

.ost-card-title {
  font-family: var(--font-body);
  font-size: 26px;
  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: 20px;
  color: var(--c-yellow);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.ost-card-desc {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-main);
  line-height: 1.7;
  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: 20px;
  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: 20px;
  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 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;
  box-shadow: 6px 6px 0px #000, 0 0 35px rgba(255, 0, 127, 0.25);
  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: 22px;
  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: 20px;
  color: var(--text-main);
  line-height: 1.8;
  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: 20px;
  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: 20px;
  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: 20px;
  color: var(--c-yellow);
}

/* ==========================================================================
   STAGE 04: RELEASES & STREAMING PLATFORMS (BORDERLESS)
   ========================================================================== */

.hyperfollow-strip {
  background: #1a283b;
  padding: 28px var(--pad-x);
  margin-bottom: 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-body);
  font-size: 24px;
  font-weight: normal;
  color: var(--c-yellow);
  margin-bottom: 4px;
}

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

.btn-hf-arcade {
  font-family: var(--font-body);
  font-size: 20px;
  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;
}

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

.platform-tile {
  background: var(--card-release);
  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;
}

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

.platform-tile:hover .p-name {
  color: var(--c-cyan);
}

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

.p-icon {
  width: 24px;
  height: 24px;
  color: var(--c-cyan);
}

.p-name {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: normal;
  color: var(--text-pure);
  transition: color 0.15s ease;
  letter-spacing: 0.04em;
}

.p-arrow {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
}

/* Duo Bandcamp & Soundcloud (Borderless) */
.duo-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
}

@media (min-width: 768px) {
  .duo-row {
    grid-template-columns: 1fr 1fr;
  }
}

.duo-card {
  background: var(--card-release);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  text-decoration: none;
  box-shadow: 5px 5px 0px #000;
  transition: all 0.15s ease;
}

.duo-card:hover {
  background: var(--card-release-hover);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #000, 0 0 16px var(--c-cyan);
}

.duo-card:last-child:hover {
  box-shadow: 7px 7px 0px #000, 0 0 16px #f97316;
}

.duo-card-tag {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-yellow);
  margin-bottom: 8px;
}

.duo-card-title {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: normal;
  color: var(--text-pure);
  letter-spacing: 0.03em;
}

.duo-card-desc {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--text-main);
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

.duo-card-foot {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--c-cyan);
}

/* ==========================================================================
   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: 20px;
  color: var(--text-pure);
  transition: color 0.15s ease;
}

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

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

@media (min-width: 860px) {
  .coffee-arcade-box {
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
  }
}

.coffee-title {
  font-family: var(--font-heading);
  font-size: 20px;
  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: 20px;
  color: var(--text-main);
  line-height: 1.8;
}

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

.btn-paypal-arcade {
  font-family: var(--font-body);
  font-size: 20px;
  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: 20px;
  color: var(--c-yellow);
}

.btn-copy-action {
  font-family: var(--font-body);
  font-size: 20px;
  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: 20px;
  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: 20px;
  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: 20px;
  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);
}
