/* ================== GENERAL PAGE ================== */
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Courier New', monospace;
    background: #000;
    overflow-y: auto;
    color: #fff;
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ================== CONTAINER ================== */
.container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

/* ================== NEON TEXT ================== */
.neon-text {
    font-size: 60px;
    text-shadow: 
        0 0 5px #00fff0, 
        0 0 10px #00fff0, 
        0 0 20px #ff00ff, 
        0 0 30px #ff00ff, 
        0 0 40px #ff4ec8;
}

.subtitle {
    font-size: 28px;
    margin: -10px 0 30px 0;
    text-shadow: 
        0 0 5px #00ffea,
        0 0 10px #00ffea,
        0 0 15px #ff4ec8;
}

/* ================== BUTTONS ================== */
.buttons, .lesson-buttons {
    margin-bottom: 30px;
}

.btn, .lesson-buttons button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border: 2px solid #ff82e6;
    color: #ffb6f5;
    text-decoration: none;
    border-radius: 10px;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 0 15px #ff59c7;
    background: linear-gradient(45deg, #ff00ff, #00fff0, #ff4ec8);
    background-size: 200% 200%;
    cursor: pointer;
}

.btn:hover, .lesson-buttons button:hover {
    background-position: right center;
    color: #000;
    box-shadow: 0 0 25px #ff4ec8, 0 0 35px #00fff0;
}

/* ================== LEVEL BOX ================== */
.level-box {
    margin-top: 20px;
    padding: 15px 30px;
    display: inline-block;
    font-size: 22px;
    border: 2px solid #ff4ec8;
    box-shadow: 0 0 25px #ff4ec8, 0 0 35px #00fff0;
    border-radius: 12px;
    background: rgba(0,0,0,0.5);
}

/* ================== HOW TO BOX ================== */
.how-to {
    margin-top: 25px;
    font-size: 16px;
    opacity: 0.85;
    text-align: left;
    padding: 15px 25px;
    border: 2px solid #00fff0;
    border-radius: 10px;
    box-shadow: 0 0 15px #00fff0;
    background: rgba(0,0,0,0.5);
}

/* ================== FOOTER ================== */
.footer {
    margin-top: 80px;
    font-size: 14px;
    opacity: 0.6;
}

/* ================== LESSON BOXES ================== */
.lesson-container {
    margin-top: 30px;
    padding: 20px;
    border: 2px solid #ff4ec8;
    border-radius: 12px;
    background: rgba(0,0,0,0.5);
    box-shadow: 0 0 20px #ff4ec8, 0 0 25px #00fff0;
}

#editor {
    width: 90%;
    height: 200px;
    margin: 20px auto;
    display: block;
    padding: 10px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #ff82e6;
    background: #111;
    color: #fff;
    resize: vertical;
}

#output-box {
    width: 90%;
    margin: 20px auto;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #ff82e6;
    background: #000;
    color: #0f0;
}

#output {
    white-space: pre-wrap;
    font-family: 'Courier New', monospace;
}
