/**
 * Music Coast - Luxurious Award-Winning Design
 * A sophisticated, responsive design system
 */

/* ========================================
   CSS VARIABLES & THEMING
======================================== */

:root {
  /* Core brand colors - inspired by coastal golden hour */
  --brand-gold: #D4AF37;
  --brand-gold-light: #E8C547;
  --brand-gold-dark: #B8960F;
  --brand-copper: #B87333;
  --brand-bronze: #CD7F32;

  /* Light theme */
  --bg-primary: #FDFCFA;
  --bg-secondary: #F7F5F2;
  --bg-tertiary: #EFEBE6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FDFCFA;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #6B6B6B;
  --text-muted: #8A8A8A;

  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-strong: rgba(0, 0, 0, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.15);

  --gradient-hero: linear-gradient(135deg, #FDFCFA 0%, #F7F5F2 50%, #EFEBE6 100%);
  --gradient-card: linear-gradient(180deg, #FFFFFF 0%, #FDFCFA 100%);
  --gradient-gold: linear-gradient(135deg, var(--brand-gold-light) 0%, var(--brand-gold) 50%, var(--brand-gold-dark) 100%);
  --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);

  --accent: var(--brand-gold);
  --accent-hover: var(--brand-gold-dark);
  --accent-glow: rgba(212, 175, 55, 0.3);

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
  --text-6xl: 4.5rem;

  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* Borders & Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --header-height: 80px;
  --max-width: 1280px;
  --max-width-narrow: 960px;
  --max-width-wide: 1440px;
}

/* Dark theme */
[data-theme="dark"] {
  --bg-primary: #0A0A0A;
  --bg-secondary: #111111;
  --bg-tertiary: #1A1A1A;
  --bg-card: #151515;
  --bg-card-hover: #1A1A1A;
  --bg-glass: rgba(21, 21, 21, 0.9);

  --text-primary: #FAFAFA;
  --text-secondary: #CFCFCF;
  --text-tertiary: #A0A0A0;
  --text-muted: #707070;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-strong: rgba(255, 255, 255, 0.15);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(212, 175, 55, 0.2);

  --gradient-hero: linear-gradient(135deg, #0A0A0A 0%, #111111 50%, #1A1A1A 100%);
  --gradient-card: linear-gradient(180deg, #181818 0%, #121212 100%);

  --accent-glow: rgba(212, 175, 55, 0.4);
}

/* ========================================
   RESET & BASE
======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--duration-slow) var(--ease-out),
              color var(--duration-slow) var(--ease-out);
}

/* Typography base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); }

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   LAYOUT
======================================== */

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.wrap-narrow {
  max-width: var(--max-width-narrow);
}

.wrap-wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-3xl) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

.section-head {
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.section-head h2 {
  position: relative;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.section-head .subtle {
  color: var(--text-tertiary);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  display: block;
  margin-top: var(--space-md);
}

/* ========================================
   HEADER
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--duration-normal) var(--ease-out);
}

.site-header.scrolled {
  --header-height: 70px;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out);
}

.logo:hover {
  transform: scale(1.02);
  color: var(--text-primary);
}

.logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
}

/* Theme-aware logos */
html[data-theme="light"] .logo .logo-dark { display: none; }
html[data-theme="dark"] .logo .logo-light { display: none; }

.logo-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.nav-main {
  display: none;
}

@media (min-width: 768px) {
  .nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
  }
}

.nav-main a {
  position: relative;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-main a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - var(--space-lg));
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-main a.active::before,
.nav-main a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language selector */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 44px;
  min-width: 92px;
  padding: 0 34px 0 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-switch select:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-strong);
  color: var(--text-primary);
}

.lang-switch:after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-tertiary);
  font-size: 12px;
}

/* Language apply button (noscript fallback). Hidden by default because we auto-apply on change. */
.lang-switch .lang-apply {
  height: 44px;
  min-width: 44px;
  margin-left: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.lang-switch .lang-apply:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-strong);
  color: var(--text-primary);
}


.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-strong);
  color: var(--text-primary);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}


