/* Het Geheim van Partou - Main Styles */

:root {
    --primary-brown: #8B7355;
    --dark-brown: #4A3C28;
    --paper-beige: #E8D7C3;
    --ink-black: #1A1A1A;
    --gold-accent: #D4A574;
    --mystery-purple: #6B5B95;
    --retro-pink: #FF69B4;
    --retro-cyan: #00CED1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
    background: linear-gradient(135deg, #E8D7C3 0%, #D4A574 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Parchment texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(139, 115, 85, 0.03) 10px,
            rgba(139, 115, 85, 0.03) 20px
        );
    pointer-events: none;
    z-index: 1;
}

/* Header met mysterie thema */
.site-header {
    background: linear-gradient(180deg, rgba(74, 60, 40, 0.95) 0%, rgba(74, 60, 40, 0.8) 100%);
    padding: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.detective-badge {
    width: 60px;
    height: 60px;
    background: var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.detective-badge::after {
    content: '🔍';
    font-size: 30px;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}

.site-title {
    font-size: 2.5rem;
    color: var(--paper-beige);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    font-family: 'Kalam', cursive;
    letter-spacing: 2px;
    animation: mysteryglow 3s ease-in-out infinite;
}

@keyframes mysteryglow {
    0%, 100% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 10px rgba(212, 165, 116, 0.3); }
    50% { text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 165, 116, 0.6); }
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--paper-beige);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 20px;
    background: rgba(139, 115, 85, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: rgba(212, 165, 116, 0.4);
    border-color: var(--gold-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Game Container */
.game-container {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Legend Map with Ink Blots */
.legend-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="900" height="600"><filter id="roughPaper"><feTurbulence baseFrequency="0.04" numOctaves="5" result="noise" seed="2"/><feDiffuseLighting in="noise" lighting-color="white" surfaceScale="1"><feDistantLight azimuth="45" elevation="60"/></feDiffuseLighting></filter><rect width="900" height="600" fill="%23E8D7C3" filter="url(%23roughPaper)"/></svg>');
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 40px;
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.legend-item {
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.legend-item:hover {
    transform: scale(1.05);
}

/* Ink Blot Overlay */
.ink-blot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(ellipse at center, 
        rgba(26, 26, 26, 0.9) 0%, 
        rgba(26, 26, 26, 0.8) 30%, 
        rgba(26, 26, 26, 0.6) 60%, 
        transparent 100%);
    filter: url('#ink-splatter');
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: all;
    z-index: 2;
}

.ink-blot.cleared {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* SVG Filter for realistic ink effect */
.ink-filter {
    position: absolute;
    width: 0;
    height: 0;
}

/* Legend Content */
.legend-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(232, 215, 195, 0.8);
    border: 3px solid var(--dark-brown);
    border-radius: 10px;
    position: relative;
}

.legend-number {
    font-size: 3rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
}

.legend-title {
    font-size: 1.3rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
    text-align: center;
    margin-bottom: 10px;
}

.legend-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: sepia(0.3);
    opacity: 0.8;
}

/* Question Modal */
.question-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.question-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #E8D7C3 0%, #D4A574 100%);
    border: 5px solid var(--dark-brown);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background: var(--gold-accent);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.question-title {
    font-size: 2rem;
    color: var(--dark-brown);
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Kalam', cursive;
}

.question-text {
    font-size: 1.2rem;
    color: var(--dark-brown);
    margin-bottom: 30px;
    line-height: 1.6;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.answer-btn {
    background: var(--paper-beige);
    border: 3px solid var(--dark-brown);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--dark-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Comic Sans MS', cursive;
}

.answer-btn:hover {
    background: var(--gold-accent);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.answer-btn.correct {
    background: #4CAF50;
    color: white;
    animation: celebrate 0.5s ease;
}

.answer-btn.incorrect {
    background: #f44336;
    color: white;
    animation: shake 0.5s ease;
}

@keyframes celebrate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Furby Reveal Animation */
.furby-reveal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.furby-reveal.active {
    display: flex;
}

.furby-container {
    animation: furbyBounce 2s ease-in-out infinite;
}

@keyframes furbyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(-5deg); }
    50% { transform: translateY(0) rotate(5deg); }
    75% { transform: translateY(-15px) rotate(-5deg); }
}

.furby-image {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(212, 165, 116, 0.8));
}

.celebration-text {
    font-size: 3rem;
    color: var(--gold-accent);
    text-align: center;
    margin-top: 30px;
    font-family: 'Kalam', cursive;
    animation: mysteryglow 1s ease-in-out infinite;
}

/* DoenkIds Button */
.doenkids-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--retro-pink) 0%, var(--retro-cyan) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
}

