/* ==========================================================================
   ANUBIS // FREQUENCIES — Official Branded Cyber-Deck Stylesheet
   ========================================================================== */

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

:root {
  --bg: #070709;
  --bg-elevated: rgba(14, 14, 18, 0.84);
  --bg-card: rgba(16, 15, 20, 0.86);
  --red: #d41c24;
  --red-bright: #ff2630;
  --red-deep: #6b0d12;
  --amber: #e2aa24;
  --green: #1db954;
  --cyan: #00d4ff;
  --white: #f0eff4;
  --muted: #8a8794;
  --dim: #55525e;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 38, 48, 0.34);
  --font-mono: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-mono);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.overdrive {
  --red: #ff1a28;
  --red-bright: #ff3b47;
  --border-red: rgba(255, 45, 58, 0.65);
}

/* ── BACKGROUND CANVAS & ATMOSPHERE ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-watermark {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.bg-watermark img {
  height: 78vh;
  max-height: 740px;
  width: auto;
  opacity: 0.045;
  filter: blur(1px) drop-shadow(0 0 60px rgba(255, 32, 42, 0.55));
  animation: watermark-breathe 8s ease-in-out infinite;
  user-select: none;
}

body.overdrive .bg-watermark img {
  opacity: 0.09;
  animation-duration: 3.5s;
}

@keyframes watermark-breathe {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.042; }
  50% { transform: scale(1.035) translateY(-6px); opacity: 0.075; }
}

/* CRT scanlines + film grain */
.fx-scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.16) 2px,
    rgba(0, 0, 0, 0.16) 4px
  );
  pointer-events: none;
  z-index: 900;
}

.fx-grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 899;
  opacity: 0.45;
}

/* ── TOP NEON TICKER ── */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(90deg, #9f1219 0%, var(--red) 25%, #e52029 50%, var(--red) 75%, #9f1219 100%);
  border-bottom: 1px solid rgba(255, 130, 130, 0.45);
  box-shadow: 0 2px 20px rgba(212, 28, 36, 0.55);
  overflow: hidden;
  z-index: 120;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-ticker 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #080506;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.overdrive .ticker-track {
  animation-duration: 15s;
}

.ticker-track span {
  padding: 0 2.4rem;
}

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

/* ── CORNER HUD BRACKETS ── */
.corner {
  position: fixed;
  width: 34px;
  height: 34px;
  z-index: 5;
  pointer-events: none;
}

.corner--tl {
  top: 40px;
  left: 12px;
  border-top: 2px solid var(--red-bright);
  border-left: 2px solid var(--red-bright);
  box-shadow: -2px -2px 12px rgba(255, 38, 48, 0.25);
}

.corner--tr {
  top: 40px;
  right: 12px;
  border-top: 2px solid var(--red-bright);
  border-right: 2px solid var(--red-bright);
  box-shadow: 2px -2px 12px rgba(255, 38, 48, 0.25);
}

.corner--bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid var(--red-bright);
  border-left: 2px solid var(--red-bright);
  box-shadow: -2px 2px 12px rgba(255, 38, 48, 0.25);
}

.corner--br {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid var(--red-bright);
  border-right: 2px solid var(--red-bright);
  box-shadow: 2px 2px 12px rgba(255, 38, 48, 0.25);
}

.hud-tag {
  position: absolute;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: rgba(255, 110, 118, 0.55);
  white-space: nowrap;
}

.corner--tl .hud-tag { top: 6px; left: 10px; }
.corner--tr .hud-tag { top: 6px; right: 10px; }
.corner--bl .hud-tag { bottom: 6px; left: 10px; }
.corner--br .hud-tag { bottom: 6px; right: 10px; }

/* ── MAIN CONTAINER ── */
.container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  padding: 58px 20px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.55rem;
}

/* ── HERO BRAND STAGE ── */
.hero-stage {
  width: 100%;
  position: relative;
  padding: 1.15rem 1.25rem 1.05rem;
  background:
    radial-gradient(ellipse 85% 65% at 50% 42%, rgba(196, 22, 30, 0.28), rgba(14, 11, 14, 0.92) 72%),
    var(--bg-elevated);
  border: 1px solid var(--border-red);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.72),
    0 0 38px rgba(212, 28, 36, 0.22),
    inset 0 1px 0 rgba(255, 110, 118, 0.22);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.overdrive .hero-stage {
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(255, 32, 44, 0.45),
    inset 0 0 32px rgba(255, 32, 44, 0.16);
}

