body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #5b5f97, #2f3061);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
}

#myH1 {
    font-size: 4rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out;
}

#container {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    padding: 50px 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: slideUp 0.8s ease-out;
}

#display {
    font-size: 4.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.85);
    color: #222;
    padding: 25px 50px;
    border-radius: 20px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-align: center;
}

#controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

#controls button {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 14px 30px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#controls button:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

#startBtn {
    background-color: #28a745;
}
#startBtn:hover {
    background-color: #218838;
}

#stopBtn {
    background-color: #fd7e14;
}
#stopBtn:hover {
    background-color: #e66800;
}

#resetBtn {
    background-color: #007bff;
}
#resetBtn:hover {
    background-color: #0062cc;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
