:root {
    --primary: #00f3ff;
    --bg: #05070a;
    --text: #e6edf3;
    --accent: #7c3aed;
    --danger: #ef4444;
}

[data-theme="causal"] {
    --primary: #a855f7;
    --bg: #0f0720;
    --text: #f5f3ff;
    --accent: #ec4899;
}

[data-theme="warning"] {
    --primary: #f59e0b;
    --bg: #1a0f00;
    --text: #fffbeb;
    --accent: #ef4444;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    transition: background-color 0.5s ease;
}

#game-container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

header h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

#status-bar {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

#gameCanvas {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: crosshair;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

#ui-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#start-screen {
    padding: 2rem;
}

#start-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 1rem;
}

#start-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

footer {
    margin-top: 2rem;
}

.theme-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.t-btn {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}
.t-btn.def { background: #00f3ff; }
.t-btn.cau { background: #a855f7; }
.t-btn.war { background: #f59e0b; }

footer p {
    font-size: 0.6rem;
    color: #444;
    text-transform: uppercase;
}
