:root {
    --black: #000000;
    --dark: #111111;
    --dark-soft: #171717;
    --white: #ffffff;
    --off-white: #f1f1f1;
    --purple: #9863fa;
    --blue: #1dc5f5;
    --muted: #9b9b9b;
    --border: rgba(255,255,255,.09);
    --radius: 12px;
    --radius-lg: 16px;
    --max-width: 1220px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; background:var(--black); color:var(--off-white); font-family:var(--font); font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { color:inherit; }
.container { width:min(var(--max-width), calc(100% - 48px)); margin-inline:auto; }

.site-header { position:sticky; top:0; z-index:1000; background:rgba(0,0,0,.9); backdrop-filter:blur(16px); border-bottom:1px solid rgba(255,255,255,.04); }
.header-inner { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.brand-logo { width:175px; height:auto; }
.main-nav { display:flex; align-items:center; gap:34px; margin-left:auto; }
.main-nav a { position:relative; padding:30px 0 27px; color:#dedede; font-size:14px; font-weight:500; transition:color .18s ease; }
.main-nav a:hover,.main-nav a.active { color:var(--white); }
.main-nav a.active::after { content:""; position:absolute; left:0; right:0; bottom:19px; height:2px; background:linear-gradient(90deg,var(--purple),var(--blue)); border-radius:20px; }
.header-actions { display:flex; align-items:center; gap:14px; }
.icon-button { width:42px; height:42px; border:0; background:transparent; color:var(--white); cursor:pointer; font-size:25px; }
.mobile-menu-button { display:none; border:0; background:transparent; color:var(--white); font-size:24px; }

.primary-button,.outline-button,.artist-cta-button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:12px; padding:0 22px; border-radius:9px; font-size:14px; font-weight:600; cursor:pointer; transition:transform .18s ease,background .18s ease,opacity .18s ease; }
.primary-button { border:0; background:linear-gradient(110deg,var(--purple),#736cff,var(--blue)); color:var(--white); }
.primary-button:hover,.outline-button:hover,.artist-cta-button:hover { transform:translateY(-2px); }
.outline-button { border:1px solid transparent; background:linear-gradient(var(--black),var(--black)) padding-box,linear-gradient(100deg,var(--purple),var(--blue)) border-box; color:var(--white); }
.outline-button:disabled { opacity:.55; cursor:wait; transform:none; }

.hero { min-height:470px; display:flex; align-items:center; border-bottom:1px solid rgba(255,255,255,.04); background:radial-gradient(circle at 70% 45%,rgba(152,99,250,.06),transparent 30%); }
.hero-grid { display:grid; grid-template-columns:.9fr 1.1fr; align-items:center; gap:70px; padding-top:44px; padding-bottom:44px; }
.hero-copy { max-width:470px; }
.eyebrow,.featured-label { color:var(--purple); font-size:13px; font-weight:700; letter-spacing:.02em; margin-bottom:13px; }
.hero h1 { max-width:440px; margin:0 0 18px; color:var(--white); font-size:clamp(30px,4vw,43px); line-height:1.14; font-weight:500; letter-spacing:-.035em; }
.hero-description { max-width:400px; margin:0 0 28px; color:#bdbdbd; font-size:16px; line-height:1.65; }
.hero-buttons { display:flex; flex-wrap:wrap; gap:14px; }

/* ============================================
   FEATURED DROP
============================================ */

.featured-drop {
    position: relative;
    width: 100%;
    max-width: 610px;
    margin-left: auto;

    /* Space above the player for icon + square artwork. */
    padding-top: 245px;
}

.featured-visuals {
    position: absolute;
    inset: 0 0 auto 0;
    height: 305px;
    pointer-events: none;
    z-index: 3;
}

.featured-brand-icon {
    position: absolute;
    left: 34px;
    top: 42px;
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0,0,0,.38));
}

.featured-art-wrap {
    position: absolute;
    top: 0;
    right: 18px;
    width: 292px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: #252525;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 22px 60px rgba(0,0,0,.50);
    z-index: 5;
}

.featured-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder {
    background: linear-gradient(135deg,#383838,#4b4b4b 55%,#292929);
}

.featured-player {
    position: relative;
    z-index: 2;
    min-height: 208px;
    padding: 22px 28px 24px;
    padding-top: 22px;
    background: linear-gradient(105deg,rgba(20,20,20,.98),rgba(28,28,28,.95));
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
    backdrop-filter: blur(18px);
}

/* Keep text clear of the artwork overlap on wide screens. */
.featured-player .featured-label,
.featured-player h2,
.featured-player .featured-song {
    max-width: calc(100% - 305px);
}

.featured-player h2 {
    margin: 0;
    color: var(--white);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 500;
}

.featured-song {
    margin-top: 3px;
    color: #b7b7b7;
    font-size: 15px;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.play-button {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 2px solid var(--blue);
    box-shadow: 0 0 0 2px rgba(152,99,250,.32);
    border-radius: 50%;
    background: var(--white);
    color: #111;
    cursor: pointer;
}

.player-progress-wrap { flex: 1; }
.player-progress { height: 4px; background: #565656; border-radius: 10px; overflow: hidden; }
.player-progress-current { width: 0; height: 100%; background: linear-gradient(90deg,var(--purple),var(--blue)); }
.player-times { display: flex; justify-content: space-between; margin-top: 5px; color: #9d9d9d; font-size: 10px; }
.player-status { min-height: 16px; margin-top: 5px; color: #8f8f8f; font-size: 10px; }
.player-status.is-error { color: #ff9d9d; }

.section { padding:28px 0 22px; }
.section-heading { min-height:34px; display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:12px; }
.section-heading h2 { margin:0; color:var(--white); font-size:17px; font-weight:600; letter-spacing:-.01em; }
.view-all { color:#6daeff; font-size:13px; }
.view-all:hover { color:var(--blue); }

.release-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; }
.release-card { min-width:0; transition:transform .18s ease; }
.release-card:hover { transform:translateY(-4px); }
.release-cover { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:8px; margin-bottom:8px; background:#222; }
.release-artist { overflow:hidden; color:var(--white); font-size:13px; font-weight:600; white-space:nowrap; text-overflow:ellipsis; }
.release-title { overflow:hidden; margin-top:2px; color:#898989; font-size:11px; white-space:nowrap; text-overflow:ellipsis; }
.cover-wrap { position:relative; }
.cover-wrap .release-cover { margin-bottom:8px; }
.new-badge { position:absolute; top:8px; left:8px; padding:3px 7px; background:var(--purple); border-radius:20px; color:var(--white); font-size:9px; font-weight:700; }

.genre-section { padding-top:16px; }
.genre-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.genre-card { position:relative; min-height:118px; display:flex; flex-direction:column; align-items:center; justify-content:center; overflow:hidden; border-radius:8px; background:radial-gradient(circle at 60% 25%,rgba(29,197,245,.32),transparent 38%),linear-gradient(135deg,rgba(152,99,250,.55),rgba(29,197,245,.2)),#151515; transition:transform .18s ease,filter .18s ease; }
.genre-card:nth-child(odd) { background:radial-gradient(circle at 50% 35%,rgba(152,99,250,.36),transparent 42%),linear-gradient(140deg,#291141,#141021); }
.genre-card:hover { transform:translateY(-3px); filter:brightness(1.12); }
.genre-dot { width:28px; height:28px; border:2px solid rgba(255,255,255,.92); border-radius:50%; margin-bottom:9px; }
.genre-name { font-size:14px; font-weight:600; }
.genre-note { margin:10px 0 0; color:#666; font-size:11px; }

.artist-cta-section { padding:32px 0 26px; }
.artist-cta { min-height:102px; display:flex; align-items:center; justify-content:space-between; gap:30px; padding:18px 28px; background:linear-gradient(110deg,#171717,#1c1c1c); border:1px solid rgba(255,255,255,.08); border-radius:11px; }
.artist-cta-left { display:flex; align-items:center; gap:22px; }
.artist-cta-icon { width:78px; height:60px; object-fit:contain; }
.artist-cta h3 { margin:0 0 2px; color:var(--white); font-size:17px; font-weight:600; }
.artist-cta p { margin:0; color:#c5c5c5; font-size:14px; }
.artist-cta-button { min-width:220px; border:1px solid transparent; background:linear-gradient(#171717,#171717) padding-box,linear-gradient(100deg,var(--purple),var(--blue)) border-box; color:var(--white); }

.site-footer { padding-top:34px; border-top:1px solid rgba(255,255,255,.07); }
.footer-grid { display:grid; grid-template-columns:1.4fr .75fr .95fr .75fr; gap:45px; padding-bottom:36px; }
.footer-logo { width:150px; margin-bottom:17px; }
.footer-brand p { max-width:260px; margin:0; color:#969696; font-size:12px; line-height:1.6; }
.footer-column { display:flex; flex-direction:column; gap:8px; }
.footer-column h4 { margin:0 0 7px; color:var(--white); font-size:12px; font-weight:600; text-transform:uppercase; }
.footer-column a { color:#9d9d9d; font-size:12px; }
.footer-column a:hover { color:var(--white); }
.footer-bottom { min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:30px; border-top:1px solid rgba(255,255,255,.07); color:#696969; font-size:11px; }
.footer-legal { display:flex; gap:28px; }

@media (max-width:1050px) {
    .main-nav { gap:20px; }
    .header-actions .outline-button { display:none; }
    .hero-grid { gap:42px; }
    .release-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .genre-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:820px) {
    .container { width:min(100% - 32px,var(--max-width)); }
    .header-inner { min-height:68px; }
    .brand-logo { width:145px; }
    .main-nav,.header-actions { display:none; }
    .mobile-menu-button { display:block; }
    .hero { min-height:auto; }
    .hero-grid { grid-template-columns:1fr; gap:34px; padding-top:45px; padding-bottom:48px; }
    .hero-copy { max-width:600px; }
    .featured-drop { max-width:610px; margin:0 auto; }
    .featured-brand-icon { left:28px; width:130px; height:130px; }
    .featured-art-wrap { width:270px; }
    .release-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .artist-cta { align-items:flex-start; flex-direction:column; }
    .artist-cta-button { width:100%; }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .footer-brand { grid-column:1/-1; }
}

@media (max-width:580px) {
    .hero h1 { font-size:32px; }
    .hero-buttons { flex-direction:column; }
    .hero-buttons a,.hero-buttons button { width:100%; }
    .featured-drop {
        width:100%;
        padding-top: 198px;
    }
    .featured-visuals { height:242px; }
    .featured-brand-icon {
        left:16px;
        top:34px;
        width:92px;
        height:92px;
    }
    .featured-art-wrap {
        top:0;
        right:10px;
        width:205px;
        aspect-ratio:1/1;
        border-radius:14px;
    }
    .featured-player {
        width:100%;
        min-height: 230px;
        padding:22px 20px 22px;
    }
    .featured-player .featured-label,
    .featured-player h2,
    .featured-player .featured-song {
        max-width: calc(100% - 150px);
    }
    .player-row { margin-top:30px; }
    .release-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 12px; }
    .genre-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .artist-cta { padding:22px; }
    .artist-cta-left { align-items:flex-start; gap:16px; }
    .artist-cta-icon { width:52px; height:52px; }
    .footer-bottom { align-items:flex-start; flex-direction:column; padding:20px 0; }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 820px) {

    .site-header {
        z-index: 1000;
    }

    .header-inner {
        position: relative;
    }

    .mobile-menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1002;
        cursor: pointer;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 1001;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px;

        background: #111111;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 12px;

        box-shadow: 0 18px 50px rgba(0,0,0,.50);
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 14px 12px;
    }

    .main-nav a.active::after {
        display: none;
    }
}