body {
    background: #0d0f1a;
    font-family: Trebuchet MS, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

.title {
    text-align: center;
    margin-top: 25px;
    font-size: 2rem;
    color: #b8cfff;
}

.map {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 45px;
}

.hex {
    width: 120px;
    height: 110px;
    background: #1a1f33;
    clip-path: polygon(50% 0, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #4d5a99;
    transition: 0.3s;
    opacity: 0.4;
    user-select: none;
}

.hex.unlocked {
    opacity: 1;
    border-color: #3af2ff;
    box-shadow: 0 0 15px #00eaff;
}

.hex.active {
    background: #00c4ff;
    color: #000;
    box-shadow: 0 0 25px #0ff;
}

.hex.locked {
    filter: grayscale(1);
    cursor: not-allowed;
}

.quiz-container {
    max-width: 700px;
    background: #161a2b;
    margin: 40px auto;
    padding: 25px;
    border-radius: 15px;
}

.hidden {
    display: none;
}

.options label {
    display: block;
    background: #232846;
    margin: 6px 0;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.options input[type="radio"] {
    margin-right: 10px;
}

.correct {
    background: #0a4 !important;
}

.incorrect {
    background: #a00 !important;
}

.quiz-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #2b75ff;
    color: white;
    font-weight: bold;
}

.code-box {
    margin-top: 15px;
    background: #000;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 1.4rem;
    letter-spacing: 3px;
}

.unlock-section {
    margin-top: 20px;
}

.unlock-section input {
    padding: 8px;
    width: 60%;
    margin-right: 10px;
}

.question-slide {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
}

.question-slide.show {
    opacity: 1;
    transform: translateX(0);
}

.question-slide.hide-left {
    opacity: 0;
    transform: translateX(-100%);
}

.summary-item.ok {
    background: #0a4225;
    padding: 12px;
    border-radius: 8px;
}

.summary-item.bad {
    background: #5a1f2a;
    padding: 12px;
    border-radius: 8px;
}

.success { color: #4effa3; }
.fail { color: #ff6961; }

.feedback-screen {
    position: relative;
    background: #161a2b;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    text-align: center;
    display: none;
    animation: fadeIn 0.4s ease;
}

.feedback-ok {
    background: #00a86b;
    color: white;
}

.feedback-wrong {
    background: #c62828;
    color: white;
}

.feedback-screen h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.feedback-screen button {
    background: #0d2847;
    padding: 12px 20px;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    color: white;
    border: none;
}

@keyframes fadeIn {
    from { opacity:0; transform:scale(0.95); }
    to { opacity:1; transform:scale(1); }
}
