:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f6ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f8ff;
  --gold: #1d4ed8;
  --gold-light: #2563eb;
  --crimson: #dc2626;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-subtle: rgba(37, 99, 235, 0.2);
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-lg: 0 20px 45px rgba(29, 78, 216, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 96px; /* space for persistent player bar */
  overflow-x: hidden;
}

/* Caucasian Geometric Ornament Top Bar */
.ornament-bar {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    #1d4ed8 0px,
    #1d4ed8 16px,
    #38bdf8 16px,
    #38bdf8 32px,
    #dbeafe 32px,
    #dbeafe 48px
  );
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  color: var(--text-main);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Forum', Georgia, serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.brand-title span {
  color: var(--gold);
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: 999px;
}

.lang-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: var(--gold);
  color: #ffffff;
}

.lang-toggle,
.favorites-btn,
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-toggle:hover,
.favorites-btn:hover,
.favorites-btn.active,
.admin-btn:hover,
.admin-btn.active {
  border-color: var(--gold);
  background: rgba(37, 99, 235, 0.1);
}

.admin-btn.active {
  color: var(--gold-light);
}

.admin-btn[hidden] {
  display: none !important;
}

.lang-active {
  color: var(--gold);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 76px 0 88px;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
}

.mountain-svg {
  width: 100%;
  height: 340px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.hero-title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.gold-gradient {
  background: linear-gradient(135deg, #1e40af, #2563eb, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(37, 99, 235, 0.4);
  box-shadow: 0 18px 42px rgba(29, 78, 216, 0.16);
  margin-bottom: 28px;
  max-width: 640px;
}

.hero-main-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-frame:hover .hero-main-img {
  transform: scale(1.02);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(37, 99, 235, 0.08);
}

.hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(37, 99, 235, 0.14);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-light);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Featured Now Playing Card */
.hero-featured-card {
  background: linear-gradient(160deg, #ffffff, #f0f6ff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.featured-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.featured-tag {
  color: var(--gold);
  font-weight: 700;
}

.featured-region {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.vinyl-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 14px 0 22px;
}

.vinyl-disc {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: radial-gradient(circle, #1e3a8a 0%, #172554 65%, #0f172a 100%);
  border: 3px solid rgba(37, 99, 235, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.25);
  animation: spinVinyl 12s linear infinite;
  animation-play-state: paused;
}

.vinyl-disc.playing {
  animation-play-state: running;
}

.vinyl-grooves {
  position: absolute;
  inset: 16px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 175, 55, 0.2);
}

.vinyl-center {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: url('hero-kavkaz.jpg') center top / cover no-repeat;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 1.35rem;
}

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

.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 24px;
  margin-top: 16px;
}

.equalizer-bars span {
  width: 4px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.equalizer-bars.active span {
  animation: eqPulse 0.8s ease-in-out infinite alternate;
}

.equalizer-bars.active span:nth-child(2) { animation-delay: 0.15s; }
.equalizer-bars.active span:nth-child(3) { animation-delay: 0.3s; }
.equalizer-bars.active span:nth-child(4) { animation-delay: 0.1s; }
.equalizer-bars.active span:nth-child(5) { animation-delay: 0.25s; }
.equalizer-bars.active span:nth-child(6) { animation-delay: 0.4s; }

@keyframes eqPulse {
  0% { height: 5px; }
  100% { height: 22px; }
}

.featured-track-meta h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.featured-track-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.featured-card-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.btn-icon {
  background: #f8fafc;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-play-large {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.32);
  transition: transform 0.2s ease;
}

.btn-play-large:hover {
  transform: scale(1.06);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 460px;
}

/* Search & Filter Bar */
.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px;
  border-radius: 999px;
  min-width: 300px;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.9rem;
  width: 100%;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-pill {
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

/* Track List */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-pagination {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.track-page-info {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.track-page-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.track-item-wrap {
  display: flex;
  flex-direction: column;
}

.track-row {
  display: grid;
  grid-template-columns: 48px 1.4fr 0.8fr 0.7fr auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.track-row:hover,
.track-row.active {
  background: var(--bg-card-hover);
  border-color: var(--gold);
}

.track-play-cell {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-row.active .track-play-cell,
.track-play-cell:hover {
  background: var(--gold);
  color: #ffffff;
}

.track-main-info {
  display: flex;
  flex-direction: column;
}

.track-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.track-artist {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.track-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gold-light);
}

.track-instruments {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.track-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.track-duration {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.like-btn,
.comment-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.like-btn.liked {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.35);
}

.comment-toggle-btn.open,
.comment-toggle-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(37, 99, 235, 0.1);
}

.like-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(220, 38, 38, 0.45);
  color: #dc2626;
}

/* Per-Track Comments Drawer */
.track-comments-drawer {
  background: #f8fbff;
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin: -4px 8px 6px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comments-header-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.4px;
}

.comments-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.comment-bubble {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: var(--gold);
  margin-bottom: 4px;
  font-weight: 600;
}

.comment-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.comment-delete-btn {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.comment-delete-btn:hover {
  background: var(--crimson);
  color: #ffffff;
}

.comment-date {
  color: var(--text-muted);
  font-weight: 400;
}

.comment-text {
  font-size: 0.88rem;
  color: var(--text-main);
}

.comment-empty {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
}

.comment-form {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 10px;
  align-items: center;
}

.comment-form input {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  outline: none;
}

.comment-form input:focus {
  border-color: var(--gold);
}

.comment-submit-btn {
  background: var(--gold);
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.comment-submit-btn:hover {
  transform: translateY(-1px);
}

/* Regions Grid */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.region-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.region-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.region-title {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.25rem;
  color: var(--gold-light);
}

.region-emblem {
  font-size: 1.5rem;
}

.region-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-tag {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

/* Instruments Grid */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.instrument-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease;
}

.instrument-card:hover {
  border-color: var(--gold);
}

.inst-origin {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
}

.inst-name {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.25rem;
  margin: 4px 0 8px;
}

.inst-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.inst-sample-btn {
  align-self: flex-start;
  background: rgba(37, 99, 235, 0.1);
  color: var(--gold-light);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.inst-sample-btn:hover,
.inst-sample-btn.active {
  background: var(--gold);
  color: #ffffff;
}

/* Playlists Grid */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.playlist-card {
  background: linear-gradient(145deg, #ffffff, #f0f6ff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.playlist-count {
  font-size: 0.76rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}

.playlist-title {
  font-family: 'Forum', Georgia, serif;
  font-size: 1.2rem;
  margin: 6px 0;
}

.playlist-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Submit Banner */
.submit-banner {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.submit-info p {
  color: var(--text-muted);
  margin-top: 12px;
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.submit-form input,
.submit-form select {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
}

.submit-form input:focus,
.submit-form select:focus {
  border-color: var(--gold);
}

.form-feedback {
  font-size: 0.86rem;
  color: var(--gold-light);
  min-height: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(37, 99, 235, 0.14);
  padding: 40px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

/* Persistent Player Bar */
.player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.06);
  height: 82px;
  display: flex;
  align-items: center;
}

.player-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
  align-items: center;
  gap: 20px;
}

.player-now-playing {
  display: flex;
  align-items: center;
  gap: 12px;
}

.player-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: url('hero-kavkaz.jpg') center top / cover no-repeat;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 1.2rem;
}

.player-title {
  font-weight: 600;
  font-size: 0.94rem;
}

.player-artist {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.player-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.player-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.player-btn:hover,
.player-btn.active {
  color: var(--gold);
}

.player-btn-main {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 440px;
}

.time-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.progress-slider,
.volume-slider {
  accent-color: var(--gold);
  cursor: pointer;
}

.progress-slider {
  flex: 1;
  height: 4px;
}

.player-volume {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--text-muted);
}

.volume-slider {
  width: 90px;
  height: 4px;
}

/* Analytics & Performance Tracking Modal */
.analytics-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.analytics-modal-backdrop[hidden] {
  display: none !important;
}

.analytics-modal-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.22);
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.analytics-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.14);
  padding-bottom: 14px;
}

.analytics-modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.analytics-close-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
}

.analytics-close-btn:hover {
  background: var(--gold);
  color: #ffffff;
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.analytics-kpi-box {
  background: #f8fbff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kpi-label {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.kpi-value {
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 800;
}

.kpi-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.analytics-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.analytics-panel {
  background: #f8fbff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: var(--radius-md);
  padding: 18px;
}

.analytics-panel h4 {
  font-size: 0.94rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.traffic-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.traffic-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}

.traffic-row-top {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.traffic-bar-bg {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.traffic-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 999px;
}

.conversion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.conversion-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 8px;
}

.top-regions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-stat-pill {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.analytics-ga-config {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(37, 99, 235, 0.14);
  padding-top: 14px;
}

.ga-config-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
}

.ga-config-left input {
  padding: 8px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 0.85rem;
  width: 180px;
}

/* Horizontal Advertiser Banner */
.ad-banner-section {
  padding: 16px 0 0;
}

.ad-banner-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 50%, #eff6ff 100%);
  border: 2px dashed rgba(37, 99, 235, 0.45);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ad-banner-box:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.ad-banner-badge {
  background: var(--gold);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  padding: 5px 12px;
  border-radius: 999px;
}

.ad-banner-text {
  font-family: 'Forum', Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  flex: 1;
}

/* Contact Modal Form */
.contact-modal-card {
  max-width: 620px;
}

.contact-modal-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-modal-form input,
.contact-modal-form select,
.contact-modal-form textarea {
  background: #f8fbff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}

.contact-modal-form input:focus,
.contact-modal-form select:focus,
.contact-modal-form textarea:focus {
  border-color: var(--gold);
  background: #ffffff;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.contact-feedback {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 920px) {
  .hero-grid,
  .submit-banner {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .track-row {
    grid-template-columns: 42px 1fr auto;
  }

  .track-region-badge,
  .track-instruments {
    display: none;
  }

  .player-bar-inner {
    grid-template-columns: 1fr 1.2fr;
  }

  .player-volume {
    display: none;
  }

  .comment-form {
    grid-template-columns: 1fr;
  }
}
