:root {
    --bg-0: #05060f;
    --bg-1: #0a0a1a;
    --neon-b: #00f0ff;
    --neon-b-soft: rgba(0, 240, 255, 0.6);
    --txt: #e8f8ff;
    --dim: #6a7a9a;
    --font-mono: 'Courier New', 'Lucida Console', Monaco, monospace;
}

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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--bg-0);
    color: var(--txt);
    font-family: var(--font-mono);
}

body {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 43, 214, 0.08), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 240, 255, 0.08), transparent 50%),
        linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}

#game-container {
    width: 100%;
    height: 100%;
}

#game-container canvas {
    display: block;
}

/* Rotate warning (portrait) */
#rotate-warning {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg-0);
    z-index: 100;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rw-inner { display: flex; flex-direction: column; align-items: center; }

.rw-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
    filter: drop-shadow(0 0 18px var(--neon-b-soft));
}

.rw-text {
    font-size: 22px;
    letter-spacing: 5px;
    color: var(--neon-b);
    text-shadow: 0 0 12px var(--neon-b-soft);
    margin-bottom: 6px;
}

.rw-sub {
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--dim);
}

@media (max-width: 768px) and (orientation: portrait) {
    #game-container { display: none; }
    #rotate-warning { display: flex; }
}
