:root {
    --bg-color: #080808;
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent: #d42c2c;
    --panel-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.1);
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

/* --- Typography & Utilities --- */
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-title { font-size: 3rem; margin-bottom: 40px; border-left: 4px solid var(--accent); padding-left: 20px; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(5px);
}

.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 2px; }
.nav-logo img { height: 30px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; letter-spacing: 1px; text-transform: uppercase; opacity: 0.7; }
.nav-links a:hover { opacity: 1; color: var(--accent); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.hero-content { z-index: 2; position: relative; }
.hero-subtitle { letter-spacing: 4px; color: var(--accent); margin-bottom: 20px; font-size: 0.9rem; }
.hero-title { font-size: 4rem; line-height: 1.1; margin-bottom: 30px; letter-spacing: -1px; max-width: 900px; }
.hero-quote { font-style: italic; color: var(--text-muted); max-width: 600px; margin: 0 auto 40px; }

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}
.cta-button:hover { background: var(--text-main); color: var(--bg-color); }

/* --- Music Player Section --- */
.player-interface {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    background: #0e0e0e;
    border: 1px solid var(--border-color);
    height: 500px;
}

.playlist-panel, .lyrics-panel, .controls-panel { padding: 30px; display: flex; flex-direction: column; }
.playlist-panel, .lyrics-panel { background: rgba(255,255,255,0.02); }

.panel-header { font-size: 0.8rem; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; }

/* TABS STYLES */
.tabs-header { display: flex; align-items: center; gap: 10px; }
.tab-link { cursor: pointer; transition: 0.3s; opacity: 0.5; }
.tab-link:hover { opacity: 0.8; }
.tab-link.active { opacity: 1; color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.tab-separator { opacity: 0.3; }

.track-list { overflow-y: auto; flex: 1; }
.track-item {
    padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; transition: 0.2s; display: flex; justify-content: space-between;
}
.track-item:hover { color: var(--accent); padding-left: 10px; }
.track-item.active { color: var(--accent); }
.track-meta { display: none; }

.controls-panel { align-items: center; justify-content: center; text-align: center; position: relative; }
.now-playing-info h3 { font-size: 1.5rem; margin-bottom: 5px; }
.now-playing-info p { display: none; }

.visualizer-mock { display: flex; gap: 5px; height: 40px; align-items: flex-end; margin: 40px 0; }
.bar { width: 4px; background: var(--accent); animation: bounce 1s infinite ease-in-out; }
.bar:nth-child(odd) { animation-duration: 0.8s; }
@keyframes bounce { 0%, 100% { height: 5px; } 50% { height: 30px; } }

.progress-container { width: 100%; display: flex; align-items: center; gap: 15px; font-size: 0.8rem; font-family: monospace; color: var(--text-muted); margin-bottom: 30px; }
.progress-bar-wrapper { flex: 1; }
input[type="range"] { width: 100%; height: 2px; background: #333; appearance: none; outline: none; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 10px; height: 10px; background: var(--text-main); border-radius: 0; cursor: pointer; }

.main-controls { display: flex; gap: 20px; }
.ctrl-btn { background: none; border: 1px solid var(--border-color); color: var(--text-main); padding: 10px 20px; cursor: pointer; font-family: var(--font-head); letter-spacing: 1px; transition: 0.2s; }
.ctrl-btn:hover { border-color: var(--accent); color: var(--accent); }
.play-btn { background: var(--text-main); color: var(--bg-color); border-color: var(--text-main); min-width: 100px; }
.play-btn:hover { background: var(--accent); border-color: var(--accent); color: white; }

.lyrics-scroll { overflow-y: auto; flex: 1; font-size: 0.95rem; color: #aaa; white-space: pre-wrap; padding-right: 10px; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: #333; }

/* --- Video Clips Section --- */
.video-interface {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 and 1/3 */
    gap: 20px;
    background: #0e0e0e;
    border: 1px solid var(--border-color);
    padding: 20px;
}

.video-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    border: 1px solid var(--border-color);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.video-info-bar h3 { font-size: 1.2rem; }
.live-indicator { font-size: 0.7rem; color: var(--accent); border: 1px solid var(--accent); padding: 2px 6px; letter-spacing: 1px; }

.video-playlist-panel {
    background: rgba(255,255,255,0.02);
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-height: 500px; /* Match height roughly */
}

.video-list {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    display: flex;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    padding: 10px;
    background: rgba(255,255,255,0.01);
}

.video-item:hover { background: rgba(255,255,255,0.05); }
.video-item.active { border-left: 2px solid var(--accent); background: rgba(255,255,255,0.05); }

.video-thumb {
    width: 100px;
    height: 56px;
    object-fit: cover;
    background: #222;
}

.video-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title { font-size: 0.9rem; font-weight: 600; line-height: 1.2; margin-bottom: 5px; }
.video-action { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.video-item:hover .video-action { color: var(--accent); }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border-color); padding: 80px 0; background: #050505; }
.footer-title { font-size: 2rem; margin-bottom: 40px; text-align: center; }
.social-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 60px; }
.social-link {
    border: 1px solid var(--border-color); padding: 15px 30px;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
    display: inline-block;
    text-align: center;
}
.social-link:hover { background: var(--text-main); color: var(--bg-color); }
.copyright { text-align: center; color: var(--text-muted); font-size: 0.8rem; }

/* --- Modal (Pop-up) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #0e0e0e;
    border: 1px solid var(--accent);
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
}

.close-modal {
    position: absolute;
    top: 10px; right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: 0.2s;
}
.close-modal:hover { color: var(--accent); }

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.streaming-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.streaming-btn {
    width: 100%;
    padding: 12px;
    font-size: 0.75rem;
}

/* --- Animations --- */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards; }
.hero-title { animation-delay: 0.2s; }
.cta-button { animation-delay: 0.6s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- Mobile --- */
@media (max-width: 900px) {
    .hero-title { font-size: 2.5rem; }
    
    .player-interface { grid-template-columns: 1fr; height: auto; }
    .playlist-panel { max-height: 200px; }
    .lyrics-panel { max-height: 300px; }
    
    .video-interface { grid-template-columns: 1fr; }
    .video-playlist-panel { max-height: 300px; }
    
    .nav-links { display: none; }
    
    .streaming-grid { grid-template-columns: 1fr; }
}