@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bh-bg: #050816;
    --bh-surface: #0E132D;
    --bh-surface-hover: #161D3F;
    --bh-surface-light: #1F2954;
    --bh-accent: #38BDF8;       
    --bh-accent-warm: #818CF8;  
    --bh-text: #F8FAFC;
    --bh-text-muted: #94A3B8;
    --bh-border: rgba(255, 255, 255, 0.08);
    --bh-nav-h: 80px;
    --bh-player-h: 90px;
    --bh-radius: 24px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

body.bh-premium {
    background-color: var(--bh-bg);
    color: var(--bh-text);
    font-family: var(--font-main);
    margin: 0;
    padding-bottom: 120px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =========================================================================
   CORE LAYOUT
   ========================================================================= */
.bh-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 100px 0;
}

/* =========================================================================
   NAVBAR
   ========================================================================= */
.bh-navbar {
    height: var(--bh-nav-h);
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bh-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.bh-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bh-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.04em;
}

.bh-logo i { color: var(--bh-accent); font-size: 28px; }

.bh-nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.bh-nav-link {
    color: var(--bh-text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
}

.bh-nav-link:hover { color: var(--bh-accent); }

/* =========================================================================
   HERO COMPONENTS
   ========================================================================= */
.bh-hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.bh-badge-creator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--bh-accent);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.bh-search-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bh-border);
    border-radius: 100px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    transition: 0.3s;
}

.bh-search-box:focus-within {
    border-color: var(--bh-accent);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.1);
}

.bh-search-input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 20px;
    flex: 1;
    outline: none;
    font-size: 16px;
}

/* =========================================================================
   TRACK LIST (ROBUST GRID)
   ========================================================================= */
.bh-track-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bh-track-header {
    display: grid;
    grid-template-columns: 60px 2.5fr 1fr 1fr 1fr 140px;
    padding: 15px 25px;
    color: var(--bh-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bh-track-row {
    display: grid;
    grid-template-columns: 60px 2.5fr 1fr 1fr 1fr 140px;
    align-items: center;
    padding: 12px 25px;
    background: var(--bh-surface);
    border: 1px solid var(--bh-border);
    border-radius: 16px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.bh-track-row:hover {
    background: var(--bh-surface-hover);
    border-color: var(--bh-accent);
    transform: translateY(-2px);
}

.bh-track-thumb-wrap {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--bh-surface-light);
}

.bh-track-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }

.bh-play-btn-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.2s;
}

.bh-track-row:hover .bh-play-btn-overlay { opacity: 1; }

.bh-track-title { font-weight: 700; font-size: 16px; color: #fff; margin-bottom: 2px; }
.bh-track-artist { font-size: 13px; color: var(--bh-text-muted); }

.bh-tag {
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    font-size: 12px;
    color: var(--bh-text-muted);
}

.bh-track-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.bh-btn-circle {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.03);
    color: #fff; border: 1px solid var(--bh-border);
    transition: 0.2s;
}

.bh-btn-circle:hover {
    background: var(--bh-accent);
    color: #000;
    border-color: var(--bh-accent);
}

/* =========================================================================
   GLOBAL PLAYER
   ========================================================================= */
.bh-player-fixed {
    position: fixed;
    bottom: 24px; left: 24px; right: 24px;
    height: var(--bh-player-h);
    background: rgba(14, 19, 45, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    display: none;
    align-items: center;
    padding: 0 32px;
    z-index: 2000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.bh-player-left { width: 25%; display: flex; align-items: center; gap: 16px; }
.bh-player-center { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bh-player-right { width: 25%; display: flex; justify-content: flex-end; align-items: center; gap: 24px; }

.bh-player-btn-main {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--bh-accent); color: #000;
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 18px; box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

/* =========================================================================
   UTILITIES
   ========================================================================= */
.bh-btn-primary {
    background: var(--bh-accent);
    color: #000;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.bh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

@media (max-width: 1024px) {
    .bh-track-header, .bh-track-meta { display: none; }
    .bh-track-row { grid-template-columns: 60px 1fr 100px; }
}
