/* ==========================================================================
   DRIVER DESIGN LAB — shared design system
   Extracted from the original single-file build (glass HUD / gold accents /
   neural inputs / poster typography). Shared by the visitor front-end.
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000000;
    color: #e8ecf2;
    overflow: hidden;
    font-family: 'Montserrat', 'Noto Sans SC', 'Inter', sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

#webgl-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    cursor: grab;
}

#webgl-container:active {
    cursor: grabbing;
}

/* Subtle organic vignette that preserves 3D depth */
.vignette-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at 50% 50%, transparent 45%, rgba(0, 0, 0, 0.55) 82%, #000000 100%);
}

/* Refined Dark Glassmorphism */
.glass-hud {
    background: rgba(12, 9, 6, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 190, 95, 0.18);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 230, 175, 0.12);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-hud:hover {
    border-color: rgba(255, 200, 110, 0.34);
}

.gold-btn {
    background: linear-gradient(135deg, rgba(245, 165, 35, 0.25) 0%, rgba(180, 95, 10, 0.45) 100%);
    border: 1px solid rgba(255, 210, 120, 0.55);
    box-shadow: 0 0 25px rgba(245, 155, 25, 0.22), inset 0 0 12px rgba(255, 220, 140, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-btn:hover {
    background: linear-gradient(135deg, rgba(255, 185, 60, 0.4) 0%, rgba(210, 115, 15, 0.65) 100%);
    border-color: rgba(255, 235, 175, 0.9);
    box-shadow: 0 0 35px rgba(255, 175, 45, 0.48), inset 0 0 16px rgba(255, 235, 165, 0.28);
    transform: translateY(-1px);
}

.neural-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 195, 105, 0.22);
    color: #ffffff;
    transition: all 0.25s ease;
    user-select: text;
    -webkit-user-select: text;
}

.neural-input:focus {
    outline: none;
    border-color: rgba(255, 205, 115, 0.85);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 175, 45, 0.2);
}

.custom-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.custom-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 190, 90, 0.3);
    border-radius: 999px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 190, 90, 0.6);
}

.selectable-text {
    user-select: text;
    -webkit-user-select: text;
}

/* Drawer slide transitions */
.drawer-transition {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Range Slider */
input[type=range].amber-slider {
    -webkit-appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 999px;
}
input[type=range].amber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    background: #ffbe45;
    box-shadow: 0 0 10px #ff9d00;
    cursor: pointer;
}

/* Reference Poster Style: Crisp Silver-White Geometric Sans Display Typography */
.poster-kicker-text {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
    color: #d0d5dd;
    letter-spacing: 0.22em;
    line-height: 1.48;
    font-weight: 500;
    text-transform: uppercase;
}

.brand-title-art {
    font-family: 'Montserrat', 'Noto Sans SC', sans-serif;
    font-weight: 900;
    background: linear-gradient(180deg, #ffffff 0%, #e4e8ef 52%, #adb5c2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.04em;
    line-height: 0.96;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.85));
}

/* Virtual Hand Cursor for Webcam Gesture Mode */
#webcam-virtual-cursor {
    transition: left 0.04s linear, top 0.04s linear, transform 0.15s ease;
}

/* ---- shared helpers added during the modular split ---- */
.is-hidden-important { display: none !important; }

.lab-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-family: 'Space Grotesk', 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    border: 1px solid rgba(255, 190, 95, 0.35);
    color: #ffd79a;
    background: rgba(245, 165, 35, 0.12);
}

/* Admin entry pill removed: the visitor page exposes no management UI.
   The standalone admin system is opened via the hidden shortcut or admin.html. */
