/* ═══════════════════════════════════════════════════════
   AFTER HOURS — by Alex Praddo
   Cinematic UI Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Screen Reader Only (SEO text fallback) ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Theme Tokens ── */
:root,
[data-theme="dark"] {
  --orange: #ff5e00;
  --cyan: #00f0ff;
  --lime: #bfff00;
  --red: #ff003c;
  --dark-900: #0a0a0f;
  --dark-800: #10101a;
  --dark-700: #16162a;

  /* Semantic tokens */
  --bg-base: #0a0a0f;
  --bg-surface: #10101a;
  --bg-elevated: #16162a;
  --bg-card: rgba(16,16,26,0.5);
  --bg-card-hover: rgba(16,16,26,0.7);
  --bg-overlay: rgba(10,10,15,0.92);
  --bg-sidebar: rgba(16,16,26,0.6);
  --bg-input: rgba(255,255,255,0.04);
  --bg-hover: rgba(255,255,255,0.04);

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --text-faint: rgba(255,255,255,0.25);

  --border-subtle: rgba(255,255,255,0.04);
  --border-light: rgba(255,255,255,0.06);
  --border-medium: rgba(255,255,255,0.08);
  --border-accent: rgba(255,255,255,0.10);

  --shadow-card: 0 4px 24px rgba(0,0,0,0.2);
  --shadow-elevated: 0 12px 48px rgba(0,0,0,0.3);

  --gradient-fade: linear-gradient(to bottom, transparent, rgba(10,10,15,0.9));
  --vignette: rgba(0,0,0,0.6);

  --accent-orange: #ff5e00;
  --accent-cyan: #00f0ff;
  --accent-glow: rgba(255,94,0,0.15);

  --scrollbar-thumb: rgba(255,94,0,0.15);
  --scrollbar-hover: rgba(255,94,0,0.3);

  color-scheme: dark;
}

[data-theme="light"] {
  --dark-900: #f5f7fa;
  --dark-800: #eaecf1;
  --dark-700: #dfe2e8;

  --bg-base: #f5f7fa;
  --bg-surface: #eef1f5;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255,255,255,0.92);
  --bg-card-hover: rgba(255,255,255,1);
  --bg-overlay: rgba(245,247,250,0.97);
  --bg-sidebar: #eaeff5;
  --bg-input: rgba(0,0,0,0.04);
  --bg-hover: rgba(0,0,0,0.04);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #64748b;
  --text-faint: rgba(0,0,0,0.20);

  --border-subtle: rgba(0,0,0,0.06);
  --border-light: rgba(0,0,0,0.08);
  --border-medium: rgba(0,0,0,0.12);
  --border-accent: rgba(0,0,0,0.16);

  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-elevated: 0 4px 12px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.06);

  --gradient-fade: linear-gradient(to bottom, transparent, rgba(245,247,250,0.95));
  --vignette: rgba(0,0,0,0.04);

  --accent-orange: #d94e00;
  --accent-cyan: #00839b;
  --accent-glow: rgba(217,78,0,0.10);

  --scrollbar-thumb: rgba(0,0,0,0.14);
  --scrollbar-hover: rgba(0,0,0,0.25);

  color-scheme: light;
}

/* ── Theme Transitions ── */
html,
body,
#sidebar,
#mobile-header,
#mobile-overlay,
#main-content,
.holo-card,
.blog-card-enhanced,
.blog-hero-card,
.audio-player,
.track-card-v2 {
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

/* ── Theme Overrides (body + layout shells) ── */
body {
  background-color: var(--bg-base) !important;
  color: var(--text-secondary) !important;
}

#sidebar {
  background: var(--bg-sidebar) !important;
  border-color: var(--border-subtle) !important;
}

#mobile-header > div {
  background: var(--bg-sidebar) !important;
  border-color: var(--border-subtle) !important;
}

#mobile-overlay {
  background: var(--bg-overlay) !important;
}

/* Ambient overlay adapts to theme */
[data-theme="light"] .fixed.bg-gradient-to-br {
  opacity: 0.3;
}

[data-theme="light"] #bg-canvas {
  opacity: 0.15;
}

[data-theme="light"] #cursor-glow {
  opacity: 0 !important;
}

/* Custom Scrollbar */
#main-content::-webkit-scrollbar { width: 6px; }
#main-content::-webkit-scrollbar-track { background: transparent; }
#main-content::-webkit-scrollbar-thumb {
  background: rgba(255,94,0,0.15);
  border-radius: 3px;
}
#main-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255,94,0,0.3);
}

/* ── Animations Keyframes ── */
@keyframes pulse-slow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes glitch-1 {
  0%, 100% { clip-path: inset(0 0 95% 0); transform: translateX(0); }
  20% { clip-path: inset(20% 0 60% 0); transform: translateX(-3px); }
  40% { clip-path: inset(50% 0 30% 0); transform: translateX(3px); }
  60% { clip-path: inset(70% 0 10% 0); transform: translateX(-2px); }
  80% { clip-path: inset(10% 0 80% 0); transform: translateX(2px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(255,94,0,0.15); }
  50% { border-color: rgba(255,94,0,0.35); }
}

@keyframes waveform {
  0%, 100% { height: 20%; }
  25% { height: 80%; }
  50% { height: 40%; }
  75% { height: 90%; }
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.6; }
}

.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }
.animate-float { animation: float 6s ease-in-out infinite; }

/* ── Page Transitions ── */
.page-transition {
  animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-exit {
  animation: fadeOut 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}

/* ── Stagger animations ── */
.stagger-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; animation-fill-mode: forwards; }
.stagger-5 { animation-delay: 0.5s; opacity: 0; animation-fill-mode: forwards; }
.stagger-6 { animation-delay: 0.6s; opacity: 0; animation-fill-mode: forwards; }

/* ── Sidebar Rotating Quote ── */
#sidebar-quote {
  transition: opacity 0.4s ease-in-out;
  min-height: 2.6em; /* prevent layout shift */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ── Sidebar Active State ── */
.nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,0.04);
}
.nav-link.active .nav-dot {
  background-color: var(--orange) !important;
  box-shadow: 0 0 8px var(--orange);
}

/* ── Holographic Card ── */
.holo-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16,16,26,0.8) 0%, rgba(22,22,42,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.holo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(0,240,255,0.03) 45%,
    rgba(255,94,0,0.03) 50%,
    rgba(191,255,0,0.02) 55%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.holo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.008) 2px,
    rgba(255,255,255,0.008) 4px
  );
  pointer-events: none;
}

/* Scanline effect overlay */
.holo-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.15), transparent);
  animation: scanline 4s linear infinite;
  pointer-events: none;
  z-index: 2;
}

/* ── Neon Glow Text ── */
.glow-orange {
  text-shadow: 0 0 10px rgba(255,94,0,0.4), 0 0 40px rgba(255,94,0,0.1);
}
.glow-cyan {
  text-shadow: 0 0 10px rgba(0,240,255,0.4), 0 0 40px rgba(0,240,255,0.1);
}
.glow-lime {
  text-shadow: 0 0 10px rgba(191,255,0,0.4), 0 0 40px rgba(191,255,0,0.1);
}
.glow-red {
  text-shadow: 0 0 10px rgba(255,0,60,0.4), 0 0 40px rgba(255,0,60,0.1);
}

/* ── Neon Border Glow ── */
.neon-border-orange {
  border: 1px solid rgba(255,94,0,0.2);
  box-shadow: 0 0 15px rgba(255,94,0,0.05), inset 0 0 15px rgba(255,94,0,0.02);
}
.neon-border-cyan {
  border: 1px solid rgba(0,240,255,0.15);
  box-shadow: 0 0 15px rgba(0,240,255,0.05), inset 0 0 15px rgba(0,240,255,0.02);
}

/* ── Journey Path ── */
.journey-path {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.journey-path::-webkit-scrollbar { display: none; }
.journey-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,94,0,0.3), rgba(0,240,255,0.2), transparent);
}
.journey-dot {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.3s ease;
}
.journey-dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}
.journey-dot:hover .journey-dot-inner,
.journey-dot.active .journey-dot-inner {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 12px rgba(255,94,0,0.4);
}
.journey-dot-label {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.journey-dot:hover .journey-dot-label,
.journey-dot.active .journey-dot-label {
  color: rgba(255,255,255,0.7);
}

/* ── Masonry Gallery ── */
.gallery-masonry {
  columns: 3;
  column-gap: 16px;
}
.gallery-masonry .gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  display: inline-block;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-800);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* Gradient overlay — always visible at bottom for readability */
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.2) 35%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Overlay with description */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}
.gallery-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Audio Player ── */
.audio-player {
  background: linear-gradient(135deg, rgba(16,16,26,0.9), rgba(22,22,42,0.7));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(20px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.audio-player.playing {
  border-color: rgba(255,94,0,0.25);
  box-shadow: 0 0 30px rgba(255,94,0,0.06);
}

.audio-player .progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.audio-player .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.audio-player .progress-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--track-color, var(--orange));
  border-radius: 50%;
  box-shadow: 0 0 8px var(--track-color, var(--orange));
  opacity: 0;
  transition: opacity 0.2s;
}

.audio-player:hover .progress-fill::after,
.audio-player.playing .progress-fill::after {
  opacity: 1;
}

.play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,94,0,0.4);
  background: transparent;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.play-btn:hover {
  background: rgba(255,94,0,0.1);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(255,94,0,0.2);
}

/* ═══════════════════════════════════════════════════════
   TRACK CARD V2 — Premium Redesign
   ═══════════════════════════════════════════════════════ */

.track-card-v2 {
  background: linear-gradient(145deg, rgba(16,16,26,0.85), rgba(22,22,42,0.5));
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.track-card-v2:hover {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.track-card-v2.playing {
  border-color: color-mix(in srgb, var(--track-color) 30%, transparent);
  box-shadow: 0 8px 40px color-mix(in srgb, var(--track-color) 10%, transparent), 0 0 0 1px color-mix(in srgb, var(--track-color) 8%, transparent);
}

/* ── Most Played "Heat" Effect ── */
.track-hot {
  position: relative;
  border-color: rgba(255, 94, 0, 0.12);
  box-shadow:
    0 0 30px rgba(255, 94, 0, 0.06),
    0 0 60px rgba(255, 60, 0, 0.03),
    0 8px 32px rgba(0, 0, 0, 0.2);
  animation: hotGlow 4s ease-in-out infinite;
}
.track-hot:hover {
  border-color: rgba(255, 94, 0, 0.2);
  box-shadow:
    0 0 40px rgba(255, 94, 0, 0.1),
    0 0 80px rgba(255, 60, 0, 0.05),
    0 16px 48px rgba(0, 0, 0, 0.3);
}
@keyframes hotGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(255,94,0,0.06), 0 0 60px rgba(255,60,0,0.03), 0 8px 32px rgba(0,0,0,0.2); }
  50%      { box-shadow: 0 0 36px rgba(255,94,0,0.09), 0 0 70px rgba(255,60,0,0.045), 0 8px 32px rgba(0,0,0,0.2); }
}

/* Most Played label */
.track-hot-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 16px 0 0 24px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff5e00;
  background: rgba(255, 94, 0, 0.08);
  border: 1px solid rgba(255, 94, 0, 0.15);
  border-radius: 20px;
}
.track-hot-label svg {
  opacity: 0.8;
}

/* Track Header */
.track-header {
  display: flex;
  gap: 20px;
  padding: 24px 24px 0;
  align-items: flex-start;
}

/* Cover Art */
.track-cover-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.track-cover-wrap:hover {
  transform: scale(1.04);
}

.track-cover-glow {
  position: absolute;
  inset: -8px;
  border-radius: 20px;
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.4s ease;
  z-index: 0;
}

.track-card-v2:hover .track-cover-glow,
.track-card-v2.playing .track-cover-glow {
  opacity: 0.12;
}

.track-cover-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: filter 0.3s ease;
}

.track-cover-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: white;
  opacity: 0;
  transition: opacity 0.25s ease;
  border-radius: 14px;
}

.track-cover-wrap:hover .track-cover-play {
  opacity: 1;
}

.track-card-v2.playing .track-cover-play {
  opacity: 1;
  background: rgba(0,0,0,0.3);
}

/* Track Info */
.track-info {
  flex: 1;
  min-width: 0;
  padding-top: 2px;
}

.track-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.track-card-v2:hover .track-title {
  color: var(--track-color, white);
}

/* Progress Area */
.track-progress-area {
  margin-top: auto;
}

.track-card-v2 .progress-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,0.05);
}

/* Track Footer */
.track-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 10px;
}

.track-stats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.track-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.track-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: color-mix(in srgb, var(--track-color) 70%, white);
  background: color-mix(in srgb, var(--track-color) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--track-color) 12%, transparent);
  cursor: pointer;
  transition: all 0.25s ease;
}

.track-action-btn:hover {
  background: color-mix(in srgb, var(--track-color) 12%, transparent);
  border-color: color-mix(in srgb, var(--track-color) 25%, transparent);
  color: var(--track-color);
}

/* Track card inner sections padding */
.track-card-v2 .lyrics-content,
.track-card-v2 .comment-section {
  padding: 0 24px;
}

.track-card-v2 .comment-section {
  padding-bottom: 20px;
}

/* ── Waveform Visualization ── */
.waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 32px;
}

.waveform-bar {
  width: 3px;
  background: linear-gradient(to top, var(--orange), var(--cyan));
  border-radius: 2px;
  height: 20%;
  transition: height 0.15s ease;
  opacity: 0.4;
}

.waveform.active .waveform-bar {
  opacity: 1;
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(0.7);
  transform: scale(1.1);
  animation: heroZoom 20s ease-in-out infinite alternate;
  transition: opacity 2s ease-in-out;
}

.hero-bg-layer.fade-out {
  opacity: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,94,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0,240,255,0.06) 0%, transparent 60%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 20%);
}

/* Tall gradient that bleeds well past the hero into the next section */
.hero-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(10,10,15,0.05) 15%,
    rgba(10,10,15,0.2) 30%,
    rgba(10,10,15,0.5) 50%,
    rgba(10,10,15,0.8) 70%,
    rgba(10,10,15,0.95) 85%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  box-shadow: 0 0 6px rgba(255,255,255,0.2);
}

@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

@keyframes heroZoom {
  0%   { transform: scale(1.1); }
  100% { transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--cyan), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px 50px rgba(10,10,15,0.7);
  pointer-events: none;
}

/* ── Cinematic Hero Divider ── */
.hero-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0 20px;
}

.hero-divider-line {
  position: relative;
  width: min(80%, 500px);
  height: 1px;
}

.hero-divider-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,94,0,0.3) 20%, rgba(0,240,255,0.3) 80%, transparent);
}

.hero-divider-glow {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 17px;
  background: linear-gradient(90deg, transparent, rgba(255,94,0,0.06) 30%, rgba(0,240,255,0.06) 70%, transparent);
  filter: blur(6px);
}

.hero-divider-orb {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translateY(-50%);
  animation: orbTravel linear infinite;
}

.orb-1 {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange), 0 0 20px rgba(255,94,0,0.3);
  animation-duration: 4s;
  animation-delay: 0s;
}

.orb-2 {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan), 0 0 20px rgba(0,240,255,0.3);
  animation-duration: 5.5s;
  animation-delay: 1.8s;
}

.orb-3 {
  background: white;
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
  width: 3px;
  height: 3px;
  animation-duration: 7s;
  animation-delay: 3.5s;
}

