/* ============================================
   DaxSeq Y2K Aesthetic Stylesheet
   Early Internet / Geocities Vibes
   ============================================ */

/* CSS Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Y2K Color Palette */
    --cyber-purple: #9933ff;
    --cyber-pink: #ff33cc;
    --cyber-blue: #00ccff;
    --cyber-cyan: #00ffff;
    --cyber-green: #00ff66;
    --cyber-yellow: #ffff00;
    --cyber-orange: #ff6600;
    --cyber-red: #ff3333;
    
    /* Chrome/Metallic */
    --chrome-light: #e8e8e8;
    --chrome-mid: #c0c0c0;
    --chrome-dark: #808080;
    --chrome-darker: #404040;
    
    /* Background colors */
    --bg-dark: #0a0a1a;
    --bg-mid: #1a1a2e;
    --bg-panel: #16213e;
    
    /* Neon Glows */
    --glow-cyan: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    --glow-pink: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    --glow-green: 0 0 10px #00ff00, 0 0 20px #00ff00;
    --glow-yellow: 0 0 10px #ffff00, 0 0 20px #ffff00;
    
    /* Fonts */
    --font-display: 'Press Start 2P', monospace;
    --font-ui: 'VT323', monospace;
    
    /* Spacing */
    --gap-xs: 4px;
    --gap-sm: 8px;
    --gap-md: 12px;
    --gap-lg: 16px;
    --gap-xl: 24px;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-ui);
    background: var(--bg-dark);
    color: var(--chrome-light);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.4;
}

/* Animated Background Layer */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../imgs/bg1.png') repeat,
        linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 50%, #0a1a2e 100%);
    z-index: -1;
    animation: bgShift 30s ease-in-out infinite;
}

@keyframes bgShift {
    0%, 100% { background-position: 0 0, 0 0; }
    50% { background-position: 50px 50px, 0 0; }
}

/* ============================================
   Persistent Play Button Container
   ============================================ */
#play-container {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Upper Left Corner Button for Controls */
.corner-btn-topleft {
    top: 15px;
    left: 15px;
    bottom: auto;
    background: radial-gradient(circle at 30% 30%,
        #4a6a8a 0%,
        #2a4a6a 50%,
        #1a2a4a 100%);
}

/* ============================================
   Floating Windows (Y2K Window Style)
   ============================================ */
.floating-window {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: linear-gradient(180deg, #3a3a5c 0%, #2a2a4c 50%, #1a1a3c 100%);
    border: 3px outset var(--chrome-mid);
    border-radius: 8px;
    box-shadow: 
        4px 4px 0 rgba(0,0,0,0.5),
        inset 1px 1px 0 rgba(255,255,255,0.2);
    min-width: 280px;
    transition: all 0.3s ease;
}

.window-titlebar {
    background: linear-gradient(90deg, 
        #000080 0%, 
        #0000cd 25%, 
        #4169e1 50%, 
        #0000cd 75%, 
        #000080 100%);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px groove var(--chrome-mid);
    border-radius: 5px 5px 0 0;
}

.titlebar-icon {
    width: 16px;
    height: 16px;
}

.window-title {
    font-family: var(--font-display);
    font-size: 10px;
    color: white;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 1px;
}

.window-content {
    padding: var(--gap-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-lg);
    flex-wrap: wrap;
}

/* Window Toggle Button */
.window-toggle-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px outset var(--chrome-mid);
    background: radial-gradient(circle at 30% 30%, #6a6a8a 0%, #3a3a5a 100%);
    color: var(--chrome-light);
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 8px;
}

.window-toggle-btn:hover {
    background: radial-gradient(circle at 30% 30%, #7a7a9a 0%, #4a4a6a 100%);
}

.window-toggle-btn:active {
    border-style: inset;
}

/* ============================================
   Global Controls States
   ============================================ */

/* Expanded State */
#global-controls[data-state="expanded"] {
    top: 100px;
    left: auto;
    right: 80px;
    transform: none;
    width: 550px;
    max-width: 90vw;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

#global-controls[data-state="expanded"] .window-titlebar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1;
    cursor: grab;
}

#global-controls[data-state="expanded"] .expanded-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

#global-controls[data-state="expanded"] .docked-content {
    display: none;
}

/* Docked State */
#global-controls[data-state="docked"] {
    top: 50%;
    left: 60px;
    transform: translateY(-50%) translateX(0);
    width: 50px;
    min-width: 50px;
    border-radius: 0 8px 8px 0;
    z-index: 999;
}

#global-controls[data-state="docked"] .window-titlebar {
    padding: 4px;
    flex-direction: column;
    cursor: default;
}

