/* ============================================================
   FROM THE LOVE BEGINS — Design System
   Deep Blue & Cyan Lo-fi Night Theme
   ============================================================ */

/* === CSS Custom Properties === */
:root {
  --bg-deep: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: #0f172a;
  --accent: #06b6d4;
  --accent-secondary: #3b82f6;
  --accent-glow: #22d3ee;
  --accent-soft: rgba(6, 182, 212, 0.15);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --glass-bg: rgba(10, 14, 26, 0.65);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-hover: rgba(255, 255, 255, 0.3);
  --player-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  font-family: 'Poppins', 'Outfit', sans-serif;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(6, 182, 212, 0.4);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.5);
}

/* === Skip Link === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 100;
  padding: 8px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  user-select: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 26, 0.9) 0%,
    rgba(10, 14, 26, 0.3) 40%,
    rgba(10, 14, 26, 0.5) 100%
  );
  pointer-events: none;
}

/* Animated gradient shimmer on top */
.hero-bg-shimmer {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 20%,
    rgba(6, 182, 212, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  animation: shimmerDrift 12s ease-in-out infinite alternate;
}

@keyframes shimmerDrift {
  0% { opacity: 0.6; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(40px); }
}

/* === Floating Particles Canvas === */
#particlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* === Header === */
.site-header {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0 12px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

/* Glassmorphic pill buttons */
.header-pill {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 0 14px;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.header-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border-hover);
  color: #fff;
  transform: translateY(-1px);
}

.header-pill:active {
  transform: scale(0.97);
}

/* Listener count badge */
.listener-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.8);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(6, 182, 212, 0.8); }
  50% { opacity: 0.5; box-shadow: 0 0 16px rgba(6, 182, 212, 0.4); }
}

.listener-count {
  color: var(--text-primary);
  font-family: 'Outfit', monospace;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.listener-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 400;
}

/* Nav links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: none;
}

@media (min-width: 640px) {
  .site-header {
    top: 16px;
    padding: 0 24px;
  }
  .header-row {
    gap: 12px;
  }
  .nav-link {
    display: inline-flex;
  }
}

/* === Hero Content === */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 56px 12px 8px;
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 80px 24px 24px;
  }
}

/* Title Display */
.hero-title-wrap {
  pointer-events: auto;
  text-align: center;
  margin-top: 24px;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.95));
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  padding: 0.1em 0;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.2)); }
  100% { filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.4)); }
}

.hero-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--text-muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 12px;
  font-weight: 400;
}

/* === Player Controls Area === */
.player-area {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 4px;
}

@media (min-width: 640px) {
  .player-area {
    max-width: 600px;
    gap: 14px;
    margin: auto 0;
  }
}

/* === Rain Toggle === */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.rain-toggle {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(10, 14, 26, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.rain-toggle:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-glow);
  transform: scale(1.04);
}

.rain-toggle.active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(6, 182, 212, 0.6);
  color: var(--accent-glow);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.rain-toggle-icon {
  font-size: 14px;
  transition: transform 0.3s;
}

.rain-toggle:hover .rain-toggle-icon {
  transform: scale(1.25);
}

.rain-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent);
  font-family: 'Outfit', monospace;
}

.rain-toggle.active .rain-status {
  background: rgba(6, 182, 212, 0.3);
  color: var(--accent-glow);
}

/* === Music Player === */
.music-player {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 12px 16px;
  box-shadow: var(--player-shadow), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
}

@media (min-width: 640px) {
  .music-player {
    padding: 14px 20px;
    gap: 14px;
  }
}

/* Vinyl/Cassette disc cover art */
.cover-frame {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-surface);
  padding: 0;
  overflow: visible;
  transition: transform 0.2s, border-color 0.2s;
}

.cover-frame:hover {
  transform: scale(1.08);
  border-color: var(--accent);
}

.cover-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-surface);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cover-disc.spinning {
  animation: discSpin 3.2s linear infinite;
}

@keyframes discSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cover-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  background: var(--bg-deep);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

/* Track info */
.track-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.track-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.track-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: 'Poppins', sans-serif;
}

.track-station {
  font-size: 10px;
  color: var(--text-muted);
}

/* Progress bar */
.progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 10px;
  font-family: 'Outfit', monospace;
  color: var(--text-muted);
}

.progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: height 0.2s;
}

.progress-bar:hover {
  height: 7px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  width: 0%;
  border-radius: 999px;
  transition: width 0.2s linear;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.5);
}

/* Player action buttons */
.player-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.icon-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.1);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.play-btn {
  background: var(--accent);
  color: #000;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.5);
}

.play-btn:hover {
  background: var(--accent-glow);
  color: #000;
  transform: scale(1.12);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.6);
}

.play-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Focus visible */
.icon-btn:focus-visible,
.cover-frame:focus-visible,
.header-pill:focus-visible,
.rain-toggle:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}

/* === Hero Footer === */
.hero-footer {
  pointer-events: auto;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  font-family: 'Outfit', monospace;
}

@media (min-width: 640px) {
  .hero-footer {
    font-size: 12px;
  }
}

/* Scroll cue */
.scroll-cue {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  pointer-events: auto;
  animation: bob 2.2s ease-in-out infinite;
  transition: color 0.2s;
}

.scroll-cue:hover {
  color: var(--accent-glow);
}

.scroll-cue span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 16px;
  height: 16px;
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

@media (min-width: 640px) {
  .scroll-cue {
    display: flex;
  }
}

/* === Rain & Lightning Canvas === */
#rainCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#rainCanvas.active {
  opacity: 1;
}

#lightningFlash {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 18;
  background: rgba(180, 220, 255, 0.85);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.05s ease-out;
}