@keyframes orbTravel {
  0%   { left: -2%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 102%; opacity: 0; }
}

.hero-divider-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.15);
  text-transform: uppercase;
  animation: dividerTextPulse 4s ease-in-out infinite;
}

@keyframes dividerTextPulse {
  0%, 100% { color: rgba(255,255,255,0.12); }
  50%      { color: rgba(255,255,255,0.25); }
}

.hero-divider-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,94,0,0.25);
}

.hero-divider-arrow {
  animation: arrowDrop 2s ease-in-out infinite;
}

.hero-divider-arrow.a2 {
  animation-delay: 0.3s;
  opacity: 0.5;
}

@keyframes arrowDrop {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%      { transform: translateY(4px); opacity: 0.7; }
}

/* ── Section Title ── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── Featured Cards ── */
.featured-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(16,16,26,0.6);
  border: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card:hover {
  border-color: rgba(255,94,0,0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(255,94,0,0.04);
}

/* ── Contact Form ── */
.form-input {
  width: 100%;
  background: rgba(16,16,26,0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px 18px;
  color: #e0e0e8;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  font-family: 'Inter', sans-serif;
}

.form-input:focus {
  border-color: rgba(255,94,0,0.3);
  box-shadow: 0 0 20px rgba(255,94,0,0.06);
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  background: linear-gradient(135deg, var(--orange), #ff8534);
  color: #fff;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.submit-btn:hover {
  box-shadow: 0 0 30px rgba(255,94,0,0.3);
  transform: translateY(-2px);
}

/* ── Blog Post Card ── */
.blog-card {
  background: rgba(16,16,26,0.6);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.4s ease;
}

.blog-card:hover {
  border-color: rgba(0,240,255,0.15);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* ── Enhanced Blog Cards ── */
.blog-card-enhanced {
  background: rgba(16,16,26,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.blog-card-enhanced:hover {
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.blog-cover {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-enhanced:hover .blog-cover img {
  transform: scale(1.05);
}

.blog-cover-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(16,16,26,0.9));
}

.blog-card-body {
  padding: 28px;
}

.blog-card-body.has-cover {
  padding-top: 20px;
}

.blog-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
}

.blog-post-title {
  transition: color 0.3s ease;
}

.blog-card-enhanced:hover .blog-post-title {
  color: var(--cyan);
}

.blog-read-cta {
  transition: opacity 0.3s ease;
}

.blog-arrow {
  transition: transform 0.3s ease;
}

.blog-card-enhanced.expanded .blog-arrow {
  transform: rotate(180deg);
}

.blog-full-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.blog-card-enhanced.expanded .blog-full-content {
  max-height: 3000px;
}

/* ── Blog Filter Buttons ── */
.blog-filter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter:hover {
  border-color: rgba(0,240,255,0.2);
  color: rgba(255,255,255,0.6);
}

.blog-filter.active {
  background: rgba(0,240,255,0.08);
  border-color: rgba(0,240,255,0.25);
  color: var(--cyan);
  box-shadow: 0 0 12px rgba(0,240,255,0.08);
}

/* ── Blog Share Buttons ── */
.blog-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-share-btn:hover {
  border-color: rgba(0,240,255,0.25);
  color: var(--cyan);
  background: rgba(0,240,255,0.06);
  box-shadow: 0 0 10px rgba(0,240,255,0.1);
  transform: translateY(-1px);
}

/* ── Blog Page Container ── */
.blog-page {
  position: relative;
  overflow: hidden;
}

/* ── Blog Ambient Background ── */
.blog-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 600px 400px at 10% 15%, rgba(0,240,255,0.03) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 85% 60%, rgba(255,94,0,0.025) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 90%, rgba(191,255,0,0.015) 0%, transparent 70%);
  animation: ambientDrift 20s ease-in-out infinite alternate;
}

@keyframes ambientDrift {
  0%   { opacity: 0.6; filter: hue-rotate(0deg); }
  50%  { opacity: 1; }
  100% { opacity: 0.7; filter: hue-rotate(15deg); }
}

/* ── Blog Hero (Featured) Card ── */
.blog-hero-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.03);
  cursor: pointer;
}

.blog-hero-card:hover {
  border-color: rgba(0,240,255,0.20);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4), 0 0 40px rgba(0,240,255,0.05), inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.blog-hero-card:hover .blog-hero-bg {
  transform: scale(1.04);
}

.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.15) 0%,
    rgba(10,10,15,0.45) 35%,
    rgba(10,10,15,0.82) 65%,
    rgba(10,10,15,0.96) 100%
  );
  z-index: 1;
}

.blog-hero-overlay.no-image {
  background: linear-gradient(135deg, rgba(16,16,26,0.95) 0%, rgba(22,22,42,0.9) 100%);
}

/* Accent line at top edge — always visible, stronger on hover */
.blog-hero-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, rgba(0,240,255,0.25) 30%, rgba(0,240,255,0.35) 50%, rgba(0,240,255,0.25) 70%, transparent 95%);
  z-index: 3;
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.blog-hero-card:hover::after {
  opacity: 1;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 36px;
  display: flex;
  align-items: flex-start;
}

.blog-hero-inner {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Tonight's Focus pill label */
.blog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.12);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  width: fit-content;
  box-shadow: 0 0 12px rgba(0,240,255,0.04);
  transition: all 0.4s ease;
}

.blog-hero-card:hover .blog-hero-label {
  background: rgba(0,240,255,0.10);
  border-color: rgba(0,240,255,0.22);
  box-shadow: 0 0 18px rgba(0,240,255,0.08);
}

.blog-hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.blog-hero-excerpt {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.blog-hero-cta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 0.3s ease;
}

.blog-hero-arrow {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  transition: transform 0.3s ease;
}

.blog-hero-card:hover .blog-hero-arrow {
  transform: translateX(4px);
}

/* Arrow rotates when expanded */
.blog-hero-wrapper.expanded .blog-hero-arrow {
  transform: rotate(90deg) !important;
}

/* Expand panel below hero */
.blog-hero-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.blog-hero-wrapper.expanded .blog-hero-expand {
  max-height: 5000px;
}

.blog-hero-expand-inner {
  padding: 32px 36px;
  background: rgba(16,16,26,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

/* Hero card loses bottom radius when expanded */
.blog-hero-wrapper.expanded .blog-hero-card {
  border-radius: 16px 16px 0 0;
}

/* ── Blog Inspired By Tag ── */
.blog-inspired {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.blog-card-enhanced:hover .blog-inspired,
.blog-hero-card:hover .blog-inspired {
  border-color: rgba(0,240,255,0.12);
  color: rgba(255,255,255,0.4);
  box-shadow: 0 0 8px rgba(0,240,255,0.05);
}

/* ── Blog Page Ending ── */
.blog-ending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 0 16px;
}

.blog-ending-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.3), transparent);
  box-shadow: 0 0 8px rgba(0,240,255,0.1);
}

.blog-ending-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.15);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   BLOG V2 — Street Navigation + Article Grid + The Intent
   ═══════════════════════════════════════════════════════════ */

/* ── Blog Layout (Nav + Streets) ── */
.blog-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

/* ── Blog Nav Menu ── */
.blog-nav-menu {
  background: rgba(16,16,26,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px 16px;
  position: sticky;
  top: 24px;
  text-align: center;
}

.blog-nav-header {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.blog-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 10px 6px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2px;
}

.blog-nav-item:hover {
  background: rgba(255,255,255,0.03);
  border-color: color-mix(in srgb, var(--nav-color) 15%, transparent);
}

.blog-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 0 0px transparent;
}

.blog-nav-item:hover .blog-nav-dot {
  box-shadow: 0 0 8px var(--nav-color);
}

.blog-nav-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.35;
  transition: color 0.3s ease;
}

.blog-nav-item:hover .blog-nav-label {
  color: rgba(255,255,255,0.8);
}

.blog-nav-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.2);
  text-align: center;
  transition: color 0.3s ease;
}

.blog-nav-item:hover .blog-nav-sub {
  color: color-mix(in srgb, var(--nav-color) 50%, transparent);
}

.blog-nav-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.blog-nav-hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.06em;
  font-style: italic;
}

/* ── Street Navigation Cards ── */
.blog-streets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 100%;
}

.blog-street-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  animation: fadeInUp 0.6s ease both;
}

.blog-street-card:hover {
  border-color: color-mix(in srgb, var(--street-color) 35%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 30px color-mix(in srgb, var(--street-color) 10%, transparent);
}

.blog-street-card.blog-street-active {
  border-color: color-mix(in srgb, var(--street-color) 50%, transparent);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 24px color-mix(in srgb, var(--street-color) 15%, transparent);
}

.blog-street-img {
  position: relative;
  height: 100%;
  min-height: 220px;
  overflow: hidden;
}

.blog-street-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 20s linear;
  transform: scale(1.15);
  animation: streetPan 25s ease-in-out infinite alternate;
}

@keyframes streetPan {
  0%   { transform: scale(1.15) translate(3%, 2%); }
  50%  { transform: scale(1.2) translate(-3%, -1%); }
  100% { transform: scale(1.15) translate(1%, -2%); }
}

.blog-street-card:hover .blog-street-img img {
  filter: grayscale(0%) brightness(1);
  animation-play-state: paused;
  transform: scale(1.08);
}

.blog-street-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,15,0.1) 0%,
    rgba(10,10,15,0.5) 50%,
    rgba(10,10,15,0.92) 100%
  );
}

.blog-street-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 16px;
  z-index: 2;
}

.blog-street-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--street-color);
  background: color-mix(in srgb, var(--street-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--street-color) 25%, transparent);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  text-shadow: 0 0 16px color-mix(in srgb, var(--street-color) 30%, transparent);
}

.blog-street-card:hover .blog-street-label,
.blog-street-card.blog-street-active .blog-street-label {
  background: color-mix(in srgb, var(--street-color) 22%, transparent);
  border-color: color-mix(in srgb, var(--street-color) 40%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--street-color) 15%, transparent);
}

.blog-street-name {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.3;
  margin-bottom: 2px;
}

.blog-street-city {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

.blog-street-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--street-color);
  border-radius: 2px;
  opacity: 0;
  filter: blur(4px);
  transition: opacity 0.4s ease;
}

.blog-street-card:hover .blog-street-glow,
.blog-street-card.blog-street-active .blog-street-glow {
  opacity: 0.5;
}

/* ── Active Filter Indicator ── */
.blog-active-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.blog-active-filter span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.blog-clear-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 12px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-clear-filter:hover {
  color: var(--cyan);
  border-color: rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.06);
}

/* ── Reveal Articles Button ── */
.blog-reveal-wrap {
  text-align: center;
  padding: 32px 0 40px;
}

.blog-reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,240,255,0.04);
  border: 1px solid rgba(0,240,255,0.12);
  padding: 14px 32px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.blog-reveal-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.06), transparent);
  animation: blogRevealShimmer 3s ease-in-out infinite;
}

@keyframes blogRevealShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.blog-reveal-btn:hover {
  background: rgba(0,240,255,0.08);
  border-color: rgba(0,240,255,0.30);
  box-shadow: 0 0 30px rgba(0,240,255,0.08), 0 0 60px rgba(0,240,255,0.04);
  transform: translateY(-2px);
}

.blog-reveal-chevron {
  color: rgba(0,240,255,0.4);
  font-size: 0.65rem;
  animation: blogChevronPulse 2s ease-in-out infinite;
}

@keyframes blogChevronPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.blog-reveal-text {
  position: relative;
  z-index: 1;
}

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* ── Articles Hidden / Revealing States ── */
.blog-articles-hidden {
  display: none !important;
}

.blog-articles-revealing {
  display: grid !important;
}

/* ── Article Grid ── */
.blog-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.blog-article-card-skeleton {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(16,16,26,0.5);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
}

/* ── Article Card (Horizontal) ── */
.blog-article-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(16,16,26,0.5);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-article-card:hover {
  border-color: color-mix(in srgb, var(--article-color) 20%, transparent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25), 0 0 20px color-mix(in srgb, var(--article-color) 5%, transparent);
  transform: translateY(-2px);
}

.blog-article-card.blog-article-featured {
  border-color: rgba(255,94,0,0.12);
  box-shadow: 0 4px 24px rgba(255,94,0,0.05);
}

.blog-article-inner {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blog-article-cover {
  position: relative;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-article-card:hover .blog-article-cover img {
  transform: scale(1.04);
}

.blog-article-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
}

.blog-article-featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff5e00;
  background: rgba(255,94,0,0.12);
  border: 1px solid rgba(255,94,0,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  z-index: 2;
}

.blog-article-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.blog-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.blog-article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.blog-article-card:hover .blog-article-title {
  color: var(--article-color);
}

.blog-article-excerpt {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Button */
.blog-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--article-color, var(--cyan));
  background: color-mix(in srgb, var(--article-color, var(--cyan)) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--article-color, var(--cyan)) 18%, transparent);
  padding: 6px 16px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  width: fit-content;
}

.blog-read-more-btn:hover {
  background: color-mix(in srgb, var(--article-color, var(--cyan)) 15%, transparent);
  border-color: color-mix(in srgb, var(--article-color, var(--cyan)) 35%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--article-color, var(--cyan)) 10%, transparent);
}

.blog-read-more-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.blog-article-inner.expanded .blog-read-more-text {
  display: none;
}

.blog-article-inner.expanded .blog-read-more-btn::before {
  content: 'Close';
}

.blog-article-inner.expanded .blog-read-more-arrow {
  transform: rotate(180deg);
}

/* Expanded Article Content */
.blog-article-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-article-inner.expanded + .blog-article-expand {
  max-height: 5000px;
}

.blog-article-expand-inner {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.blog-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 16px;
}

/* ── The Intent Editorial Block ── */
.blog-intent {
  text-align: center;
  padding: 48px 0 24px;
  max-width: 600px;
  margin: 0 auto;
}

.blog-intent-line {
  width: 80px;
  height: 1px;
  margin: 0 auto 28px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.25), transparent);
  box-shadow: 0 0 8px rgba(0,240,255,0.08);
}

.blog-intent-line:last-child {
  margin: 28px auto 0;
}

.blog-intent-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.blog-intent-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 22px;
  text-shadow: 0 0 20px rgba(0,240,255,0.15);
}

.blog-intent-text {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.38);
  font-style: italic;
}

/* ── Back Button ── */
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.blog-back-btn:hover {
  color: var(--cyan);
  border-color: rgba(0,240,255,0.25);
  background: rgba(0,240,255,0.05);
}

/* ── Street Detail Hero ── */
.blog-street-hero {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  margin-bottom: 36px;
  border: 1px solid rgba(255,255,255,0.06);
}

.blog-street-hero-img {
  position: absolute;
  inset: 0;
}

.blog-street-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-street-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,10,15,0.92) 0%,
    rgba(10,10,15,0.7) 40%,
    rgba(10,10,15,0.3) 70%,
    rgba(10,10,15,0.15) 100%
  );
}

.blog-street-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 55%;
}

.blog-street-hero-pill {
  display: inline-flex;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 14px;
  border: 1px solid;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 16px;
}

.blog-street-hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.blog-street-hero-city {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.blog-street-hero-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.blog-street-hero-stats {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Street Articles Header ── */
.blog-street-articles-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.blog-street-articles-header h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.blog-street-articles-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
}

/* ── Street Empty State ── */
.blog-street-empty {
  text-align: center;
  padding: 48px 0;
}

.blog-street-empty p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.blog-street-empty span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.1em;
}

