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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.glass-panel {
    background: rgba(40, 40, 40, 0.3);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(100, 100, 100, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 20px;
    color: #e0e0e0;
}

header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 300;
}

.time {
    font-size: 1.2rem;
    opacity: 0.8;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    background: rgba(60, 60, 60, 0.4);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.value {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.status {
    opacity: 0.7;
    font-size: 0.9rem;
}

.switches {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.switch {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.switch-slider {
    width: 50px;
    height: 25px;
    background: rgba(80, 80, 80, 0.6);
    border-radius: 25px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(120, 120, 120, 0.4);
}

.switch-slider::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    background: linear-gradient(135deg, #f0f0f0, #c0c0c0);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.switch-slider.active {
    background: linear-gradient(135deg, #00d4aa, #00a085);
    box-shadow: 0 0 15px rgba(0, 212, 170, 0.3);
}

.switch-slider.active::after {
    transform: translateX(25px);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
}

.security-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4757, #c44569);
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.4);
}

.indicator.active {
    background: linear-gradient(135deg, #00d4aa, #00a085);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.4);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4aa, #00a085, #0abde3);
    border-radius: 4px;
    transition: width 0.5s ease;
    animation: shimmer 2s infinite;
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

@keyframes shimmer {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.air-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.music-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.music-btn {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.6), rgba(60, 60, 60, 0.8));
    border: 1px solid rgba(120, 120, 120, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.music-btn:hover {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
    color: white;
}

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

.volume input {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
}

.btn {
    background: linear-gradient(135deg, rgba(80, 80, 80, 0.6), rgba(60, 60, 60, 0.8));
    border: 1px solid rgba(120, 120, 120, 0.4);
    border-radius: 10px;
    padding: 10px 20px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #0abde3, #006ba6);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(10, 189, 227, 0.4);
    color: white;
}

.garage-status {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        gap: 10px;
    }
    
    header h1 {
        font-size: 2rem;
    }
}