/* ==========================================================================
   🛹 RASH'S GARAGE // MAXIMUM GLOSS, VHS, & SPINNING CD MASTER HUD ENGINE
   ========================================================================== */

:root {
    --s2-bg-dark: #0d0c0b;
    --s2-orange-glow: #ff5500;
    --s2-orange-dark: #b33c00;
    --s2-glass-base: linear-gradient(135deg, rgba(46, 34, 26, 0.92) 0%, rgba(24, 18, 14, 0.98) 100%);
    --s2-hud-white: #f5f5f5;
    --s2-hud-gray: #8c8c8c;
    
    --flavor-blue: #0088ff;
    --flavor-orange: #ff5500;
    --flavor-green: #00cc44;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--s2-bg-dark);
    background-image: url('background.gif');
    background-repeat: no-repeat;       /* 🛑 STOPS IT FROM DUPLICATING */
    background-size: cover;             /* ↕️ STRETCHES IT TO BE ONE BIG BACKGROUND */
    background-position: center center; /* 🎯 CENTERS IT PERFECTLY ON THE SCREEN */
    background-attachment: fixed;       /* ⚓ LOCKS IT SO IT STAYS STILL WHEN YOU SCROLL */
    font-family: 'Impact', 'Arial Black', sans-serif;
    color: var(--s2-hud-white);
    overflow-x: hidden;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.3), 1px 1px 1px rgba(0, 0, 0, 0.9);
    position: relative;
}

/* --- 📺 FIXED GLOBAL CRT SCANLINE OVERLAY SYSTEM --- */
.vhs-scanline-overlay, body::before {
    content: " ";
    display: block;
    position: fixed; /* ⚓ CHANGED TO FIXED SO IT SCROLLS SEAMLESSLY */
    top: 0; left: 0; bottom: 0; right: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999999;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                radial-gradient(circle, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.45) 100%);
    background-size: 100% 4px, 100% 100%;
    animation: crt-flicker 0.15s infinite;
    opacity: 0.85;
}

@keyframes crt-flicker {
    0% { opacity: 0.83; }
    50% { opacity: 0.87; }
    100% { opacity: 0.83; }
}

.site-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 15px;
    z-index: 10;
}

/* --- HEADER SYSTEM (SKATE 2 HUD THEME) --- */
header {
    background: linear-gradient(180deg, #241d1a 0%, #120e0c 100%);
    border: 3px solid #362c27;
    border-bottom: 5px solid var(--s2-orange-glow);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 8px 20px rgba(0,0,0,0.8);
    position: relative;
}

.header-main-title {
    font-size: 2.8rem;
    font-style: italic;
    text-shadow: 3px 3px 0px #000;
}

.xbox-live-header-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 85px;
}

.sub-header-banner {
    background: #1a1411;
    color: var(--s2-orange-glow);
    padding: 5px 10px;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 10px;
    border-left: 4px solid var(--s2-orange-glow);
    border-radius: 4px;
    width: fit-content;
}

nav {
    display: flex;
    gap: 4px;
    margin-top: 15px;
}

.nav-tab {
    flex: 1;
    background: #1a1513;
    border: 2px solid #3d322c;
    border-radius: 6px;
    color: var(--s2-hud-gray);
    padding: 10px 4px;
    text-align: center;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    font-style: italic;
    transition: all 0.2s ease;
}
.nav-tab:hover {
    background: #2b221d;
    color: var(--s2-hud-white);
}
.nav-tab.active-tab {
    background: var(--s2-hud-white);
    color: #000;
    border-color: var(--s2-hud-white);
    text-shadow: none;
}

/* --- 🌟 SHINY GLASS PANELS --- */
.hud-panel, .s2-glass-card {
    background: var(--s2-glass-base) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px !important; 
    border: 2px solid rgba(255, 85, 0, 0.45) !important;
    outline: 1px solid rgba(255, 255, 255, 0.12);
    outline-offset: -3px;
    padding: 22px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 4px 0px rgba(255, 255, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.95) !important;
}

