/* ═══════════════════════════════════════════════════════════
   CLIP-SNIP-SHIP 6000
   Dark pixel art theme — navy / magenta / cyan / yellow
   Palette pulled from the logo
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0a0b1a;
  --bg-dark: #070810;
  --surface: #111228;
  --border: #2a2b4a;
  --accent: #d63384;
  --accent2: #e84393;
  --cyan: #00d4ff;
  --yellow: #ffd000;
  --text: #e0e0f0;
  --text-dim: #6a6b8a;
  --pixel-shadow: 3px 3px 0 rgba(214, 51, 132, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Space Mono', monospace;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(214, 51, 132, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  overflow-x: hidden;
}

/* Scanline overlay */
.scanlines {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.08) 0px,
    rgba(0, 0, 0, 0.08) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ── FLOATING WALRUS BACKGROUND ────────── */

.walrus-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.walrus-float {
  position: absolute;
  opacity: 0.07;
  animation: walrusDrift linear infinite;
}

.walrus-note {
  font-size: 1.8rem;
}

.walrus-float:nth-child(1)  { left: 5%;  top: 12%; font-size: 2rem;   animation-duration: 18s; animation-delay: 0s; }
.walrus-float:nth-child(2)  { left: 88%; top: 20%; font-size: 1.5rem; animation-duration: 22s; animation-delay: -4s; }
.walrus-float:nth-child(3)  { left: 15%; top: 45%; font-size: 2.2rem; animation-duration: 20s; animation-delay: -8s; }
.walrus-float:nth-child(4)  { left: 75%; top: 55%; font-size: 1.8rem; animation-duration: 25s; animation-delay: -2s; }
.walrus-float:nth-child(5)  { left: 42%; top: 80%; font-size: 1.3rem; animation-duration: 16s; animation-delay: -10s; }
.walrus-float:nth-child(6)  { left: 92%; top: 65%; font-size: 1.6rem; animation-duration: 21s; animation-delay: -6s; }
.walrus-float:nth-child(7)  { left: 28%; top: 30%; font-size: 2.4rem; animation-duration: 24s; animation-delay: -13s; }
.walrus-float:nth-child(8)  { left: 62%; top: 8%;  font-size: 1.4rem; animation-duration: 19s; animation-delay: -7s; }
.walrus-float:nth-child(9)  { left: 50%; top: 92%; font-size: 1.7rem; animation-duration: 23s; animation-delay: -11s; }
.walrus-float:nth-child(10) { left: 8%;  top: 75%; font-size: 2rem;   animation-duration: 17s; animation-delay: -3s; }

@keyframes walrusDrift {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-15px) rotate(5deg) scale(1.05); }
  50% { transform: translateY(-5px) rotate(-3deg) scale(0.95); }
  75% { transform: translateY(-20px) rotate(4deg) scale(1.02); }
  100% { transform: translateY(0) rotate(0deg) scale(1); }
}

/* Bubbles rising from walruses */
.bubble {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.08);
  animation: bubbleRise linear infinite;
}

.bubble:nth-child(9)  { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.bubble:nth-child(10) { left: 25%; animation-duration: 15s; animation-delay: -3s; width: 4px; height: 4px; }
.bubble:nth-child(11) { left: 50%; animation-duration: 11s; animation-delay: -7s; width: 8px; height: 8px; }
.bubble:nth-child(12) { left: 75%; animation-duration: 14s; animation-delay: -5s; }
.bubble:nth-child(13) { left: 88%; animation-duration: 13s; animation-delay: -9s; width: 5px; height: 5px; }

@keyframes bubbleRise {
  0% { bottom: -10px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { bottom: 105%; opacity: 0; transform: translateX(20px); }
}

#app {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

/* ── HEADER ─────────────────────────────── */

header {
  text-align: center;
  padding: 1rem 0 0.25rem;
}

.hero-logo {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow:
    0 0 30px rgba(214, 51, 132, 0.3),
    0 0 60px rgba(214, 51, 132, 0.1),
    0 0 0 6px var(--bg),
    0 0 0 8px var(--border);
  image-rendering: auto;
  animation: logoPulse 4s ease-in-out infinite;
  transition: transform 0.3s;
}

.hero-logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(214, 51, 132, 0.3), 0 0 60px rgba(214, 51, 132, 0.1), 0 0 0 6px var(--bg), 0 0 0 8px var(--border); }
  50% { box-shadow: 0 0 40px rgba(214, 51, 132, 0.5), 0 0 80px rgba(214, 51, 132, 0.2), 0 0 0 6px var(--bg), 0 0 0 8px var(--accent); }
}

.privacy-badge {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--cyan);
  border-radius: 4px;
  display: inline-block;
  background: rgba(0, 212, 255, 0.06);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { border-color: var(--cyan); box-shadow: 0 0 8px rgba(0, 212, 255, 0.1); }
  50% { border-color: var(--accent); box-shadow: 0 0 16px rgba(214, 51, 132, 0.2); text-shadow: 0 0 12px rgba(214, 51, 132, 0.4); }
}

