@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

body {
    font-family: 'Press Start 2P', monospace;
    background: #1a1a2e;
    color: #ffffff;
    image-rendering: pixelated;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#app {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.splash-content {
    text-align: center;
}

.splash-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 4px 4px 0 #0a0a1a;
    animation: bounce 1s infinite;
}

.splash-content p {
    font-size: 0.8rem;
    color: #aaaaaa;
    margin-bottom: 2rem;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #0f3460;
    border-top: 4px solid #ffd700;
    border-radius: 0;
    animation: spin 1s linear infinite;
    box-shadow: 4px 4px 0 #0a0a1a;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pixel button style */
.pixel-btn {
    border: 4px solid #0f3460;
    border-radius: 0;
    background: #e94560;
    color: #ffffff;
    padding: 12px 20px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 4px 4px 0 #0a0a1a;
    transition: all 0.1s;
}

.pixel-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #0a0a1a;
}

.pixel-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #0a0a1a;
}

/* Dark theme colors from policeman.html */
:root {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --accent-red: #e94560;
    --accent-gold: #ffd700;
    --accent-blue: #0f3460;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --pixel-shadow: #0a0a1a;
    --success-green: #4ade80;
    --error-red: #f87171;
}
