:root {
    --safe-color: #2ecc71;
    --watch-color: #f1c40f;
    --warning-color: #e74c3c;
    --text-color: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-color);
}

#app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease;
}

.safe {
    background-color: var(--safe-color);
}

.watch {
    background-color: var(--watch-color);
    color: #333; /* Dark text for yellow background */
}

.warning {
    background-color: var(--warning-color);
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from { background-color: #c0392b; }
    to { background-color: #e74c3c; }
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
}

#details {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    #details {
        font-size: 1.2rem;
    }
}
