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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}

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

.gps-status {
    position: absolute;
    top: 40px;
    font-size: 18px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.gps-status.acquiring {
    color: #ffa500;
}

.gps-status.ready {
    color: #00ff00;
}

.gps-status.error {
    color: #ff0000;
}

.speed-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.speed-value {
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -4px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.speed-unit {
    font-size: 36px;
    color: #888;
    margin-top: 10px;
    font-weight: 300;
    letter-spacing: 4px;
}

.accuracy {
    position: absolute;
    bottom: 40px;
    font-size: 16px;
    color: #666;
}

/* Landscape optimization for driving */
@media (orientation: landscape) {
    .speed-value {
        font-size: 160px;
    }
}

/* Prevent screen from dimming */
@media (display-mode: standalone) {
    body {
        background-color: #000;
    }
}
