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

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #a8d5a8;
    color: #333;
    transition: background-color 1s ease;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.current-time {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.timers {
    display: flex;
    gap: 60px;
    margin-bottom: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.timer-label {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.timer-display {
    font-size: 5.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
}

.finished-message {
    font-size: 6rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: pulse 1s infinite;
}

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

.controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn {
    padding: 16px 32px;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: inline-block;
}

.btn-extend {
    background-color: #fff;
    color: #333;
}

.btn-extend:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-settings {
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
}

.btn-settings:hover {
    background-color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-pause {
    background-color: #ff9800;
    color: white;
}

.btn-pause:hover {
    background-color: #f57c00;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-resume {
    background-color: #4CAF50;
    color: white;
}

.btn-resume:hover {
    background-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-toggle-tiers {
    background-color: #9C27B0;
    color: white;
}

.btn-toggle-tiers:hover {
    background-color: #7B1FA2;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    .current-time {
        font-size: 3rem;
        margin-bottom: 30px;
    }

    .timer-label {
        font-size: 1.5rem;
    }

    .timer-display {
        font-size: 4rem;
    }

    .timers {
        gap: 40px;
        margin-bottom: 40px;
    }

    .finished-message {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .current-time {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .timer-label {
        font-size: 1.2rem;
    }

    .timer-display {
        font-size: 3rem;
    }

    .timers {
        gap: 20px;
        margin-bottom: 30px;
    }

    .finished-message {
        font-size: 2.5rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