.privacy-sub {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ── CARDS ──────────────────────────────── */

.card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--pixel-shadow);
  display: none;
  animation: fadeIn 0.3s ease;
}

.card.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.card.active {
  animation: cardSlam 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardSlam {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); }
  60% { transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── DROP ZONE ─────────────────────────── */

#dropzone {
  border: 3px dashed var(--accent);
  border-radius: 4px;
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
  background: rgba(214, 51, 132, 0.03);
  position: relative;
  overflow: hidden;
}

#dropzone::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, var(--accent), var(--cyan), var(--yellow), var(--accent));
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
  animation: borderSpin 3s linear infinite;
}

#dropzone.dragover::before {
  opacity: 1;
}

@keyframes borderSpin {
  to { transform: rotate(360deg); }
}

#dropzone:hover,
#dropzone:focus-visible,
#dropzone.dragover {
  background: rgba(214, 51, 132, 0.08);
  border-color: var(--accent2);
  box-shadow: 0 0 30px rgba(214, 51, 132, 0.15);
}

#dropzone.dragover {
  transform: scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 0 80px rgba(214, 51, 132, 0.1);
}

.drop-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.drop-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(214, 51, 132, 0.3);
  transition: letter-spacing 0.2s;
}

#dropzone:hover .drop-text {
  letter-spacing: 0.15em;
}

#dropzone:hover .drop-icon {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: translateY(-6px) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(-10deg); }
  75% { transform: translateY(-6px) rotate(10deg); }
}

.drop-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.drop-formats {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

/* ── AUDIO INFO ────────────────────────── */

.audio-info {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem 0;
  font-size: 0.8rem;
}

.info-label {
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.info-value {
  color: var(--cyan);
  font-weight: 700;
}

/* ── WAVEFORM ──────────────────────────── */

.waveform-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1.75rem;
  overflow: visible;
  cursor: crosshair;
  touch-action: none;
}

#waveformCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.selection-overlay {
  position: absolute;
  top: 0;
  height: 100%;
  background: rgba(214, 51, 132, 0.15);
  border-left: none;
  border-right: none;
  pointer-events: none;
  z-index: 2;
}

.handle {
  position: absolute;
  top: -6px;
  width: 22px;
  height: calc(100% + 12px);
  cursor: ew-resize;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.1s;
}

.handle:hover {
  filter: brightness(1.3);
}

.handle::before {
  content: '';
  display: block;
  width: 8px;
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(214, 51, 132, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: handlePulse 2s ease-in-out infinite;
}

@keyframes handlePulse {
  0%, 100% { box-shadow: 0 0 14px rgba(214, 51, 132, 0.7); }
  50% { box-shadow: 0 0 22px rgba(214, 51, 132, 1), 0 0 40px rgba(214, 51, 132, 0.3); }
}

.handle::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 24px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1px);
  background-size: 4px 6px;
  background-repeat: repeat-y;
}

.handle-label {
  position: absolute;
  bottom: -22px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(214, 51, 132, 0.5);
}

.handle-start {
  transform: translateX(-50%);
}

.handle-end {
  transform: translateX(-50%);
}

.playhead {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--yellow);
  box-shadow: 0 0 6px rgba(255, 208, 0, 0.5);
  z-index: 3;
  pointer-events: none;
  display: none;
}

/* ── TIME CONTROLS ─────────────────────── */

.time-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.time-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.time-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  font-family: 'Orbitron', sans-serif;
}

.time-input {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  background: var(--bg-dark);
  color: var(--cyan);
  border: 2px solid var(--border);
  border-radius: 4px;
  outline: none;
  text-align: center;
  transition: border-color 0.15s;
}

.time-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(214, 51, 132, 0.2);
}

/* ── PLAYBACK CONTROLS ─────────────────── */

.playback-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* ── FORMAT SELECTION ──────────────────── */

.format-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.format-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  font-family: 'Orbitron', sans-serif;
}

.format-buttons {
  display: flex;
  gap: 0.4rem;
}

.format-btn {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  background: var(--bg-dark);
  color: var(--text-dim);
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.05em;
}