/* === Compact About Section === */
.about-compact {
  background: var(--bg-surface);
  border-top: 1px solid rgba(6, 182, 212, 0.08);
  padding: 32px 20px;
}

.about-compact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.compact-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.compact-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.compact-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.compact-tag {
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 9999px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* === Compact FAQ === */
.faq-compact {
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 20px;
}

.faq-compact-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 640px) {
  .faq-compact-inner {
    flex-direction: row;
    gap: 12px;
  }
}

.faq-mini {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
  transition: border-color 0.2s;
}

.faq-mini:hover {
  border-color: rgba(6, 182, 212, 0.15);
}

.faq-mini summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  list-style: none;
  gap: 8px;
}

.faq-mini summary::-webkit-details-marker {
  display: none;
}

.faq-chevron-sm {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-mini[open] .faq-chevron-sm {
  transform: rotate(180deg);
}

.faq-mini p {
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 8px;
  line-height: 1.6;
}

/* === Compact Footer === */
.footer-compact {
  background: #060810;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.footer-dot {
  color: var(--text-muted);
  font-size: 10px;
}

.footer-note {
  color: var(--text-muted);
  font-size: 11px;
}

/* === Volume Slider === */
.volume-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.volume-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: height 0.2s;
}

.volume-slider:hover {
  height: 6px;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
  transition: transform 0.15s;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 2px solid #fff;
  cursor: pointer;
}

.volume-value {
  font-size: 9px;
  font-family: 'Outfit', monospace;
  color: var(--text-muted);
  min-width: 22px;
  text-align: right;
}

/* === Starfield Canvas === */
#starfieldCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}




/* === Sleep Timer Menu === */
.sleep-timer-menu {
  position: fixed;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%) scale(0.9);
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 8px;
  z-index: 70;
  display: none;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  min-width: 140px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.sleep-timer-menu.visible {
  display: flex;
  opacity: 1;
  transform: translate(-50%, 50%) scale(1);
}

.sleep-option {
  background: none;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.sleep-option:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.25);
  color: var(--accent-glow);
}

/* === Keyboard Shortcut Toast === */
.shortcut-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  padding: 8px 18px;
  font-size: 12px;
  color: var(--text-secondary);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  white-space: nowrap;
}

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

.shortcut-toast kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 1px 6px;
  font-family: 'Outfit', monospace;
  font-size: 11px;
  color: var(--accent-glow);
  margin: 0 2px;
}

/* === Share Card Overlay === */
.share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.share-overlay.visible {
  display: flex;
}

.share-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.share-card-wrap canvas {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  max-width: 90vw;
}

.share-actions {
  display: flex;
  gap: 10px;
}

.share-action-btn {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-glow);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.share-action-btn:hover {
  background: rgba(6, 182, 212, 0.25);
  transform: scale(1.05);
}

/* === Fullscreen body mode === */
body.fullscreen-mode .about-compact,
body.fullscreen-mode .faq-compact,
body.fullscreen-mode .footer-compact {
  display: none;
}

body.fullscreen-mode .hero {
  height: 100vh;
  height: 100dvh;
}

/* === YouTube Bridge (hidden) === */
.yt-bridge {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  opacity: 0.001;
  pointer-events: none;
  z-index: -10;
  overflow: hidden;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================= */
/* === Support Button =============================================== */
/* ================================================================= */
.support-btn {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(59, 130, 246, 0.12));
  border-color: rgba(6, 182, 212, 0.45);
  color: var(--accent-glow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  gap: 5px;
  position: relative;
  overflow: hidden;
}

.support-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.support-btn:hover::before {
  transform: translateX(100%);
}

.support-btn:hover {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.28), rgba(59, 130, 246, 0.2));
  border-color: rgba(6, 182, 212, 0.7);
  color: #fff;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.35), inset 0 1px 1px rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* ================================================================= */
/* === Support Modal ================================================ */
/* ================================================================= */
.support-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 8, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.support-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.support-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(10, 14, 26, 0.98));
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 28px;
  padding: 36px 28px 28px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(6, 182, 212, 0.07),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.support-overlay.visible .support-card {
  transform: translateY(0) scale(1);
}

/* Close button */
.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  backdrop-filter: blur(8px);
}

.support-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: rotate(90deg);
}

.support-close:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}

/* Header section */
.support-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.support-icon-wrap {
  font-size: 2.4rem;
  filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.5));
  animation: iconPulse 3s ease-in-out infinite alternate;
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.support-title {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-glow) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.02em;
}

.support-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

/* QR code area */
.support-qr-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-qr-glow {
  position: absolute;
  inset: -16px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: qrGlow 3s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes qrGlow {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.support-qr {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  border: 3px solid rgba(6, 182, 212, 0.3);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.support-qr:hover {
  transform: scale(1.03);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(6, 182, 212, 0.25);
}

/* Step instructions */
.support-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.support-step {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: left;
  transition: border-color 0.2s;
}

.support-step:hover {
  border-color: rgba(6, 182, 212, 0.2);
}

.support-step strong {
  color: var(--accent-glow);
}

.support-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer note */
.support-note {
  font-size: 10.5px;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.7;
  letter-spacing: 0.02em;
}

@media (max-width: 360px) {
  .support-card {
    padding: 28px 18px 22px;
  }
  .support-qr {
    width: 180px;
    height: 180px;
  }
}

/* Support email link */
.support-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent-glow);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Outfit', monospace;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
}

.support-email:hover {
  background: rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.55);
  color: #fff;
  box-shadow: 0 0 18px rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

.support-email:focus-visible {
  outline: 2px solid var(--accent-glow);
  outline-offset: 2px;
}
