:root {
    --neon-green: #00ff9d;
    --matrix-red: #ff003c;
    --cyber-purple: #bc13fe;
    --hacker-bg: #1615152d;
}
.game-section{
    background: var(--hacker-bg);
    color: var(--neon-green);
    font-family: 'VT323', monospace;
    display: grid;
    place-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}
.terminal {
    position: relative;
    background: #000;
    border: 3px solid var(--neon-green);
    padding: 2rem;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 0 10px var(--neon-green);
}
.scanline {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-left: -2rem;
    background: linear-gradient(to bottom,
        transparent 50%,
        rgba(0, 255, 157, 0.25) 55%,
        transparent 55%);
    pointer-events: none;
    animation: scan 4s linear infinite;
    z-index: 10;
}
.scramble-display {
    font-size: 3rem;
    letter-spacing: 0.5em;
    margin: 2rem 0;
    position: relative;
    animation: glitch 3s infinite;
}
input.decoder {
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    padding: 1rem;
    font-size: 1.5rem;
    width: 95%;
    margin: 1rem 0;
    transition: 0.3s;
    text-transform: uppercase;
}
input.decoder:focus {
    outline: none;
    box-shadow: 0 0 20px var(--neon-green);
}
.stats {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px dashed var(--neon-green);
}
.hud {
    display: flex;
    gap: 2rem;
    font-size: 1.2rem;
}
.powerups {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}
.cyber-btn {
    background: #002218;
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}
.cyber-btn:hover {
    background: var(--neon-green);
    color: #000;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}
.particles {
    position: fixed;
    pointer-events: none;
    z-index: -1;
}
/* Tutorial Modal Styles */
.tutorial {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border: 2px solid #00ff9d;
    padding: 2rem;
    z-index: 1000;
    max-width: 500px;
    display: none;
}
.tutorial.active {
    display: block;
}
.tutorial h2 {
    color: #00ff9d;
    border-bottom: 1px solid #00ff9d;
    padding-bottom: 0.5rem;
}
.help-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: #002218;
    border: 2px solid #00ff9d;
    color: #00ff9d;
    padding: 0.5rem 1rem;
    cursor: pointer;
}
/* Enhanced Feedback */
.feedback {
    animation: pulse 0.5s;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}