.doenkids-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Login Form Styling */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: var(--paper-beige);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 5px solid var(--dark-brown);
}

.login-title {
    font-size: 2rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Kalam', cursive;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 1.1rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
}

.form-input {
    padding: 12px 15px;
    border: 3px solid var(--dark-brown);
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

.login-btn {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-brown) 100%);
    color: var(--paper-beige);
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
    }
    
    .legend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .doenkids-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .legend-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .question-title {
        font-size: 1.5rem;
    }
}









/* VOEG DIT TOE AAN je main.css of vervang de relevante secties */

/* Brief sectie fix */
.game-intro {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.letter-container {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.letter-container h2 {
    font-family: 'Kalam', cursive;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.letter-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.letter-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Game container aanpassingen */
.game-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Legend wrapper verbeteringen */
.legend-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 50px;
    background: rgba(232, 215, 195, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 40px;
    border: 3px solid var(--dark-brown);
}

.legend-title-main {
    text-align: center;
    font-family: 'Kalam', cursive;
    color: var(--dark-brown);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Grid aanpassingen */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Legend items */
.legend-item {
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
    min-height: 150px;
}

.legend-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Legend content styling */
.legend-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: white;
    border: 3px solid var(--dark-brown);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Ink blot overlay aanpassingen */
.ink-blot {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(ellipse at center, 
        rgba(26, 26, 26, 0.95) 0%, 
        rgba(26, 26, 26, 0.85) 40%, 
        rgba(26, 26, 26, 0.7) 70%, 
        rgba(26, 26, 26, 0) 100%);
    border-radius: 10px;
    transition: all 0.5s ease;
    pointer-events: all;
    z-index: 2;
    transform: scale(1.1);
}

.ink-blot.cleared {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Nummer in vakje */
.legend-number {
    font-size: 2.5rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
    opacity: 0.2;
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 1;
}

/* Item titel */
.legend-title {
    font-size: 1rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
    text-align: center;
    margin-bottom: 10px;
    z-index: 1;
}

/* Icon in vakje */
.legend-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: sepia(0.2);
    opacity: 0.9;
    z-index: 1;
}

/* Progress bar toevoegen */
.progress-bar-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #ddd;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--retro-pink) 0%, var(--retro-cyan) 100%);
    border-radius: 15px;
    transition: width 0.5s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--dark-brown);
    font-family: 'Kalam', cursive;
}

/* Responsive voor kleinere schermen */
@media (max-width: 768px) {
    .legend-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .letter-image {
        max-height: 400px;
    }
    
    .legend-wrapper {
        padding: 20px;
    }
    
    .legend-title-main {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .legend-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .legend-item {
        min-height: 120px;
    }
}


/* Inktvlek staten */
.inktvlek {
    transition: all 0.3s ease;
    position: relative;
}

.inktvlek.actief {
    animation: pulse 2s infinite;
}

.inktvlek.actief:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.inktvlek.inactief {
    opacity: 0.6;
    filter: grayscale(50%);
}

.inktvlek.voltooid {
    opacity: 0;
    pointer-events: none;
}

.inktvlek.verdwijnt {
    animation: verdwijn 1s ease-out forwards;
}

/* Pulse animatie voor actieve vlekken */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* Verdwijn animatie */
@keyframes verdwijn {
    0% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.5;
    }
    100% { 
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Vraag popup overlay */
.vraag-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.vraag-popup {
    background: url('/wp-content/themes/het-geheim-van-partou/assets/images/perkament-bg.jpg');
    background-size: cover;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 3px solid #8B4513;
    position: relative;
}

.vraag-popup h3 {
    font-family: 'Mystery Font', cursive;
    color: #2C1810;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.vraag-tekst {
    font-size: 18px;
    color: #2C1810;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.antwoord-opties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.antwoord-knop {
    padding: 15px;
    background: #FFE4B5;
    border: 2px solid #8B4513;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    font-family: 'Comic Sans MS', cursive;
}

.antwoord-knop:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.antwoord-knop.fout {
    background: #FF6B6B;
    animation: shake 0.5s;
}

.sluit-vraag {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background: #999;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.sluit-vraag:hover {
    background: #777;
}

/* Shake animatie voor foute antwoorden */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.vraag-popup.shake {
    animation: shake 0.5s;
}

/* Game berichten */
.game-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    z-index: 10000;
    font-size: 16px;
    font-weight: bold;
    display: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.game-message.info {
    background: #3498db;
    color: white;
}

.game-message.success {
    background: #2ecc71;
    color: white;
}

.game-message.error {
    background: #e74c3c;
    color: white;
}

.game-message.celebration {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #2C1810;
    font-size: 20px;
    animation: celebrate 1s ease-in-out;
}

@keyframes celebrate {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

/* Voortgang info styling */
.voortgang-info {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid #8B4513;
}

.voortgang-info .stats {
    display: flex;
    justify-content: space-around;
    font-size: 16px;
    font-weight: bold;
    color: #2C1810;
}

.voortgang-info span {
    padding: 5px 10px;
    background: #FFE4B5;
    border-radius: 5px;
}

/* Responsive aanpassingen */
@media (max-width: 768px) {
    .antwoord-opties {
        grid-template-columns: 1fr;
    }
    
    .vraag-popup {
        padding: 20px;
        width: 95%;
    }
}




/* Actieve inktvlekken styling */
.inkblot-layer.active {
    transition: all 0.3s ease;
}

.inkblot-layer.active:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)) !important;
}

/* Inactieve inktvlekken styling */
.inkblot-layer.inactive {
    opacity: 0.7;
    filter: grayscale(0.3);
    transition: all 0.3s ease;
}

/* Kleine shake animatie */
@keyframes smallShake {
    0%, 100% { 
        transform: translateX(0); 
    }
    25% { 
        transform: translateX(-8px) scale(1.02); 
    }
    75% { 
        transform: translateX(8px) scale(1.02); 
    }
}

/* Pulse effect voor actieve vlekken */
@keyframes activePulse {
    0%, 100% {
        border-color: rgba(255, 215, 0, 0.6);
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    }
    50% {
        border-color: rgba(255, 215, 0, 0.9);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
}

/* Subtiele pulse voor actieve inktvlekken */
.inkblot-layer.active {
    animation: activePulse 3s ease-in-out infinite;
}

/* ===== MAART VRAAGTEKEN ITEM ===== */
.legend-item--locked {
    opacity: 0.75;
    cursor: default;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a2e 100%) !important;
    border: 3px dashed #555 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5) !important;
}

.legend-item--locked .legend-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
}

.legend-item--locked .legend-number {
    color: #888 !important;
}

.legend-question-mark {
    font-size: 2.8rem;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255,200,0,0.5));
    animation: questionPulse 2.5s ease-in-out infinite;
}

