 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            overflow: hidden;
        }

        #canvas-container {
            position: relative;
            width: 100vw;
            height: 100vh;
        }

        #control-panel {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(20, 20, 20, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 20px;
            width: 320px;
            max-height: 80vh;
            overflow-y: auto;
            z-index: 100;
            transition: all 0.3s ease;
        }

        #control-panel:hover {
            background: rgba(30, 30, 30, 0.95);
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .panel-title {
            font-size: 18px;
            font-weight: bold;
            color: #4fc3f7;
        }

        .planet-control {
            margin-bottom: 15px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .planet-info-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        
        .planet-name {
            font-size: 14px;
            font-weight: bold;
            color: #ffffff;
        }

        .planet-speed {
            font-size: 12px;
            color: #aaa;
        }

        .speed-control {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .speed-slider {
            flex: 1;
            -webkit-appearance: none;
            appearance: none;
            height: 6px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            outline: none;
        }

        .speed-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            background: #4fc3f7;
            border-radius: 50%;
            cursor: pointer;
        }

        .speed-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            background: #4fc3f7;
            border-radius: 50%;
            cursor: pointer;
            border: none;
        }

        .speed-value {
            font-size: 12px;
            color: #4fc3f7;
            min-width: 40px;
            text-align: center;
        }

        .control-buttons {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .btn {
            flex: 1;
            padding: 10px;
            background: linear-gradient(135deg, #4fc3f7, #29b6f6);
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn:hover {
            background: linear-gradient(135deg, #29b6f6, #0288d1);
            transform: translateY(-2px);
        }

        .btn:active {
            transform: translateY(0);
        }

        .btn.paused {
            background: linear-gradient(135deg, #ff7043, #ff5722);
        }

        .btn.paused:hover {
            background: linear-gradient(135deg, #ff5722, #d84315);
        }

        #info-panel {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(20, 20, 20, 0.9);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 15px;
            padding: 15px;
            min-width: 200px;
            z-index: 100;
        }

        .info-title {
            font-size: 16px;
            font-weight: bold;
            color: #4fc3f7;
            margin-bottom: 10px;
        }

        .info-text {
            font-size: 12px;
            color: #ffffff;
            opacity: 0.8;
        }

        .toggle-panel {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 101;
        }

        .theme-toggle {
            background: rgba(20, 20, 20, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #4fc3f7;
            font-size: 20px;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            background: rgba(30, 30, 30, 0.95);
            transform: scale(1.1);
        }

        .planet-tooltip {
            position: absolute;
            background: rgba(20, 20, 20, 0.95);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            padding: 10px;
            font-size: 12px;
            pointer-events: none;
            z-index: 1000;
            transform: translate(-50%, -120%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .planet-tooltip.visible {
            opacity: 1;
        }

        @media (max-width: 768px) {
            #control-panel {
                width: 280px;
                max-height: 60vh;
            }
            .panel-title { font-size: 16px; }
            .planet-name { font-size: 12px; }
        }

        @media (max-width: 480px) {
            #control-panel {
                width: calc(100vw - 40px);
                max-height: 50vh;
            }
            #info-panel {
                width: calc(100vw - 40px);
                bottom: 10px;
                left: 20px;
            }
        }