#global-controls[data-state="docked"] .window-title,
#global-controls[data-state="docked"] .titlebar-icon {
    display: none;
}

#global-controls[data-state="docked"] .expanded-content {
    display: none;
}

#global-controls[data-state="docked"] .docked-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gap-sm);
    gap: var(--gap-sm);
}

/* Tiled State */
#global-controls[data-state="tiled"] {
    top: 0;
    left: 0;
    right: auto;
    transform: none;
    width: calc(33.33vw - 4px);
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    overflow-y: auto;
}

#global-controls[data-state="tiled"] .window-titlebar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 1;
    cursor: default;
}

#global-controls[data-state="tiled"] .expanded-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

#global-controls[data-state="tiled"] .docked-content {
    display: none;
}

/* Hidden State */
#global-controls[data-state="hidden"] {
    top: -300px;
    opacity: 0;
    pointer-events: none;
}

/* Dragging state */
.floating-window.dragging {
    cursor: grabbing;
    user-select: none;
}

.floating-window.dragging .window-titlebar {
    cursor: grabbing;
}

/* Panel class for shared behavior */
.panel .panel-titlebar {
    cursor: grab;
}

.panel.dragging .panel-titlebar {
    cursor: grabbing;
}

/* ============================================
   Expanded Content Styling
   ============================================ */
.controls-section {
    width: 100%;
}

.transport-section {
    display: flex;
    gap: var(--gap-lg);
    justify-content: center;
    padding-left: 80px;
}

.controls-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--chrome-dark), transparent);
    margin: 4px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--cyber-cyan);
    text-shadow: 0 0 5px var(--cyber-cyan);
    letter-spacing: 2px;
    margin-bottom: 6px;
    text-align: center;
}

.master-sliders {
    display: flex;
    gap: var(--gap-md);
    justify-content: center;
    flex-wrap: wrap;
}

.master-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.master-slider label {
    font-family: var(--font-display);
    font-size: 7px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 4px var(--cyber-yellow);
}

.master-slider input[type="range"] {
    width: 60px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #1a1a3a, #3a3a5a);
    border: 1px inset var(--chrome-dark);
    border-radius: 3px;
    cursor: pointer;
}

.master-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 14px;
    background: linear-gradient(180deg, var(--chrome-light), var(--chrome-dark));
    border: 1px outset var(--chrome-mid);
    border-radius: 2px;
    cursor: grab;
}

