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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    transition: background 0.5s ease;
}

body.bg-normal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.bg-past {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

body.bg-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

body.bg-urgent {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.container {
    text-align: center;
    max-width: 500px;
    width: 100%;
    padding: 40px 20px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

#target-date {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    font-size: 2rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#target-date:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

#target-date:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.3);
}

#target-date::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

#label-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
}

#days-count {
    font-size: 10rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1;
    animation: pulse 2s ease-in-out infinite;
}

.unit {
    font-size: 2rem;
    font-weight: 300;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

