/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow-light: 0 4px 20px rgba(99, 102, 241, 0.15);
    --shadow-heavy: 0 8px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    position: relative;
}

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

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 1000;
    position: sticky;
    top: 0;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.header:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.08) 100%);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.6));
}

.header-controls {
    display: flex;
    gap: 0.75rem;
}

.control-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    padding: 0.875rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--accent-color);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.control-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Main Light Display */
.light-display {
    flex: 1;
    position: relative;
    background: #ffffff;
    transition: var(--transition);
    overflow: hidden;
}

.light-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2rem;
    pointer-events: none;
}

.light-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.color-hex {
    color: var(--accent-color);
}

.brightness-level {
    color: var(--text-secondary);
}

/* Control Panel */
.control-panel {
    position: fixed;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 380px;
    height: 80vh;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    padding: 2rem;
    overflow-y: auto;
    overflow-x: visible;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-heavy);
}

.control-panel.open {
    right: 0;
}

.control-panel::-webkit-scrollbar {
    width: 6px;
}

.control-panel::-webkit-scrollbar-track {
    background: transparent;
}

.control-panel::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.panel-section {
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
}

.panel-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

/* Color Controls */
.color-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-picker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-picker-wrapper input[type="color"] {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    background: transparent;
}

.color-picker-wrapper label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.preset-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.preset {
    cursor: pointer;
    transition: var(--transition);
}

.preset:hover {
    transform: scale(1.05);
}

.preset-color {
    width: 100%;
    height: 40px;
    border-radius: var(--border-radius);
    border: 2px solid var(--glass-border);
    transition: var(--transition);
}

.preset:hover .preset-color {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-light);
}

/* Brightness Control */
.brightness-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#brightnessSlider {
    flex: 1;
    height: 6px;
    background: var(--accent-bg);
    border-radius: 3px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

#brightnessSlider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.slider-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    min-width: 40px;
    text-align: center;
}


/* Reading Modes */
.reading-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.mode-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.mode-btn:hover,
.mode-btn.active {
    background: var(--success-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.mode-btn i {
    font-size: 1.2rem;
}


/* Quick Access Bar */
.quick-access {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
}

.quick-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quick-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.quick-btn.active {
    background: var(--success-color);
    color: var(--text-primary);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.open .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-primary);
}

.setting-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.setting-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.setting-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-color);
}

/* Notification */
.notification {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2000;
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
}

.notification.show {
    transform: translateX(-50%) translateY(0);
}

.notification i {
    color: var(--accent-color);
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes breathing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    10%, 90% { opacity: 0.98; }
    20%, 80% { opacity: 0.95; }
    30%, 70% { opacity: 0.92; }
    40%, 60% { opacity: 0.88; }
    50% { opacity: 0.85; }
}

@keyframes gradient {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}


/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .control-panel {
        width: 100%;
        height: 100vh;
        right: -100%;
        border-radius: 0;
    }
    
    .preset-colors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .effect-controls,
    .reading-modes {
        grid-template-columns: 1fr;
    }
    
    .quick-access {
        bottom: 1rem;
        padding: 0.5rem;
    }
    
    .quick-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .light-info {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-bg: #000000;
        --secondary-bg: #0a0a0a;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.1);
        --glass-border: rgba(255, 255, 255, 0.2);
    }
    
    .control-panel {
        background: rgba(20, 20, 20, 0.95) !important;
    }
    
    .panel-section h3 {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--text-primary) !important;
    }
}

/* Alternative solid panel style - uncomment if needed */
/*
.control-panel {
    background: rgba(20, 20, 20, 0.95) !important;
    backdrop-filter: none !important;
}

.panel-section h3 {
    background: rgba(40, 40, 40, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
*/



/* Enhanced Quick Access */
.quick-access {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
}

.quick-access:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
}

/* Enhanced Panel Animations */
.control-panel {
    transition: var(--transition), box-shadow 0.3s ease;
}

.control-panel:hover {
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
}

/* Enhanced Button Hover Effects */
.mode-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* Loading Animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Enhanced Notification */
.notification {
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.notification.success {
    border-color: var(--success-color);
}

.notification.warning {
    border-color: var(--warning-color);
}

.notification.error {
    border-color: var(--error-color);
}

.notification.info {
    border-color: var(--accent-color);
}

/* PWA Install Prompt - Right Panel Style */
.install-prompt {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(25, 25, 50, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(99, 102, 241, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.install-prompt.show {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.install-prompt-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.install-prompt-header h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-prompt-header h3 i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.install-prompt-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-prompt-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.install-prompt-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.install-prompt-icon {
    text-align: center;
}

.install-prompt-icon i {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.install-prompt-text {
    text-align: center;
}

.install-prompt-text h4 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.install-prompt-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.install-prompt-features {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.install-prompt-features h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.install-prompt-features h5 i {
    color: var(--accent-color);
}

.install-prompt-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.install-prompt-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-prompt-features li i {
    color: var(--accent-color);
    font-size: 0.9rem;
    width: 16px;
}

.install-prompt-buttons {
    padding: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.install-prompt button {
    background: var(--accent-color);
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.install-prompt button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.install-prompt button:last-child {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.install-prompt button:last-child:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

/* About Modal Styles */
.about-modal {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.about-content {
    padding: 1rem;
}

.about-logo {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.about-logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.3));
}

.about-logo h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.about-description {
    margin-bottom: 2rem;
}

.about-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.about-features,
.about-contact,
.about-links,
.about-tech {
    margin-bottom: 2rem;
}

.about-features h4,
.about-contact h4,
.about-links h4,
.about-tech h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-features h4 i,
.about-contact h4 i,
.about-links h4 i,
.about-tech h4 i {
    color: var(--accent-color);
}

.about-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-features li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.about-features li i {
    color: var(--accent-color);
    font-size: 0.9rem;
    width: 16px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.project-link i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .quick-access:hover {
        transform: translateX(-50%);
    }
    
    .control-panel:hover {
        transform: translateY(-50%);
    }
}