.randomize-buttons,
.genre-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-master-action {
    padding: 6px 12px;
    font-family: var(--font-ui);
    font-size: 12px;
    border: 2px outset var(--chrome-mid);
    border-radius: 4px;
    background: linear-gradient(180deg, #5a4a6a 0%, #3a2a4a 100%);
    color: var(--chrome-light);
    cursor: pointer;
}

.btn-master-action:hover {
    background: linear-gradient(180deg, #6a5a7a 0%, #4a3a5a 100%);
}

.btn-master-action:active {
    border-style: inset;
}

.btn-master-action[data-action="clear-all"] {
    background: linear-gradient(180deg, #6a3a3a 0%, #4a2a2a 100%);
}

.btn-genre-preset {
    padding: 6px 10px;
    font-family: var(--font-ui);
    font-size: 11px;
    border: 2px outset var(--chrome-mid);
    border-radius: 4px;
    background: linear-gradient(180deg, #4a5a4a 0%, #2a3a2a 100%);
    color: var(--chrome-light);
    cursor: pointer;
}

.btn-genre-preset:hover {
    background: linear-gradient(180deg, #5a6a5a 0%, #3a4a3a 100%);
}

.btn-genre-preset:active,
.btn-genre-preset.active {
    border-style: inset;
    background: linear-gradient(180deg, #2a6a4a 0%, #1a4a3a 100%);
    color: var(--cyber-green);
    text-shadow: 0 0 5px var(--cyber-green);
}

/* ============================================
   Time Quantization Section
   ============================================ */
.quantize-section .quantize-row {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    flex-wrap: wrap;
    justify-content: center;
}

.quantize-grid-buttons {
    display: flex;
    gap: 4px;
}

.btn-quantize-grid {
    padding: 6px 10px;
    font-family: var(--font-ui);
    font-size: 12px;
    border: 2px outset var(--chrome-mid);
    border-radius: 4px;
    background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 100%);
    color: var(--chrome-light);
    cursor: pointer;
    min-width: 36px;
}

.btn-quantize-grid:hover {
    background: linear-gradient(180deg, #5a5a6a 0%, #3a3a4a 100%);
}

.btn-quantize-grid.active {
    border-style: inset;
    background: linear-gradient(180deg, #2a4a6a 0%, #1a3a5a 100%);
    color: var(--cyber-cyan);
    text-shadow: 0 0 5px var(--cyber-cyan);
}

.quantize-label {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 4px var(--cyber-yellow);
}

.quantize-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--gap-sm);
}

/* ============================================
   Scale and Chord Quantization Section
   ============================================ */
.scale-chord-section {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}

.scale-controls,
.chord-controls {
    background: linear-gradient(180deg, rgba(20,20,40,0.6) 0%, rgba(10,10,30,0.8) 100%);
    border: 1px inset var(--chrome-dark);
    border-radius: 4px;
    padding: var(--gap-sm);
}

.scale-row,
.chord-header {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.btn-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    font-family: var(--font-ui);
    font-size: 11px;
    border: 2px outset var(--chrome-mid);
    border-radius: 4px;
    background: linear-gradient(180deg, #5a3a3a 0%, #3a2a2a 100%);
    color: var(--chrome-light);
    cursor: pointer;
}

.btn-toggle:hover {
    background: linear-gradient(180deg, #6a4a4a 0%, #4a3a3a 100%);
}

.btn-toggle.active {
    border-style: inset;
    background: linear-gradient(180deg, #2a5a3a 0%, #1a4a2a 100%);
}

.btn-toggle.active .toggle-state {
    color: var(--cyber-green);
    text-shadow: 0 0 5px var(--cyber-green);
}

.toggle-label {
    font-weight: bold;
}

.toggle-state {
    color: var(--cyber-red);
    text-shadow: 0 0 4px var(--cyber-red);
}

.quantize-select {
    padding: 4px 8px;
    font-family: var(--font-ui);
    font-size: 11px;
    border: 2px inset var(--chrome-dark);
    border-radius: 3px;
    background: linear-gradient(180deg, #2a2a3a 0%, #1a1a2a 100%);
    color: var(--chrome-light);
    cursor: pointer;
}

.quantize-select:focus {
    outline: 1px solid var(--cyber-cyan);
}

.scale-notes-display,
.active-chord-display {
    font-family: var(--font-ui);
    font-size: 10px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 3px var(--cyber-yellow);
    text-align: center;
    margin-top: 4px;
    padding: 4px;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
}

/* Omnichord Grid */
.omnichord-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: var(--gap-sm);
}

.chord-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 2px;
}

.btn-chord {
    padding: 6px 2px;
    font-family: var(--font-ui);
    font-size: 9px;
    border: 2px outset var(--chrome-mid);
    border-radius: 3px;
    background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 100%);
    color: var(--chrome-light);
    cursor: pointer;
    min-width: 28px;
    text-align: center;
}

.btn-chord:hover {
    background: linear-gradient(180deg, #5a5a6a 0%, #3a3a4a 100%);
}

.btn-chord.active {
    border-style: inset;
    background: linear-gradient(180deg, #4a2a6a 0%, #3a1a5a 100%);
    color: var(--cyber-pink);
    text-shadow: 0 0 5px var(--cyber-pink);
}

/* Row type colors */
.chord-row[data-type="major"] .btn-chord {
    background: linear-gradient(180deg, #4a5a4a 0%, #2a3a2a 100%);
}

.chord-row[data-type="major"] .btn-chord:hover {
    background: linear-gradient(180deg, #5a6a5a 0%, #3a4a3a 100%);
}

.chord-row[data-type="minor"] .btn-chord {
    background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 100%);
}

.chord-row[data-type="minor"] .btn-chord:hover {
    background: linear-gradient(180deg, #5a5a6a 0%, #3a3a4a 100%);
}

.chord-row[data-type="seventh"] .btn-chord {
    background: linear-gradient(180deg, #5a4a4a 0%, #3a2a2a 100%);
}

.chord-row[data-type="seventh"] .btn-chord:hover {
    background: linear-gradient(180deg, #6a5a5a 0%, #4a3a3a 100%);
}

/* ============================================
   Docked Content Styling
   ============================================ */
.docked-content {
    display: none;
}

.docked-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.docked-slider span {
    font-family: var(--font-display);
    font-size: 7px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 3px var(--cyber-yellow);
}

.docked-slider input[type="range"] {
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    writing-mode: vertical-lr;
    direction: rtl;
    width: 20px;
    height: 50px;
    background: linear-gradient(180deg, #1a1a3a, #0a0a1a);
    border: 1px inset var(--chrome-dark);
    border-radius: 3px;
    cursor: ns-resize;
}

.docked-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 8px;
    background: linear-gradient(180deg, var(--chrome-light), var(--chrome-dark));
    border: 1px outset var(--chrome-mid);
    border-radius: 2px;
    cursor: grab;
}

.docked-divider {
    width: 80%;
    height: 1px;
    background: var(--chrome-dark);
}

.docked-action {
    width: 36px;
    height: 28px;
    font-family: var(--font-ui);
    font-size: 10px;
    border: 2px outset var(--chrome-mid);
    border-radius: 3px;
    background: linear-gradient(180deg, #4a4a5a 0%, #2a2a3a 100%);
    color: var(--chrome-light);
    cursor: pointer;
}

.docked-action:hover {
    background: linear-gradient(180deg, #5a5a6a 0%, #3a3a4a 100%);
}

.docked-action:active {
    border-style: inset;
}

/* ============================================
   Play Button
   ============================================ */
.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px outset var(--chrome-mid);
    background: radial-gradient(circle at 30% 30%, 
        #4a4a6a 0%, 
        #2a2a4a 50%, 
        #1a1a3a 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 15px rgba(0,255,255,0.3),
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.play-btn:active {
    transform: scale(0.95);
    border-style: inset;
}

.play-btn.playing {
    background: radial-gradient(circle at 30% 30%, 
        #2a6a4a 0%, 
        #1a4a3a 50%, 
        #0a3a2a 100%);
    box-shadow: 
        0 0 20px rgba(0,255,100,0.5),
        0 4px 8px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.play-icon {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--chrome-light);
    text-shadow: 0 0 10px var(--cyber-cyan);
}

.play-btn.playing .play-icon {
    color: var(--cyber-green);
    text-shadow: 0 0 10px var(--cyber-green);
}

/* ============================================
   Tempo & Swing Controls
   ============================================ */
.tempo-control,
.swing-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.tempo-control label,
.swing-control label {
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--cyber-yellow);
    text-shadow: 0 0 5px var(--cyber-yellow);
}

.tempo-control input[type="range"],
.swing-control input[type="range"] {
    width: 80px;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #1a1a3a, #3a3a5a);
    border: 2px inset var(--chrome-dark);
    border-radius: 4px;
    cursor: pointer;
}

.tempo-control input[type="range"]::-webkit-slider-thumb,
.swing-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 20px;
    background: linear-gradient(180deg, var(--chrome-light), var(--chrome-dark));
    border: 2px outset var(--chrome-mid);
    border-radius: 3px;
    cursor: grab;
}

.tempo-control span,
.swing-control span {
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--cyber-cyan);
    text-shadow: var(--glow-cyan);
}

/* ============================================
   Corner Buttons (MIX, DRUM)
   ============================================ */
.corner-btn {
    position: fixed;
    bottom: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px outset var(--chrome-mid);
    cursor: pointer;
    z-index: 1001;
    font-family: var(--font-display);
    font-size: 12px;
    color: var(--chrome-light);
    text-shadow: 1px 1px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.corner-btn-left {
    left: 20px;
    background: radial-gradient(circle at 30% 30%,
        #6a4a8a 0%,
        #4a2a6a 50%,
        #2a1a4a 100%);
}

.corner-btn-right {
    right: 20px;
    background: radial-gradient(circle at 30% 30%,
        #8a6a4a 0%,
        #6a4a2a 50%,
        #4a2a1a 100%);
}

.corner-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.corner-btn:active,
.corner-btn.active {
    border-style: inset;
    transform: scale(0.95);
}

.corner-btn.active {
    animation: btnPulse 1s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 25px rgba(255,255,255,0.6); }
}

/* ============================================
   Buttons - Y2K Beveled Style
   ============================================ */
button {
    font-family: var(--font-ui);
    cursor: pointer;
    transition: all 0.1s ease;
}

/* General button style */
.btn {
    padding: 6px 12px;
    border: 2px outset var(--chrome-mid);
    border-radius: 4px;
    background: linear-gradient(180deg, 
        var(--chrome-light) 0%, 
        var(--chrome-mid) 40%, 
        var(--chrome-dark) 100%);
    color: #000;
    font-size: 14px;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

.btn:active {
    border-style: inset;
    background: linear-gradient(180deg, 
        var(--chrome-dark) 0%, 
        var(--chrome-mid) 40%, 
        var(--chrome-light) 100%);
}

/* ============================================
   Audio Start Overlay
   ============================================ */
#audio-start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('../imgs/bg2.png') repeat,
        linear-gradient(135deg, #0a0a2a 0%, #1a0a3a 50%, #0a1a3a 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#audio-start-overlay.hidden {
    display: none;
}

.start-content {
    text-align: center;
    padding: 40px;
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a3a 100%);
    border: 4px outset var(--chrome-mid);
    border-radius: 12px;
    box-shadow: 
        8px 8px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.1);
}

.start-content h1 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--cyber-cyan);
    text-shadow: var(--glow-cyan);
    margin-bottom: 20px;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; }
    50% { text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff; }
}

.marquee {
    width: 300px;
    overflow: hidden;
    margin: 20px auto;
    padding: 8px;
    background: #000;
    border: 2px inset var(--chrome-dark);
}

.marquee span {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--cyber-green);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

#start-audio-btn {
    padding: 15px 40px;
    font-family: var(--font-display);
    font-size: 14px;
    color: #000;
    background: linear-gradient(180deg, 
        var(--cyber-yellow) 0%, 
        #cc9900 50%, 
        #996600 100%);
    border: 3px outset #ffcc00;
    border-radius: 8px;
    cursor: pointer;
    margin: 20px 0;
    animation: btnGlow 1.5s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 10px #ffff00; }
    50% { box-shadow: 0 0 30px #ffff00, 0 0 50px #ffff00; }
}

#start-audio-btn:hover {
    transform: scale(1.05);
}

#start-audio-btn:active {
    border-style: inset;
    transform: scale(0.95);
}

.start-hint {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--chrome-mid);
    margin-top: 10px;
}

/* ============================================
   Panels Base Styling
   ============================================ */
.panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a3a 100%);
    border: 3px outset var(--chrome-mid);
    box-shadow: 
        4px 4px 0 rgba(0,0,0,0.5),
        inset 1px 1px 0 rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.panel-hidden {
    pointer-events: none;
}

.panel-content {
    padding: 0;
}

.panel-header,
.panel-titlebar {
    background: linear-gradient(90deg, 
        #800080 0%, 
        #ff00ff 50%, 
        #800080 100%);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px groove var(--chrome-mid);
    font-family: var(--font-display);
    font-size: 10px;
    color: white;
    text-shadow: 1px 1px 0 #000;
    cursor: grab;
    user-select: none;
}

.panel-titlebar:active {
    cursor: grabbing;
}

.panel-icon {
    width: 16px;
    height: 16px;
}
