/* --- High-Contrast Compact Theme --- */
:root {
    --bg: #0d0a0a;
    --panel: #161111;
    --red: #ff3333;
    --text: #e0e0e0;
    --text-dim: #777;
    --border: #251d1d;
}

/* --- Phantom Theme Scrollbar --- */

/* 1. The background of the scrollbar area (Track) */
::-webkit-scrollbar {
    width: 6px; /* Very thin for a compressed feel */
    height: 6px; /* For horizontal scroll if needed */
}

::-webkit-scrollbar-track {
    background: #0a0808; /* Slightly darker than your bg-primary */
}

/* 2. The draggable handle (Thumb) */
::-webkit-scrollbar-thumb {
    background: #450a0a; /* Deep, muted red - matches the "darker" theme */
    border-radius: 10px;
    transition: background 0.3s ease;
}

/* 3. Handle color on hover (Vibrant Crimson) */
::-webkit-scrollbar-thumb:hover {
    background: #e63946; /* The vibrant Crimson from your variables */
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5); /* Subtle glow effect */
}

/* For Firefox (Limited styling support compared to Chrome/Edge) */
html {
    scrollbar-width: thin;
    scrollbar-color: #450a0a #0a0808;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Inter', sans-serif; 
    font-size: 14px; /* Smaller base font for compression */
}

/* --- Navigation --- */
.compact-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 8px 20px; /* Reduced padding for extra compression */
    border-bottom: 1px solid var(--border);
}
.nav-brand { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-weight: 800; 
    letter-spacing: 1px; 
    font-size: 0.65rem; 
    transition: 0.3s;
}

.nav-brand:hover { 
    color: var(--red); /* Turns red on hover to match the theme */
}

.nav-icon { 
    background: none; 
    border: none; 
    color: var(--text-dim); 
    cursor: pointer; 
    font-size: 0.9rem;
}

/* --- Compressed Layout --- */
.compressed-wrapper { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* --- Mini Hero --- */
.mini-hero { padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.hero-grid { display: flex; align-items: center; gap: 30px; }
.mini-art { width: 180px; height: 180px; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.tag { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 3px; }
.hero-text h1 { font-size: 2.2rem; font-weight: 900; margin: 5px 0; line-height: 1; }
.red { color: var(--red); }
.hero-text p { color: var(--text-dim); max-width: 400px; margin-bottom: 10px; }
.book-link { color: var(--text); font-weight: 700; text-decoration: none; font-size: 0.8rem; border-bottom: 1px solid var(--red); padding-bottom: 2px; }

/* --- Media Grid (The Key to Compression) --- */
.media-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; /* Side by side on PC */
    gap: 15px; 
}
.grid-item { background: var(--panel); border: 1px solid var(--border); padding: 12px; border-radius: 4px; }
.grid-item.wide { grid-column: span 2; }
.item-header { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; letter-spacing: 1px; }

.player-box { width: 100%; height: 300px; position: relative; background: #000; }
.player-box.archive { height: 120px; } /* Compact Audiomack height */
.player-box iframe { position: absolute; width: 100%; height: 100%; border: none; }

/* Video aspect ratio maintainer */
.player-box.video { height: 0; padding-bottom: 56.25%; }

/* --- Footer --- */
.mini-footer { padding: 30px 0; text-align: center; font-size: 0.6rem; color: #333; letter-spacing: 2px; }

/* --- Responsive (Stack on Mobile) --- */
@media (max-width: 768px) {
    .hero-grid { flex-direction: column; text-align: center; }
    .media-grid { grid-template-columns: 1fr; }
    .grid-item.wide { grid-column: span 1; }
    .hero-text h1 { font-size: 1.8rem; }
}