/* Mobile header tightening (prevents language selector from crowding the header) */
@media (max-width: 520px) {
  .header-inner { gap: var(--space-sm); }
  .logo-text { display: none; }
  .logo img { height: 40px; }

  .header-actions { gap: 6px; }

  .lang-switch select {
    height: 38px;
    min-width: 64px;
    padding: 0 28px 0 10px;
    font-size: 12px;
  }

  .cart-link { width: 40px; height: 40px; }
  .theme-toggle { width: 40px; height: 40px; }
  .mobile-menu-btn { width: 40px; height: 40px; }
}
.mobile-menu-btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-strong);
}

.mobile-menu-btn:hover span {
  background: var(--text-primary);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 999;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  padding-left: var(--space-md);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--gradient-hero);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    min-height: 85vh;
    display: flex;
    align-items: center;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(184, 115, 51, 0.1), transparent);
  pointer-events: none;
}

/* Floating music emoji background (hero only) */
.hero-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* Subtle mask so emojis fade near edges */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 60%, transparent 100%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 60%, transparent 100%);
}

.hero-effects .hero-emoji {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  display: block;
  opacity: 0;
  font-size: var(--size, 16px);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.10));
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: mc-hero-sparkle var(--dur, 16s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

@keyframes mc-hero-sparkle {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: var(--op, 0.14);
  }
  50% {
    transform: translate3d(var(--dx, 14px), var(--dy, -18px), 0) rotate(var(--rot, 10deg));
    opacity: var(--op, 0.14);
  }
  88% {
    opacity: var(--op, 0.14);
  }
  100% {
    transform: translate3d(calc(var(--dx, 14px) * -1), calc(var(--dy, -18px) * -1), 0) rotate(calc(var(--rot, 10deg) * -1));
    opacity: 0;
  }
}

12% {
    opacity: var(--op, 0.18);
  }
  88% {
    opacity: var(--op, 0.18);
  }
  100% {
    transform: translate3d(var(--x1, 0vw), -100vh, 0) rotate(var(--rot, 22deg));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-effects { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-effects {
    display: none !important;
  }
}

.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
  }
}

.hero h1 {
  font-size: clamp(var(--text-4xl), 8vw, var(--text-6xl));
  margin-bottom: var(--space-lg);
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin-bottom: var(--space-xl);
}

/* KPIs */
.kpis {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  flex-wrap: wrap;
}

.kpi {
  text-align: center;
}

.kpi-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.kpi-lbl {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ========================================
   CARDS
======================================== */

.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
  border-color: var(--border-color-strong);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-tag {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--brand-gold-dark);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(184, 115, 51, 0.1) 100%);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

[data-theme="dark"] .card-tag {
  color: var(--brand-gold-light);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 115, 51, 0.15) 100%);
}

.card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

/* Article cards */
.article-card {
  padding: 0;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.article-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.article-card:hover .article-media img {
  transform: scale(1.08);
}

.media-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.media-shade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.article-card:hover .media-shade {
  opacity: 1;
}

.article-pad {
  padding: var(--space-lg);
}

.article-meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* Product cards */
.product-card {
  padding: 0;
  overflow: hidden;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

/* ========================================
   GRID SYSTEM
======================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.grid-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Photo grid - for albums */
.photo-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   BUTTONS
======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color-strong);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg-tertiary);
  border-color: var(--text-muted);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #1A1A1A;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-shimmer);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: #1A1A1A;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* Subtle link */