.hud-panel::before, .s2-glass-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 3;
}

.section-title {
    color: var(--s2-orange-glow);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 15px;
}

.status-badge-container {
    display: inline-block;
    background: var(--s2-orange-glow);
    color: var(--s2-hud-white);
    padding: 6px 12px;
    font-style: italic;
    transform: rotate(-1.5deg);
    border: 2px solid var(--s2-hud-white);
    border-radius: 6px;
    box-shadow: 3px 3px 0px #000;
    margin-bottom: 20px;
}

.welcome-text-frame {
    background: #fff;
    color: #000;
    padding: 15px;
    border-radius: 2px;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: none;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}

/* --- 🎯 BRAND BLEND LOGOS --- */
.clean-transparent-logo {
    width: 100%;
    aspect-ratio: 1;
    mix-blend-mode: multiply;       
    filter: contrast(1.1) drop-shadow(1px 2px 4px rgba(0,0,0,0.5));
    display: block;
}

/* --- HARDWARE INFRASTRUCTURE --- */
.console-grid-hud { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; }
.console-box-frame {
    background: #000; border: 2px solid var(--s2-orange-glow); border-radius: 8px; padding: 4px; display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.console-box-frame img { width: 100%; object-fit: cover; border-radius: 4px; display: block; }
.console-label-tag { background: #0d0c0b; color: #a5a5a5; text-align: center; padding: 4px; font-size: 0.75rem; margin-top: auto; font-family: monospace; }

/* --- LINKS HUD --- */
.channel-list-hud { list-style: none; }
.channel-item-hud { margin-bottom: 12px; font-size: 1.05rem; display: flex; align-items: center; }
.channel-item-hud a { color: var(--s2-hud-white); margin-left: 4px; text-decoration: underline; }
.hud-data-entry-box { background: #120f0d; border: 1px solid var(--s2-orange-glow); border-radius: 4px; padding: 2px 8px; font-family: monospace; margin-left: 6px; }

.accent-spotify { color: var(--flavor-green); }
.accent-youtube { color: #ff0000; }
.accent-soundcloud { color: #ff5500; }

/* --- 💿 ROTATING DISK COMPONENT --- */
.media-aspect-enforcer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: radial-gradient(circle, #2a1f18 0%, #080605 100%);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 15px;
}
.media-aspect-enforcer::after {
    content: ""; position: absolute; width: 140px; height: 140px; border-radius: 50%;
    background: conic-gradient(from 45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 25%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.18) 75%, rgba(255, 255, 255, 0) 100%);
    z-index: 5; pointer-events: none;
}
.hud-cd-engine {
    width: 140px; height: 140px; border-radius: 50% !important; object-fit: cover; display: block; z-index: 2;
    box-shadow: 0 0 0 1px #000, 0 0 0 5px #1c1816, 0 0 0 6px #000, 6px 12px 24px rgba(0, 0, 0, 0.9);
    animation: spin-the-disc 7s infinite linear;
}
@keyframes spin-the-disc { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.media-deck-banner { font-style: italic; font-weight: bold; display: flex; align-items: center; }
.vhs-rec-dot { width: 9px; height: 9px; background: #ff0000; border-radius: 50%; display: inline-block; animation: pulse 1s infinite alternate; margin-right: 8px; }
@keyframes pulse { from { opacity: 0.3; } to { opacity: 1; } }

.flavor-blue { color: var(--flavor-blue) !important; border-color: var(--flavor-blue) !important; }
.flavor-green { color: var(--flavor-green) !important; border-color: var(--flavor-green) !important; }
.flavor-orange { color: var(--flavor-orange) !important; border-color: var(--flavor-orange) !important; }

.broken-placeholder-text {
    padding: 30px 10px;
    text-align: center;
    font-style: italic;
    color: var(--s2-hud-gray);
    font-weight: bold;
    font-size: 1.1rem;
}
