html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

:root {
    --bg-gradient: linear-gradient(135deg, #1a0b2e 0%, #0d1b2a 100%);
    --grid-line: rgba(100, 200, 255, 0.2);
    --cell-empty: rgba(20, 20, 40, 0.6);
    --attr-glacio: #99ffff;
    --attr-fusion: #ff4d4d;
    --attr-electro: #cc66ff;
    --attr-aero: #66ff99;
    --attr-spectro: #ffd700;
    --attr-havoc: #ff3399;
    --accent-color: #00ffff;
    --danger-color: #ff0055;
    --text-color: #e0e0e0;
    --font-mono: 'Courier New', Courier, monospace;
    --cell-size: 54px;
    --grid-gap: 2px;
}

.game-terminal * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.game-terminal {
    background: var(--bg-gradient);
    color: var(--text-color);
    font-family: var(--font-mono);
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

.game-terminal .terminal-container {
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1), inset 0 0 10px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border-radius: 8px;
}

.game-terminal .footer-credits {
    position: absolute; top: 5px; left: 0; width: 100%;
    text-align: center; font-size: 10px; color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px; pointer-events: auto;
}

.game-terminal .footer-credits a { color: rgba(0, 255, 255, 0.5); text-decoration: none; transition: color 0.2s; }
.game-terminal .footer-credits a:hover { color: var(--accent-color); text-decoration: underline; }

.game-terminal .attr-icon,
.attr-icon {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}
