@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&family=Orbitron:wght@500;700&display=swap');

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #1a1f3a;
    --accent-sun: #ffd700;
    --accent-light: #00d4ff;
    --text-primary: #e0e6ed;
    --text-secondary: #8892a6;
    --shadow-glow: rgba(0, 212, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1428 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 90%;
    display: flex;
    gap: 3rem;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.control-panel {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-sun));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: 2px;
}

.switch-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.switch-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.4);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.switch-item:hover {
    background: rgba(10, 14, 39, 0.6);
    transform: translateX(5px);
}

.switch-label {
    font-size: 1.2rem;
    font-weight: 500;
    min-width: 60px;
    color: var(--text-primary);
}

.switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 36px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2d3548, #1a1f3a);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background: linear-gradient(135deg, #e0e6ed, #b8c1d0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#lightSwitch:checked + .slider {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-color: var(--accent-light);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 20px var(--shadow-glow);
}

#sunSwitch:checked + .slider {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border-color: var(--accent-sun);
    box-shadow: 
        inset 0 2px 8px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 215, 0, 0.4);
}

input:checked + .slider:before {
    transform: translateX(34px);
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.switch-status {
    font-size: 1rem;
    font-weight: 500;
    min-width: 40px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.switch-status.active {
    color: var(--accent-light);
    font-weight: 700;
}

.image-display {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out 0.4s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#sceneImage {
    max-width: 100%;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: imageFloat 3s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

#sceneImage:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .control-panel {
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .switch-item {
        gap: 1rem;
    }
    
    #sceneImage {
        max-height: 400px;
    }
}


