/* Fonts: Inter + Poppins */
:root {
  --bg: #0e0f12;
  --surface: #15171c;
  --muted: #a6adbb;
  --text: #e7e9ee;
  --primary: #1ed760; /* Spotify-like green */
  --accent-pink: #fe2c55; /* TikTok pink */
  --accent-blue: #25f4ee; /* TikTok blue */
  --ring: rgba(37, 244, 238, 0.3);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --container: 1200px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 90% -10%, rgba(37,244,238,0.08), transparent 60%),
              radial-gradient(1200px 600px at 10% -10%, rgba(254,44,85,0.06), transparent 60%),
              var(--bg);
  line-height: 1.6;
}

.container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-header h2 { margin: 0; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; letter-spacing: 0.2px; }
.section-sub { color: var(--muted); margin: 0; }

/* Accessibility */
.sr-only { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.2) blur(10px); background: rgba(14,15,18,0.72); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.2px; }
.logo .logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue)); color: #0a0b0e; font-weight: 900; box-shadow: var(--shadow); }
.logo .logo-text .accent { color: var(--primary); }
.logo.small .logo-mark { width: 28px; height: 28px; }

.search { display: flex; }
.search input { width: 100%; background: var(--surface); border: 1px solid rgba(255,255,255,0.06); border-radius: 999px; padding: 10px 14px; color: var(--text); outline: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.03); }
.search input::placeholder { color: #8e95a3; }
.search input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 4px var(--ring); }

.primary-nav { position: relative; }
.nav-links { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; transition: background var(--transition), color var(--transition), transform var(--transition); }
.nav-links a:hover { color: white; background: rgba(255,255,255,0.06); transform: translateY(-1px); }

/* Hamburger (CSS-only) */
.nav-toggle { display: none; }
.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; gap: 6px; cursor: pointer; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); background: var(--surface); }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }

/* Hero */
.hero { padding: 72px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.hero-copy .eyebrow { color: var(--accent-blue); margin: 0 0 8px; font-weight: 600; letter-spacing: 0.2px; }
.hero-copy h1 { margin: 0 0 8px; font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: clamp(28px, 5vw, 44px); }
.hero-copy .sub { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; }

.hero-media { height: clamp(200px, 30vw, 360px); border-radius: var(--radius); background: linear-gradient(140deg, rgba(30,215,96,0.18), rgba(37,244,238,0.12) 45%, rgba(254,44,85,0.12)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1200\" height=\"600\"><defs><linearGradient id=\"g\" x1=\"0\" y1=\"0\" x2=\"1\" y2=\"1\"><stop stop-color=\"%2325f4ee\" stop-opacity=\"0.18\"/><stop offset=\"1\" stop-color=\"%23fe2c55\" stop-opacity=\"0.18\"/></linearGradient></defs><rect width=\"1200\" height=\"600\" fill=\"url(%23g)\"/></svg>') center/cover no-repeat; mix-blend-mode: overlay; opacity: 0.6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid rgba(255,255,255,0.08); transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition); }
.btn-primary { color: #06120a; background: var(--primary); border-color: transparent; box-shadow: 0 10px 24px rgba(30,215,96,0.25); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(30,215,96,0.35); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-accent { color: #041112; background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue)); border: none; }
.btn-accent:hover { filter: saturate(1.1); transform: translateY(-1px); }

/* Music Grid */
.music-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.album-card { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.album-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,255,255,0.12); }
.album-art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.album-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 999px; border: none; display: grid; place-items: center; background: rgba(14,15,18,0.75); color: var(--text); backdrop-filter: blur(6px); cursor: pointer; transition: transform var(--transition), background var(--transition); }
.play-btn:hover { transform: scale(1.06); background: rgba(14,15,18,0.9); }
.play-btn svg { width: 20px; height: 20px; fill: var(--primary); }
.album-meta { padding: 12px; }
.album-title { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.album-artist { margin: 0; color: var(--muted); font-size: 13px; }

/* Shop Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,255,255,0.12); }
.product-media { aspect-ratio: 4 / 3; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info { display: grid; gap: 8px; padding: 12px; }
.product-title { margin: 4px 0 0; font-size: 15px; font-weight: 700; }
.product-price { margin: 0; color: var(--text); font-weight: 600; }

/* Video Feed */
.video-feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.video-card { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(255,255,255,0.12); }
.video-thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.35)); opacity: 0; transition: opacity var(--transition); }
.video-card:hover .video-overlay { opacity: 1; }
.play-overlay { width: 56px; height: 56px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.12); background: rgba(14,15,18,0.75); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.play-overlay svg { width: 24px; height: 24px; fill: white; }
.video-title { margin: 12px; font-size: 15px; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 28px 0; background: rgba(14,15,18,0.6); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center; }
.footer-nav { display: flex; gap: 16px; }
.footer-nav a { color: var(--muted); text-decoration: none; padding: 6px 8px; border-radius: 8px; transition: background var(--transition), color var(--transition); }
.footer-nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.social { display: flex; gap: 10px; }
.social-link { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #061014; text-decoration: none; background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue)); font-weight: 800; }

/* Player bar (placeholder for future JS) */
.player-bar { position: sticky; bottom: 0; z-index: 40; background: rgba(14,15,18,0.86); border-top: 1px solid rgba(255,255,255,0.06); }
.player-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; height: 64px; }
.track-meta { display: flex; align-items: center; gap: 12px; }
.track-meta .thumb { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue)); }
.track-meta .text { display: grid; line-height: 1.2; }
.muted { color: var(--muted); }
.controls { display: flex; gap: 8px; }
.control { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid rgba(255,255,255,0.06); color: var(--text); }

/* Responsive */
@media (max-width: 1100px) {
  .music-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .video-feed { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .nav-container { grid-template-columns: auto 1fr auto; }
  .hamburger { display: inline-flex; }
  .primary-nav { position: absolute; top: 64px; right: 20px; width: min(92vw, 320px); }
  .nav-links { position: absolute; top: 12px; right: 0; display: grid; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(14,15,18,0.92); border: 1px solid rgba(255,255,255,0.08); transform: scale(0.98) translateY(-4px); opacity: 0; pointer-events: none; transition: opacity var(--transition), transform var(--transition); box-shadow: var(--shadow); }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle:checked ~ .primary-nav .nav-links { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }

  .music-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .video-feed { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .section { padding: 44px 0; }
  .nav-container { gap: 10px; height: 60px; }
  .search input { padding: 9px 12px; }
  .hero { padding: 48px 0; }
  .music-grid, .product-grid, .video-feed { grid-template-columns: 1fr; }
}


