:root {
    --primary: #00F2FF;
    --accent: #FFC300;
    --danger: #FF0055;
    --bg: #000814;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background: var(--bg);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scrolling during gameplay */
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

#app {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

header {
    text-align: center;
    padding: 10px 0;
    z-index: 10;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--primary);
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--primary);
}

.subtitle {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 2px;
}

.game-container {
    flex: 1;
    width: 100%;
    max-width: 800px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#gameCanvas {
    width: 100%;
    height: auto;
    max-height: 100%;
    border: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    background: #000;
}

footer {
    padding: 10px;
    font-size: 0.7rem;
    opacity: 0.5;
    text-align: center;
}

/* Mobile Specific Adjustments */
@media (max-width: 600px) {
    header {
        padding: 5px 0;
    }
    
    #app {
        padding: 5px;
    }
    
    footer {
        display: none; /* Save space on mobile */
    }
}