.subtle {
  color: var(--text-muted);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.subtle:hover {
  color: var(--accent);
}

/* ========================================
   FORMS
======================================== */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form label > span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input::placeholder {
  color: var(--text-muted);
}

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

select.input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Search bars */
.search-bar {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.search-bar .input {
  flex: 1 1 260px;
}

.search-bar .btn {
  white-space: nowrap;
}

/* ========================================
   NOTICES
======================================== */

.notice {
  padding: var(--space-md) var(--space-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.notice.ok {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

[data-theme="dark"] .notice.ok {
  color: #4ade80;
}

.notice.err {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

[data-theme="dark"] .notice.err {
  color: #f87171;
}

/* ========================================
   CONTACT PAGE
======================================== */

.contact-grid {
  display: grid;
  gap: var(--space-xl);
}

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

/* ========================================
   ARTICLE PAGE
======================================== */

.article-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 720px;
}

/* Table of contents (policy pages) */
.toc {
  max-width: 720px;
  margin: var(--space-xl) 0;
}

.toc:hover {
  transform: none;
  box-shadow: none;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.toc-item a {
  color: var(--text-secondary);
  text-decoration: none;
}

.toc-item a:hover {
  color: var(--accent);
}

.toc-item.toc-h3 {
  padding-left: var(--space-lg);
  opacity: 0.95;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  scroll-margin-top: calc(var(--header-height) + var(--space-xl));
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.article-body li {
  margin-bottom: var(--space-sm);
}

.article-body img {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);

  max-width: 100%;
  height: auto;
  display: block;
}

.article-body figure.article-figure {
  margin: var(--space-xl) 0;
}

.article-body figure.article-figure figcaption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-align: center;
}


.article-body blockquote {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  padding-left: var(--space-xl);
  border-left: 4px solid var(--accent);
  background: var(--bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* Embed (YouTube) */
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-lg);
}

.embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   PHOTO ALBUMS
======================================== */

.album-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.album-card:hover img {
  transform: scale(1.08);
}

.album-card .album-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.album-card:hover .album-cover {
  transform: scale(1.08);
}

.album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.4) 60%, transparent);
  color: white;
  transition: padding var(--duration-normal) var(--ease-out);
}

.album-card:hover .album-overlay {
  padding-bottom: var(--space-xl);
}

.album-overlay h3 {
  font-size: var(--text-lg);
  color: white;
  margin-bottom: var(--space-xs);
}

.album-overlay .photo-count {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

/* Photo item in album */
.photo-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-tertiary);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) var(--ease-out);
}

.photo-item .photo-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.photo-item:hover img {
  transform: scale(1.05);
}

.photo-item:hover .photo-media {
  transform: scale(1.05);
}

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--duration-fast) var(--ease-out);
}

.photo-item:hover::after {
  background: rgba(0,0,0,0.2);
}

/* ========================================
   INTERVIEWS
======================================== */

.interview-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.interview-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.interview-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.interview-card:hover .interview-thumbnail img {
  transform: scale(1.05);
}

.interview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--duration-fast) var(--ease-out);
}

.interview-play svg {
  width: 28px;
  height: 28px;
  fill: #1A1A1A;
  margin-left: 4px;
}

.interview-card:hover .interview-play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.interview-info {
  padding: var(--space-lg);
}

.interview-info h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.interview-info .date {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ========================================
   MODAL (YouTube popup)
======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--duration-normal) var(--ease-out);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  color: white;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out);
}


.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Lightbox for photos */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  width: min(1200px, 92vw);
  height: min(78vh, 800px);
  border-radius: var(--radius-md);
  background: rgba(0,0,0,.2);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  max-width: min(1200px, 96vw);
}

.lightbox-meta {
  width: 100%;
  max-width: min(900px, 96vw);
  padding: 0 var(--space-sm);
  color: rgba(255,255,255,0.92);
  text-align: left;
}

.lightbox-caption {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

.lightbox-credit {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.72);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: var(--text-2xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: white;
  font-size: var(--text-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav.prev {
  left: var(--space-lg);
}

.lightbox-nav.next {
  right: var(--space-lg);
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

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

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  max-width: 280px;
}

.footer-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: var(--space-sm);
}

.footer-list a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-legal {
    justify-content: flex-end;
  }
}

.footer-legal a {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ========================================
   PAGINATION
======================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-color-strong);
  color: var(--text-primary);
}

.pagination .active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #1A1A1A;
  font-weight: 700;
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   UTILITIES
======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 768px) {
  .hide-desktop { display: none !important; }
}

/* ========================================
   ANIMATIONS
======================================== */

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

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

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

.animate-fade-in {
  animation: fadeIn var(--duration-normal) var(--ease-out) forwards;
}

.animate-slide-up {
  animation: slideUp var(--duration-slow) var(--ease-out) forwards;
}

