/**
 * Video Trimmer - Main Styles
 * Core layout and component styling
 */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f0f23;
    --bg-surface: #252542;
    --bg-elevated: #2d2d4a;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-primary: #6366f1;
    --accent-primary-hover: #818cf8;
    --accent-secondary: #22d3ee;
    --accent-success: #22c55e;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;

    --border-color: #3d3d5c;
    --border-subtle: #2a2a45;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);

    /* Layout */
    --header-height: 56px;
    --timeline-height: 80px;
    --properties-width: 280px;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Header / Toolbar */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 var(--spacing-md);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.header-left, .header-center, .header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.app-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Toolbar Buttons */
.toolbar-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.toolbar-btn:hover:not(:disabled) {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

.toolbar-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.toolbar-btn.btn-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.toolbar-btn.btn-primary:hover:not(:disabled) {
    background: var(--accent-primary-hover);
    border-color: var(--accent-primary-hover);
}

.toolbar-btn svg {
    flex-shrink: 0;
}

/* Main Content Area */
.app-main {
    display: flex;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Content Area (Preview + Timeline wrapper) */
.content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* Preview Section */
.preview-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    max-height: calc(100vh - var(--header-height) - var(--timeline-height) - 20px);
    background: var(--bg-tertiary);
}

.preview-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    min-height: 0;
    overflow: hidden;
}

/* Empty State */
.preview-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-xl);
}

.empty-icon {
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.preview-empty h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.preview-empty p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.btn-upload {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-upload:hover {
    background: var(--accent-primary-hover);
}

/* Preview Canvas */
.preview-canvas-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

#preview-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.video-pool {
    display: none;
}

/* Playback Controls */
.playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.control-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

.control-btn-play {
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.control-btn-play:hover {
    background: var(--accent-primary-hover);
    border-color: var(--accent-primary-hover);
}

.time-display {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 14px;
    color: var(--text-secondary);
    min-width: 120px;
    text-align: center;
}

.time-separator {
    margin: 0 var(--spacing-xs);
    color: var(--text-muted);
}

/* Modal Base Styles */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--spacing-lg);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* Button Variants */
.btn-primary {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background: var(--accent-primary-hover);
}

.btn-secondary {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
}

.btn-delete {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: 1px solid var(--accent-danger);
    border-radius: var(--radius-md);
    color: var(--accent-danger);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: var(--spacing-md);
}

.btn-delete:hover {
    background: var(--accent-danger);
    color: var(--text-primary);
}

/* Export Modal Specifics */
.export-options {
    margin-bottom: var(--spacing-lg);
}

.export-progress {
    margin-top: var(--spacing-lg);
}

.progress-bar {
    height: 8px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-primary);
    transition: width var(--transition-normal);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Audio Modal Specifics */
.audio-type-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.audio-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.audio-type-btn:hover {
    border-color: var(--accent-primary);
    background: var(--bg-elevated);
}

.audio-type-btn span {
    font-size: 14px;
    font-weight: 600;
}

.audio-type-btn small {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Drag and Drop Highlight */
.app-container.drag-over .preview-empty {
    border: 2px dashed var(--accent-primary);
    border-radius: var(--radius-lg);
    background: rgba(99, 102, 241, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .toolbar-btn span {
        display: none;
    }

    .toolbar-btn {
        padding: var(--spacing-sm);
    }

    :root {
        --properties-width: 240px;
    }
}

@media (max-width: 768px) {
    .properties-panel {
        display: none;
    }
}

/* ==================== TRIMMER-SPECIFIC STYLES ==================== */

/* Video Preview Wrapper */
.preview-video-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

#preview-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Drop Zone Styling */
.preview-container.drag-over {
    border: 3px dashed var(--accent-primary);
    border-radius: var(--radius-lg);
    background: rgba(99, 102, 241, 0.1);
}

.preview-container.drag-over .preview-empty {
    opacity: 0.7;
}

/* Time Info Display */
.time-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.time-info > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.time-label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.time-value {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.time-in .time-value {
    color: var(--accent-success);
}

.time-out .time-value {
    color: var(--accent-danger);
}

.time-selected .time-value {
    color: var(--accent-secondary);
}

/* Control Groups */
.control-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.control-group + .control-group {
    margin-left: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--border-color);
}

/* Trim Control Buttons */
.trim-controls .control-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    width: auto;
    border-radius: var(--radius-md);
    gap: var(--spacing-xs);
    font-size: 12px;
    font-weight: 500;
}

.trim-btn {
    display: flex;
    align-items: center;
    gap: 4px;
}

.trim-icon {
    font-size: 16px;
    font-weight: bold;
}

.in-btn:hover {
    border-color: var(--accent-success);
    color: var(--accent-success);
}

.out-btn:hover {
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}

/* Audio Volume Control */
.audio-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.audio-control input[type="range"] {
    width: 80px;
    height: 4px;
    appearance: none;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    cursor: pointer;
}

.audio-control input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
}

.audio-control input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

#volume-value {
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 36px;
}

