/* ================= CSS VARIABLES & BASE ================= */
:root {
    --bg-base: #020005;
    --bg-card: #06010f;
    --neon-purple: #9d00ff;
    --neon-magenta: #ff00a0;
    --neon-blue: #00d2ff;
    --text-main: #ffffff;
    --text-muted: #8b8599;
    --font-title: 'Rajdhani', sans-serif;
    --font-text: 'Montserrat', sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-base); color: var(--text-main); font-family: var(--font-text); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--neon-magenta); outline-offset: 4px; border-radius: 4px; }

/* FX */
.noise { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; opacity: 0.02; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); }
.scanlines { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2)); background-size: 100% 4px; pointer-events: none; z-index: 9998; opacity: 0.03; }

/* Header */
header { position: fixed; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 4rem; z-index: 100; background: linear-gradient(to bottom, rgba(2, 0, 5, 0.98), rgba(2, 0, 5, 0)); }
.logo { font-family: var(--font-title); font-weight: 700; font-size: 1.8rem; line-height: 0.9; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 15px rgba(255,255,255,0.4); display: flex; flex-direction: column; cursor: pointer; user-select: none; }
.logo span { font-size: 0.8rem; letter-spacing: 7px; margin-top: 2px; }
.nav-center { display: flex; gap: 2.5rem; align-items: center; }
.nav-center a { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); position: relative; padding-bottom: 5px; opacity: 0.7; }
.nav-center a:hover, .nav-center a.active { opacity: 1; text-shadow: 0 0 10px var(--neon-purple); }
.nav-center a.active::after { content: ''; position: absolute; bottom: 0; left: -10%; width: 120%; height: 2px; background: var(--neon-purple); box-shadow: 0 0 10px var(--neon-purple); }
.nav-right { display: flex; gap: 1.5rem; align-items: center; }
.nav-right a { font-size: 0.8rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; display: flex; align-items: center; gap: 8px; opacity: 0.8; }
.nav-right a:hover { opacity: 1; text-shadow: 0 0 10px var(--neon-purple); }
.nav-right svg { width: 16px; height: 16px; fill: currentColor; }
.burger { display: none; cursor: pointer; padding: 10px; }
.burger div { width: 30px; height: 2px; background-color: var(--text-main); margin: 6px 0; transition: 0.3s; }
.nav-mobile { display: none; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 6rem 4rem 3rem; overflow: hidden; background-color: var(--bg-base); }
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020005;
    background-image: url('images/hero-bg.png?v=3');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(0.75) contrast(1.1);
    z-index: 1;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(2,0,5,0.95) 0%, rgba(2,0,5,0.78) 34%, rgba(2,0,5,0.35) 58%, rgba(2,0,5,0.08) 100%), linear-gradient(180deg, rgba(2,0,5,0.25) 0%, rgba(2,0,5,0.05) 45%, rgba(2,0,5,0.45) 100%); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 10; max-width: 600px; margin-top: 2rem; }