/* Staggered animations for grid items */
.grid > *:nth-child(1) { animation-delay: 0ms; }
.grid > *:nth-child(2) { animation-delay: 50ms; }
.grid > *:nth-child(3) { animation-delay: 100ms; }
.grid > *:nth-child(4) { animation-delay: 150ms; }
.grid > *:nth-child(5) { animation-delay: 200ms; }
.grid > *:nth-child(6) { animation-delay: 250ms; }
.grid > *:nth-child(7) { animation-delay: 300ms; }
.grid > *:nth-child(8) { animation-delay: 350ms; }
.grid > *:nth-child(9) { animation-delay: 400ms; }
.grid > *:nth-child(10) { animation-delay: 450ms; }
.grid > *:nth-child(11) { animation-delay: 500ms; }
.grid > *:nth-child(12) { animation-delay: 550ms; }

/* ========================================
   ADMIN STYLES
======================================== */

.admin-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  overflow-x: auto;
}

.admin-nav a {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-out);
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-lg);
}

.admin-table th,
.admin-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.admin-table td {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.admin-table tr:hover td {
  background: var(--bg-secondary);
}

.admin-actions {
  display: flex;
  gap: var(--space-sm);
}

.admin-actions a,
.admin-actions button {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}



/* ========================================
   SHARE + ENHANCED MODAL
======================================== */

.share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.share-bar-sm .share-btn {
  padding: 8px 10px;
  font-size: var(--text-xs);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.share-btn:hover {
  transform: translateY(-1px);
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
}

.share-btn:active {
  transform: translateY(0);
}


.share-btn svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor;
}

.share-btn span {
  line-height: 1;
}
/* Override legacy modal sizing for the interview modal */
.modal-content {
  max-width: 1100px;
  aspect-ratio: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  height: 80vh;
  max-height: 760px;
  min-height: 520px;
}


.modal-video {
  background: #000;
  position: relative;
}

.modal-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-meta {
  padding: var(--space-lg);
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-desc {
  white-space: pre-wrap;
  overflow: auto;
  padding-right: 6px;
  flex: 1 1 auto;
}

.share-wrap {
  margin-top: auto;
}

.share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 16px;
}

.share-btn span {
  line-height: 1;
}

.modal-desc {
  white-space: pre-wrap;
  color: var(--text-muted);
  overflow: auto;
  padding-right: 6px;
}

.modal-meta .share-wrap {
  margin-top: auto;
}


@media (max-width: 900px) {
  .modal-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-height: none;
  }
  .modal-video {
    aspect-ratio: 16 / 9;
  }
}

/* ========================================
   ALBUM BY ARTIST CARDS
======================================== */

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 1100px) {
  .artist-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .artist-grid { grid-template-columns: 1fr; }
}

.artist-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  min-height: 180px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}

.artist-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.artist-card .artist-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.artist-card .artist-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.artist-card .artist-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-md);
  color: #fff;
}

.artist-card .artist-name {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0 0 6px 0;
}

.artist-card .artist-count {
  font-size: var(--text-sm);
  opacity: 0.9;
  margin: 0;
}


/* ========================================
   PRINT STYLES
======================================== */

@media print {
  .site-header,
  .site-footer,
  .mobile-nav,
  .modal-overlay,
  .lightbox {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .wrap {
    max-width: 100%;
    padding: 0;
  }

  .section {
    padding: 1rem 0;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* ========================================
   SHOP: CART LINK BADGE
======================================== */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.cart-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-strong);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--bg-primary);
}


/* Translation alert */
.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-card-hover);
  color: var(--text);
}
.alert a {
  margin-left: 6px;
}


/* Anti-save deterrents for galleries (best-effort; not a guarantee) */
.photo-grid, .album-grid, .album-card, .artist-grid, #lightbox {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

@media print {
  .photo-grid, .album-grid, .album-card, .artist-grid, #lightbox {
    display: none !important;
  }
}

/* ========================================
   ADMIN ANALYTICS CHARTS
======================================== */

.chart-card {
  position: relative;
  overflow: hidden;
}

.chart-canvas {
  width: 100%;
  height: 320px;
  display: block;
}

@media (max-width: 760px) {
  .chart-canvas { height: 260px; }
}

.mini-chart {
  width: 100%;
  height: 220px;
  display: block;
}

.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: rgba(212, 175, 55, 0.08);
  color: var(--text-secondary);
}

.kpi-delta.positive {
  background: rgba(34, 197, 94, 0.10);
}

.kpi-delta.negative {
  background: rgba(239, 68, 68, 0.10);
}
