:root {
    --neon-green: #00ff41;
    --bg-black: #050505;
    --term-font: 'Consolas', 'Courier New', monospace;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-black);
    color: var(--neon-green);
    font-family: var(--term-font);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Kontejner návodu */
.guide-container {
    width: 90%;
    max-width: 700px;
    border: 1px solid var(--neon-green);
    padding: 40px;
    background: rgba(0, 20, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
    position: relative;
}

/* Nadpis */
h1 {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 10px;
    border-bottom: 2px solid var(--neon-green);
    padding-bottom: 10px;
    margin-top: 0;
}

/* Tlačítko zpět (stejné jako ve hře) */
#back-to-menu {
    position: absolute;
    top: 10px;
    left: 10px;
    text-decoration: none;
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

#back-to-menu:hover {
    background: var(--neon-green);
    color: black;
}

/* Styl textu */
.line {
    margin: 15px 0;
    line-height: 1.6;
}

.line span {
    color: #fff; /* Zvýraznění znaku > */
    margin-right: 10px;
}

.important {
    color: #ff3333;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    border: 1px dashed #ff3333;
    padding: 10px;
}

/* Legenda barev */
ul {
    list-style: none;
    padding-left: 20px;
}

li {
    margin: 8px 0;
    padding-left: 15px;
    position: relative;
}

li::before {
    content: "■";
    position: absolute;
    left: -5px;
}

.green { color: #00ff00; }
.blue { color: #0088ff; }
.red { color: #ff3333; }

/* Efekt scanline (volitelné) */
.guide-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 2;
    background-size: 100% 3px, 3px 100%;
    pointer-events: none;
}