body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    color: white;
    background: linear-gradient(135deg, #875d49, #512705);
    animation: gradient 10s infinite;
}

@keyframes gradient {
    0%, 100% { background: linear-gradient(130deg, #875d49, #512705); }
    50% { background: linear-gradient(130deg, #875d49, #512705); }
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    z-index: 1;
}

.hero-heading {
    font-size: 3rem;
    margin: 0;
    animation: fadeIn 2s ease-in-out;
}

.hero-subheading {
    font-size: 1.2rem;
    margin: 10px 0;
    animation: fadeIn 2s ease-in-out 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.timer-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    max-width: 90%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.timer {
    position: relative;
    margin-bottom: 20px;
}

.progress-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.progress-bar {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(to right, #875d49, #512705);
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.timer-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    color: azure;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: rgba(60, 31, 2, 0.942);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.auto-start {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

@media (max-width: 768px) {
    .progress-ring {
        width: 150px;
        height: 150px;
    }

    .timer-display {
        font-size: 20px;
    }

    button {
        padding: 8px 15px;
        font-size: 14px;
    }
}