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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #2d5016 0%, #1a3d0a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.game-container {
    width: 100%;
    max-width: 800px;
}

h1 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.back-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.score-info {
    display: flex;
    justify-content: space-around;
    color: white;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: bold;
}

.score-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
}

/* Vraag en invoer */
.question-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.question {
    font-size: 2.2em;
    font-weight: bold;
    color: #2d5016;
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
}

/* Rekenstrategie\u00ebn */
.strategies-box {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.strategies-box details {
    cursor: pointer;
}

.strategies-box summary {
    font-weight: bold;
    color: #2d5016;
    font-size: 1em;
    padding: 10px;
    user-select: none;
}

.strategies-box summary:hover {
    color: #1a3d0a;
}

#strategies {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ddd;
}

.strategy {
    background: white;
    padding: 12px;
    border-left: 4px solid #3a6b1f;
    border-radius: 5px;
    margin-bottom: 10px;
}

.strategy strong {
    color: #2d5016;
    display: block;
    margin-bottom: 8px;
}

.strategy-steps {
    background: #fafafa;
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    color: #555;
}

.step {
    padding: 3px 0;
    line-height: 1.5;
}

.step-hidden {
    padding: 3px 0;
    line-height: 1.5;
    color: #aaa;
    font-style: italic;
}

input {
    flex: 1;
    padding: 15px;
    font-size: 1.1em;
    border: 2px solid #3a6b1f;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #2d5016;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

#submit-btn {
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    background: linear-gradient(135deg, #3a6b1f 0%, #2d5016 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

#submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

#submit-btn:active {
    transform: scale(0.95);
}

.feedback {
    min-height: 40px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    display: none;
    margin-bottom: 20px;
}

.feedback.show {
    display: block;
}

.feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #155724;
}

.feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #721c24;
}

.stats {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
}

.reset-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    background: white;
    color: #2d5016;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: #f0f0f0;
}