/* ═══════════════════════════════════════════════
   ZX Music Label — Retro-Future Music Label Website
   Style: City Pop × Neon × Retro-Future
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #111120;
  --bg-alt: #1a1a30;
  --bg-dark: #050510;
  --text-primary: #e8e8f0;
  --text-secondary: #9999b0;
  --text-dim: #666680;
  --accent-cyan: #00d4ff;
  --accent-magenta: #ff2d78;
  --accent-purple: #7b2ff7;
  --accent-gold: #ffd700;
  --neon-glow-cyan: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.2);
  --neon-glow-magenta: 0 0 10px rgba(255, 45, 120, 0.5), 0 0 30px rgba(255, 45, 120, 0.2);
  --gradient-hero: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  --gradient-card: linear-gradient(135deg, #1a1a2e, #16213e);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: var(--accent-magenta);
}

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

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

.section {
  padding: 100px 0;
  position: relative;
}
.section-alt {
  background: var(--bg-secondary);
}
.section-dark {
  background: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  text-shadow: var(--neon-glow-cyan);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Neon Text Utility ── */
.neon-text {
  color: var(--accent-cyan);
  text-shadow: var(--neon-glow-cyan);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--neon-glow-cyan);
}
.btn-primary:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(255, 45, 120, 0.2);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--neon-glow-cyan);
}
.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  font-size: 12px;
  padding: 10px 20px;
}
.btn-accent:hover {
  color: #fff;
  opacity: 0.9;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 12px;
}
.btn-full {
  width: 100%;
  justify-content: center;
}
.btn-icon {
  font-size: 16px;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}
.navbar .container {
  height: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: var(--neon-glow-cyan);
  letter-spacing: 3px;
}
.logo:hover {
  color: var(--accent-cyan);
  opacity: 0.9;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent-cyan);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-right: 8px;
}
.lang-btn {
  background: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 1px;
  line-height: 1;
  padding: 4px 6px;
  transition: all 0.2s;
  color: var(--text-dim);
}
.lang-btn:hover {
  color: var(--text);
}
.lang-btn.active {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  transition: all 0.3s ease;
}
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('zxmusic-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 0.5s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,18,0.4) 0%, rgba(10,10,18,0.85) 100%);
  z-index: 1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-magenta);
  text-shadow: var(--neon-glow-magenta);
  border: 1px solid rgba(255, 45, 120, 0.3);
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ── Hero Featured Release ── */
.hero-featured-release {
  max-width: 480px;
}
.featured-release-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-family: var(--font-display);
  margin-bottom: 10px;
  display: block;
}
.featured-release-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.featured-release-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.featured-release-info {
  margin-top: 10px;
}
.featured-release-title {
  font-size: 0.95rem;
  margin: 0 0 4px;
  font-family: var(--font-display);
}
.featured-release-cta {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.featured-release-cta:hover {
  text-decoration: underline;
}

/* ── News Section ── */
.news-video-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.news-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.news-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.news-text h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.news-text p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
.scroll-arrow {
  font-size: 20px;
  margin-top: 4px;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── About Section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-text strong {
  color: var(--text-primary);
}
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}
.about-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.15);
  box-shadow: var(--shadow-glow);
}
.about-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── Artists Grid ── */
.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.artist-card {
  background: var(--gradient-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: all 0.4s ease;
}
.artist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
}
.artist-card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.artist-img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: center top;
  background: var(--bg-alt);
  display: block;
}
.artist-card-content {
  padding: 24px;
}
.artist-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.artist-genre {
  font-size: 13px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.artist-card-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}


.artist-links {
  display: flex;
  gap: 16px;
}
.artist-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
}
.artist-link:hover {
  color: var(--accent-magenta);
}

/* ── Releases Grid ── */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.release-card {
  display: flex;
  background: var(--gradient-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: all 0.4s ease;
}
.release-card:hover {
  border-color: rgba(0, 212, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
}
.release-thumb {
  width: 160px;
  min-height: 120px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.release-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent-cyan);
}
.release-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.release-artist {
  font-size: 12px;
  color: var(--accent-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.release-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.release-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.release-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-cyan);
}
.release-link:hover {
  color: var(--accent-magenta);
}
.release-link-soon {
  color: var(--text-dim);
  font-style: italic;
  font-size: 13px;
}

/* ── Platforms Grid ── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: all 0.4s ease;
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
}
.platform-card:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
  color: var(--text-primary);
}
.platform-icon {
  font-size: 2.5rem;
}
.platform-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.platform-status {
  position: absolute;
  bottom: 8px;
  font-size: 11px;
  color: var(--accent-gold);
  letter-spacing: 1px;
}
.platform-card.coming-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* ── Join Section ── */
.join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.join-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--gradient-card);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 212, 255, 0.08);
  transition: all 0.4s ease;
}
.join-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-4px);
}
.join-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.join-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.join-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.join-cta {
  text-align: center;
}

/* ── Contact Form ── */
.contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}
.form-group select {
  cursor: pointer;
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-status {
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.form-status.visible {
  opacity: 1;
}
.form-status.success {
  color: #4ade80;
}
.form-status.error {
  color: #ff4444;
}

/* ── Footer ── */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  padding: 60px 0 40px;
  text-align: center;
}
.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-cyan);
}
.footer-copy {
  color: var(--text-dim);
  font-size: 13px;
}

/* ── Glow scanline overlay (after section alt) ── */
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.3;
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .hero-title { font-size: 3.2rem; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-stats { justify-content: center; }
}

@media (max-width: 768px) {
  .news-video-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-featured-release {
    max-width: 100%;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.97);
    flex-direction: column;
    align-items: center;
    padding: 32px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .mobile-toggle { display: flex; }
  .nav-links .lang-toggle {
    justify-content: center;
    padding: 12px 0 4px;
    width: 100%;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
  }
  .navbar .btn-accent { display: none; }

  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .section-header p { font-size: 0.95rem; }

  .release-card {
    flex-direction: column;
  }
  .release-thumb {
    width: 100%;
    height: 180px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-stats { flex-direction: column; align-items: center; gap: 24px; }
  .artists-grid { grid-template-columns: 1fr; }
  .featured-release-title { font-size: 0.85rem; }
}

/* ═══ Community Post ═══ */
.community-post-card {
  background: var(--bg-alt);
  border: 1px solid rgba(180, 120, 255, 0.15);
  border-radius: 12px;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
.community-post-images {
  margin: 0;
}
.community-post-images img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}
.community-post-body {
  padding: 24px;
}
.community-post-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #d0d0e0;
}
.community-post-text p {
  margin: 0 0 12px;
}
.community-post-text p:last-child {
  margin-bottom: 0;
}
.community-post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.community-post-cta {
  text-align: center;
  margin-top: 20px;
}
#communityPostContainer.loading .community-post-card {
  opacity: 0.5;
}
#communityPostContainer.empty {
  display: none;
}
