/* ═══════════════════════════════════════════════════════════════════════════
   ElectroCulture Records — Premium Design System
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #060606;
  --bg-card: #0e0e0e;
  --bg-elevated: #141414;
  --fg: #f0f0f0;
  --fg-muted: #999;
  --fg-dim: #666;
  --brand: #e50914;
  --brand-glow: rgba(229, 9, 20, 0.3);
  --line: #1a1a1a;
  --line-hover: #2a2a2a;
  --radius: 10px;
  --radius-sm: 6px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --container: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── HEADER ───────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}

.logo-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand-glow);
}

.header-right { display: flex; align-items: center; gap: 16px; }

.social-icons { display: flex; gap: 14px; font-size: 15px; }
.social-icons a { color: var(--fg-muted); transition: all var(--transition); }
.social-icons a:hover { color: var(--brand); transform: translateY(-1px); }

.lang-switch {
  display: flex; gap: 2px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 2px;
}
.lang-switch button {
  background: none; border: none; color: var(--fg-dim);
  padding: 4px 10px; border-radius: 4px; font-weight: 700; font-size: 12px;
  transition: all var(--transition); text-transform: uppercase;
}
.lang-switch button.active { background: var(--brand); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--fg); }

/* Mobile menu */
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--fg); font-size: 22px; padding: 4px;
}

.main-nav {
  border-top: 1px solid var(--line);
  display: flex; justify-content: center; gap: 6px; padding: 8px 0;
}
.main-nav a {
  font-size: 13px; font-weight: 600; color: var(--fg-muted);
  padding: 6px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition); text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a:hover, .main-nav a.active { color: var(--fg); background: rgba(255,255,255,0.04); }

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--brand-glow), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 48px; align-items: center; position: relative;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-content h1 span { color: var(--brand); }

.hero-subtitle {
  font-size: 17px; color: var(--fg-muted);
  margin-bottom: 12px; font-weight: 500;
}

.hero-description {
  color: #b0b0b0; line-height: 1.75; max-width: 540px;
  margin-bottom: 28px;
}

.hero-stats {
  display: flex; gap: 32px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800; color: var(--brand);
}
.hero-stat-label { font-size: 12px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-cover {
  border: 1px solid var(--line); padding: 16px; border-radius: var(--radius);
  background: var(--bg-card); position: relative; overflow: hidden;
}
.hero-cover-img {
  width: 100%; aspect-ratio: 1/1; border-radius: 8px;
  overflow: hidden; background: #000;
}
.hero-cover-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-cover-badge {
  position: absolute; left: 26px; top: 26px;
  background: var(--brand); color: #fff; font-size: 11px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-cover-info {
  padding: 14px 4px 4px;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-cover-title { font-weight: 700; font-size: 16px; }
.hero-cover-artist { font-size: 13px; color: var(--fg-muted); }
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; border: none;
  padding: 10px 18px; border-radius: 8px; font-weight: 700;
  font-size: 13px; transition: all var(--transition);
}
.hero-cta:hover { opacity: 0.85; color: #fff; transform: translateY(-1px); }

/* ── BEATPORT PLAYER ──────────────────────────────────────────────────────── */
.beatport-section { padding: 60px 0; border-top: 1px solid var(--line); }

.beatport-player-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
}

/* ── SECTION STYLES ───────────────────────────────────────────────────────── */
section { padding: 80px 0; }

.section-header {
  text-align: center; margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--fg-muted); font-size: 15px; max-width: 500px; margin: 0 auto;
}

.section-divider { border-top: 1px solid var(--line); }

/* ── LISTEN & BUY ─────────────────────────────────────────────────────────── */
.listen-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.listen-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 24px 16px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all var(--transition);
}
.listen-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--fg); }
.listen-card i { font-size: 28px; color: var(--brand); margin-bottom: 4px; }
.listen-card .platform-name { font-weight: 700; font-size: 15px; }
.listen-card .platform-sub { font-size: 12px; color: var(--fg-dim); }

/* ── RELEASES GRID ────────────────────────────────────────────────────────── */
.releases-filters {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 32px; flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--fg-muted); padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600; transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--line-hover); color: var(--fg); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.releases-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.release-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.release-card:hover { border-color: var(--line-hover); transform: translateY(-3px); }

.release-thumb {
  position: relative; width: 100%; aspect-ratio: 1/1;
  overflow: hidden; background: #0a0a0a;
}
.release-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.release-card:hover .release-thumb img { transform: scale(1.04); }

.release-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--brand); color: #fff; font-size: 10px;
  padding: 3px 8px; border-radius: 4px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}

.release-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 16px;
}
.release-card:hover .release-overlay { opacity: 1; }

.release-overlay-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: #fff; border: none;
  padding: 8px 16px; border-radius: 6px; font-weight: 700;
  font-size: 12px; width: 100%; justify-content: center;
}

.release-info { padding: 14px; }
.release-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release-artist { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }
.release-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--fg-dim);
}
.release-genre {
  background: rgba(255,255,255,0.05); padding: 2px 8px;
  border-radius: 4px; font-weight: 600;
}