.format-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.format-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(214, 51, 132, 0.3);
  animation: formatPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes formatPop {
  0% { transform: scale(0.9); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ── BUTTONS ───────────────────────────── */

.actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-pixel {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.65rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex: 1;
  min-width: 0;
}

.btn-pixel:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 3px 3px 0 rgba(214, 51, 132, 0.3);
  transition: all 0.15s, transform 0.1s;
}

.btn-primary:hover {
  background: var(--accent2);
  box-shadow: 4px 4px 0 rgba(214, 51, 132, 0.4), 0 0 20px rgba(214, 51, 132, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--cyan);
}

.btn-accent {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 3px 3px 0 rgba(0, 212, 255, 0.15);
}

.btn-accent:hover {
  background: rgba(0, 212, 255, 0.2);
  box-shadow: 4px 4px 0 rgba(0, 212, 255, 0.25), 0 0 20px rgba(0, 212, 255, 0.2);
  transform: translateY(-1px);
}

.btn-playing {
  background: rgba(255, 208, 0, 0.15);
  color: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 3px 3px 0 rgba(255, 208, 0, 0.2);
  animation: playingPulse 1s ease-in-out infinite;
}

.btn-playing:hover {
  background: rgba(255, 208, 0, 0.25);
}

@keyframes playingPulse {
  0%, 100% { box-shadow: 3px 3px 0 rgba(255, 208, 0, 0.2); }
  50% { box-shadow: 3px 3px 0 rgba(255, 208, 0, 0.2), 0 0 15px rgba(255, 208, 0, 0.2); }
}

.btn-loop-active {
  color: var(--cyan) !important;
  border-color: var(--cyan) !important;
  background: rgba(0, 212, 255, 0.1);
}

/* ── PROGRESS ──────────────────────────── */

.processing-status {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(214, 51, 132, 0.3);
}

.progress-bar-container {
  width: 100%;
  height: 24px;
  background: var(--bg-dark);
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--yellow));
  background-size: 200% 100%;
  transition: width 0.3s ease;
  animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.progress-text {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ── DONE ──────────────────────────────── */

.done-icon {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: doneBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes doneBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.done-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--cyan);
  text-align: center;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
  animation: doneGlow 1.5s ease-in-out infinite;
}

@keyframes doneGlow {
  0%, 100% { text-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
  50% { text-shadow: 0 0 25px rgba(0, 212, 255, 0.8), 0 0 50px rgba(0, 212, 255, 0.3); }
}

.done-stats {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.25rem;
}

.done-stats span {
  color: var(--yellow);
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
}

/* ── SPARKLE PARTICLES ─────────────────── */

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: sparkleUp 1s ease-out forwards;
}

@keyframes sparkleUp {
  0% { transform: scale(0) translateY(0); opacity: 1; }
  50% { transform: scale(1.5) translateY(-30px); opacity: 1; }
  100% { transform: scale(0) translateY(-60px); opacity: 0; }
}

/* ── WAVEFORM GLOW ─────────────────────── */

.waveform-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to top, rgba(0, 212, 255, 0.08), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ── TIME INPUT FOCUS GLOW ─────────────── */

.time-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
  animation: inputGlow 1.5s ease-in-out infinite;
}

@keyframes inputGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.2); }
  50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.4); }
}

/* ── INFO ROW HOVER ────────────────────── */

.info-row {
  transition: background 0.15s;
  padding: 0.3rem 0.4rem;
  border-radius: 3px;
}

.info-row:hover {
  background: rgba(0, 212, 255, 0.05);
}

.info-row:hover .info-value {
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* ── DONE SECTION EXTRAS ──────────────── */

#step-done {
  position: relative;
  overflow: hidden;
}

#step-done .done-stats span {
  animation: statsPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes statsPop {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

#step-done .actions {
  animation: fadeIn 0.4s ease 0.5s both;
}

/* ── SNIP BUTTON SPECIAL ──────────────── */

#btnSnip {
  position: relative;
  overflow: hidden;
}

#btnSnip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

#btnSnip:active::after {
  width: 300px;
  height: 300px;
}

/* ── AD BANNERS ────────────────────────── */

.ad-banner {
  width: 100%;
  max-width: 520px;
  min-height: 90px;
  margin: 0.75rem auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 1;
}

.ad-top {
  margin-bottom: 0;
}

.ad-bottom {
  margin-top: 0.5rem;
}

.ad-placeholder {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
}

/* ── FOOTER ────────────────────────────── */

footer {
  margin-top: auto;
  padding: 2rem 0 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  animation: footerPulse 3s ease-in-out infinite;
}

.footer-title .footer-6000 {
  display: inline-block;
  color: var(--yellow);
  animation: footerBounce 2s ease-in-out infinite;
}

.footer-scissors {
  display: inline-block;
  animation: footerSnip 1.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes footerPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes footerBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes footerSnip {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}

/* ── HUB NAV ──────────────────────────── */

.hub-nav {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 0.5rem;
  position: relative;
  z-index: 1;
}

.hub-back {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  transition: all 0.15s;
  letter-spacing: 0.05em;
}

.hub-back:hover {
  border-color: var(--accent);
  color: var(--accent2);
  background: rgba(214, 51, 132, 0.08);
}

/* ── RESPONSIVE ────────────────────────── */

@media (max-width: 400px) {
  .hero-logo {
    width: 160px;
    height: 160px;
  }
  .card {
    padding: 1rem;
  }
  .btn-pixel {
    font-size: 0.7rem;
    padding: 0.55rem 0.75rem;
  }
  .waveform-wrap {
    height: 100px;
  }
}