@keyframes questionPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255,200,0,0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 14px rgba(255,200,0,0.7)); }
}

.legend-item--locked .legend-title {
    color: #aaa !important;
    font-size: 0.85rem !important;
}

.legend-locked-label {
    font-size: 0.7rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 2px;
}

/* ===== SPELLEN PAGINA VRAAGTEKEN NAV KNOP ===== */
.nav-btn--locked {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a2e 100%) !important;
    border: 2px dashed #555 !important;
    color: #888 !important;
    cursor: not-allowed !important;
    position: relative;
    overflow: hidden;
}

.nav-btn--locked:hover {
    transform: none !important;
    box-shadow: none !important;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a2e 100%) !important;
}

.nav-btn--locked .lock-icon {
    font-size: 0.85em;
    margin-right: 4px;
}

/* ===== VRAAGTEKENS ACHTERGROND (front-page / login) ===== */
.question-marks-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.qm-float {
    position: absolute;
    font-size: 3rem;
    color: rgba(212, 165, 116, 0.22);
    user-select: none;
    line-height: 1;
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
}

/* Sommige vraagtekens subtiel laten bewegen */
.qm-float.qm-anim {
    animation: qmWobble ease-in-out infinite;
}

@keyframes qmWobble {
    0%, 100% { transform: rotate(-8deg) scale(1); }
    50%       { transform: rotate(8deg) scale(1.08); }
}
