body {
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    background-color: #3498db;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.traffic-light {
    background-color: #333;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.light {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #555;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.light.red.active {
    background-color: #ff3b30;
    box-shadow: 0 0 30px #ff3b30, inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.light.yellow.active {
    background-color: #ffcc00;
    box-shadow: 0 0 30px #ffcc00, inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.light.green.active {
    background-color: #34c759;
    box-shadow: 0 0 30px #34c759, inset 0 0 15px rgba(255, 255, 255, 0.5);
}

button {
    background-color: #ff9500;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

button:hover {
    background-color: #ff8000;
    transform: scale(1.05);
}

button:active {
    transform: scale(0.95);
}

#error-message {
    background-color: #ff3b30;
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: shake 0.5s ease;
}

.hidden {
    display: none;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
} 