.hero h1 { font-family: var(--font-title); display: flex; flex-direction: column; margin-bottom: 2rem; }
.hero h1 .fds1 { font-size: clamp(6rem, 12vw, 9.5rem); font-weight: 700; line-height: 0.8; letter-spacing: -2px; color: #fff; text-shadow: 0 0 30px rgba(162,0,255,0.6); }
.hero h1 .universe { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: 16px; margin-top: 10px; color: #fff; text-shadow: 0 0 20px rgba(162,0,255,0.6); }
.hero h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; line-height: 1.3; color: #fff; }
.hero h2 span { color: var(--neon-magenta); text-shadow: 0 0 15px rgba(255,0,160,0.5); }
.hero p { color: #a39eb0; font-size: 0.95rem; margin-bottom: 2.5rem; line-height: 1.7; max-width: 500px; }
.hero-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; font-family: var(--font-text); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s ease; border-radius: 6px; gap: 12px; border: none; }
.btn-primary { background: linear-gradient(90deg, #6200a8, #8200d6); border: 1px solid #9d00ff; color: #fff; box-shadow: 0 0 20px rgba(157, 0, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(157, 0, 255, 0.7); filter: brightness(1.2); transform: translateY(-2px); }
.btn-outline { background: rgba(0,0,0,0.4); border: 1px solid rgba(157, 0, 255, 0.5); color: #fff; backdrop-filter: blur(5px); }
.btn-outline:hover { border-color: #fff; background: rgba(157, 0, 255, 0.2); transform: translateY(-2px); }
.w-100 { width: 100%; }

.streaming-block { margin-top: 1rem; }
.streaming-title { font-size: 0.7rem; color: #726b82; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 0.8rem; }
.streaming-list { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.streaming-list a { font-size: 0.9rem; font-weight: 600; font-family: var(--font-text); color: #fff; display: flex; align-items: center; gap: 5px; }
.streaming-list a:hover { color: var(--neon-magenta); text-shadow: 0 0 10px rgba(255,0,160,0.5); }

/* Layout & Typography */
section { padding: 4rem 4rem 6rem; position: relative; z-index: 10; max-width: 1700px; margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; border-bottom: 1px solid rgba(157,0,255,0.2); padding-bottom: 1rem; }
.section-title { font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: #fff; }
.view-all { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: var(--neon-magenta); letter-spacing: 1px; display: flex; align-items: center; gap: 5px; }
.view-all:hover { color: #fff; text-shadow: 0 0 10px var(--neon-magenta); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* FEATURED RELEASE (Релиз недели) */
.featured-release-card { display: flex; background: rgba(6,1,15,0.6); border: 1px solid rgba(157,0,255,0.5); border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px); box-shadow: 0 0 30px rgba(157,0,255,0.2); transition: all 0.4s ease; margin-bottom: 2rem;}
.featured-release-card:hover { border-color: var(--neon-magenta); box-shadow: 0 0 40px rgba(255,0,160,0.3); }
.featured-img-wrap { width: 45%; position: relative; }
.featured-img-wrap img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.featured-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.featured-badge { font-family: var(--font-title); color: var(--neon-blue); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-weight: 700; }
.featured-title { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.1; }
.featured-artist { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;}
.featured-tags { display: flex; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;}
.featured-tags span { background: rgba(255,255,255,0.05); padding: 0.4rem 1rem; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.1); }
.featured-desc { color: #a39eb0; margin-bottom: 2.5rem; line-height: 1.6; }

/* TERMINAL SECTION */
.terminal-window { background: #000; border: 1px solid var(--neon-purple); border-radius: 8px; padding: 2rem; font-family: 'Courier New', Courier, monospace; box-shadow: 0 0 30px rgba(157,0,255,0.2), inset 0 0 20px rgba(157,0,255,0.1); height: 400px; display: flex; flex-direction: column; }
.terminal-header { display: flex; gap: 8px; margin-bottom: 1rem; border-bottom: 1px solid rgba(157,0,255,0.3); padding-bottom: 1rem; }
.terminal-header .dot { width: 12px; height: 12px; border-radius: 50%; }
.terminal-header .dot:nth-child(1) { background: #ff5f56; }
.terminal-header .dot:nth-child(2) { background: #ffbd2e; }
.terminal-header .dot:nth-child(3) { background: #27c93f; }
.terminal-body { flex-grow: 1; overflow-y: auto; color: var(--neon-blue); font-size: 0.95rem; line-height: 1.6; display: flex; flex-direction: column; gap: 0.5rem;}
.terminal-body p { margin: 0; }
.terminal-body .cmd-input { color: #fff; }
.terminal-input-line { display: flex; gap: 10px; margin-top: 1rem; align-items: center; }
.terminal-input-line span { color: var(--neon-magenta); }
.terminal-input-line input { background: transparent; border: none; color: #fff; font-family: inherit; font-size: 1rem; outline: none; flex-grow: 1; width: 100%;}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-thumb { background: rgba(157,0,255,0.5); border-radius: 3px; }

/* DETAIL MODAL */
.detail-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(2,0,5,0.9); z-index: 100000; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(15px); transition: opacity 0.3s ease; }
.detail-overlay.hidden { display: none; opacity: 0; }
.detail-modal-content { background: var(--bg-card); border: 1px solid var(--neon-magenta); border-radius: 12px; width: 90%; max-width: 900px; display: flex; overflow: hidden; box-shadow: 0 0 50px rgba(255,0,160,0.3); position: relative; }
.close-detail { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 35px; height: 35px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; transition: 0.3s; }
.close-detail:hover { background: var(--neon-magenta); border-color: var(--neon-magenta); }
.detail-img-box { width: 45%; position: relative; }
.detail-img-box img { width: 100%; height: 100%; object-fit: cover; }
.detail-info-box { padding: 3rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.detail-title { font-family: var(--font-title); font-size: 2.5rem; text-transform: uppercase; margin-bottom: 0.5rem; line-height: 1.1; }
.detail-artist { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }
.detail-tags { display: flex; gap: 0.8rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.detail-tags span { background: rgba(255,255,255,0.05); padding: 0.3rem 0.8rem; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255,255,255,0.1); }
.detail-desc { color: #a39eb0; margin-bottom: 2.5rem; line-height: 1.6; font-size: 0.95rem;}

/* Library Filters */
.filters { display: flex; justify-content: center; gap: 1rem; margin: 2rem 0 3rem; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 1px solid rgba(157,0,255,0.4); color: var(--text-main); padding: 0.5rem 1.5rem; border-radius: 50px; cursor: pointer; font-family: var(--font-title); text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: rgba(157,0,255,0.2); border-color: var(--neon-purple); box-shadow: 0 0 15px rgba(157,0,255,0.4); }

/* CARDS */
.card { background: rgba(6, 1, 15, 0.6); border: 1px solid rgba(157,0,255,0.4); border-radius: 8px; overflow: hidden; position: relative; transition: all 0.4s ease; display: flex; flex-direction: column; backdrop-filter: blur(10px); padding: 4px; cursor: pointer; outline: none; }
.card:hover, .card:focus-visible { transform: translateY(-5px); border-color: #d45cff; box-shadow: 0 10px 30px rgba(157, 0, 255, 0.3), inset 0 0 20px rgba(157,0,255,0.1); }
.card.disabled { opacity: 0.6; pointer-events: none; border-color: rgba(157,0,255,0.2); box-shadow: none; }

.card-cover { position: relative; width: 100%; border-radius: 4px; overflow: hidden; background: #05010a; display: flex; justify-content: center; align-items: center; }
.release-cover { aspect-ratio: 1 / 1; }
.clip-cover { aspect-ratio: 16 / 9; }
.artist-cover { aspect-ratio: 3 / 4; }

.fallback-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: linear-gradient(135deg, rgba(157,0,255,0.3) 0%, rgba(6,1,15,1) 100%); }
.card-cover img { width: 100%; height: 100%; object-fit: cover; background-position: center; position: absolute; top: 0; left: 0; z-index: 2; transition: 0.5s; opacity: 0.85; }
.card:hover .card-cover img, .card:focus-visible .card-cover img { transform: scale(1.05); opacity: 1; }

.card-footer { padding: 1.2rem; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; flex-grow: 1; }
.card-text-content { display: flex; flex-direction: column; gap: 3px; }
.card-title { font-family: var(--font-title); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.2rem; letter-spacing: 1px; color: #fff;}
.card-artist { font-size: 0.8rem; color: #a19ba8; text-transform: uppercase; letter-spacing: 1px; }
.card-year { font-size: 0.75rem; color: #6b6675; }

.play-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(157,0,255,0.6); background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; padding-left: 3px; flex-shrink: 0; z-index: 3; position: relative;}
.card:hover .play-btn, .card:focus-visible .play-btn { background: rgba(157, 0, 255, 0.4); border-color: #fff; box-shadow: 0 0 15px rgba(157, 0, 255, 0.6); transform: scale(1.05); }
.play-btn svg { width: 14px; height: 14px; fill: white; }

.badge { position: absolute; top: 1rem; left: 1rem; background: var(--neon-purple); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 0 10px rgba(157,0,255,0.5); z-index: 10; }
.badge.outline { background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.2); box-shadow: none; backdrop-filter: blur(5px); }

/* About & Footer */
.about-text { font-size: 1.1rem; color: var(--text-muted); max-width: 800px; margin-bottom: 3rem; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.feature-item h4 { font-family: var(--font-title); font-size: 1.4rem; color: #fff; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; display: inline-block; border-bottom: 2px solid var(--neon-purple); padding-bottom: 0.5rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

footer { border-top: 1px solid rgba(157,0,255,0.2); padding: 4rem 4rem 2rem; background: var(--bg-base); position: relative; z-index: 10; }
.footer-grid { max-width: 1700px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; margin-top: 1rem; line-height: 1.6; }
.footer-col h5 { font-family: var(--font-title); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; color: #fff; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--neon-purple); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; max-width: 1700px; margin: 0 auto; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2rem;}
.copyright { color: #6b6675; font-size: 0.85rem; }
.interior-link { font-size: 0.75rem; color: #555; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; display: flex; align-items: center; gap: 5px; }
.interior-link:hover { color: #d45cff; }

/* Admin Modal */
.admin-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(2,0,5,0.95); z-index: 99999; display: flex; justify-content: center; align-items: center; backdrop-filter: blur(10px); transition: opacity 0.3s; }
.admin-overlay.hidden { display: none; opacity: 0; pointer-events: none; }
.admin-modal { background: var(--bg-card); padding: 2rem; border-radius: 8px; border: 1px solid var(--neon-purple); width: 100%; max-width: 400px; text-align: center; box-shadow: 0 0 40px rgba(157,0,255,0.3); }
.admin-modal h3 { font-family: var(--font-title); margin-bottom: 1.5rem; letter-spacing: 2px; color: #fff;}
.admin-modal input { width: 100%; padding: 0.8rem; margin-bottom: 1rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(157,0,255,0.5); color: #fff; border-radius: 4px; outline: none; }
.admin-modal input:focus { border-color: var(--neon-magenta); }
.admin-actions { display: flex; gap: 1rem; justify-content: center; }
.error-msg { color: var(--neon-magenta); margin-top: 1rem; font-size: 0.85rem; }

.admin-panel-container { width: 90%; max-width: 1200px; height: 90vh; background: var(--bg-card); border: 1px solid var(--neon-purple); border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 0 50px rgba(157,0,255,0.2); }
.admin