/* ── Blog V2 Responsive ── */

/* ── Desktop sidebar offset (replaces lg:ml-[280px] Tailwind class) ── */
@media (min-width: 1024px) {
  #main-content {
    margin-left: 280px;
  }
}
@media (max-width: 1023px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px 14px;
    position: static;
  }
  .blog-nav-header {
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .blog-nav-item {
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 6px 12px;
  }
  .blog-nav-footer { display: none; }
  .blog-streets {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .blog-street-img { min-height: 180px; }
  .blog-article-grid { grid-template-columns: 1fr; }
  .blog-street-hero { height: 280px; }
  .blog-street-hero-content { max-width: 70%; padding: 28px 32px; }
  .blog-street-hero-title { font-size: 1.5rem; }
}

@media (max-width: 640px) {
  .blog-streets {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .blog-street-img { min-height: 150px; }
  .blog-street-name { font-size: 0.68rem; }
  .blog-street-content { padding: 12px; }
  .blog-article-cover { height: 180px; }
  .blog-article-body { padding: 18px; }
  .blog-article-title { font-size: 1rem; }
  .blog-intent-text { font-size: 0.82rem; }
  .blog-street-hero { height: auto; min-height: 260px; }
  .blog-street-hero-overlay {
    background: linear-gradient(to bottom, rgba(10,10,15,0.5) 0%, rgba(10,10,15,0.9) 100%) !important;
  }
  .blog-street-hero-content { max-width: 100%; padding: 24px; }
  .blog-street-hero-title { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .blog-nav-item { padding: 5px 8px; }
  .blog-nav-label { font-size: 0.55rem; }
  .blog-streets { gap: 8px; }
  .blog-street-img { min-height: 120px; }
  .blog-street-label { font-size: 0.55rem; padding: 3px 10px; }
  .blog-street-name { font-size: 0.6rem; }
  .blog-street-city { font-size: 0.45rem; }
  .blog-street-content { padding: 10px; }
}

/* ── Global Page Footer ── */
.page-footer {
  text-align: center;
  padding: 48px 0 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-footer.revealed {
  opacity: 1;
  transform: translateY(0);
}

.page-footer-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-orange, #ff5e00), transparent);
  margin: 0 auto 20px;
  opacity: 0.3;
}

.page-footer-brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.page-footer-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 6px;
}

/* ── Blog Card Micro-interactions ── */
.blog-post-card {
  transition: transform 0.4s ease;
}

.blog-post-card:hover {
  transform: translateY(-3px);
}

.blog-card-enhanced:hover .blog-read-cta {
  opacity: 1;
}

.blog-card-enhanced .blog-read-cta {
  opacity: 0.5;
}

/* ── Timeline ── */
.timeline-item {
  position: relative;
  padding-left: 32px;
  padding-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255,94,0,0.3), transparent);
}

.timeline-item:last-child::after { display: none; }

/* ═══════════════════════════════════════════════════════
   LIGHTBOX — sidebar split layout + zoom + grain
   ═══════════════════════════════════════════════════════ */
#lightbox {
  display: none;
  background: #070707;
  z-index: 10001;
}
#lightbox.active {
  display: block;
}

/* Ambient glow backdrop */
.lb-backdrop {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 55% at 30% 50%,
    color-mix(in srgb, var(--glow, #ff5e00) 22%, transparent) 0%,
    transparent 70%);
  transition: --glow 0.6s ease, background 0.6s ease;
  animation: lb-glow-pulse 4s ease-in-out infinite alternate;
}
@keyframes lb-glow-pulse {
  from { opacity: 0.7; }
  to   { opacity: 1;   }
}

/* Main layout */
.lb-layout {
  position: relative; z-index: 1;
  display: flex; height: 100vh; overflow: hidden;
}

/* ── Viewer panel ── */
.lb-viewer {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; height: 100%;
}

/* Top chrome */
.lb-chrome-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 10px;
  flex-shrink: 0;
}
.lb-progress-wrap {
  flex: 1; display: flex; align-items: center; gap: 10px;
}
.lb-progress-bar {
  flex: 1; height: 2px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden;
}
.lb-progress-fill {
  height: 100%; background: var(--glow, #ff5e00);
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s;
}
.lb-counter {
  font-size: 10px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.3); letter-spacing: 0.08em; white-space: nowrap;
}

/* Zoom controls */
.lb-zoom-controls {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
}
.lb-zoom-btn {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 6px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.45); font-size: 10px; font-family: var(--font-mono);
  transition: color 0.15s, background 0.15s;
}
.lb-zoom-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lb-zoom-level {
  font-size: 10px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.3); min-width: 36px; text-align: center;
}

/* Close */
.lb-close-btn {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4); cursor: pointer;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.lb-close-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Image stage */
.lb-stage {
  flex: 1; min-height: 0;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

/* Film grain overlay */
.lb-grain {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: lb-grain-shift 0.12s steps(1) infinite;
}
@keyframes lb-grain-shift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-3px, 1px); }
  50%  { transform: translate(2px,-2px); }
  75%  { transform: translate(-1px, 3px); }
  100% { transform: translate(1px,-1px); }
}

/* Nav arrows */
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}
.lb-nav:hover {
  color: #fff; border-color: rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.7);
  transform: translateY(-50%) scale(1.06);
}
.lb-nav-prev { left: 14px; }
.lb-nav-next { right: 14px; }

/* Image container (zoom target) */
.lb-img-container {
  max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
  transform-origin: center center;
  transition: transform 0.08s ease-out;
  will-change: transform;
  user-select: none;
}
.lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.9);
  opacity: 0; transition: opacity 0.25s ease;
  display: block; pointer-events: none;
}
.lb-img.lb-img-loaded { opacity: 1; }

/* Film strip */
.lb-filmstrip {
  display: flex; gap: 5px; align-items: center;
  padding: 8px 14px 12px;
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.lb-filmstrip::-webkit-scrollbar { height: 3px; }
.lb-filmstrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.lb-film-thumb {
  flex-shrink: 0; width: 52px; height: 34px; border-radius: 4px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, opacity 0.2s;
  opacity: 0.38;
}
.lb-film-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-film-thumb:hover { opacity: 0.72; transform: scale(1.08) translateY(-2px); }
.lb-film-thumb.lb-film-active {
  border-color: var(--glow, #ff5e00);
  opacity: 1; transform: scale(1.08) translateY(-2px);
}

/* ── Sidebar ── */
.lb-sidebar {
  width: 300px; flex-shrink: 0;
  display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.06);
  background: rgba(4,4,4,0.85);
  backdrop-filter: blur(20px);
  position: relative; overflow: hidden;
}
@media (max-width: 768px) {
  .lb-sidebar { display: none; }
  .lb-nav-prev { left: 8px; }
  .lb-nav-next { right: 8px; }
}

.lb-sidebar-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 220px;
  pointer-events: none; z-index: 0;
  transition: background 0.5s ease;
}

.lb-sidebar-inner {
  position: relative; z-index: 1;
  flex: 1; overflow-y: auto; padding: 32px 24px 24px;
  display: flex; flex-direction: column; gap: 0;
  scrollbar-width: none;
}
.lb-sidebar-inner::-webkit-scrollbar { display: none; }

/* Location pill */
.lb-loc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 20px;
  background: color-mix(in srgb, var(--accent, #ff5e00) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, #ff5e00) 30%, transparent);
  color: var(--accent, #ff5e00); font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
  width: fit-content; margin-bottom: 18px;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}

/* Title */
.lb-title {
  font-size: 22px; font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 12px;
  letter-spacing: -0.02em;
}

/* Category badge */
.lb-category-badge {
  display: inline-block;
  font-size: 9px; font-family: var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  background: color-mix(in srgb, var(--cat-color, #ff5e00) 12%, transparent);
  color: var(--cat-color, #ff5e00);
  border: 1px solid color-mix(in srgb, var(--cat-color, #ff5e00) 25%, transparent);
  margin-bottom: 20px;
}

/* Description */
.lb-description {
  font-size: 13px; color: rgba(255,255,255,0.48);
  line-height: 1.75; flex: 1;
}

/* Divider */
.lb-divider {
  height: 1px; background: rgba(255,255,255,0.06);
  margin: 24px 0;
}

/* Sidebar nav */
.lb-sidebar-nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 16px;
}
.lb-sidebar-nav-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45); font-size: 11px; font-family: var(--font-mono);
  cursor: pointer; transition: color 0.2s, background 0.2s;
}
.lb-sidebar-nav-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lb-sidebar-counter {
  font-size: 11px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.25); letter-spacing: 0.06em;
}

/* Keyboard hint */
.lb-keyboard-hint {
  font-size: 9.5px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.2); letter-spacing: 0.04em;
  line-height: 1.8;
}
.lb-key {
  display: inline-block; padding: 1px 5px; border-radius: 3px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  font-size: 9px; color: rgba(255,255,255,0.35);
}

/* ── Gallery view toggle buttons ── */
.gallery-view-btn {
  padding: 6px 8px; border-radius: 8px; border: none;
  background: transparent; color: rgba(255,255,255,0.3);
  cursor: pointer; display: flex; align-items: center;
  transition: background 0.2s, color 0.2s;
}
.gallery-view-btn.active { background: rgba(255,255,255,0.08); color: #fff; }
.gallery-view-btn:hover:not(.active) { color: rgba(255,255,255,0.6); }

/* ── Gallery grouped view ── */
.gallery-group { margin-bottom: 48px; }
.gallery-group-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gallery-group-pin {
  font-size: 10px; color: #ff5e00; flex-shrink: 0;
}
.gallery-group-title {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.85); flex: 1;
}
.gallery-group-count {
  font-size: 10px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.25); letter-spacing: 0.08em;
}
.gallery-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.gallery-group-item {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, border-color 0.2s;
}
.gallery-group-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-group-item:hover img { transform: scale(1.06); }
.gallery-group-item:hover { border-color: rgba(255,94,0,0.3); transform: translateY(-2px); }
.gallery-group-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 6px 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; transition: opacity 0.2s;
}
.gallery-group-item:hover .gallery-group-item-label { opacity: 1; }
.gallery-group-item-label span:first-child {
  font-size: 11px; font-weight: 500; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-group-item-cat {
  font-size: 9px; font-family: var(--font-mono);
  color: rgba(255,94,0,0.8); flex-shrink: 0; margin-left: 6px;
}

/* ── Song Lyrics Toggle ── */
.lyrics-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.lyrics-content.open {
  max-height: 3000px;
}

/* ── Lyrics Viewer (Clean text) ── */
.lyrics-viewer {
  max-height: 360px;
  overflow-y: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.lyrics-viewer::-webkit-scrollbar { width: 3px; }
.lyrics-viewer::-webkit-scrollbar-track { background: transparent; }
.lyrics-viewer::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }

.lyrics-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.35);
  white-space: pre-wrap;
  font-family: inherit;
}

/* ── Equalizer Indicator ── */
.eq-indicator {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}

.eq-bar {
  width: 3px;
  height: 15%;
  border-radius: 1px;
  transition: height 0.15s ease;
}

/* ── Volume Slider ── */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  background: rgba(255,255,255,0.8);
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
}

/* ── Now Playing Cover Glow ── */
.np-cover-glow {
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  opacity: 0.25;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

/* ── Track Thumbnails ── */
/* Legacy track-thumb (kept for compatibility) */
.track-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.06);
}

.track-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Genre Tags ── */
.genre-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid;
  line-height: 1;
  white-space: nowrap;
}

