   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: background 0.5s ease, color 0.5s ease;
            overflow-x: hidden;
            overflow-y: auto;
            padding: 20px 10px;
        }

        body.dark {
            background: #0a0a0a;
            color: #666;
        }

        body.light {
            background: linear-gradient(135deg, #00198a 0%, #5702ac 100%);
            color: white;
        }

        .container {
            text-align: center;
            padding: 20px;
            max-width: 600px;
            width: 100%;
            position: relative;
            z-index: 10;
            margin: auto;
        }

        h1 {
            font-size: clamp(60px, 15vw, 120px);
            font-weight: bold;
            margin-bottom: 10px;
            transition: all 0.5s ease;
        }

        body.dark h1 {
            color: #333;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        }

        body.light h1 {
            color: white;
            text-shadow: 0 0 30px rgba(255,255,255,0.6), 4px 4px 8px rgba(0,0,0,0.3);
            animation: glow 2s ease-in-out infinite;
        }

        @keyframes glow {
            0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 30px rgba(255,255,255,0.3); }
            50% { text-shadow: 0 0 40px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.5); }
        }

        h2 {
            font-size: clamp(20px, 5vw, 32px);
            margin-bottom: 15px;
            transition: all 0.5s ease;
        }

        p {
            font-size: clamp(14px, 3vw, 18px);
            margin-bottom: 20px;
            opacity: 0.8;
            transition: all 0.5s ease;
        }

        body.dark p {
            color: #555;
        }

        body.dark h2 {
            color: #444;
        }

        body.dark p {
            color: #555;
        }

        .switch-container {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px 20px;
            margin: 20px 0;
            box-shadow: 0 8px 32px rgba(0,0,0,0.2);
            transition: all 0.5s ease;
        }

        body.dark .switch-container {
            background: rgba(30, 30, 30, 0.5);
            box-shadow: 0 8px 32px rgba(0,0,0,0.8);
        }

        body.light .switch-container {
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 50px rgba(255,255,255,0.2);
        }

        .switch-title {
            font-size: clamp(18px, 4vw, 24px);
            margin-bottom: 20px;
            font-weight: bold;
        }

        body.dark .switch-title {
            color: #555;
        }

        .light-bulb {
            width: clamp(80px, 20vw, 100px);
            height: clamp(80px, 20vw, 100px);
            margin: 0 auto 30px;
            position: relative;
        }

        .bulb {
            width: clamp(60px, 16vw, 80px);
            height: clamp(60px, 16vw, 80px);
            background: #2a2a2a;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
            margin: 0 auto;
            position: relative;
            transition: all 0.4s ease;
            box-shadow: inset 0 -5px 15px rgba(0,0,0,0.4);
        }

        body.light .bulb {
            background: radial-gradient(circle at 30% 30%, #fff, #ffed4e 40%, #ffd700);
            box-shadow: 0 0 40px rgba(255,255,0,0.8), 
                        0 0 80px rgba(255,255,0,0.6),
                        0 0 120px rgba(255,255,0,0.4),
                        inset 0 -5px 15px rgba(255,200,0,0.3);
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { 
                box-shadow: 0 0 40px rgba(255,255,0,0.8), 
                            0 0 80px rgba(255,255,0,0.6),
                            0 0 120px rgba(255,255,0,0.4);
            }
            50% { 
                box-shadow: 0 0 60px rgba(255,255,0,1), 
                            0 0 100px rgba(255,255,0,0.8),
                            0 0 140px rgba(255,255,0,0.6);
            }
        }

        .bulb-base {
            width: clamp(30px, 8vw, 40px);
            height: clamp(20px, 5vw, 25px);
            background: linear-gradient(to bottom, #7f8c8d, #5a6268);
            margin: -6px auto 0;
            border-radius: 0 0 5px 5px;
            position: relative;
        }

        .bulb-thread {
            width: 100%;
            height: 3px;
            background: #4a5258;
            margin-bottom: 2px;
        }

        .switch-plate {
            width: clamp(100px, 25vw, 120px);
            height: clamp(150px, 37vw, 180px);
            background: linear-gradient(145deg, #e0e0e0, #c0c0c0);
            margin: 0 auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        body.dark .switch-plate {
            background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
        }

        .switch-plate:hover {
            transform: scale(1.05);
        }

        .switch-plate::before {
            content: '';
            position: absolute;
            width: 85%;
            height: 90%;
            border: 2px solid rgba(0,0,0,0.1);
            border-radius: 6px;
            pointer-events: none;
        }

        .switch {
            width: clamp(25px, 6vw, 30px);
            height: clamp(50px, 12vw, 60px);
            background: linear-gradient(to right, #d0d0d0, #f0f0f0);
            border-radius: 15px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            box-shadow: 0 4px 8px rgba(0,0,0,0.3),
                        inset 0 2px 4px rgba(255,255,255,0.5);
        }

        body.dark .switch {
            background: linear-gradient(to right, #3a3a3a, #4a4a4a);
        }

        .switch.on {
            transform: rotate(180deg);
        }

        .switch-toggle {
            position: absolute;
            top: 5px;
            left: 50%;
            transform: translateX(-50%);
            width: clamp(18px, 4.5vw, 20px);
            height: clamp(20px, 5vw, 25px);
            background: linear-gradient(145deg, #8b0000, #dc143c);
            border-radius: 3px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.4);
            transition: all 0.3s ease;
        }

        body.light .switch-toggle {
            background: linear-gradient(145deg, #006400, #32cd32);
        }

        .status-text {
            margin-top: 20px;
            font-size: clamp(16px, 4vw, 20px);
            font-weight: bold;
            transition: all 0.3s ease;
        }

        body.dark .status-text {
            color: #555;
        }

        body.light .status-text {
            color: #fff;
            text-shadow: 0 0 10px rgba(255,255,255,0.5);
        }

        .instruction {
            font-size: clamp(12px, 3vw, 14px);
            margin-top: 15px;
            opacity: 0.7;
        }

        body.dark .instruction {
            color: #666;
        }

        .btn {
            display: inline-block;
            padding: clamp(12px, 3vw, 15px) clamp(30px, 8vw, 40px);
            background: white;
            color: #667eea;
            text-decoration: none;
            border-radius: 50px;
            font-weight: bold;
            font-size: clamp(14px, 3.5vw, 16px);
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            margin-top: 20px;
        }

        body.dark .btn {
            background: #2a2a2a;
            color: #888;
            box-shadow: 0 4px 15px rgba(0,0,0,0.8);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.3);
        }

        body.light .btn:hover {
            background: #f0f0f0;
        }

        body.dark .btn:hover {
            background: #3a3a3a;
            color: #999;
        }

        .rays {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 150px;
            height: 150px;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        body.light .rays {
            opacity: 1;
            animation: rotate 10s linear infinite;
        }

        @keyframes rotate {
            from { transform: translate(-50%, -50%) rotate(0deg); }
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .ray {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 3px;
            height: 50px;
            background: linear-gradient(to top, rgba(255,255,100,0), rgba(255,255,100,0.6));
            transform-origin: bottom center;
        }

        .ray:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); }
        .ray:nth-child(2) { transform: translate(-50%, -100%) rotate(45deg); }
        .ray:nth-child(3) { transform: translate(-50%, -100%) rotate(90deg); }
        .ray:nth-child(4) { transform: translate(-50%, -100%) rotate(135deg); }
        .ray:nth-child(5) { transform: translate(-50%, -100%) rotate(180deg); }
        .ray:nth-child(6) { transform: translate(-50%, -100%) rotate(225deg); }
        .ray:nth-child(7) { transform: translate(-50%, -100%) rotate(270deg); }
        .ray:nth-child(8) { transform: translate(-50%, -100%) rotate(315deg); }