/* ── RELEASE MODAL ────────────────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--bg-elevated); border: 1px solid var(--line);
  border-radius: 16px; max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto;
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(0,0,0,0.5); border: none; color: #fff;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
}

.modal-header {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 28px; position: relative;
}
.modal-cover { border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; }
.modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.modal-title-area { display: flex; flex-direction: column; justify-content: center; }
.modal-title { font-size: 24px; font-weight: 800; font-family: var(--font-display); }
.modal-artist { font-size: 15px; color: var(--fg-muted); margin-top: 4px; }
.modal-meta-row {
  display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}
.modal-meta-tag {
  background: rgba(255,255,255,0.06); padding: 4px 12px;
  border-radius: 4px; font-size: 12px; color: var(--fg-muted);
}
.modal-beatport-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; border: none;
  padding: 10px 20px; border-radius: 8px; font-weight: 700;
  font-size: 13px; margin-top: 16px; transition: opacity var(--transition);
}
.modal-beatport-btn:hover { opacity: 0.85; color: #fff; }

.modal-tracklist { padding: 0 28px 28px; }
.modal-tracklist h3 { font-size: 14px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }

.track-row {
  display: grid; grid-template-columns: 30px 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.track-row:last-child { border-bottom: none; }
.track-num { color: var(--fg-dim); font-size: 13px; text-align: center; }
.track-title { font-weight: 600; }
.track-mix { font-size: 12px; color: var(--fg-dim); margin-left: 8px; font-weight: 400; }
.track-artists { font-size: 12px; color: var(--fg-muted); }
.track-detail { font-size: 12px; color: var(--fg-dim); text-align: right; white-space: nowrap; }

/* ── ARTISTS ──────────────────────────────────────────────────────────────── */
.artists-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.artist-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: all var(--transition);
}
.artist-card:hover { border-color: var(--line-hover); transform: translateY(-2px); }

.artist-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-elevated); margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--brand);
  border: 2px solid var(--line);
  overflow: hidden;
}
.artist-avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.artist-location { font-size: 12px; color: var(--fg-dim); margin-bottom: 8px; }
.artist-releases-count { font-size: 12px; color: var(--fg-muted); }
.artist-releases-count strong { color: var(--brand); }
.artist-links { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.artist-links a { color: var(--fg-dim); font-size: 15px; transition: color var(--transition); }
.artist-links a:hover { color: var(--brand); }

/* ── STORY / HISTORY ──────────────────────────────────────────────────────── */
.story-content {
  max-width: 780px; margin: 0 auto;
  text-align: center; line-height: 1.8;
  color: #bbb;
}
.story-content strong { color: var(--fg); }

.timeline {
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap; margin: 40px 0;
}
.timeline-item {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px;
  text-align: center; min-width: 140px;
  transition: all var(--transition);
}
.timeline-item:hover { border-color: var(--brand); }
.timeline-year { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--brand); }
.timeline-event { font-size: 12px; color: var(--fg-dim); margin-top: 4px; }

/* ── VIDEOS ───────────────────────────────────────────────────────────────── */
.videos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.video-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.video-card:hover { border-color: var(--line-hover); transform: translateY(-2px); }

.video-thumb {
  position: relative; width: 100%; aspect-ratio: 16/9;
  overflow: hidden; background: #000;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--transition); }
.video-card:hover .video-thumb img { opacity: 0.8; }

.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 36px;
  background: rgba(229, 9, 20, 0.9);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.video-card:hover .play-btn { background: var(--brand); }
.play-btn::after {
  content: ''; border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}

.video-info { padding: 12px 14px; }
.video-title { font-weight: 700; font-size: 14px; }
.video-meta { font-size: 12px; color: var(--fg-dim); margin-top: 2px; }

.yt-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; padding: 12px 24px;
  background: var(--brand); color: #fff;
  border-radius: 8px; font-weight: 700; font-size: 14px;
  transition: opacity var(--transition);
}
.yt-cta:hover { opacity: 0.85; color: #fff; }

/* ── CONTACT ──────────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px; max-width: 600px; margin: 0 auto;
}

.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 28px 16px; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--brand); }
.contact-card i { font-size: 24px; color: var(--brand); }
.contact-card .contact-label { font-weight: 700; }
.contact-card .contact-value { font-size: 13px; color: var(--fg-muted); }

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.site-footer {
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; font-size: 18px; }
.footer-icons a { color: var(--fg-dim); transition: all var(--transition); }
.footer-icons a:hover { color: var(--brand); }

.footer-text { font-size: 13px; color: var(--fg-dim); }
.footer-text a { color: var(--fg-muted); }
.footer-text a:hover { color: var(--brand); }

/* ── SCROLL REVEAL ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LOADING SKELETON ─────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-elevated) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .releases-grid { grid-template-columns: repeat(3, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 120px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cover { max-width: 400px; margin: 0 auto; }
  .releases-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .artists-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-header { grid-template-columns: 140px 1fr; gap: 16px; padding: 20px; }
  .modal-tracklist { padding: 0 20px 20px; }
  .modal-title { font-size: 20px; }

  .main-nav { display: none; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }
}

@media (max-width: 480px) {
  .releases-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .release-info { padding: 10px; }
  .release-title { font-size: 13px; }
  .release-meta { display: none; }
  .artists-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .modal-header { grid-template-columns: 1fr; }
  .modal-cover { max-width: 200px; margin: 0 auto; }
}