/* ── Release Cards ── */
.release-card {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.release-card:hover {
  transform: translateY(-6px);
}

.release-cover {
  aspect-ratio: 1;
  border-radius: 14px;
  border: 1px solid;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.release-card:hover .release-cover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.release-cover-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.release-cover-icon {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  z-index: 2;
}

.release-card:hover .release-cover-icon {
  opacity: 1;
  transform: scale(1);
}

.release-cover-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 0 20px;
  width: 100%;
  justify-content: center;
}

.mini-wave-bar {
  width: 3px;
  border-radius: 2px;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.release-card:hover .mini-wave-bar {
  opacity: 0.8;
  animation: waveform 0.8s ease-in-out infinite alternate;
}

.mini-wave-bar:nth-child(odd) { animation-delay: 0.1s; }
.mini-wave-bar:nth-child(3n) { animation-delay: 0.2s; }
.mini-wave-bar:nth-child(4n) { animation-delay: 0.05s; }

/* ── Hero Cover Card: Clickable + Glow ── */
.hero-cover-card {
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.hero-cover-card:hover {
  box-shadow: 0 0 20px color-mix(in srgb, var(--cover-color, #ff5e00) 20%, transparent);
  border-color: color-mix(in srgb, var(--cover-color, #ff5e00) 25%, transparent);
}
.hero-cover-card.hero-cover-active {
  box-shadow: 0 0 18px color-mix(in srgb, var(--cover-color, #ff5e00) 25%, transparent);
  border-color: color-mix(in srgb, var(--cover-color, #ff5e00) 35%, transparent);
}

/* ── Release Grid: Show More/Less ── */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .releases-grid { grid-template-columns: 1fr; }
}
.releases-grid .release-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.releases-grid .release-card.releases-hidden {
  display: none;
}
.releases-grid .release-card.releases-reveal {
  animation: releaseReveal 0.45s ease forwards;
}
@keyframes releaseReveal {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 1.5rem auto 0;
  padding: 10px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.show-more-btn:hover {
  background: rgba(255,94,0,0.06);
  border-color: rgba(255,94,0,0.2);
  color: rgba(255,255,255,0.8);
}
.show-more-btn svg {
  width: 14px; height: 14px;
  transition: transform 0.3s ease;
}
.show-more-btn.expanded svg {
  transform: rotate(180deg);
}

/* ── Release Card: Active/Playing State ── */
.release-card.release-playing .release-cover {
  box-shadow: 0 0 24px color-mix(in srgb, var(--release-color, #ff5e00) 20%, transparent);
  border-color: color-mix(in srgb, var(--release-color, #ff5e00) 30%, transparent);
}
.release-card.release-playing::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--release-color, #ff5e00);
  box-shadow: 0 0 8px var(--release-color, #ff5e00);
}

/* ── Hero Mini Player (always visible, full controls) ── */
.hero-mini-player {
  position: relative;
  padding: 14px 16px;
  background: rgba(10,10,18,0.75);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  margin-top: 1.25rem;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.hero-mini-player.hmp-active {
  border-color: color-mix(in srgb, var(--hmp-color, #ff5e00) 18%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--hmp-color, #ff5e00) 6%, transparent);
}

/* Row 1: Cover + Info + Controls */
.hmp-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-mini-player-cover {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}
.hmp-active .hero-mini-player-cover {
  border-color: color-mix(in srgb, var(--hmp-color, #ff5e00) 25%, transparent);
}
.hero-mini-player-info {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 150px;
}
.hero-mini-player-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}
.hmp-active .hero-mini-player-title {
  color: var(--hmp-color, #ff5e00);
}
.hero-mini-player-credit {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.35);
}

/* Transport controls */
.hmp-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.hmp-ctrl-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.hmp-ctrl-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.06);
}
.hmp-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
  padding: 0;
}
.hmp-play-btn:hover {
  border-color: color-mix(in srgb, var(--hmp-color, #ff5e00) 50%, transparent);
  background: color-mix(in srgb, var(--hmp-color, #ff5e00) 10%, transparent);
  color: var(--hmp-color, #ff5e00);
}

/* Progress row */
.hmp-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.hero-mini-player-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.hero-mini-player-bar:hover { height: 6px; }
.hero-mini-player-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--hmp-color, #ff5e00), color-mix(in srgb, var(--hmp-color, #ff5e00) 60%, transparent));
  border-radius: 2px;
  transition: width 0.15s linear;
}
.hmp-time {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  min-width: 32px;
  text-align: center;
}

/* Volume + Queue row */
.hmp-bottom-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.hmp-volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.hmp-volume-wrap svg {
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
}
.hmp-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  max-width: 90px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.hmp-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.hmp-volume-slider::-webkit-slider-thumb:hover {
  background: var(--hmp-color, #ff5e00);
}
.hmp-volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
}
.hmp-queue-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.hmp-queue-btn:hover {
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}
.hmp-queue-btn.active {
  border-color: color-mix(in srgb, var(--hmp-color, #ff5e00) 25%, transparent);
  color: var(--hmp-color, #ff5e00);
}

/* Queue panel */
.hmp-queue-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), margin 0.35s ease, opacity 0.25s ease;
  opacity: 0;
  margin-top: 0;
}
.hmp-queue-panel.open {
  max-height: 240px;
  overflow-y: auto;
  opacity: 1;
  margin-top: 10px;
}
.hmp-queue-panel::-webkit-scrollbar { width: 3px; }
.hmp-queue-panel::-webkit-scrollbar-track { background: transparent; }
.hmp-queue-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 2px; }
.hmp-queue-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hmp-queue-item:hover {
  background: rgba(255,255,255,0.04);
}
.hmp-queue-item.hmp-q-active {
  background: rgba(255,255,255,0.06);
}
.hmp-queue-item img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.05);
}
.hmp-queue-item-info {
  min-width: 0;
  flex: 1;
}
.hmp-queue-item-title {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hmp-q-active .hmp-queue-item-title {
  color: var(--hmp-color, #ff5e00);
}
.hmp-queue-item-credit {
  font-size: 9px;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.25);
}
.hmp-queue-item-eq {
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 14px;
  flex-shrink: 0;
}
.hmp-q-active .hmp-queue-item-eq { display: flex; }
.hmp-queue-item-eq span {
  width: 2px;
  border-radius: 1px;
  background: var(--hmp-color, #ff5e00);
  animation: hmpEq 0.6s ease-in-out infinite alternate;
}
.hmp-queue-item-eq span:nth-child(1) { height: 6px; animation-delay: 0s; }
.hmp-queue-item-eq span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.hmp-queue-item-eq span:nth-child(3) { height: 4px; animation-delay: 0.3s; }
@keyframes hmpEq {
  to { height: 14px; }
}

/* ── Track Sort Dropdown ── */
.track-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.track-sort-select {
  appearance: none;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 28px 6px 12px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  transition: all 0.25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(255,255,255,0.3)' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.track-sort-select:hover {
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}
.track-sort-select:focus {
  outline: none;
  border-color: rgba(255,94,0,0.3);
}

/* ── Light Theme Overrides for New Components ── */
[data-theme="light"] .show-more-btn {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.45);
}
[data-theme="light"] .show-more-btn:hover {
  background: rgba(255,94,0,0.05);
  border-color: rgba(255,94,0,0.2);
  color: rgba(0,0,0,0.7);
}
[data-theme="light"] .hero-mini-player {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .hero-mini-player-title { color: #111; }
[data-theme="light"] .hmp-active .hero-mini-player-title { color: var(--hmp-color, #d94e00); }
[data-theme="light"] .hero-mini-player-credit { color: rgba(0,0,0,0.4); }
[data-theme="light"] .hmp-play-btn {
  border-color: rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: #333;
}
[data-theme="light"] .hmp-ctrl-btn { color: rgba(0,0,0,0.35); }
[data-theme="light"] .hmp-ctrl-btn:hover { color: rgba(0,0,0,0.7); background: rgba(0,0,0,0.04); }
[data-theme="light"] .hero-mini-player-bar { background: rgba(0,0,0,0.06); }
[data-theme="light"] .hmp-time { color: rgba(0,0,0,0.35); }
[data-theme="light"] .hmp-volume-wrap svg { color: rgba(0,0,0,0.3); }
[data-theme="light"] .hmp-volume-slider { background: rgba(0,0,0,0.06); }
[data-theme="light"] .hmp-volume-slider::-webkit-slider-thumb { background: rgba(0,0,0,0.4); }
[data-theme="light"] .hmp-queue-btn { border-color: rgba(0,0,0,0.06); color: rgba(0,0,0,0.4); }
[data-theme="light"] .hmp-queue-btn:hover { border-color: rgba(0,0,0,0.12); color: rgba(0,0,0,0.6); }
[data-theme="light"] .hmp-queue-item:hover { background: rgba(0,0,0,0.03); }
[data-theme="light"] .hmp-queue-item.hmp-q-active { background: rgba(0,0,0,0.05); }
[data-theme="light"] .hmp-queue-item-title { color: rgba(0,0,0,0.7); }
[data-theme="light"] .hmp-queue-item-credit { color: rgba(0,0,0,0.35); }
[data-theme="light"] .track-sort-select {
  background-color: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.5);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(0,0,0,0.3)' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

/* ── Now Playing Card ── */
.now-playing-card {
  border-color: rgba(255,0,60,0.1) !important;
  box-shadow: 0 0 60px rgba(255,0,60,0.03);
}

/* ── Editorial Blocks (About page) ── */
.editorial-block {
  position: relative;
}

.editorial-block img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.editorial-block:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* ── Scroll Reveal ── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger reveals */
.reveal-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.reveal-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.reveal-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.reveal-on-scroll:nth-child(5) { transition-delay: 0.25s; }

/* ── Responsive ── */
@media (max-width: 1023px) {
  #mobile-header { display: block !important; }
  #main-content { margin-left: 0 !important; width: 100% !important; }
  /* Hamburger button — on-brand styling */
  #mobile-menu-btn {
    background: rgba(255, 94, 0, 0.08);
    border: 1px solid rgba(255, 94, 0, 0.25);
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  #mobile-menu-btn:hover, #mobile-menu-btn:active {
    background: rgba(255, 94, 0, 0.18);
    border-color: rgba(255, 94, 0, 0.5);
  }
  #burger-1, #burger-2, #burger-3 {
    background-color: #ff5e00 !important;
  }

  #main-content { padding-top: 64px; }
  .gallery-masonry { columns: 2; column-gap: 12px; }
  .gallery-masonry .gallery-item { margin-bottom: 12px; }
  .hero-title { font-size: 2.5rem; line-height: 1.1; }

  /* Hero background adjustments for tablet */
  .hero-fade-bottom { height: 55%; }

  /* Holo card padding */
  .holo-card { padding: 24px !important; }

  /* Blog cover height */
  .blog-cover { height: 180px; }

  /* Blog hero card tablet */
  .blog-hero-card { height: 280px; }
  .blog-hero-content { padding: 28px; }
  .blog-hero-inner { max-width: 80%; }

  /* Featured cards — disable hover lift on touch */
  .featured-card:hover { transform: none; }

  /* Global player — safe spacing */
  .global-player { bottom: 16px; right: 16px; }
}

@media (max-width: 640px) {
  .gallery-masonry { columns: 1; }
  .gallery-masonry .gallery-item { margin-bottom: 12px; }
  .gallery-item { border-radius: 8px; }
  .audio-player:not(.track-card-v2) { padding: 16px; }

  /* ── Hero section mobile — centering + vertical rhythm ── */
  .hero-title { font-size: 2rem; line-height: 1.1; }
  .hero-subtitle { font-size: 0.7rem; letter-spacing: 0.2em; }
  .hero-section {
    min-height: 85vh;
    /* Equal padding both sides for true center */
    padding-left: 24px !important;
    padding-right: 24px !important;
    /* Enforce centering */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  /* Text container — force full width in flex context */
  .hero-section .max-w-4xl {
    padding: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
  /* All hero text explicitly centered */
  .hero-section p,
  .hero-section h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-section .mb-6:first-child { margin-bottom: 12px; } /* eyebrow → title gap */
  .hero-section h1.mb-6 { margin-bottom: 16px; } /* title → description gap */
  .hero-section .mb-10 { margin-bottom: 32px; } /* description → CTA gap */
  .hero-vignette { box-shadow: inset 0 0 80px 30px rgba(10,10,15,0.7); }
  .hero-fade-bottom { height: 50%; }

  /* Scroll indicator — safe distance from bottom */
  .hero-section .absolute.bottom-12 { bottom: 24px; }

  /* CTA buttons — stacked column on mobile */
  .hero-section .flex.items-center.justify-center {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .hero-section .flex.items-center.justify-center a {
    width: 100%;
    max-width: 300px;
    padding: 14px 28px;
    font-size: 0.875rem;
    text-align: center;
    display: block;
  }

  /* ── Divider mobile ── */
  .hero-divider { padding: 20px 0 8px; gap: 12px; }
  .hero-divider-text { font-size: 0.5rem; letter-spacing: 0.2em; text-align: center; padding: 0 16px; }
  .hero-divider-line { width: 70%; }

  /* ── Section spacing — consistent 8px system ── */
  .section-title { font-size: 1.5rem; line-height: 1.15; }
  .section-label { font-size: 0.55rem; }

  /* Normalize all page sections: 24px horizontal, 40px vertical */
  section.px-6 { padding-left: 20px !important; padding-right: 20px !important; }
  section.py-16 { padding-top: 40px !important; padding-bottom: 40px !important; }

  /* Reduce section header bottom margin for tighter flow */
  section .mb-20 { margin-bottom: 40px !important; } /* About header */
  section .mb-16 { margin-bottom: 32px !important; } /* PraddoSoundz showcase */
  section .mb-14 { margin-bottom: 28px !important; } /* Blog header */
  section .mb-12 { margin-bottom: 24px !important; } /* Contact header, music header */

  /* ── Holo card ("Not just a portfolio") — balanced padding ── */
  .holo-card { padding: 20px !important; }
  .holo-card .grid { gap: 24px !important; }
  /* Stats row — even spacing, aligned baseline */
  .holo-card .flex.gap-6 { gap: 24px; justify-content: flex-start; }
  .holo-card .flex.gap-6 > div { min-width: 56px; text-align: center; }
  /* Image contained cleanly */
  .holo-card img { max-height: 280px; border-radius: 12px; }
  /* Holo card bottom margin — tighter to featured cards */
  .holo-card.mb-16 { margin-bottom: 24px !important; }

  /* ── Featured cards — consistent spacing ── */
  .featured-card { margin-bottom: 0; }
  .featured-card .p-6, .featured-card > div:last-child { padding: 14px 16px; }
  .featured-card h3 { font-size: 1rem; }
  .featured-card .text-sm { font-size: 0.8rem; line-height: 1.5; }
  .grid.md\:grid-cols-3 { gap: 16px !important; }
  /* Disable hover transforms on mobile */
  .featured-card:hover { transform: none; }

  /* ── Blog cards mobile ── */
  .blog-cover { height: 150px; }
  .blog-card-body { padding: 16px; }
  .blog-card-enhanced:hover { transform: none; }
  .blog-share-btn { width: 34px; height: 34px; }

  /* Blog hero card mobile */
  .blog-hero-card { height: auto; min-height: 220px; }
  .blog-hero-content { padding: 20px; }
  .blog-hero-inner { max-width: 100%; }
  .blog-hero-title { font-size: 1.25rem; line-height: 1.2; }
  .blog-hero-excerpt { -webkit-line-clamp: 3; }
  .blog-hero-card:hover { transform: none; }
  .blog-post-card:hover { transform: none; }
  .blog-hero-expand-inner { padding: 20px; }

  /* ── Track card v2 mobile — tighter ── */
  .track-header { padding: 16px 16px 0; gap: 12px; }
  .track-cover-wrap { width: 72px; height: 72px; border-radius: 12px; }
  .track-cover-play { border-radius: 12px; }
  .track-cover-wrap img { border-radius: 12px; }
  .track-footer { padding: 10px 16px; }
  .track-card-v2 .lyrics-content,
  .track-card-v2 .comment-section { padding: 0 16px; }
  .track-card-v2 .comment-section { padding-bottom: 16px; }
  .track-action-btn { padding: 4px 10px; font-size: 0.55rem; }
  .track-card-v2:hover { transform: none; }
  .track-card-v2.mb-8 { margin-bottom: 16px; } /* tighter gap between tracks */
  /* Most Played label mobile */
  .track-hot-label { margin: 12px 0 0 16px; font-size: 9px; padding: 3px 8px; }

  /* Platform buttons mobile */
  .platform-btn { padding: 6px 12px; font-size: 0.7rem; gap: 6px; }
  .platform-btn svg { width: 14px; height: 14px; }

  /* Platform links (track row) smaller on mobile */
  .platform-links a { width: 28px; height: 28px; }
  .platform-links a svg { width: 13px; height: 13px; }
  .platform-links { gap: 4px; }

  /* Track stats mobile */
  .track-stats { gap: 8px; font-size: 0.55rem; flex-wrap: wrap; }
  .track-stats-row { gap: 8px; }
  .star-rating { gap: 1px; }

  /* ── About page — stacked editorial blocks ── */
  .editorial-block { gap: 20px !important; margin-bottom: 40px !important; }
  .editorial-block > div { order: unset !important; }
  .editorial-block img { border-radius: 12px; }
  /* About page description — readability */
  .editorial-block p { font-size: 0.875rem; line-height: 1.65; }

  /* ── Photography — filter pills wrap ── */
  .filter-btn { padding: 6px 12px; font-size: 0.6rem; }

  /* ── Contact form — full width, touch-friendly ── */
  .contact-form input, .contact-form textarea { font-size: 16px; }
  .grid.lg\:grid-cols-\[1fr_280px\] { gap: 24px !important; }

  /* ── Global player — safe from edges ── */
  .global-player {
    bottom: 16px;
    right: 12px;
    width: 280px;
  }
  .global-player.minimized {
    bottom: 16px;
    right: 12px;
  }

  /* ── Page footer mobile ── */
  .page-footer { padding: 24px 20px 32px; }
}

/* ── Utility: Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Mobile Menu Active ── */
#mobile-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.burger-active #burger-1 { transform: rotate(45deg) translateY(5px); }
.burger-active #burger-2 { opacity: 0; }
.burger-active #burger-3 { transform: rotate(-45deg) translateY(-5px); width: 24px; }

/* ── Parallax container ── */
[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════
   P3: TRACK META — Ratings, Comments, Platform Links
   ═══════════════════════════════════════════════════════ */

.track-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0 1px;
  transition: transform 0.15s ease, color 0.2s ease;
  line-height: 1;
}

.star-btn:hover {
  transform: scale(1.3);
}

.platform-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.platform-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.platform-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
  border-color: currentColor;
}

.platform-links a svg {
  width: 16px;
  height: 16px;
}

/* Platform buttons (PraddoSoundz hero section) */
.platform-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--btn-color, #fff);
  background: color-mix(in srgb, var(--btn-color, #fff) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--btn-color, #fff) 20%, transparent);
  text-decoration: none;
  transition: all 0.25s ease;
}

.platform-btn:hover {
  background: color-mix(in srgb, var(--btn-color, #fff) 18%, transparent);
  border-color: color-mix(in srgb, var(--btn-color, #fff) 40%, transparent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--btn-color, #fff) 15%, transparent);
}

.comment-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.comment-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.comment-form input,
.comment-form textarea {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.8rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(255,94,0,0.3);
}

/* ── Now Playing Controls ── */
.np-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.np-ctrl-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.np-ctrl-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.np-main-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255,0,60,0.4);
  background: transparent;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.np-main-btn:hover {
  background: rgba(255,0,60,0.1);
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255,0,60,0.2);
}

/* ═══════════════════════════════════════════════════════
   P5: GLOBAL FLOATING PLAYER
   ═══════════════════════════════════════════════════════ */

.global-player {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 60;
  background: rgba(16, 16, 26, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  width: 300px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.6);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.global-player.minimized {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
}

.global-player.minimized .gp-body {
  display: none;
}

.global-player.minimized .gp-mini-icon {
  display: flex;
}

.gp-mini-icon {
  display: none;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.gp-body {
  padding: 14px 16px;
}

.gp-track {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gp-cover {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.gp-cover-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
}

.gp-info {
  flex: 1;
  min-width: 0;
}

.gp-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-credit {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(255,255,255,0.35);
}

.gp-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gp-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,94,0,0.4);
  background: transparent;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.gp-play-btn:hover {
  background: rgba(255,94,0,0.1);
  border-color: var(--orange);
}

.gp-progress {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
}

.gp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.gp-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.3);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 2px;
  transition: color 0.2s;
}

.gp-close:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════════
   P6: WELCOME SCREEN
   ═══════════════════════════════════════════════════════ */

@keyframes welcomeFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes welcomePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes subtextCycle {
  0%, 20% { opacity: 1; transform: translateY(0); }
  25%, 95% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0a0a0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome-screen.fade-out {
  opacity: 0;
  transform: scale(1.08);
  pointer-events: none;
}

.welcome-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  animation: welcomeFadeIn 1s ease 0.3s both;
}

.welcome-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
  height: 20px;
  position: relative;
  animation: welcomeFadeIn 1s ease 0.6s both;
}

.welcome-sub span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-sub span.active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.welcome-cta {
  margin-top: 48px;
  padding: 14px 36px;
  border: 1px solid rgba(255,94,0,0.3);
  border-radius: 100px;
  background: rgba(255,94,0,0.08);
  color: var(--orange);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: welcomeFadeIn 1s ease 1s both, welcomePulse 3s ease-in-out 2s infinite;
}

.welcome-cta:hover {
  background: rgba(255,94,0,0.15);
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(255,94,0,0.2);
}

.welcome-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  margin-top: 32px;
  animation: welcomeFadeIn 1s ease 0.8s both;
}

/* ═══════════════════════════════════════════════════════
   P6: CINEMATIC GALLERY
   ═══════════════════════════════════════════════════════ */

/* Blur placeholder while image loads */
.gallery-blur-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16,16,26,0.9), rgba(28,28,52,0.6));
  z-index: 1;
  transition: opacity 0.6s ease;
}
.gallery-blur-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,94,0,0.06) 0%, transparent 60%);
  animation: placeholderPulse 2s ease-in-out infinite;
}
@keyframes placeholderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.gallery-blur-placeholder.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Lazy-loaded images: hidden until loaded */
.gallery-lazy {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.gallery-lazy.loaded {
  opacity: 1;
}

/* Reveal animation on scroll */
.gallery-item {
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.gallery-item.gallery-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Stagger reveal delay based on position */
.gallery-item:nth-child(3n+2).gallery-revealed { transition-delay: 0.08s; }
.gallery-item:nth-child(3n+3).gallery-revealed { transition-delay: 0.16s; }

/* Orange radial glow on hover */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,94,0,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
}
.gallery-item:hover::before {
  opacity: 1;
}

/* Border glow effect */
.gallery-border-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  box-shadow: inset 0 0 0 1px rgba(255,94,0,0.2), 0 0 16px rgba(255,94,0,0.08);
}
.gallery-item:hover .gallery-border-glow {
  opacity: 1;
}

/* Cinematic hover: lift + glow + zoom */
.gallery-item:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,94,0,0.08);
  transform: translateY(-4px) scale(1);
}

.gallery-item img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}
.gallery-item:hover img {
  transform: scale(1.12);
  filter: brightness(1.15) contrast(1.05);
}

/* ── Track Selector ── */
.gp-tracklist-items {
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,94,0,0.15) transparent;
}

.gp-tracklist-items::-webkit-scrollbar { width: 3px; }
.gp-tracklist-items::-webkit-scrollbar-track { background: transparent; }
.gp-tracklist-items::-webkit-scrollbar-thumb { background: rgba(255,94,0,0.15); border-radius: 2px; }

.gp-track-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.gp-track-item:hover {
  background: rgba(255,255,255,0.04);
}

.gp-track-item.active {
  background: rgba(255,94,0,0.08);
}

.gp-track-item img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.gp-track-item .gp-item-title {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-track-item.active .gp-item-title {
  color: var(--orange);
}

/* ═══════════════════════════════════════════════════════
   LIGHT THEME OVERRIDES
   ═══════════════════════════════════════════════════════ */

/* Text colors — stronger contrast */
[data-theme="light"] .text-white { color: var(--text-primary) !important; }
[data-theme="light"] .text-gray-200 { color: var(--text-primary) !important; }
[data-theme="light"] .text-gray-300 { color: var(--text-secondary) !important; }
[data-theme="light"] .text-gray-400 { color: var(--text-secondary) !important; }
[data-theme="light"] .text-gray-500 { color: var(--text-muted) !important; }
[data-theme="light"] .text-gray-600 { color: #64748b !important; }
[data-theme="light"] .text-gray-700 { color: #94a3b8 !important; }

/* Background surfaces */
[data-theme="light"] .bg-dark-900 { background-color: var(--bg-base) !important; }
[data-theme="light"] .bg-dark-800 { background-color: var(--bg-surface) !important; }
[data-theme="light"] .bg-dark-700 { background-color: var(--bg-elevated) !important; }

/* Borders */
[data-theme="light"] .border-white\/5,
[data-theme="light"] .border-white\/\[0\.04\],
[data-theme="light"] .border-white\/\[0\.05\],
[data-theme="light"] .border-white\/\[0\.06\],
[data-theme="light"] .border-white\/10 {
  border-color: var(--border-medium) !important;
}

/* Holo cards — solid white with clear separation */
[data-theme="light"] .holo-card {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .holo-card:hover {
  border-color: var(--border-accent) !important;
  box-shadow: var(--shadow-elevated) !important;
}

/* Blog cards — solid white */
[data-theme="light"] .blog-card-enhanced {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .blog-card-enhanced:hover {
  border-color: var(--border-accent) !important;
  box-shadow: var(--shadow-elevated) !important;
}

/* Blog hero */
[data-theme="light"] .blog-hero-card {
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-elevated) !important;
}
[data-theme="light"] .blog-hero-card::after {
  background: linear-gradient(90deg, transparent 5%, rgba(0,131,155,0.3) 30%, rgba(0,131,155,0.45) 50%, rgba(0,131,155,0.3) 70%, transparent 95%) !important;
}
[data-theme="light"] .blog-hero-label {
  color: #006d80 !important;
  background: rgba(0,131,155,0.08) !important;
  border-color: rgba(0,131,155,0.18) !important;
  box-shadow: none !important;
}
[data-theme="light"] .blog-hero-title {
  text-shadow: 0 1px 8px rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .blog-hero-expand-inner {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .page-footer-line {
  background: linear-gradient(90deg, transparent, var(--accent-orange), transparent) !important;
}

/* Blog filters — stronger pills */
[data-theme="light"] .blog-filter {
  background: rgba(0,0,0,0.04) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-filter:hover {
  background: rgba(0,0,0,0.06) !important;
  border-color: var(--border-accent) !important;
  color: var(--text-primary) !important;
}
[data-theme="light"] .blog-filter.active {
  background: rgba(0,131,155,0.10) !important;
  border-color: rgba(0,131,155,0.35) !important;
  color: #006d80 !important;
}

/* Blog share buttons — more visible */
[data-theme="light"] .blog-share-btn {
  background: rgba(0,0,0,0.04) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-share-btn:hover {
  background: rgba(0,0,0,0.07) !important;
  border-color: var(--border-accent) !important;
  color: var(--text-primary) !important;
}

/* Blog inspired tag — stronger */
[data-theme="light"] .blog-inspired {
  background: rgba(0,131,155,0.06) !important;
  border-color: rgba(0,131,155,0.18) !important;
  color: var(--text-secondary) !important;
}

/* Category pills — better legibility */
[data-theme="light"] .blog-category-pill {
  opacity: 1;
  background: rgba(0,0,0,0.06) !important;
  color: var(--text-secondary) !important;
}

/* Blog V2 — Nav menu light theme */
[data-theme="light"] .blog-nav-menu {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .blog-nav-header {
  color: var(--text-muted) !important;
  border-color: var(--border-light) !important;
}
[data-theme="light"] .blog-nav-label {
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-nav-item:hover {
  background: rgba(0,0,0,0.03) !important;
}
[data-theme="light"] .blog-nav-footer {
  border-color: var(--border-light) !important;
}
[data-theme="light"] .blog-back-btn {
  background: rgba(0,0,0,0.04) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-back-btn:hover {
  color: #006d80 !important;
  border-color: rgba(0,131,155,0.3) !important;
}

/* Blog V2 — Street detail light theme */
[data-theme="light"] .blog-street-hero {
  border-color: var(--border-medium) !important;
}
[data-theme="light"] .blog-street-hero-title {
  text-shadow: 0 1px 8px rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .blog-street-articles-header h3 {
  color: var(--text-muted) !important;
}
[data-theme="light"] .blog-street-articles-line {
  background: linear-gradient(90deg, var(--border-light), transparent) !important;
}

/* Blog V2 — Street cards light theme */
[data-theme="light"] .blog-street-card {
  border-color: var(--border-medium) !important;
  background: #ffffff;
}
[data-theme="light"] .blog-street-card:hover {
  box-shadow: var(--shadow-elevated) !important;
}
[data-theme="light"] .blog-street-overlay {
  background: linear-gradient(to bottom, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.92) 100%) !important;
}
[data-theme="light"] .blog-street-name {
  color: var(--text-primary) !important;
  text-shadow: none !important;
}
[data-theme="light"] .blog-street-city {
  color: var(--text-muted) !important;
}

/* Blog V2 — Article cards light theme */
[data-theme="light"] .blog-article-card {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .blog-article-card:hover {
  border-color: var(--border-accent) !important;
  box-shadow: var(--shadow-elevated) !important;
}
[data-theme="light"] .blog-article-title {
  color: var(--text-primary) !important;
}
[data-theme="light"] .blog-article-excerpt {
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-article-expand-inner {
  border-color: var(--border-light) !important;
}
[data-theme="light"] .blog-article-featured-badge {
  background: rgba(217,78,0,0.08) !important;
  border-color: rgba(217,78,0,0.2) !important;
  color: #d94e00 !important;
}

/* Blog V2 — Active filter light theme */
[data-theme="light"] .blog-active-filter {
  background: rgba(0,0,0,0.03) !important;
  border-color: var(--border-medium) !important;
}
[data-theme="light"] .blog-active-filter span {
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-clear-filter {
  background: rgba(0,0,0,0.04) !important;
  border-color: var(--border-medium) !important;
  color: var(--text-secondary) !important;
}

/* Blog V2 — Reveal button light theme */
[data-theme="light"] .blog-reveal-btn {
  background: rgba(0,131,155,0.06) !important;
  border-color: rgba(0,131,155,0.18) !important;
  color: #006d80 !important;
}
[data-theme="light"] .blog-reveal-btn:hover {
  background: rgba(0,131,155,0.10) !important;
  border-color: rgba(0,131,155,0.30) !important;
}
[data-theme="light"] .blog-reveal-chevron {
  color: rgba(0,131,155,0.4) !important;
}

/* Blog V2 — Author's Note light theme */
[data-theme="light"] .blog-intent-label {
  color: var(--text-muted) !important;
}
[data-theme="light"] .blog-intent-title {
  color: #006d80 !important;
  text-shadow: none !important;
}
[data-theme="light"] .blog-intent-text {
  color: var(--text-secondary) !important;
}
[data-theme="light"] .blog-intent-line {
  background: linear-gradient(90deg, transparent, rgba(0,131,155,0.25), transparent) !important;
}

/* Track cards — solid white */
[data-theme="light"] .track-card-v2 {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}
[data-theme="light"] .track-hot {
  border-color: rgba(217, 78, 0, 0.18) !important;
  box-shadow: 0 0 24px rgba(217, 78, 0, 0.06), 0 0 48px rgba(217, 78, 0, 0.03), 0 4px 20px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .track-hot:hover {
  box-shadow: 0 0 32px rgba(217, 78, 0, 0.1), 0 0 60px rgba(217, 78, 0, 0.05), 0 8px 32px rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .track-hot-label {
  color: #d94e00;
  background: rgba(217, 78, 0, 0.06);
  border-color: rgba(217, 78, 0, 0.18);
}

/* Audio player — solid white */
[data-theme="light"] .audio-player {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}

/* Sidebar nav — stronger active state */
[data-theme="light"] .nav-link {
  color: var(--text-muted) !important;
}
[data-theme="light"] .nav-link:hover {
  color: var(--text-primary) !important;
  background: rgba(0,0,0,0.05) !important;
}
[data-theme="light"] .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(0,0,0,0.06) !important;
  font-weight: 500;
}
[data-theme="light"] .nav-link.active .nav-dot {
  background-color: var(--accent-orange) !important;
  box-shadow: 0 0 6px rgba(217,78,0,0.4) !important;
}

/* Sidebar divider */
[data-theme="light"] .bg-gradient-to-r.from-transparent.via-white\/10.to-transparent {
  opacity: 0.6;
  background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent) !important;
}

/* Sidebar neon edge — subtle accent line */
[data-theme="light"] #sidebar .absolute.right-0 {
  opacity: 0.2;
}

/* Profile glow */
[data-theme="light"] .animate-pulse-slow {
  opacity: 0.2 !important;
}

/* Section labels & titles — readable accent */
[data-theme="light"] .section-label {
  color: #00758a !important;
  opacity: 1;
}
[data-theme="light"] .section-title {
  color: var(--text-primary) !important;
}

/* Gradient text — deeper, richer */
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #c84500, #00758a) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Glow effects — subtle warm tint instead of full glow */
[data-theme="light"] .glow-cyan {
  text-shadow: none !important;
  color: #00758a !important;
}
[data-theme="light"] .glow-orange {
  text-shadow: none !important;
  color: #c84500 !important;
}

/* Scrollbar */
[data-theme="light"] #main-content::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
}
[data-theme="light"] #main-content::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-hover);
}

/* Hero section */
[data-theme="light"] .hero-section {
  background: var(--bg-base);
}
[data-theme="light"] .hero-vignette {
  box-shadow: inset 0 0 150px 60px var(--vignette) !important;
}

/* Hero particles — mute in light */
[data-theme="light"] .hero-particle {
  opacity: 0.15 !important;
}

/* Featured card overlays — solid white */
[data-theme="light"] .featured-card {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  box-shadow: var(--shadow-card) !important;
}

/* About page editorial blocks — readable */
[data-theme="light"] .editorial-block {
  color: var(--text-secondary);
}
[data-theme="light"] .editorial-block h2,
[data-theme="light"] .editorial-block h3 {
  color: var(--text-primary) !important;
}

/* Contact form — clear input fields */
[data-theme="light"] .admin-input,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff !important;
  border-color: var(--border-medium) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .admin-input:focus,
[data-theme="light"] input[type="text"]:focus,
[data-theme="light"] input[type="email"]:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
  border-color: rgba(0,131,155,0.4) !important;
  box-shadow: 0 0 0 3px rgba(0,131,155,0.08) !important;
}

/* Global player — clearer separation */
[data-theme="light"] .global-player {
  background: rgba(255,255,255,0.95) !important;
  border-color: var(--border-medium) !important;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06) !important;
}

/* Skeleton loading */
[data-theme="light"] .skeleton {
  background: rgba(0,0,0,0.06) !important;
}

/* Mobile nav links — legible */
[data-theme="light"] .mobile-nav-link {
  color: var(--text-secondary) !important;
}
[data-theme="light"] .mobile-nav-link:hover {
  color: var(--accent-orange) !important;
}

[data-theme="light"] .welcome-screen {
  background: var(--bg-base) !important;
}

/* ── Theme Toggle Button ── */
.theme-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-input);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
}

.theme-toggle:hover {
  border-color: var(--border-accent);
  color: var(--accent-orange);
  background: var(--bg-hover);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

/* ── Blog Content Rendering ── */
.blog-content h2 { margin-top: 1.5em; margin-bottom: 0.5em; }
.blog-content h3 { margin-top: 1em; margin-bottom: 0.5em; }
.blog-content img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.blog-content iframe { display: block; max-width: 100%; }
.blog-content blockquote { margin: 1em 0; }
.blog-content hr { border: none; }
.blog-content a { color: var(--cyan); }
.blog-content a:hover { text-decoration: underline; }

/* ── Extra small screens (480px and below) ── */
@media (max-width: 480px) {
  /* ── Global player — full width on small screens ── */
  .global-player {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }

  /* ── Hero — stack CTA buttons, equal padding ── */
  .hero-title { font-size: 1.75rem; }
  /* Same padding both sides — keeps content truly centered */
  .hero-section { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-section .flex.items-center.justify-center.gap-4 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .hero-section .flex.items-center.justify-center a {
    width: 100%;
    max-width: 240px;
    justify-content: center;
    display: flex;
  }
  /* Description text */
  .hero-section .text-base { font-size: 0.9rem; line-height: 1.6; }

  /* ── Section horizontal padding ── */
  section { padding-left: 16px !important; padding-right: 16px !important; }

  /* ── Holo card extra tight ── */
  .holo-card { padding: 16px !important; }
  .holo-card h2 { font-size: 1.25rem; line-height: 1.2; }
  .holo-card .text-gray-400 { font-size: 0.8rem; line-height: 1.6; }
  .holo-card .flex.gap-6 { gap: 20px; }

  /* ── Blog cards — tighter ── */
  .blog-card-body { padding: 14px; }
  .blog-cover { height: 130px; }
  .blog-category-pill { font-size: 0.5rem; padding: 3px 8px; }
  .blog-share-btn { width: 32px; height: 32px; }

  /* Blog hero card extra small */
  .blog-hero-card { min-height: 180px; }
  .blog-hero-content { padding: 16px; }
  .blog-hero-title { font-size: 1.1rem; line-height: 1.25; }
  .blog-hero-label { font-size: 0.5rem; margin-bottom: 6px; }
  .blog-ending { padding: 24px 0 12px; }
  .blog-hero-expand-inner { padding: 16px; }

  /* ── Mobile nav text ── */
  .mobile-nav-link { font-size: 1.25rem !important; }

  /* ── Platform buttons wrap tighter ── */
  .platform-btn { padding: 5px 10px; font-size: 0.65rem; }

  /* ── Track cards — cover art smaller on tiny screens ── */
  .track-cover-wrap { width: 64px; height: 64px; }
  .track-info h3 { font-size: 0.85rem; }
  .track-info .text-sm { font-size: 0.75rem; }

  /* ── About images full width ── */
  .editorial-block img { aspect-ratio: 3/4; border-radius: 10px; }
  .editorial-block { margin-bottom: 32px !important; }

  /* ── Blog content images responsive ── */
  .blog-content img { max-width: 100%; height: auto; }

  /* ── Section titles — prevent orphan words ── */
  .section-title { font-size: 1.35rem; }

  /* ── Page footer — compact ── */
  .page-footer { padding: 20px 16px 28px; }
  .page-footer-brand { font-size: 0.65rem; }
  .page-footer-sub { font-size: 0.5rem; }
}

/* ═══════════════════════════════════════════════════════
   ADMIN BAR (owner-only, WordPress-style top bar)
   ═══════════════════════════════════════════════════════ */

#ah-admin-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10000;
  height: 36px; background: #1a1200;
  border-bottom: 1px solid rgba(255,160,0,0.2);
  font-family: var(--font-mono); font-size: 11px;
}
.admin-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding: 0 16px; gap: 12px;
}
.admin-bar-left, .admin-bar-right {
  display: flex; align-items: center; gap: 10px;
}
.admin-bar-logo-icon {
  width: 14px; height: 14px; color: #ff9900; flex-shrink: 0;
}
.admin-bar-site-name { color: #ff9900; font-weight: 600; letter-spacing: 0.05em; }
.admin-bar-sep { color: rgba(255,255,255,0.15); }
.admin-bar-link {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.5); text-decoration: none;
  padding: 3px 8px; border-radius: 5px; background: none; border: none;
  cursor: pointer; font-family: var(--font-mono); font-size: 11px;
  transition: color 0.2s, background 0.2s;
}
.admin-bar-link:hover { color: #ff9900; background: rgba(255,153,0,0.08); }
.admin-bar-greeting { color: rgba(255,255,255,0.4); font-size: 10px; }
.admin-bar-logout { color: rgba(255,100,100,0.5); }
.admin-bar-logout:hover { color: #ff4040; background: rgba(255,64,64,0.08); }

/* Push layout down when admin bar is active */
body.has-admin-bar #ah-sidebar,
body.has-admin-bar aside { top: 36px !important; }
body.has-admin-bar #main-content { margin-top: 36px !important; height: calc(100vh - 36px) !important; }
body.has-admin-bar #mobile-header { top: 36px !important; }

/* ═══════════════════════════════════════════════════════
   AUTH SYSTEM — Modal, Sidebar Zone, Toast
   ═══════════════════════════════════════════════════════ */

/* ── Sidebar auth zone ── */
#auth-zone { text-align: center; }

.auth-login-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; padding: 7px 14px; cursor: pointer; background: transparent;
  transition: color 0.2s, border-color 0.2s;
}
.auth-login-btn:hover { color: #fff; border-color: rgba(255,94,0,0.5); }

.auth-user-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  padding: 5px 12px;
}
.auth-user-pill img,
.auth-user-pill .auth-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.auth-avatar-placeholder {
  width: 18px; height: 18px; border-radius: 50%; background: rgba(255,94,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #ff5e00;
}
.auth-logout-btn {
  font-size: 10px; color: rgba(255,255,255,0.3); background: none;
  border: none; cursor: pointer; font-family: var(--font-mono);
  margin-left: 4px; transition: color 0.2s;
}
.auth-logout-btn:hover { color: #ff4040; }
.auth-username-btn {
  background: none; border: none; color: rgba(255,255,255,0.7);
  cursor: pointer; font-size: 11px; font-family: var(--font-mono);
  padding: 0; transition: color 0.2s;
}
.auth-username-btn:hover { color: #ff5e00; }
.auth-profile-link {
  display: block; text-align: center; margin-top: 6px;
  font-size: 10px; font-family: var(--font-mono); color: rgba(255,94,0,0.6);
  cursor: pointer; transition: color 0.2s;
}
.auth-profile-link:hover { color: #ff5e00; }
.auth-guest-hint {
  font-size: 10px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.2); text-align: center;
  margin-top: 6px; line-height: 1.4;
}

/* ── Profile page ── */
.profile-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px;
}
.profile-avatar-wrap {
  position: relative; flex-shrink: 0;
  width: 88px; height: 88px;
}
.profile-avatar-img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
}
.profile-avatar-placeholder {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255,94,0,0.15); border: 2px solid rgba(255,94,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #ff5e00;
}
.profile-avatar-edit {
  position: absolute; bottom: 0; right: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.5); transition: color 0.2s, border-color 0.2s;
}
.profile-avatar-edit:hover { color: #fff; border-color: rgba(255,94,0,0.5); }
.profile-field { margin-bottom: 14px; }
.profile-field label {
  display: block; font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 6px;
}
.profile-field input, .profile-field textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: #fff; outline: none;
  transition: border-color 0.2s; font-family: inherit; resize: vertical;
}
.profile-field input:focus, .profile-field textarea:focus {
  border-color: rgba(255,94,0,0.5);
}
.profile-hint { font-size: 9px; color: rgba(255,255,255,0.25); font-family: var(--font-mono); margin-left: 4px; }
.profile-save-btn {
  padding: 10px 24px; border-radius: 9px; border: none;
  background: linear-gradient(135deg, #ff5e00, #ff4040);
  color: #fff; font-size: 12px; font-family: var(--font-mono);
  letter-spacing: 0.06em; cursor: pointer; transition: opacity 0.2s;
}
.profile-save-btn:hover { opacity: 0.85; }
.profile-rating-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 8px; border: 1px solid;
  font-size: 11px; font-family: var(--font-mono);
}
.profile-comment-item {
  border-left: 2px solid; padding: 8px 12px;
  background: rgba(255,255,255,0.02); border-radius: 0 8px 8px 0;
}

/* ── Modal overlay ── */
.auth-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
  padding: 16px;
}
.auth-modal-overlay.active { display: flex; }

.auth-modal {
  background: #111; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; width: 100%; max-width: 400px;
  padding: 32px; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.auth-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; color: rgba(255,255,255,0.3);
  cursor: pointer; font-size: 20px; line-height: 1; transition: color 0.2s;
}
.auth-modal-close:hover { color: #fff; }

/* ── Tabs ── */
.auth-tabs {
  display: flex; gap: 4px; background: rgba(255,255,255,0.04);
  border-radius: 10px; padding: 4px; margin-bottom: 24px;
}
.auth-tab {
  flex: 1; padding: 8px; border-radius: 7px; border: none;
  background: none; color: rgba(255,255,255,0.4); font-size: 12px;
  font-family: var(--font-mono); letter-spacing: 0.06em; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-tab.active {
  background: rgba(255,94,0,0.15); color: #ff5e00;
}

/* ── Form panels ── */
.auth-panel { display: block; }
.auth-panel.hidden { display: none; }

.auth-subtitle {
  font-size: 12px; color: rgba(255,255,255,0.4);
  font-family: var(--font-mono); margin-bottom: 16px;
}
.auth-switch {
  text-align: center; margin-top: 14px;
  font-size: 11px; color: rgba(255,255,255,0.3);
}
.auth-switch button {
  background: none; border: none; color: rgba(255,94,0,0.8);
  cursor: pointer; font-size: 11px; text-decoration: underline;
}
.auth-hint { font-size: 9px; color: rgba(255,255,255,0.25); font-family: var(--font-mono); }
.auth-resend-link {
  background: none; border: none; color: rgba(255,94,0,0.8);
  cursor: pointer; font-size: 11px; font-family: var(--font-mono);
  text-decoration: underline; margin-left: 4px;
}

.auth-field {
  margin-bottom: 14px;
}
.auth-field label {
  display: block; font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.08em; color: rgba(255,255,255,0.4); margin-bottom: 6px;
}
.auth-field input {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 10px 12px; font-size: 13px; color: #fff; outline: none;
  transition: border-color 0.2s;
}
.auth-field input:focus { border-color: rgba(255,94,0,0.5); }

.auth-submit-btn {
  width: 100%; padding: 11px; border-radius: 9px; border: none;
  background: linear-gradient(135deg, #ff5e00, #ff4040);
  color: #fff; font-size: 12px; font-family: var(--font-mono);
  letter-spacing: 0.08em; cursor: pointer; margin-top: 6px;
  transition: opacity 0.2s;
}
.auth-submit-btn:hover { opacity: 0.85; }
.auth-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-error {
  font-size: 11px; color: #ff4040; font-family: var(--font-mono);
  margin-top: 10px; text-align: center; min-height: 16px;
}
.auth-success {
  font-size: 11px; color: #4ade80; font-family: var(--font-mono);
  margin-top: 10px; text-align: center; min-height: 16px;
}

/* ── OAuth grid ── */
.auth-divider {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0; color: rgba(255,255,255,0.2); font-size: 10px;
  font-family: var(--font-mono);
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08);
}

.auth-oauth-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.auth-oauth-btn {
  flex: 1; min-width: 80px; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 9px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.7);
  font-size: 11px; font-family: var(--font-mono); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.auth-oauth-btn:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); }
.auth-oauth-btn svg { flex-shrink: 0; }
.auth-oauth-btn.hidden { display: none; }

/* ── Toast notification ── */
.ah-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: #1a1a1a; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px 16px; font-size: 12px;
  font-family: var(--font-mono); color: rgba(255,255,255,0.85);
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  max-width: 320px; opacity: 0; transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.ah-toast.ah-toast-show { opacity: 1; transform: translateY(0); }
.ah-toast.ah-toast-error   { border-color: rgba(255,64,64,0.4); }
.ah-toast.ah-toast-success { border-color: rgba(74,222,128,0.4); }
.ah-toast.ah-toast-info    { border-color: rgba(99,179,237,0.4); }

/* ═══════════════════════════════════════════════════════
   COOKIE CONSENT BANNER & PREFERENCES MODAL
   ═══════════════════════════════════════════════════════ */

#ah-consent-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: #0d0d0d; border-top: 1px solid rgba(255,94,0,0.2);
  padding: 16px 24px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.6);
  font-family: var(--font-mono);
}
.consent-text {
  flex: 1; min-width: 220px; font-size: 11px;
  color: rgba(255,255,255,0.5); line-height: 1.6;
}
.consent-text a { color: rgba(255,94,0,0.7); text-decoration: none; }
.consent-text a:hover { color: #ff5e00; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.consent-btn {
  padding: 8px 16px; border-radius: 8px; font-size: 11px;
  font-family: var(--font-mono); letter-spacing: 0.06em;
  cursor: pointer; border: 1px solid; transition: all 0.2s;
}
.consent-btn-accept {
  background: linear-gradient(135deg, #ff5e00, #ff4040);
  border-color: transparent; color: #fff;
}
.consent-btn-accept:hover { opacity: 0.85; }
.consent-btn-reject {
  background: transparent; border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5);
}
.consent-btn-reject:hover { border-color: rgba(255,255,255,0.25); color: #fff; }
.consent-btn-customize {
  background: transparent; border-color: rgba(255,94,0,0.3); color: rgba(255,94,0,0.7);
}
.consent-btn-customize:hover { border-color: rgba(255,94,0,0.6); color: #ff5e00; }

/* Preferences modal */
#ah-consent-modal {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
#ah-consent-modal.active { display: flex; }
.consent-modal-box {
  background: #111; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 32px; max-width: 440px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.consent-modal-title {
  font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px;
}
.consent-modal-sub {
  font-size: 11px; font-family: var(--font-mono); color: rgba(255,255,255,0.4); margin-bottom: 20px;
}
.consent-toggle-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); gap: 16px;
}
.consent-toggle-row:last-of-type { border-bottom: none; }
.consent-toggle-info { flex: 1; }
.consent-toggle-label { font-size: 13px; font-weight: 500; color: #fff; }
.consent-toggle-desc { font-size: 11px; font-family: var(--font-mono); color: rgba(255,255,255,0.35); margin-top: 3px; line-height: 1.5; }
.consent-toggle-required {
  font-size: 10px; font-family: var(--font-mono); color: rgba(255,255,255,0.25);
  margin-top: 4px;
}

/* Toggle switch */
.consent-switch { flex-shrink: 0; margin-top: 2px; }
.consent-switch input { display: none; }
.consent-switch-track {
  display: block; width: 40px; height: 22px; border-radius: 11px;
  background: rgba(255,255,255,0.1); cursor: pointer; position: relative;
  transition: background 0.2s;
}
.consent-switch input:checked + .consent-switch-track { background: #ff5e00; }
.consent-switch input:disabled + .consent-switch-track { cursor: not-allowed; opacity: 0.5; }
.consent-switch-track::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; transition: transform 0.2s;
}
.consent-switch input:checked + .consent-switch-track::after { transform: translateX(18px); }

.consent-modal-actions { display: flex; gap: 10px; margin-top: 20px; }
.consent-modal-save {
  flex: 1; padding: 11px; border-radius: 9px; border: none;
  background: linear-gradient(135deg, #ff5e00, #ff4040);
  color: #fff; font-size: 12px; font-family: var(--font-mono);
  letter-spacing: 0.06em; cursor: pointer; transition: opacity 0.2s;
}
.consent-modal-save:hover { opacity: 0.85; }
.consent-modal-cancel {
  padding: 11px 18px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.1); background: none;
  color: rgba(255,255,255,0.4); font-size: 12px; font-family: var(--font-mono);
  cursor: pointer; transition: all 0.2s;
}
.consent-modal-cancel:hover { color: #fff; border-color: rgba(255,255,255,0.25); }

/* ═══════════════════════════════════════════════════════
   FOOTER LEGAL LINKS
   ═══════════════════════════════════════════════════════ */
.page-footer-links {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin: 10px 0 6px;
}
.page-footer-link {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25); text-decoration: none; background: none;
  border: none; cursor: pointer; padding: 0;
  transition: color 0.2s;
}
.page-footer-link:hover { color: rgba(255,94,0,0.7); }
.page-footer-sep { color: rgba(255,255,255,0.1); font-size: 10px; }

/* ═══════════════════════════════════════════════════════
   LEGAL DOCUMENT PAGES
   ═══════════════════════════════════════════════════════ */
.legal-doc { animation: fadeInUp 0.6s ease forwards; }

.legal-section {
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 15px; font-weight: 600; color: #fff;
  margin-bottom: 12px; letter-spacing: 0.01em;
}
.legal-section h3 {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7);
  margin: 14px 0 8px;
}
.legal-section p {
  font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.75;
  margin-bottom: 10px;
}
.legal-section ul {
  margin: 8px 0 10px 16px; list-style: disc;
}
.legal-section ul li {
  font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7;
  margin-bottom: 4px;
}
.legal-section ul li strong { color: rgba(255,255,255,0.7); font-weight: 500; }
.legal-link {
  color: rgba(255,94,0,0.7); text-decoration: none; transition: color 0.2s;
}
.legal-link:hover { color: #ff5e00; }
.legal-link-btn {
  background: none; border: none; color: rgba(255,94,0,0.7);
  cursor: pointer; font-size: inherit; font-family: inherit;
  padding: 0; text-decoration: underline; transition: color 0.2s;
}
.legal-link-btn:hover { color: #ff5e00; }
.legal-url {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,255,255,0.3);
}
.legal-badge-required {
  display: inline-block; font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.08em; color: #4ade80;
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.legal-badge-optional {
  display: inline-block; font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.08em; color: rgba(255,165,0,0.7);
  background: rgba(255,165,0,0.08); border: 1px solid rgba(255,165,0,0.2);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
}
.cookie-table-wrap { overflow-x: auto; margin-top: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cookie-table th {
  text-align: left; padding: 10px 14px; font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cookie-table td {
  padding: 10px 14px; color: rgba(255,255,255,0.45); line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table code {
  font-family: var(--font-mono); font-size: 11px;
  color: rgba(255,94,0,0.7); background: rgba(255,94,0,0.08);
  padding: 2px 6px; border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════
   HMP — Queue Label
   ═══════════════════════════════════════════════════════ */
.hmp-queue-label {
  font-size: 9px; font-family: var(--font-mono);
  letter-spacing: 0.07em; color: rgba(255,94,0,0.7);
  margin-top: 2px; transition: opacity 0.3s;
}
.hmp-queue-label.hidden { display: none; }

/* ═══════════════════════════════════════════════════════
   Skeleton loading lines
   ═══════════════════════════════════════════════════════ */
.skeleton-line {
  display: block; border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════
   PUBLIC PROFILE PAGE
   ═══════════════════════════════════════════════════════ */
.pub-profile-wrap {
  min-height: 80vh;
}

/* Header banner */
.pub-profile-header {
  position: relative; overflow: hidden;
  padding: 60px 40px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 640px) {
  .pub-profile-header { padding: 40px 20px 36px; }
}
.pub-profile-header-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 20% 50%, color-mix(in srgb, var(--prof-color, #ff5e00) 18%, transparent) 0%, transparent 70%);
}
.pub-profile-header-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: 28px;
  max-width: 900px; margin: 0 auto; flex-wrap: wrap;
}

/* Avatar */
.pub-profile-avatar-shell {
  flex-shrink: 0;
}
.pub-profile-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.pub-profile-avatar-placeholder {
  width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255,94,0,0.15); border: 3px solid rgba(255,94,0,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700; color: #ff5e00;
}

/* Identity block */
.pub-profile-identity {
  flex: 1; min-width: 160px;
}
.pub-profile-name {
  font-size: 26px; font-weight: 700; color: #fff;
  line-height: 1.15; margin-bottom: 4px;
}
.pub-profile-username {
  font-size: 12px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.35); margin-bottom: 10px;
}
.pub-profile-bio {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.6; max-width: 400px; margin-bottom: 12px;
}
.pub-profile-socials {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.pub-profile-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5); transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.pub-profile-social-link:hover {
  color: #fff; background: rgba(255,94,0,0.15); border-color: rgba(255,94,0,0.3);
}

/* Stats */
.pub-profile-stats {
  display: flex; flex-direction: column; gap: 14px;
  padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.06);
  margin-left: auto;
}
@media (max-width: 640px) {
  .pub-profile-stats {
    flex-direction: row; border-left: none; border-top: 1px solid rgba(255,255,255,0.06);
    padding-left: 0; padding-top: 16px; margin-left: 0; width: 100%;
  }
}
.pub-stat-item { text-align: center; min-width: 60px; }
.pub-stat-value {
  display: block; font-size: 22px; font-weight: 700; color: #fff; line-height: 1.1;
}
.pub-stat-label {
  font-size: 9px; font-family: var(--font-mono);
  letter-spacing: 0.1em; color: rgba(255,255,255,0.3); text-transform: uppercase;
}

/* Body */
.pub-profile-body {
  max-width: 900px; margin: 0 auto;
  padding: 40px 40px 60px;
}
@media (max-width: 640px) { .pub-profile-body { padding: 28px 20px 48px; } }

/* Showcase sections */
.pub-showcase-section {
  margin-bottom: 44px;
}
.pub-showcase-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-family: var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.3); margin-bottom: 18px;
}

/* Favourite tracks grid */
.pub-fav-tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.pub-fav-track {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.pub-fav-track::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--tc, #ff5e00); border-radius: 3px 0 0 3px;
  opacity: 0.6;
}
.pub-fav-track:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.pub-fav-track-cover {
  width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.pub-fav-track-info { flex: 1; min-width: 0; }
.pub-fav-track-title {
  font-size: 12px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-fav-track-credit {
  font-size: 10px; font-family: var(--font-mono); color: rgba(255,255,255,0.35); margin-top: 2px;
}
.pub-fav-track-play {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(var(--tc, 255,94,0), 0.15); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: background 0.2s, color 0.2s;
}
.pub-fav-track:hover .pub-fav-track-play {
  background: var(--tc, #ff5e00); color: #fff;
}

/* Favourite photos strip */
.pub-fav-photos-strip {
  display: flex; gap: 8px; overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.pub-fav-photo {
  flex-shrink: 0; width: 120px; height: 80px; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s;
}
.pub-fav-photo:hover { transform: scale(1.04); }
.pub-fav-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Playlists grid */
.pub-playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.pub-playlist-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 12px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.pub-playlist-card:hover { background: rgba(255,255,255,0.055); }
.pub-playlist-meta { flex: 1; min-width: 0; }
.pub-playlist-name {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-playlist-desc {
  font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pub-playlist-count {
  font-size: 10px; font-family: var(--font-mono); color: rgba(255,255,255,0.3); margin-top: 4px;
}
.pub-playlist-play-btn {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,94,0,0.15); border: 1px solid rgba(255,94,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: #ff5e00; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.pub-playlist-play-btn:hover { background: #ff5e00; color: #fff; transform: scale(1.08); }

/* Activity list */
.pub-activity-list { display: flex; flex-direction: column; gap: 8px; }
.pub-activity-item {
  border-left: 2px solid var(--tc, #ff5e00);
  padding: 8px 14px; border-radius: 0 10px 10px 0;
  background: rgba(255,255,255,0.02);
}
.pub-activity-text {
  font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5;
}
.pub-activity-meta {
  font-size: 10px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.25); margin-top: 4px;
}

/* Footer note */
.pub-profile-footer-note {
  margin-top: 48px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; font-family: var(--font-mono);
  color: rgba(255,255,255,0.2); letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════
   FAVOURITE PICKER (track + photo selectors on own profile)
   ═══════════════════════════════════════════════════════ */
.fav-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px; max-height: 320px; overflow-y: auto;
  padding: 4px 2px;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.fav-picker-photos {
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
}
.fav-picker-item {
  position: relative; border-radius: 10px; overflow: hidden;
  cursor: pointer; border: 2px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s, transform 0.15s;
  aspect-ratio: 1;
}
.fav-picker-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-picker-item:hover { border-color: rgba(255,255,255,0.2); transform: scale(1.03); }
.fav-picker-item.fav-selected { border-color: var(--tc, #ff5e00); }
.fav-picker-photo.fav-selected { border-color: #ff5e00; }
.fav-picker-check {
  position: absolute; top: 4px; right: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--tc, #ff5e00); color: #fff;
  font-size: 9px; display: none;
  align-items: center; justify-content: center;
  font-weight: 700; box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.fav-picker-item.fav-selected .fav-picker-check { display: flex; }
.fav-picker-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 4px 5px; font-size: 8.5px; font-family: var(--font-mono);
  color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.75));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   PLAYLIST EDITOR (own profile)
   ═══════════════════════════════════════════════════════ */
.playlist-editor-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}
.playlist-editor-item:hover { background: rgba(255,255,255,0.05); }
.playlist-editor-meta { flex: 1; min-width: 0; }
.playlist-editor-name {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.playlist-editor-info {
  font-size: 10px; font-family: var(--font-mono); color: rgba(255,255,255,0.3); margin-top: 3px;
}
.playlist-editor-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pl-edit-btn, .pl-delete-btn {
  width: 28px; height: 28px; border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.4);
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.pl-edit-btn:hover { color: #fff; border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); }
.pl-delete-btn:hover { color: #ff4040; border-color: rgba(255,64,64,0.3); background: rgba(255,64,64,0.07); }

/* ═══════════════════════════════════════════════════════
   MEDIA PROTECTION
   ═══════════════════════════════════════════════════════ */

/* Block drag-to-desktop on all images */
img { -webkit-user-drag: none; user-drag: none; }

/* Block text/media selection on photo containers */
.gallery-photo-wrap,
.lb-main-img-wrap,
.release-cover,
.about-photo-card {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Invisible capture layer over photos prevents direct interaction with img element */
.gallery-photo-wrap::after,
.lb-main-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none; /* click still passes through to parent */
}

/* ═══════════════════════════════════════════════════════
   ARCHIVES CINEMATIC INTRO — 3-Scene Loading Experience
   ═══════════════════════════════════════════════════════ */

/* ── Overlay Container ── */
#archives-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#archives-cinematic.cin-fade-out {
  animation: cin-overlay-out 0.75s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}
@keyframes cin-overlay-out {
  0%   { opacity: 1; transform: scale(1);    filter: blur(0px); }
  100% { opacity: 0; transform: scale(1.04); filter: blur(5px); }
}

/* ── Scene Base ── */
.cin-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cin-scene.cin-active {
  opacity: 1;
  pointer-events: all;
}
.cin-scene.cin-exiting {
  animation: cin-scene-out 0.45s ease forwards;
}
@keyframes cin-scene-out {
  from { opacity: 1; filter: blur(0px); }
  to   { opacity: 0; filter: blur(6px); }
}

/* ── Scene 1: Glitch ── */
#cin-scene-glitch {
  flex-direction: column;
  background: #000;
}

.cin-execute-line {
  position: absolute;
  top: 9%;
  right: 0;
  padding-right: 5%;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.4vw, 15px);
  color: #00ff88;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: cin-exec-in 0.5s ease 0.35s forwards;
}
@keyframes cin-exec-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cin-title-block {
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: cin-title-in 0.45s ease 0.55s forwards;
}
@keyframes cin-title-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cin-title-line1 {
  font-size: clamp(44px, 8.5vw, 100px);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.02em;
  position: relative;
  display: block;
  white-space: nowrap;
}
/* RGB ghost layers */
.cin-title-line1::before,
.cin-title-line1::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  opacity: 0;
}
.cin-title-line1::before {
  color: #ff2255;
  mix-blend-mode: screen;
}
.cin-title-line1::after {
  color: #00ffe0;
  mix-blend-mode: screen;
}
.cin-glitching .cin-title-line1::before {
  animation: cin-ghost-red 1.6s ease-in-out forwards;
}
.cin-glitching .cin-title-line1::after {
  animation: cin-ghost-cyan 1.6s ease-in-out forwards;
}
.cin-glitching .cin-title-line1 {
  animation: cin-title-shake 1.6s ease-in-out forwards;
}

@keyframes cin-ghost-red {
  0%  { opacity:0; transform:translate(0); clip-path:none; }
  7%  { opacity:.65; transform:translate(-6px,0); clip-path:polygon(0 12%,100% 12%,100% 28%,0 28%); }
  11% { opacity:.35; transform:translate(4px,0);  clip-path:polygon(0 52%,100% 52%,100% 68%,0 68%); }
  15% { opacity:0;   transform:translate(0);      clip-path:none; }
  32% { opacity:0; }
  36% { opacity:.7;  transform:translate(-7px,1px); clip-path:polygon(0 4%,100% 4%,100% 18%,0 18%); }
  39% { opacity:.3;  transform:translate(5px,0);    clip-path:polygon(0 38%,100% 38%,100% 56%,0 56%); }
  43% { opacity:0;   transform:translate(0);        clip-path:none; }
  60% { opacity:0; }
  64% { opacity:.55; transform:translate(-5px,-1px); clip-path:polygon(0 22%,100% 22%,100% 44%,0 44%); }
  67% { opacity:.75; transform:translate(6px,0);     clip-path:polygon(0 62%,100% 62%,100% 82%,0 82%); }
  70% { opacity:.4;  transform:translate(-3px,0);    clip-path:polygon(0 0%,100% 0%,100% 12%,0 12%); }
  74% { opacity:0;   transform:translate(0);         clip-path:none; }
  88% { opacity:0; }
  91% { opacity:.25; transform:translate(-2px,0); clip-path:polygon(0 33%,100% 33%,100% 48%,0 48%); }
  93% { opacity:0;   transform:translate(0);      clip-path:none; }
  100%{ opacity:0; }
}
@keyframes cin-ghost-cyan {
  0%  { opacity:0; transform:translate(0); clip-path:none; }
  7%  { opacity:.5;  transform:translate(5px,0);  clip-path:polygon(0 58%,100% 58%,100% 78%,0 78%); }
  11% { opacity:.3;  transform:translate(-4px,0); clip-path:polygon(0 18%,100% 18%,100% 36%,0 36%); }
  15% { opacity:0;   transform:translate(0);      clip-path:none; }
  32% { opacity:0; }
  36% { opacity:.6;  transform:translate(6px,-1px); clip-path:polygon(0 68%,100% 68%,100% 88%,0 88%); }
  39% { opacity:.25; transform:translate(-5px,0);   clip-path:polygon(0 8%,100% 8%,100% 24%,0 24%); }
  43% { opacity:0;   transform:translate(0);        clip-path:none; }
  60% { opacity:0; }
  64% { opacity:.65; transform:translate(4px,1px);  clip-path:polygon(0 46%,100% 46%,100% 64%,0 64%); }
  67% { opacity:.4;  transform:translate(-6px,0);   clip-path:polygon(0 0%,100% 0%,100% 18%,0 18%); }
  70% { opacity:.55; transform:translate(5px,-1px); clip-path:polygon(0 72%,100% 72%,100% 92%,0 92%); }
  74% { opacity:0;   transform:translate(0);        clip-path:none; }
  88% { opacity:0; }
  91% { opacity:.2;  transform:translate(3px,0);  clip-path:polygon(0 42%,100% 42%,100% 56%,0 56%); }
  93% { opacity:0;   transform:translate(0);      clip-path:none; }
  100%{ opacity:0; }
}
@keyframes cin-title-shake {
  0%,100% { transform:translate(0); }
  7%      { transform:translate(-2px,1px); }
  11%     { transform:translate(2px,-1px); }
  15%     { transform:translate(0); }
  36%     { transform:translate(-1px,0); }
  39%     { transform:translate(3px,1px); }
  43%     { transform:translate(0); }
  64%     { transform:translate(-3px,0); }
  67%     { transform:translate(3px,0); }
  70%     { transform:translate(-1px,1px); }
  74%     { transform:translate(0); }
}

.cin-title-line2 {
  font-size: clamp(44px, 8.5vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
  display: block;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--orange) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scanlines overlay */
.cin-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.13) 2px,
    rgba(0,0,0,0.13) 4px
  );
  pointer-events: none;
  opacity: 0.55;
}

/* Animated grain noise */
.cin-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: cin-noise-shift 0.18s steps(1) infinite;
}
@keyframes cin-noise-shift {
  0%  { background-position: 0 0; }
  25% { background-position: -45px 28px; }
  50% { background-position: 28px -18px; }
  75% { background-position: -18px 45px; }
}

/* ── Scene 2: Terminal ── */
#cin-scene-terminal { background: #000; }

.cin-terminal-window {
  width: min(92%, 660px);
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  box-shadow:
    0 48px 120px rgba(0,0,0,0.95),
    0 0 0 1px rgba(255,255,255,0.03),
    0 0 80px rgba(0,240,255,0.03);
  overflow: hidden;
  opacity: 0;
  animation: cin-terminal-in 0.4s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes cin-terminal-in {
  from { opacity:0; transform:translateY(22px) scale(0.97); }
  to   { opacity:1; transform:translateY(0)    scale(1); }
}

.cin-terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #181818;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  user-select: none;
}
.cin-tb-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cin-tb-dot.red   { background: #ff5f57; }
.cin-tb-dot.amber { background: #febc2e; }
.cin-tb-dot.green { background: #28c840; }
.cin-terminal-name {
  margin-left: 6px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
}

.cin-terminal-body {
  padding: 18px 20px 20px;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.25vw, 13px);
  line-height: 1.75;
  min-height: 200px;
  color: #b8b8b8;
}
.cin-term-line        { display: block; white-space: pre; }
.cin-term-line.cmd    { color: #00ff88; }
.cin-term-line.sys    { color: #5a9fd4; }
.cin-term-line.txt    { color: #909090; }
.cin-term-line.key    { color: var(--cyan); }
.cin-term-line.br     { display: block; height: 0.5em; }

.cin-term-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: #00ff88;
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: cin-blink 0.9s step-end infinite;
}
@keyframes cin-blink {
  0%,100% { opacity:1; }
  50%     { opacity:0; }
}

/* ── Photography content: cinematic gating ── */
#photo-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#photo-content-wrap.cin-pending .stagger-1,
#photo-content-wrap.cin-pending .stagger-2,
#photo-content-wrap.cin-pending .stagger-3,
#photo-content-wrap.cin-pending .stagger-4 {
  animation: none !important;
  opacity: 0;
}
#photo-content-wrap.cin-revealed {
  animation: cin-content-in 0.75s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
@keyframes cin-content-in {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
/* Staggered element reveals after cinematic */
#photo-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.7s ease 0.1s both !important; }
#photo-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.7s ease 0.28s both !important; }
#photo-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.7s ease 0.46s both !important; }

/* ── Skip Button ── */
.cin-skip-btn {
  position: absolute;
  bottom: 28px; right: 28px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.6s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}
.cin-skip-btn.cin-skip-visible { opacity: 1; }
.cin-skip-btn:hover {
  color: rgba(255,255,255,0.65);
  border-color: rgba(255,255,255,0.28);
}

/* ── Home Cinematic Overlay ── */
#home-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#home-cinematic.cin-fade-out {
  animation: cin-overlay-out 0.85s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}

/* ── Home Glitch Title ── */
.cin-home-title-main {
  font-size: clamp(52px, 10vw, 116px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  position: relative;
  display: block;
  white-space: nowrap;
}
.cin-home-title-main::before,
.cin-home-title-main::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: inherit;
  white-space: nowrap;
  opacity: 0;
}
.cin-home-title-main::before { color: #ff2255; mix-blend-mode: screen; }
.cin-home-title-main::after  { color: #00ffe0; mix-blend-mode: screen; }
.cin-glitching .cin-home-title-main::before { animation: cin-ghost-red   1.6s ease-in-out forwards; }
.cin-glitching .cin-home-title-main::after  { animation: cin-ghost-cyan  1.6s ease-in-out forwards; }
.cin-glitching .cin-home-title-main         { animation: cin-title-shake 1.6s ease-in-out forwards; }

.cin-home-title-sub {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.5vw, 15px);
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 16px;
  opacity: 0;
  animation: cin-exec-in 0.5s ease 0.85s forwards;
}

/* Terminal "ok" line colour */
.cin-term-line.ok { color: #28c840; }

/* ── Home content wrap (same pattern as photo-content-wrap) ── */
#home-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#home-content-wrap.cin-pending .stagger-1,
#home-content-wrap.cin-pending .stagger-2,
#home-content-wrap.cin-pending .stagger-3,
#home-content-wrap.cin-pending .stagger-4 {
  animation: none !important;
  opacity: 0;
}
#home-content-wrap.cin-revealed {
  animation: cin-content-in 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
#home-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.7s ease 0.08s both !important; }
#home-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.7s ease 0.22s both !important; }
#home-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.7s ease 0.36s both !important; }
#home-content-wrap.cin-revealed .stagger-4 { animation: fadeInUp 0.7s ease 0.5s  both !important; }

/* ═══════════════════════════════════════════════════════
   ABOUT CINEMATIC — Identity Reveal
   ═══════════════════════════════════════════════════════ */

#about-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#about-cinematic.cin-fade-out {
  animation: cin-overlay-out-soft 1.0s cubic-bezier(0.4,0,0.2,1) forwards;
  pointer-events: none;
}
@keyframes cin-overlay-out-soft {
  0%   { opacity: 1; transform: scale(1);    filter: blur(0px); }
  100% { opacity: 0; transform: scale(1.02); filter: blur(8px); }
}

/* ── Signal Fragment Stage ── */
.cin-signal-stage {
  position: absolute;
  inset: 0;
}
.cin-frag {
  position: absolute;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: opacity, transform;
}
.cin-frag-xl {
  font-size: clamp(30px, 5.5vw, 70px);
  font-weight: 900;
  text-shadow: -3px 0 rgba(255,34,85,0.72), 3px 0 rgba(0,255,224,0.72);
}
.cin-frag-lg {
  font-size: clamp(22px, 3.8vw, 50px);
  font-weight: 800;
  text-shadow: -2px 0 rgba(255,34,85,0.6), 2px 0 rgba(0,255,224,0.6);
}
.cin-frag-md {
  font-size: clamp(13px, 2vw, 22px);
  font-weight: 500;
}
.cin-frag-sm {
  font-size: clamp(10px, 1.3vw, 14px);
  font-weight: 400;
}

@keyframes cin-frag-flicker {
  0%   { opacity: 0;    transform: translate(-50%, -50%); }
  7%   { opacity: 0.88; transform: translate(calc(-50% - 2px), -50%); }
  11%  { opacity: 0.06; transform: translate(calc(-50% + 3px), calc(-50% - 1px)); }
  18%  { opacity: 0.92; transform: translate(-50%, -50%); }
  26%  { opacity: 0;    transform: translate(-50%, -50%); }
  44%  { opacity: 0; }
  50%  { opacity: 0.78; transform: translate(calc(-50% + 1px), calc(-50% + 1px)); }
  56%  { opacity: 0.12; transform: translate(-50%, -50%); }
  63%  { opacity: 0.82; }
  70%  { opacity: 0; }
  86%  { opacity: 0; }
  91%  { opacity: 0.62; transform: translate(calc(-50% - 1px), -50%); }
  95%  { opacity: 0.08; }
  100% { opacity: 0; }
}

/* ── About content reveal — softer than other pages ── */
#about-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#about-content-wrap.cin-pending .stagger-1,
#about-content-wrap.cin-pending .stagger-2,
#about-content-wrap.cin-pending .stagger-3 {
  animation: none !important;
  opacity: 0;
}
#about-content-wrap.cin-revealed {
  animation: cin-content-in-soft 1.0s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
@keyframes cin-content-in-soft {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Staggered: slower, more personal pacing */
#about-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.8s ease 0.18s both !important; }
#about-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.8s ease 0.36s both !important; }
#about-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.8s ease 0.54s both !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   PRADDOSOUNDZ CINEMATIC
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
#soundz-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#soundz-cinematic.cin-fade-out {
  animation: cin-overlay-out 0.85s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}

/* ── Sub-title ── */
.cin-soundz-sub {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.6vw, 16px);
  letter-spacing: 0.38em;
  color: var(--cyan, #00e5ff);
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  animation: cin-sub-fade 0.5s ease 0.9s forwards;
}
@keyframes cin-sub-fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Content gating ── */
#soundz-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#soundz-content-wrap.cin-pending .stagger-1,
#soundz-content-wrap.cin-pending .stagger-2,
#soundz-content-wrap.cin-pending .stagger-3,
#soundz-content-wrap.cin-pending .stagger-4 {
  animation: none !important;
  opacity: 0;
}
#soundz-content-wrap.cin-revealed {
  animation: cin-content-in 0.75s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
#soundz-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.7s ease 0.10s both !important; }
#soundz-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.7s ease 0.24s both !important; }
#soundz-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.7s ease 0.38s both !important; }
#soundz-content-wrap.cin-revealed .stagger-4 { animation: fadeInUp 0.7s ease 0.52s both !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   AFTER HOURS JOURNAL CINEMATIC
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
#journal-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#journal-cinematic.cin-fade-out {
  animation: cin-overlay-out-soft 1.0s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}

/* ── Content gating ── */
#journal-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#journal-content-wrap.cin-pending .stagger-1,
#journal-content-wrap.cin-pending .stagger-2,
#journal-content-wrap.cin-pending .stagger-3,
#journal-content-wrap.cin-pending .stagger-4,
#journal-content-wrap.cin-pending .blog-header {
  animation: none !important;
  opacity: 0;
}
#journal-content-wrap.cin-revealed {
  animation: cin-content-in-soft 1.0s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
#journal-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.8s ease 0.18s both !important; }
#journal-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.8s ease 0.34s both !important; }
#journal-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.8s ease 0.50s both !important; }
#journal-content-wrap.cin-revealed .stagger-4 { animation: fadeInUp 0.8s ease 0.66s both !important; }
#journal-content-wrap.cin-revealed .blog-header { animation: fadeInUp 0.8s ease 0.12s both !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT CINEMATIC
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
#contact-cinematic {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  pointer-events: all;
}
#contact-cinematic.cin-fade-out {
  animation: cin-overlay-out-contact 0.7s cubic-bezier(0.4,0,1,1) forwards;
  pointer-events: none;
}
@keyframes cin-overlay-out-contact {
  from { opacity: 1; transform: scale(1);    filter: blur(0); }
  to   { opacity: 0; transform: scale(1.02); filter: blur(3px); }
}

/* ── Pulsing signal ── */
#ccon-scene-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}
.cin-contact-signal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.cin-contact-pulse {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--neon-lime, #b8ff00);
  position: relative;
  animation: cin-pulse-ring 1.4s ease-in-out infinite;
}
.cin-contact-pulse::before,
.cin-contact-pulse::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid var(--neon-lime, #b8ff00);
  opacity: 0;
  animation: cin-pulse-ring-outer 1.4s ease-in-out infinite;
}
.cin-contact-pulse::after {
  inset: -36px;
  animation-delay: 0.22s;
}
@keyframes cin-pulse-ring {
  0%   { transform: scale(0.92); opacity: 0.5; }
  50%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.5; }
}
@keyframes cin-pulse-ring-outer {
  0%   { transform: scale(0.8);  opacity: 0; }
  40%  { opacity: 0.35; }
  100% { transform: scale(1.3);  opacity: 0; }
}
.cin-contact-label {
  font-family: 'Courier New', monospace;
  font-size: clamp(12px, 1.8vw, 18px);
  letter-spacing: 0.34em;
  color: var(--neon-lime, #b8ff00);
  text-transform: uppercase;
  animation: cin-label-breathe 1.8s ease-in-out infinite;
}
@keyframes cin-label-breathe {
  0%,100% { opacity: 0.45; }
  50%     { opacity: 1; }
}

/* ── Content gating ── */
#contact-content-wrap.cin-pending { opacity: 0; pointer-events: none; }
#contact-content-wrap.cin-pending .stagger-1,
#contact-content-wrap.cin-pending .stagger-2,
#contact-content-wrap.cin-pending .stagger-3 {
  animation: none !important;
  opacity: 0;
}
#contact-content-wrap.cin-revealed {
  animation: cin-content-in 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
  pointer-events: all;
}
#contact-content-wrap.cin-revealed .stagger-1 { animation: fadeInUp 0.7s ease 0.10s both !important; }
#contact-content-wrap.cin-revealed .stagger-2 { animation: fadeInUp 0.7s ease 0.24s both !important; }
#contact-content-wrap.cin-revealed .stagger-3 { animation: fadeInUp 0.7s ease 0.38s both !important; }


@media (max-width: 1023px) {
}
