:root {
  --bg-dark: #0a0710;
  --bg-darker: #050308;
  --accent-pink: #ff00c8;
  --accent-cyan: #17e9d0;
  --text-light: #f5f3f8;
  --text-muted: #b9b3c4;
  --max-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 3, 8, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo { height: 42px; width: auto; display: block; }

.header-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--accent-pink); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-light);
}

/* Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url('assets/hero-bg.jpg') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,3,8,0.55) 0%, rgba(5,3,8,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.eyebrow {
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.1;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: var(--accent-pink);
  color: #fff;
}

.btn-primary:hover { transform: translateY(-2px); opacity: 0.9; }

.btn-outline {
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  margin-bottom: 40px;
}

.btn-outline:hover { background: var(--accent-pink); color: #fff; }

.btn-link {
  color: var(--accent-pink);
  text-decoration: underline;
  padding: 0;
  border-radius: 0;
}

/* Sections */
section { padding: 80px 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0 0 24px;
  text-transform: uppercase;
}

/* Portfolio */
.portfolio { background: var(--bg-darker); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.portfolio-card {
  display: block;
  color: inherit;
  width: 100%;
  border: 0;
  text-align: left;
  font: inherit;
  background: #12101a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s ease;
}

.portfolio-card:hover { transform: translateY(-6px); }

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.portfolio-info { padding: 20px; }

.portfolio-num {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
}

.portfolio-info h3 { margin: 8px 0; font-size: 1.2rem; }

.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.music-panel {
  margin-top: 56px;
  padding: 32px;
  background: linear-gradient(145deg, #14101f, #0c0a13);
  border: 1px solid rgba(23,233,208,0.18);
  border-radius: 12px;
}

.music-panel h3 { margin: 0 0 4px; font-size: 1.5rem; }

.music-panel > div > p:last-child { color: var(--text-muted); margin-top: 0; }

.track-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.track-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.track-list img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 6px;
  object-fit: cover;
}

.track-list span { font-weight: 600; }

.track-details {
  display: grid;
  flex: 1;
  gap: 2px;
}

.track-details strong { font-size: 0.95rem; }

.track-details span {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

.track-details small {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.track-list a {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.track-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent-cyan);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-sources {
  display: grid;
  gap: 6px;
  margin: 20px 0 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.catalog-sources a {
  color: var(--accent-cyan);
  font-weight: 600;
}

.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.buy-button {
  background: linear-gradient(135deg, #ff007f, #d6006c);
  border: none;
  color: #fff;
}

.buy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.35);
}

.track-actions {
  display: flex;
  gap: 0.5rem;
}

.track-actions .btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.music-modal[hidden] { display: none; }

.music-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.music-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.music-modal-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: 32px;
  background: #12101a;
  border: 1px solid rgba(23,233,208,0.25);
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.music-modal-content h2 { margin-top: 0; }

.music-modal-content iframe {
  display: block;
  width: 100%;
  min-height: 352px;
  border: 0;
  border-radius: 12px;
}

.music-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.service-card {
  background: linear-gradient(145deg, #14101f, #0c0a13);
  border: 1px solid rgba(255,0,200,0.15);
  border-radius: 12px;
  padding: 28px;
}

.service-card h3 { margin-top: 0; color: var(--accent-pink); }

.service-card p { color: var(--text-muted); }

/* Shop */
.shop { background: var(--bg-darker); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.product-card {
  background: #12101a;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.product-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,0,200,0.15), rgba(23,233,208,0.15));
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 10px;
  text-align: center;
}

.product-name { font-weight: 600; margin: 6px 0; }

.product-price { color: var(--accent-cyan); font-weight: 700; margin: 0; }

/* Contact */
.contact { text-align: center; }

.contact p { color: var(--text-muted); max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  background: var(--bg-darker);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo { height: 32px; opacity: 0.85; }

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }

  .site-nav.open { display: flex; }

  .menu-toggle { display: flex; }
}