.hero-aura {
  position: absolute;
  inset: -25%;
  background: radial-gradient(circle at 50% 44%, rgba(255, 34, 46, 0.34) 0%, rgba(160, 12, 20, 0.12) 38%, transparent 68%);
  pointer-events: none;
  animation: aura-pulse 4.2s ease-in-out infinite;
}

body.overdrive .hero-aura {
  animation-duration: 1.6s;
}

@keyframes aura-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-ring {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin-left: -170px;
  margin-top: -170px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 42, 52, 0.16);
  pointer-events: none;
  animation: spin-slow 26s linear infinite;
}

.hero-ring::after {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 52, 0.1);
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.hero-scan-sweep {
  position: absolute;
  top: 0;
  left: -45%;
  width: 38%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 65, 75, 0.08) 45%,
    rgba(255, 195, 198, 0.16) 50%,
    rgba(255, 65, 75, 0.08) 55%,
    transparent 100%
  );
  pointer-events: none;
  animation: laser-sweep 6.5s ease-in-out infinite;
}

body.overdrive .hero-scan-sweep {
  animation-duration: 2.8s;
}

@keyframes laser-sweep {
  0%, 58% { left: -45%; opacity: 0; }
  62% { opacity: 1; }
  92% { left: 118%; opacity: 1; }
  100% { left: 118%; opacity: 0; }
}

.hero-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.signal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.62rem;
  background: rgba(255, 38, 48, 0.12);
  border: 1px solid rgba(255, 38, 48, 0.35);
  border-radius: 2px;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: #ff9ea3;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.overdrive-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.68rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.22s ease;
}

.overdrive-btn:hover {
  border-color: var(--red-bright);
  color: #fff;
  background: rgba(255, 38, 48, 0.18);
  box-shadow: 0 0 14px rgba(255, 38, 48, 0.35);
}

.overdrive-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: #ff7a80;
  color: #080506;
  box-shadow: 0 0 22px rgba(255, 38, 48, 0.7);
}

/* Official Brand Banner */
.brand-logo-wrap {
  position: relative;
  z-index: 2;
  padding: 0.35rem 0.25rem 0.55rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
}

.brand-banner {
  display: block;
  width: 100%;
  max-width: 490px;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(255, 34, 46, 0.62))
    drop-shadow(0 8px 22px rgba(0, 0, 0, 0.85));
  animation: logo-glow 3.6s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}

body.overdrive .brand-banner {
  animation: logo-glow-overdrive 1.4s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(255, 34, 46, 0.58))
      drop-shadow(0 8px 22px rgba(0, 0, 0, 0.85));
  }
  50% {
    filter:
      drop-shadow(0 0 32px rgba(255, 42, 54, 0.92))
      drop-shadow(0 0 8px rgba(255, 160, 165, 0.45))
      drop-shadow(0 8px 22px rgba(0, 0, 0, 0.85));
  }
}

@keyframes logo-glow-overdrive {
  0%, 100% {
    filter:
      drop-shadow(0 0 26px rgba(255, 24, 38, 0.85))
      drop-shadow(0 0 48px rgba(255, 34, 46, 0.5));
  }
  50% {
    filter:
      drop-shadow(0 0 44px rgba(255, 48, 60, 1))
      drop-shadow(0 0 14px rgba(255, 200, 200, 0.7));
  }
}

/* Hero Subtitle & Genre Chips */
.hero-meta {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 0.25rem;
}

.glitch-sub {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  color: var(--amber);
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(226, 170, 36, 0.45);
  margin-bottom: 0.55rem;
}

.glitch-sub::before,
.glitch-sub::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
}

.glitch-sub::before {
  color: var(--cyan);
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
  animation: glitch-1 3.4s infinite linear alternate-reverse;
}

.glitch-sub::after {
  color: var(--red-bright);
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
  animation: glitch-2 2.4s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
  0%, 88% { transform: translate(0); }
  90% { transform: translate(-2px, 1px); }
  93% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, 1px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0%, 86% { transform: translate(0); }
  89% { transform: translate(2px, -1px); }
  92% { transform: translate(-2px, 1px); }
  96% { transform: translate(1px, 1px); }
  100% { transform: translate(0); }
}

.genre-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.genre-chips .sep {
  color: var(--red-bright);
  font-size: 0.48rem;
}

/* Interactive EQ Visualizer Deck */
.eq-deck {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 38, 48, 0.22);
}

