body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
}

.datetime {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-button {
    padding: 15px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.time-button:hover {
    background: #45a049;
}

.time-button.quick-start {
    background: #FFC107;
}

.time-button.quick-start:hover {
    background: #FFB300;
}

.control-button {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    background: #2196F3;
    color: white;
    cursor: pointer;
}

.timer {
    font-size: 3em;
    text-align: center;
    margin: 20px 0;
    color: #333;
}

.hidden {
    display: none;
}

.screen {
    width: 100%;
}

@media (orientation: portrait) {
    .container {
        width: 80%;
    }
    .button-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .time-button.quick-start {
        grid-column: 1 / -1;
    }
    .date {
        font-size: 1.6rem;
        letter-spacing: 8px;
        color: #444;
        margin-bottom: 0.2rem;
    }
    .time {
        font-size: 1.4rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        color: #000;
    }
    .time-button {
        font-size: clamp(14px, 4vw, 16px);
    }
}

.build-info {
    position: fixed;
    bottom: 8px;
    right: 8px;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.5);
    font-family: monospace;
}

@media (orientation: portrait) {
    .build-info {
        font-size: 0.65rem;
    }
} 