/* Leadership on Display — Design System
   Dark cinematic aesthetic with ambient glow, animated gradients, and gold accents */

/* ===================== RESET & BASE ===================== */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --brand-bg-dark: #0a0a14;
  --brand-bg-surface: #14142a;
  --brand-bg-surface-hover: #1a1a36;
  --brand-bg-elevated: #1e1e3a;
  --brand-text-light: #f0ede8;
  --brand-text-muted: #8a8698;
  --brand-accent-gold: #d4a574;
  --brand-accent-gold-hover: #e0b88a;
  --brand-accent-glow: rgba(212, 165, 116, 0.15);
  --brand-accent-glow-strong: rgba(212, 165, 116, 0.3);
  --brand-signal-warm: #d4a574;
  --brand-signal-cool: #7ba0c4;
  --brand-signal-bar-bg: #1a1a30;
  --brand-status-success: #4ade80;
  --brand-status-warning: #fbbf24;
  --brand-status-error: #f87171;
  --brand-gradient-1: #d4a574;
  --brand-gradient-2: #b07a4a;
  --brand-gradient-3: #7ba0c4;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--brand-bg-dark);
  color: var(--brand-text-light);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.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;
}
.sr-only:focus {
  position: absolute; width: auto; height: auto; padding: 0.5rem 1rem;
  margin: 0; overflow: visible; clip: auto; white-space: normal;
  background: var(--brand-accent-gold); color: var(--brand-bg-dark);
  top: 0.5rem; left: 0.5rem; z-index: 9999; border-radius: 0.25rem;
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

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

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.animate-fade-in { animation: fadeIn 0.5s ease-out both; }

.stagger-children > *:nth-child(1) { animation-delay: 0ms; }
.stagger-children > *:nth-child(2) { animation-delay: 80ms; }
.stagger-children > *:nth-child(3) { animation-delay: 160ms; }
.stagger-children > *:nth-child(4) { animation-delay: 240ms; }
.stagger-children > *:nth-child(5) { animation-delay: 320ms; }
.stagger-children > *:nth-child(6) { animation-delay: 400ms; }
.stagger-children > *:nth-child(7) { animation-delay: 480ms; }
.stagger-children > *:nth-child(8) { animation-delay: 560ms; }
.stagger-children > *:nth-child(9) { animation-delay: 640ms; }
.stagger-children > *:nth-child(10) { animation-delay: 720ms; }

/* ===================== TYPOGRAPHY ===================== */
.type-display {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.type-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.type-section {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.type-show-name { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.type-editorial { font-size: 1rem; line-height: 1.7; font-style: italic; color: var(--brand-text-muted); }
.type-signal-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.type-signal-value { font-family: 'JetBrains Mono', monospace; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.type-rank { font-family: 'JetBrains Mono', monospace; font-size: 1.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.type-position { font-family: 'JetBrains Mono', monospace; font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.type-body { font-size: 1rem; line-height: 1.7; }
.type-nav { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.03em; }
.type-overline { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; color: var(--brand-accent-gold); }
.font-mono { font-family: 'JetBrains Mono', monospace; }

.text-gradient {
  background: linear-gradient(135deg, var(--brand-accent-gold), var(--brand-accent-gold-hover), var(--brand-signal-cool));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.text-brand-light { color: var(--brand-text-light); }
.text-brand-muted { color: var(--brand-text-muted); }
.text-brand-accent { color: var(--brand-accent-gold); }

/* ===================== LAYOUT UTILITIES ===================== */
.container { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.min-w-0 { min-width: 0; }
.max-w-2xl { max-width: 42rem; }
.w-full { width: 100%; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-2 { height: 0.5rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.min-h-screen { min-height: 100vh; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.3; }
.leading-relaxed { line-height: 1.7; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.03em; }
.tracking-wider { letter-spacing: 0.1em; }
.italic { font-style: italic; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.uppercase { text-transform: uppercase; }
.no-underline { text-decoration: none; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.25rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.opacity-50 { opacity: 0.5; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-all { transition: all 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Tailwind-compatible color utilities used in templates */
.bg-brand-dark { background: var(--brand-bg-dark); }
.bg-brand-surface { background: var(--brand-bg-surface); }
.border-brand-muted\/20 { border-color: rgba(138, 134, 152, 0.2); }
.border-brand-muted\/10 { border-color: rgba(138, 134, 152, 0.1); }
.border-brand-muted\/30 { border-color: rgba(138, 134, 152, 0.3); }
.bg-brand-surface\/80 { background: rgba(20, 20, 42, 0.8); }
.bg-brand-dark\/50 { background: rgba(10, 10, 20, 0.5); }
.bg-brand-accent\/20 { background: rgba(212, 165, 116, 0.2); }
.bg-brand-accent\/30 { background: rgba(212, 165, 116, 0.3); }
.bg-brand-muted\/20 { background: rgba(138, 134, 152, 0.2); }
.bg-brand-status-success\/20 { background: rgba(74, 222, 128, 0.2); }
.bg-brand-status-warning\/10 { background: rgba(251, 191, 36, 0.1); }
.border-brand-status-warning\/30 { border-color: rgba(251, 191, 36, 0.3); }
.text-brand-status-success { color: var(--brand-status-success); }
.text-brand-status-warning { color: var(--brand-status-warning); }
.animate-pulse { animation: pulse-glow 2s ease-in-out infinite; }
.hover\:text-brand-accent:hover { color: var(--brand-accent-gold); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:bg-brand-accent\/30:hover { background: rgba(212, 165, 116, 0.3); }
.hover\:bg-brand-surface\/80:hover { background: rgba(20, 20, 42, 0.8); }
.focus\:not-sr-only:focus { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.focus\:absolute:focus { position: absolute; }
.focus\:top-2:focus { top: 0.5rem; }
.focus\:left-2:focus { left: 0.5rem; }
.focus\:z-50:focus { z-index: 50; }
.focus\:bg-brand-accent:focus { background: var(--brand-accent-gold); }
.focus\:text-brand-dark:focus { color: var(--brand-bg-dark); }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:rounded:focus { border-radius: 0.25rem; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-brand-accent:focus { border-color: var(--brand-accent-gold); }

/* ===================== NAVIGATION ===================== */
.nav-main {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(212, 165, 116, 0.08);
}

.nav-inner {
  max-width: 72rem; margin: 0 auto; padding: 0 1rem;
  height: 4rem; display: flex; align-items: center; justify-content: space-between;
}

.nav-brand {
  font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--brand-text-light); display: flex; align-items: center; gap: 0.625rem;
}

.nav-brand-mark {
  width: 2rem; height: 2rem;
  background: linear-gradient(135deg, var(--brand-accent-gold), var(--brand-gradient-3));
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.6875rem; color: var(--brand-bg-dark);
  letter-spacing: -0.02em;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--brand-text-muted);
  transition: color 0.2s; position: relative;
}

.nav-link:hover, .nav-link.active { color: var(--brand-text-light); }

.nav-link::after {
  content: ''; position: absolute; bottom: -0.375rem; left: 0; right: 0;
  height: 2px; background: var(--brand-accent-gold);
  transform: scaleX(0); transition: transform 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-mobile-btn {
  color: var(--brand-text-light); padding: 0.5rem; cursor: pointer;
  background: none; border: none;
}

.mobile-menu {
  padding: 1rem; border-top: 1px solid rgba(212, 165, 116, 0.08);
  background: rgba(10, 10, 20, 0.95); backdrop-filter: blur(20px);
}

.mobile-menu a {
  display: block; padding: 0.75rem 0; color: var(--brand-text-light);
  font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid rgba(138, 134, 152, 0.1);
}

.mobile-menu a:hover { color: var(--brand-accent-gold); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem; min-height: 80vh;
  display: flex; align-items: center;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.hero-gradient-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: pulse-glow 6s ease-in-out infinite;
}

.hero-gradient-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.2), transparent 70%);
  top: -10%; right: -10%;
}

.hero-gradient-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123, 160, 196, 0.12), transparent 70%);
  bottom: -20%; left: -5%; animation-delay: 3s;
}

.hero-gradient-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(176, 122, 74, 0.1), transparent 70%);
  top: 40%; left: 50%; animation-delay: 1.5s;
}

.hero-content {
  position: relative; z-index: 10;
  max-width: 72rem; margin: 0 auto; padding: 0 1rem;
}

.hero-overline {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  font-weight: 600; color: var(--brand-accent-gold); margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out both;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--brand-text-muted);
  max-width: 36rem; line-height: 1.7; margin-bottom: 2.5rem;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.45s both;
}

.hero-stat-strip {
  display: flex; gap: 2.5rem; margin-top: 4rem;
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.hero-stat-value {
  font-family: 'JetBrains Mono', monospace; font-size: 1.5rem;
  font-weight: 700; color: var(--brand-accent-gold); font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 0.75rem; color: var(--brand-text-muted);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.9375rem;
  background: var(--brand-accent-gold); color: var(--brand-bg-dark);
  border: none; cursor: pointer; transition: all 0.25s ease;
  min-width: 120px; text-align: center;
}

.btn-primary:hover {
  background: var(--brand-accent-gold-hover); transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: 0.5rem;
  font-weight: 600; font-size: 0.9375rem;
  background: transparent; color: var(--brand-text-light);
  border: 1px solid rgba(138, 134, 152, 0.3);
  cursor: pointer; transition: all 0.25s ease;
  min-width: 120px; text-align: center;
}

.btn-secondary:hover {
  border-color: var(--brand-accent-gold); color: var(--brand-accent-gold);
  background: rgba(212, 165, 116, 0.05);
}

.btn-destructive {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem; border-radius: 0.5rem; font-weight: 600;
  background: var(--brand-status-error); color: white;
  border: none; cursor: pointer; transition: all 0.2s;
  min-width: 120px; text-align: center;
}

.btn-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ===================== CARDS ===================== */
.card {
  background: var(--brand-bg-surface);
  border: 1px solid rgba(138, 134, 152, 0.08);
  border-radius: 0.75rem; padding: 1.25rem;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--brand-bg-surface-hover);
  border-color: rgba(212, 165, 116, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px var(--brand-accent-glow);
}

.card-glow { position: relative; }

.card-glow::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 0.75rem; padding: 1px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), transparent 50%, rgba(123, 160, 196, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
}

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

/* Chart card (used by existing templates) */
.chart-card {
  background: var(--brand-bg-surface);
  border: 1px solid rgba(138, 134, 152, 0.06);
  border-radius: 0.75rem; padding: 1rem 1.25rem;
  transition: all 0.3s ease; cursor: pointer;
}

.chart-card:hover {
  background: var(--brand-bg-surface-hover);
  border-color: rgba(212, 165, 116, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ===================== SIGNAL BARS ===================== */
.signal-bar-container {
  height: 0.5rem; border-radius: 9999px; width: 100%;
  background: var(--brand-signal-bar-bg); overflow: hidden;
}

.signal-bar-fill {
  height: 100%; border-radius: 9999px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-brand-signal-cool { background: var(--brand-signal-cool); }
.bg-brand-signal-warm { background: var(--brand-signal-warm); }

/* ===================== BADGES ===================== */
.badge {
  display: inline-flex; align-items: center;
  padding: 0.125rem 0.625rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500;
}

.badge-gold { background: rgba(212, 165, 116, 0.15); color: var(--brand-accent-gold); }
.badge-green { background: rgba(74, 222, 128, 0.15); color: var(--brand-status-success); }

/* ===================== SHOW CAROUSEL ===================== */
.show-carousel {
  overflow: hidden; position: relative; padding: 1rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.show-carousel-track {
  display: flex; gap: 1.5rem;
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}

.show-carousel-track:hover { animation-play-state: paused; }

.show-carousel-item { flex-shrink: 0; width: 140px; text-align: center; }

.show-carousel-art {
  width: 140px; height: 140px; border-radius: 0.75rem;
  overflow: hidden; background: var(--brand-bg-surface);
  margin-bottom: 0.5rem; transition: all 0.3s ease;
  border: 2px solid transparent;
}

.show-carousel-item:hover .show-carousel-art {
  border-color: rgba(212, 165, 116, 0.4);
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.15);
  transform: scale(1.05);
}

.show-carousel-art img { width: 100%; height: 100%; object-fit: cover; }

.show-carousel-name {
  font-size: 0.8125rem; font-weight: 500; color: var(--brand-text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: color 0.2s;
}

.show-carousel-item:hover .show-carousel-name { color: var(--brand-text-light); }

/* ===================== FEATURE CARDS ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.feature-card {
  background: var(--brand-bg-surface);
  border: 1px solid rgba(138, 134, 152, 0.06);
  border-radius: 1rem; padding: 2rem;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}

.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-accent-gold), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 116, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(212, 165, 116, 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; color: var(--brand-accent-gold); font-size: 1.5rem;
}

.feature-title { font-size: 1.125rem; font-weight: 600; color: var(--brand-text-light); margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.875rem; color: var(--brand-text-muted); line-height: 1.6; }

/* ===================== SECTION ===================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.2), transparent);
  margin: 3rem 0;
}

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid rgba(138, 134, 152, 0.08);
  padding: 3rem 0 2rem; margin-top: 4rem;
}

.footer-inner { max-width: 72rem; margin: 0 auto; padding: 0 1rem; }

.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 2rem; margin-bottom: 2rem;
}

.footer-brand { font-size: 1rem; font-weight: 700; color: var(--brand-text-light); margin-bottom: 0.5rem; }

.footer-tagline {
  font-size: 0.8125rem; color: var(--brand-text-muted);
  max-width: 20rem; line-height: 1.5;
}

.footer-links { display: flex; gap: 3rem; }

.footer-col-title {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--brand-text-light); margin-bottom: 0.75rem;
}

.footer-col a {
  display: block; font-size: 0.8125rem; color: var(--brand-text-muted);
  padding: 0.25rem 0; transition: color 0.2s;
}

.footer-col a:hover { color: var(--brand-accent-gold); }

.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid rgba(138, 134, 152, 0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--brand-text-muted);
}

/* ===================== SEARCH ===================== */
.search-input {
  flex: 1; background: var(--brand-bg-surface); color: var(--brand-text-light);
  border: 1px solid rgba(138, 134, 152, 0.15); border-radius: 0.5rem;
  padding: 0.75rem 1rem; font-size: 1rem; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

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

/* ===================== TABLE ===================== */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; }

/* ===================== SKELETON / LOADING ===================== */
.skeleton {
  background: linear-gradient(90deg, var(--brand-bg-surface) 25%, var(--brand-bg-elevated) 50%, var(--brand-bg-surface) 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 0.375rem;
}

/* ===================== PULSE DOT ===================== */
.pulse-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--brand-status-success); position: relative;
}

.pulse-dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--brand-status-success);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* ===================== ADMIN ===================== */
.admin-form input[type="password"],
.admin-form input[type="text"] {
  background: var(--brand-bg-surface); color: var(--brand-text-light);
  border: 1px solid rgba(138, 134, 152, 0.2); border-radius: 0.5rem;
  padding: 0.75rem 1rem; font-size: 1rem; outline: none; width: 100%;
  transition: border-color 0.2s;
}

.admin-form input:focus { border-color: var(--brand-accent-gold); }

/* ===================== HOMEPAGE COMPONENTS ===================== */
.btn-sm {
  min-width: auto; padding: 0.5rem 1.25rem; font-size: 0.8125rem;
}

.card-compact { padding: 1rem 1.25rem; }

.rank-cell { flex-shrink: 0; width: 3rem; text-align: center; }

.rank-art {
  flex-shrink: 0; width: 3rem; height: 3rem;
  border-radius: 0.5rem; overflow: hidden;
  background: var(--brand-bg-dark);
}

.rank-art-img { width: 100%; height: 100%; object-fit: cover; }

.rank-art-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-text-muted); font-size: 0.75rem;
}

.section-cta { padding: 3rem 0; }

.prose-narrow { max-width: 28rem; margin-left: auto; margin-right: auto; }

.empty-state {
  background: var(--brand-bg-surface);
  border: 1px solid rgba(138, 134, 152, 0.08);
  border-radius: 0.75rem; padding: 3rem 2rem;
  text-align: center;
}

.empty-state-icon {
  width: 3rem; height: 3rem; margin: 0 auto 1.25rem;
  color: var(--brand-text-muted); opacity: 0.5;
}

/* ===================== ZOOM PARALLAX ===================== */
.zoom-parallax-section {
  height: 300vh;
  position: relative;
}

.zoom-parallax-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.zoom-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}

.zoom-layer-inner {
  position: relative;
}

.zoom-img-wrap {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 165, 116, 0.1);
  position: relative;
}

.zoom-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--brand-text-light);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zoom-layer-1 .zoom-img-wrap { width: 25vw; height: 25vh; }
.zoom-layer-2 .zoom-img-wrap { width: 14vw; height: 14vh; }
.zoom-layer-3 .zoom-img-wrap { width: 13vw; height: 13vh; }
.zoom-layer-4 .zoom-img-wrap { width: 32vw; height: 32vh; }
.zoom-layer-5 .zoom-img-wrap { width: 12vw; height: 12vh; }
.zoom-layer-6 .zoom-img-wrap { width: 15vw; height: 15vh; }
.zoom-layer-7 .zoom-img-wrap { width: 13vw; height: 13vh; }

.zoom-layer-1 .zoom-layer-inner { transform: translate(-22vw, -8vh); }
.zoom-layer-2 .zoom-layer-inner { transform: translate(18vw, -14vh); }
.zoom-layer-3 .zoom-layer-inner { transform: translate(-28vw, 12vh); }
.zoom-layer-4 .zoom-layer-inner { transform: translate(0, 0); }
.zoom-layer-5 .zoom-layer-inner { transform: translate(26vw, 10vh); }
.zoom-layer-6 .zoom-layer-inner { transform: translate(-16vw, -20vh); }
.zoom-layer-7 .zoom-layer-inner { transform: translate(22vw, 18vh); }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:p-5 { padding: 1.25rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
  .md\:w-16 { width: 4rem; }
  .md\:h-16 { height: 4rem; }
  .md\:w-32 { width: 8rem; }
  .md\:h-32 { height: 8rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 767px) {
  .md\:flex { display: none; }
  .hero { padding: 3rem 0 2.5rem; min-height: auto; }
  .hero-stat-strip { gap: 1.5rem; flex-wrap: wrap; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (forced-colors: active) {
  .signal-bar-container { border: 1px solid CanvasText; }
  .signal-bar-fill { background: Highlight; }
  .card { border: 1px solid CanvasText; }
  .nav-main { border-bottom: 1px solid CanvasText; }
}

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