.eq-deck-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: rgba(255, 130, 136, 0.7);
  margin-bottom: 0.35rem;
}

#eq-canvas {
  display: block;
  width: 100%;
  height: 58px;
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(8, 6, 8, 0.55) 0%, rgba(28, 6, 10, 0.35) 100%);
  border: 1px solid rgba(255, 38, 48, 0.16);
}

/* ── TERMINAL BOOT CONSOLE ── */
.boot {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 4px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.boot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.boot-dots {
  display: flex;
  gap: 5px;
}

.boot-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.b-red { background: var(--red-bright); box-shadow: 0 0 6px var(--red-bright); }
.b-amber { background: var(--amber); }
.b-green { background: var(--green); }

.boot-title {
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.boot-body {
  padding: 0.78rem 1rem;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.82;
}

.boot-line {
  opacity: 0;
  transform: translateX(-6px);
  animation: boot-reveal 0.4s ease forwards;
  animation-delay: var(--d, 0s);
}

@keyframes boot-reveal {
  to { opacity: 1; transform: translateX(0); }
}

.boot .ok {
  color: var(--green);
  text-shadow: 0 0 8px rgba(29, 185, 84, 0.55);
}

.boot .cmd {
  color: var(--amber);
}

.boot .prompt {
  color: var(--amber);
}

.cursor {
  display: inline-block;
  color: var(--red-bright);
  margin-left: 2px;
  animation: cursor-blink 1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── SECTION LABELS ── */
.portals-section,
.embed-section {
  width: 100%;
}

.section-label {
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--red-bright);
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 38, 48, 0.25);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-label::before {
  content: '▶';
  font-size: 0.52rem;
  text-shadow: 0 0 10px var(--red-bright);
}

.section-label .label-text {
  text-shadow: 0 0 12px rgba(255, 38, 48, 0.45);
}

.section-label .label-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ── FLASHY PLATFORM PORTAL CARDS ── */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-card {
  --card-accent: var(--red-bright);
  --card-glow: rgba(255, 38, 48, 0.28);
  --mx: 50%;
  --my: 50%;

  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid color-mix(in srgb, var(--card-accent) 55%, #000);
  border-radius: 5px;
  text-decoration: none;
  color: var(--white);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
  opacity: 0;
  transform: translateY(10px);
  animation: card-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.15s + var(--stagger, 0) * 0.065s);
}

@keyframes card-enter {
  to { opacity: 1; transform: translateY(0); }
}

/* Cursor-tracking neon spotlight inside card */
.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    220px circle at var(--mx) var(--my),
    var(--card-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

/* Diagonal chrome sweep */
.link-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transition: left 0.55s ease;
  pointer-events: none;
}

.link-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
  border-left-color: var(--card-accent);
  background: rgba(22, 20, 26, 0.94);
  transform: translateX(5px) translateY(-1px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.65),
    0 0 24px var(--card-glow),
    inset 0 0 18px color-mix(in srgb, var(--card-accent) 10%, transparent);
}

.link-card:hover::before {
  opacity: 1;
}

.link-card:hover::after {
  left: 145%;
}

.link-card:active {
  transform: translateX(4px) scale(0.985);
}

/* Per-platform neon signatures */
.link-card.spotify  { --card-accent: #1db954; --card-glow: rgba(29, 185, 84, 0.28); }
.link-card.ytmusic  { --card-accent: #ff2630; --card-glow: rgba(255, 38, 48, 0.32); }
.link-card.apple    { --card-accent: #fc3c44; --card-glow: rgba(252, 60, 68, 0.30); }
.link-card.amazon   { --card-accent: #25d1da; --card-glow: rgba(37, 209, 218, 0.28); }
.link-card.bandcamp { --card-accent: #1da0c3; --card-glow: rgba(29, 160, 195, 0.28); }
.link-card.mixcloud { --card-accent: #00d4ff; --card-glow: rgba(0, 212, 255, 0.28); }

.link-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  transition: all 0.24s ease;
}

.link-card:hover .link-icon {
  color: var(--card-accent);
  border-color: color-mix(in srgb, var(--card-accent) 60%, transparent);
  background: color-mix(in srgb, var(--card-accent) 12%, transparent);
  box-shadow: 0 0 16px var(--card-glow);
  transform: scale(1.06);
}

.link-icon svg {
  width: 26px;
  height: 26px;
}

.link-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.link-text .platform {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.link-card:hover .link-text .platform {
  color: #fff;
  text-shadow: 0 0 12px var(--card-glow);
}

.link-text .desc {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.card-right {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Mini animated equalizer bars inside card */
.mini-eq {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
  opacity: 0.22;
  transition: opacity 0.22s ease;
}

.mini-eq i {
  display: block;
  width: 3px;
  height: 5px;
  background: var(--card-accent);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.link-card:hover .mini-eq {
  opacity: 1;
}

.link-card:hover .mini-eq i:nth-child(1) { animation: mini-bounce 0.55s ease-in-out infinite alternate; }
.link-card:hover .mini-eq i:nth-child(2) { animation: mini-bounce 0.42s ease-in-out 0.15s infinite alternate; }
.link-card:hover .mini-eq i:nth-child(3) { animation: mini-bounce 0.62s ease-in-out 0.08s infinite alternate; }

@keyframes mini-bounce {
  0% { height: 4px; }
  100% { height: 16px; }
}

.card-right .arrow {
  font-size: 1.15rem;
  color: var(--dim);
  transition: all 0.22s ease;
}

.link-card:hover .card-right .arrow {
  color: var(--card-accent);
  transform: translate(3px, -3px);
  text-shadow: 0 0 10px var(--card-glow);
}

/* ── NOW PLAYING CYBER DECK ── */
.embed-frame {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-red);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.65),
    0 0 24px rgba(212, 28, 36, 0.14);
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.52rem 0.9rem;
  background: linear-gradient(90deg, rgba(212, 28, 36, 0.18), rgba(14, 14, 18, 0.4));
  border-bottom: 1px solid rgba(255, 38, 48, 0.22);
}

.deck-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffc5c8;
}

.deck-icon {
  height: 22px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 38, 48, 0.75));
}

.vu-meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.vu-meter i {
  display: block;
  width: 3px;
  background: linear-gradient(to top, var(--red-deep), var(--red-bright));
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(255, 38, 48, 0.6);
  animation: vu-dance 0.8s ease-in-out infinite alternate;
}

.vu-meter i:nth-child(1) { height: 6px; animation-duration: 0.52s; }
.vu-meter i:nth-child(2) { height: 12px; animation-duration: 0.68s; animation-delay: 0.12s; }
.vu-meter i:nth-child(3) { height: 9px; animation-duration: 0.46s; animation-delay: 0.24s; }
.vu-meter i:nth-child(4) { height: 14px; animation-duration: 0.74s; animation-delay: 0.08s; }
.vu-meter i:nth-child(5) { height: 7px; animation-duration: 0.58s; animation-delay: 0.2s; }

@keyframes vu-dance {
  0% { transform: scaleY(0.35); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

.iframe-wrap {
  padding: 10px;
}

.iframe-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 6px;
}

/* ── BRANDED FOOTER ── */
.footer {
  width: 100%;
  text-align: center;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 38, 48, 0.22);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.footer-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.footer-emblem::before {
  content: '';
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 34, 46, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.footer-emblem img {
  position: relative;
  height: 68px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(255, 34, 46, 0.65));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-emblem:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 22px rgba(255, 42, 54, 0.95));
}

.footer .site-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.05rem;
  background: rgba(226, 170, 36, 0.08);
  border: 1px solid rgba(226, 170, 36, 0.35);
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--amber);
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.24s ease;
}

.footer .site-link:hover {
  color: #fff;
  background: rgba(212, 28, 36, 0.22);
  border-color: var(--red-bright);
  box-shadow: 0 0 20px rgba(255, 38, 48, 0.4);
  transform: translateY(-2px);
}

.footer .copy {
  font-size: 0.56rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}

.footer .status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.footer .dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink-dot 2s infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hud-tag { display: none; }
  .corner { width: 22px; height: 22px; }
}

@media (max-width: 480px) {
  .container {
    padding: 50px 14px 36px;
    gap: 1.25rem;
  }
  .hero-stage {
    padding: 0.95rem 0.9rem 0.9rem;
  }
  .glitch-sub {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
  }
  .link-card {
    padding: 0.85rem 0.95rem;
    gap: 0.85rem;
  }
  .link-icon {
    width: 40px;
    height: 40px;
  }
  .link-icon svg {
    width: 22px;
    height: 22px;
  }
  .link-text .platform {
    font-size: 0.72rem;
  }
  .mini-eq {
    display: none;
  }
}

/* ── ACCESSIBILITY: REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .boot-line, .link-card {
    opacity: 1 !important;
    transform: none !important;
  }
}