/* Export Info */
.export-info {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.export-info-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    font-size: 13px;
}

.export-info-row span:first-child {
    color: var(--text-secondary);
}

.export-info-row span:last-child {
    font-family: 'SF Mono', monospace;
    color: var(--text-primary);
}

/* Property Rows for Export Options */
.prop-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.prop-row label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.prop-row select {
    width: 100%;
    padding: var(--spacing-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

.prop-row select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Keyboard Shortcuts Panel */
.shortcuts-help {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 100;
}

.shortcuts-toggle {
    width: 36px;
    height: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.shortcuts-toggle:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.shortcuts-panel {
    position: absolute;
    bottom: 48px;
    right: 0;
    width: 240px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
}

.shortcuts-panel h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-sm);
}

.shortcut-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    font-size: 12px;
    color: var(--text-secondary);
}

.shortcut-row kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'SF Mono', monospace;
    font-size: 11px;
    color: var(--text-primary);
}

/* Timeline Duration Display */
.timeline-duration {
    display: flex;
    align-items: center;
    margin-right: auto;
    font-family: 'SF Mono', monospace;
    font-size: 13px;
    color: var(--text-secondary);
}

.timeline-duration .time-separator {
    margin: 0 4px;
}

/* ==================== NEW LAYOUT: CONTROL PANEL & OVERLAY ==================== */

/* Right Side Control Panel */
.control-panel {
    flex-shrink: 0;
    width: var(--properties-width);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.panel-section {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.panel-section:last-child {
    border-bottom: none;
}

.panel-section-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

/* Time Section */
.time-section .current-time-display {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    padding: var(--spacing-xs) 0;
}

/* Trim Section */
.trim-point-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--spacing-sm);
}

.trim-point {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}

.trim-point.in-point .trim-point-label {
    color: var(--accent-success);
}

.trim-point.out-point .trim-point-label {
    color: var(--accent-danger);
}

.trim-point-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.trim-point-value {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.trim-point.in-point .trim-point-value {
    color: var(--accent-success);
}

.trim-point.out-point .trim-point-value {
    color: var(--accent-danger);
}

.trim-duration {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    margin-bottom: var(--spacing-sm);
}

.trim-duration-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.trim-duration-value {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-secondary);
}

/* Panel Buttons */
.trim-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.panel-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.panel-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-primary);
}

.panel-btn .btn-icon {
    font-size: 14px;
    font-weight: bold;
}

.panel-btn.set-in-btn:hover {
    border-color: var(--accent-success);
    color: var(--accent-success);
}

.panel-btn.set-out-btn:hover {
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}

.panel-btn.clear-btn {
    flex: none;
    width: 100%;
    background: transparent;
    border-color: var(--border-subtle);
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.panel-btn.clear-btn:hover {
    border-color: var(--accent-danger);
    color: var(--accent-danger);
}

/* Volume Control in Panel */
.audio-section .volume-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.volume-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.volume-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.volume-slider {
    flex: 1;
    height: 4px;
    appearance: none;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.volume-value {
    font-size: 12px;
    color: var(--text-secondary);
    min-width: 36px;
    text-align: right;
}

/* ==================== VIDEO OVERLAY CONTROLS ==================== */

/* Container for video + overlay */
.preview-video-wrapper {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
}

#preview-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Overlay Controls */
.preview-controls-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.preview-video-wrapper:hover .preview-controls-overlay {
    opacity: 1;
}

/* Always show controls while video is paused */
.preview-video-wrapper.show-controls .preview-controls-overlay {
    opacity: 1;
}

.overlay-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.overlay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.overlay-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.overlay-btn-play {
    width: 56px;
    height: 56px;
    background: var(--accent-primary);
}

.overlay-btn-play:hover {
    background: var(--accent-primary-hover);
    transform: scale(1.1);
}

/* Responsive: Hide panel on small screens */
@media (max-width: 900px) {
    .control-panel {
        display: none;
    }
}

@media (max-width: 600px) {
    .overlay-btn {
        width: 36px;
        height: 36px;
    }

    .overlay-btn-play {
        width: 48px;
        height: 48px;
    }

    .overlay-controls {
        gap: var(--spacing-sm);
    }
}
