/* Brainrot Rekenwereld - Styling */

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

/* Algemene hidden class */
.hidden {
    display: none !important;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard', cursive;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

/* Header met muntjes */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #ffd700;
}

.coin-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.coin-icon {
    font-size: 1.8rem;
    animation: coinSpin 2s infinite linear;
}

@keyframes coinSpin {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
}

.game-title {
    font-size: 1.8rem;
    text-shadow: 3px 3px 0 #ff6b6b, 6px 6px 0 rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

/* ==========================================
   SESSION TIMER
   ========================================== */
.session-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #4ade80;
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
    transition: all 0.3s ease;
}

.session-timer .timer-icon {
    font-size: 1.4rem;
}

.session-timer .timer-text {
    color: #4ade80;
    min-width: 50px;
    text-align: center;
}

.session-timer.timer-warning {
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: timerPulse 1s ease-in-out infinite;
}

.session-timer.timer-warning .timer-text {
    color: #fbbf24;
}

.session-timer.timer-expired {
    border-color: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.session-timer.timer-expired .timer-text {
    color: #ef4444;
}

/* Timer gepauzeerd (niet in oefening) */
.session-timer.timer-paused {
    border-color: #6b7280;
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
    opacity: 0.8;
}

.session-timer.timer-paused .timer-text {
    color: #9ca3af;
}

.session-timer.timer-paused .timer-icon {
    opacity: 0.7;
}

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

/* ==========================================
   TOP BAR (WC + STREAK)
   ========================================== */
/* Breed scherm: onzichtbare container, kinderen absoluut in de marges */
.top-bar {
    position: relative;
    height: 0;
}

/* ==========================================
   PLASPAUZE KNOP (WC BRAINROT)
   ========================================== */
.pause-btn {
    position: absolute;
    left: 15px;
    top: 5px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.pause-btn:hover {
    transform: scale(1.05);
}

.pause-btn .pause-icon {
    width: 240px;
    height: 240px;
    object-fit: contain;
    transition: all 0.3s ease;
    pointer-events: none; /* Laat clicks door naar de button */
}

/* Wiebel animatie tijdens pauze */
@keyframes wiggle {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Waterdruppels animatie */
@keyframes drip {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(25px) scale(0.5);
    }
}

@keyframes drip2 {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(-5px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(20px) translateX(-8px) scale(0.5);
    }
}

@keyframes drip3 {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(5px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(22px) translateX(8px) scale(0.5);
    }
}

/* Actieve pauze stand - WC is bezig! */
.pause-btn.active .pause-icon {
    animation: wiggle 0.3s ease-in-out infinite;
}

/* Meerdere waterdruppels */
.pause-btn.active::before,
.pause-btn.active::after {
    content: '💧';
    position: absolute;
    font-size: 28px;
    bottom: -15px;
    pointer-events: none;
}

.pause-btn.active::before {
    left: 50%;
    animation: drip 0.8s ease-in infinite;
}

.pause-btn.active::after {
    left: 35%;
    animation: drip2 0.9s ease-in infinite 0.2s;
}

/* Derde druppel via extra element */
.pause-btn.active .pause-icon::after {
    content: '💧';
    position: absolute;
    font-size: 12px;
    bottom: -20px;
    right: 5px;
    animation: drip3 1s ease-in infinite 0.4s;
}

/* Time Up Modal */
.time-up-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.time-up-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 4px solid #ffd700;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: popIn 0.5s ease;
}

.time-up-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

.time-up-content h2 {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.time-up-content p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.time-up-sub {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin-bottom: 25px !important;
}

.time-up-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time-up-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-up-btn.collection-btn {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
}

.time-up-btn.extend-btn {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
}

.time-up-btn:hover {
    transform: scale(1.05);
}

/* Timer Extended Message */
.timer-extended-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    padding: 15px 30px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    z-index: 2001;
    animation: slideDown 0.3s ease, fadeOut 0.5s ease 2.5s forwards;
}

@keyframes slideDown {
    from { transform: translateX(-50%) translateY(-50px); opacity: 0; }
    to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* ==========================================
   BRAINROT BUILDER BUTTON
   ========================================== */
.builder-button {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #9333ea;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.builder-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(147, 51, 234, 0.2),
        transparent
    );
    animation: shimmerBuilder 3s infinite;
}

@keyframes shimmerBuilder {
    0% { left: -100%; }
    100% { left: 100%; }
}

.builder-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.4);
}

.builder-button.unlocked {
    border-color: #a855f7;
    background: linear-gradient(145deg, #4c1d95, #2d2d44);
}

.builder-button.unlocked:hover {
    box-shadow: 0 6px 25px rgba(168, 85, 247, 0.5);
}

.builder-icon {
    font-size: 2.5rem;
}

.builder-text {
    flex: 1;
    text-align: left;
}

.builder-text h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 3px;
}

.builder-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.builder-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 80px;
}

.builder-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.builder-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9333ea, #a855f7);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.builder-progress-text {
    font-size: 0.85rem;
    color: #a855f7;
    font-weight: bold;
}

/* Builder Section (onder game cards) */
.builder-section {
    max-width: 500px;
    margin: 25px auto;
    padding: 0 20px;
}

.builder-section .builder-button {
    width: 100%;
    background: linear-gradient(145deg, #1a1a2e, #2d2d44);
    border: 2px dashed #9333ea;
    opacity: 0.9;
}

.builder-section .builder-button:hover {
    opacity: 1;
    border-style: solid;
}

.builder-section .builder-progress-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Builder Locked Modal */
.builder-locked-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 4px solid #9333ea;
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    max-width: 380px;
    animation: popIn 0.5s ease;
}

.builder-locked-content.unlocked {
    border-color: #a855f7;
    background: linear-gradient(145deg, #4c1d95, #2d2d44);
}

.builder-locked-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.builder-locked-content h2 {
    font-size: 1.8rem;
    color: #a855f7;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.builder-locked-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.builder-locked-progress {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.builder-locked-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.builder-locked-fill {
    height: 100%;
    background: linear-gradient(90deg, #9333ea, #a855f7, #c084fc);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.builder-locked-text {
    font-size: 1.2rem !important;
    color: #a855f7 !important;
    font-weight: bold;
    margin-bottom: 5px !important;
}

.builder-locked-percent {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.builder-preview-teaser {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.builder-preview-teaser p {
    font-size: 1rem !important;
    color: #c084fc !important;
    font-weight: bold;
    margin-bottom: 10px !important;
}

.builder-preview-teaser ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.builder-preview-teaser li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.builder-preview-teaser li::before {
    content: '✨';
    position: absolute;
    left: 0;
}

.builder-coming-soon {
    background: rgba(168, 85, 247, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.builder-coming-soon p:first-child {
    font-size: 1.5rem !important;
    font-weight: bold;
    margin-bottom: 10px !important;
}

.builder-soon-text {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.builder-close-btn {
    background: linear-gradient(145deg, #9333ea, #7c3aed);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.builder-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.5);
}

/* Screens */
.screen {
    display: none;
    padding: 0 20px 20px 20px;
    max-width: 900px;
    margin: 0 auto;
    background: none;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.screen.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welkomstbericht */
.welcome-message {
    text-align: center;
    margin: 5px 0 20px 0;
}

.welcome-message h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.welcome-message p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Daily Mix Button */
.daily-mix-button {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px 30px;
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    border: 3px solid #ffd700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    position: relative;
    overflow: hidden;
}

.daily-mix-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.daily-mix-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.5);
}

.daily-mix-button:active {
    transform: scale(0.98);
}

.mix-icon {
    font-size: 3rem;
    animation: diceSpin 2s infinite;
}

@keyframes diceSpin {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.mix-text {
    flex: 1;
    text-align: left;
}

.mix-text h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.mix-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.mix-reward {
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1rem;
}

/* Daily Mix Progress Bar */
.mix-progress-container {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mix-progress-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.mix-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.mix-progress-text {
    font-weight: bold;
    min-width: 80px;
    text-align: center;
}

.mix-exit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}

.mix-exit-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Daily Mix Complete Modal */
.daily-mix-complete-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.mix-complete-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 4px solid #ffd700;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.mix-complete-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.mix-complete-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mix-complete-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.mix-bonus {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    padding: 15px 30px;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    display: inline-block;
    animation: pulse 1s infinite;
}

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

.mix-complete-content button {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mix-complete-content button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.5);
}

/* ==========================================
   STREAK DISPLAY
   ========================================== */
.streak-display {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #ff6b35;
    border-radius: 20px;
    padding: 15px 25px;
    margin: 0 auto 20px;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.streak-display.streak-hot {
    border-color: #ff4500;
    box-shadow: 0 4px 25px rgba(255, 69, 0, 0.5),
                0 0 30px rgba(255, 107, 53, 0.3);
    animation: streakGlow 2s ease-in-out infinite;
}

@keyframes streakGlow {
    0%, 100% { box-shadow: 0 4px 25px rgba(255, 69, 0, 0.5), 0 0 30px rgba(255, 107, 53, 0.3); }
    50% { box-shadow: 0 4px 35px rgba(255, 69, 0, 0.7), 0 0 50px rgba(255, 107, 53, 0.5); }
}

.streak-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.streak-fire {
    font-size: 2rem;
    animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(5deg); }
}

.streak-count {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.streak-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.streak-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
    font-style: italic;
}

.streak-record {
    font-size: 0.9rem;
    color: #ffd700;
    margin-bottom: 5px;
}

.streak-today {
    font-size: 1rem;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
}

/* Streak uitklapbaar indicator */
.streak-expand {
    margin-left: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.streak-display:hover .streak-expand {
    color: #ffd700;
}

/* Cursor om aan te geven dat het klikbaar is */
.streak-display {
    cursor: pointer;
}

/* Uitklapbaar milestone details panel */
.streak-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    text-align: left;
}

.milestone-header {
    font-size: 0.95rem;
    color: #ffd700;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.milestone-item:hover {
    background: rgba(255, 215, 0, 0.1);
}

.milestone-item.earned {
    opacity: 0.5;
    background: rgba(0, 128, 0, 0.2);
}

.milestone-item.earned .milestone-name {
    text-decoration: line-through;
}

.milestone-item.ready {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid #ffd700;
    animation: readyPulse 1s ease-in-out infinite;
}

@keyframes readyPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
}

.milestone-icon {
    font-size: 1.5rem;
    min-width: 35px;
    text-align: center;
}

.milestone-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.milestone-name {
    font-size: 0.95rem;
    font-weight: bold;
    color: white;
}

.milestone-reward {
    font-size: 0.75rem;
    color: #ffd700;
}

.milestone-days {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    min-width: 30px;
    text-align: center;
}

.milestone-status {
    font-size: 0.8rem;
    color: #4ade80;
    min-width: 90px;
    text-align: right;
}

.milestone-item.earned .milestone-status {
    color: #22c55e;
}

.milestone-item.ready .milestone-status {
    color: #ffd700;
    font-weight: bold;
}

/* Streak Milestone Modal */
.streak-milestone-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.streak-milestone-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 4px solid #ff6b35;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    animation: popIn 0.5s ease;
}

.streak-milestone-icon {
    font-size: 5rem;
    margin-bottom: 15px;
    animation: fireFlicker 0.3s ease-in-out infinite alternate;
}

.streak-milestone-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.streak-milestone-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.streak-milestone-reward {
    background: linear-gradient(145deg, #ff6b35, #e55a2b);
    color: white;
    padding: 15px 30px;
    border-radius: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    display: inline-block;
    animation: pulse 1s infinite;
}

.streak-milestone-content button {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.streak-milestone-content button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.5);
}

/* Game Cards - Menu */
.game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Video Play Hint op Game Card */
.video-play-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 5;
}

.video-play-hint:hover {
    background: #ffd700;
    transform: scale(1.1);
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.video-modal.hidden {
    display: none;
}

.video-modal-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border-radius: 20px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    border: 3px solid #ffd700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
    position: relative;
}

.video-modal-content video {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    display: block;
}

.video-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-close-btn:hover {
    transform: scale(1.1);
    background: #c0392b;
}

.video-actions {
    margin-top: 15px;
    text-align: center;
}

.video-start-btn {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.video-start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

.game-card {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #4a9eff;
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.game-card:hover:not(.locked) {
    transform: translateY(-10px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.4);
}

.game-card:active:not(.locked) {
    transform: translateY(-5px) scale(0.98);
}

.game-card.locked {
    opacity: 0.5;
    border-color: #555;
    cursor: not-allowed;
    filter: grayscale(70%);
    position: relative;
}

.game-card.locked::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 10;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.game-card.locked .character-img {
    animation: none;
}

/* Locked exercise message */
.locked-exercise-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 2px solid #fbbf24;
    border-radius: 15px;
    padding: 15px 25px;
    z-index: 2001;
    animation: slideDown 0.3s ease, fadeOut 0.5s ease 2s forwards;
}

.locked-msg-content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1.1rem;
}

.locked-msg-icon {
    font-size: 1.5rem;
}

.character-emoji {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.character-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #4a9eff;
}

.game-card p {
    font-size: 1rem;
    color: white;
    opacity: 0.9;
}

.difficulty {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
}

.lock-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
}

.unlock-text {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffd700;
}

/* Back button */
.back-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

/* Oefening titel */
.oefening-titel {
    text-align: center;
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(74, 158, 255, 0.3);
}

/* Character Display */
.character-display {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.character-image {
    font-size: 5rem;
    animation: characterBounce 1s infinite;
}

.character-image-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    animation: characterBounce 1s infinite;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

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

.speech-bubble {
    background: white;
    color: #333;
    padding: 15px 20px;
    border-radius: 20px;
    position: relative;
    max-width: 300px;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.speech-bubble::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 20px;
    border: 10px solid transparent;
    border-right-color: white;
}

/* Som Display */
.sum-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border-radius: 20px;
    border: 3px solid #4a9eff;
}

.sum-display .operator,
.sum-display .equals {
    color: #ffd700;
}

#answer-display {
    color: #4a9eff;
    min-width: 80px;
    text-align: center;
}

/* Getallenlijn - Verbeterd */
.number-line-container {
    position: relative;
    margin: 40px 0;
    padding: 80px 20px 30px;
    background: linear-gradient(180deg, rgba(74, 158, 255, 0.05) 0%, rgba(74, 158, 255, 0.15) 100%);
    border-radius: 20px;
}

.number-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 70px;
    border-bottom: 6px solid #4a9eff;
    position: relative;
    background: linear-gradient(90deg,
        rgba(255,107,107,0.1) 0%,
        rgba(255,215,0,0.2) 50%,
        rgba(46,204,113,0.1) 100%);
    border-radius: 0 0 10px 10px;
}

/* Lijn met pijlpunt aan het einde */
.number-line::after {
    content: '▶';
    position: absolute;
    right: -15px;
    bottom: -12px;
    color: #4a9eff;
    font-size: 1.2rem;
}

.number-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s ease;
    cursor: default;
    z-index: 2;
}

.number-marker:hover {
    transform: scale(1.1);
}

.number-marker::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #4a9eff 0%, #2980b9 100%);
    margin-bottom: 8px;
    border-radius: 2px;
}

.number-marker.highlight {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.number-marker.highlight::before {
    background: linear-gradient(180deg, #ffd700 0%, #f39c12 100%);
    height: 30px;
    width: 6px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Speciale marker voor 10 (belangrijkste getal!) */
.number-marker.ten-marker {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.4rem;
}

.number-marker.ten-marker::before {
    background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
    height: 35px;
    width: 6px;
}

.number-marker.ten-marker::after {
    content: '♥';
    position: absolute;
    top: -25px;
    font-size: 1rem;
    color: #e74c3c;
    animation: heartPulse 1s ease infinite;
}

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

/* Sprongen op getallenlijn - Verbeterd */
.jumps-container {
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 70px;
}

.jump-arc {
    position: absolute;
    border: 4px solid;
    border-bottom: none;
    border-radius: 50% 50% 0 0;
    animation: jumpBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: bottom center;
}

/* Eerste sprong (naar 10) - Rood/Roze */
.jump-arc.first-jump {
    border-color: #e74c3c;
    height: 50px;
    background: linear-gradient(180deg, rgba(231, 76, 60, 0.1) 0%, transparent 100%);
}

/* Tweede sprong (vanaf 10) - Groen */
.jump-arc.second-jump {
    border-color: #2ecc71;
    height: 35px;
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.1) 0%, transparent 100%);
}

@keyframes jumpBounce {
    0% { transform: scaleY(0) scaleX(0.8); opacity: 0; }
    50% { transform: scaleY(1.1) scaleX(1); }
    70% { transform: scaleY(0.95); }
    100% { transform: scaleY(1) scaleX(1); opacity: 1; }
}

.jump-label {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    animation: labelPop 0.3s ease 0.3s both;
}

.first-jump .jump-label {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.second-jump .jump-label {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}

@keyframes labelPop {
    0% { transform: translateX(-50%) scale(0); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(1); }
}

/* Karakter icoon op de lijn */
.line-character {
    position: absolute;
    font-size: 3rem;
    transition: left 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    top: 5px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 10;
}

.line-character.jumping {
    animation: characterJump 0.6s ease;
}

@keyframes characterJump {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-10deg); }
    50% { transform: translateY(-30px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(10deg); }
}

/* Oude shark-icon voor backwards compatibility */
.shark-icon {
    position: absolute;
    font-size: 2.5rem;
    transition: left 0.5s ease;
    top: -10px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

/* Steps Container */
.steps-container {
    margin-top: 30px;
}

.step {
    background: rgba(74, 158, 255, 0.1);
    border: 2px solid rgba(74, 158, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.step.hidden {
    display: none;
}

.step.completed {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ecc71;
}

.completed-text {
    color: #2ecc71;
    font-weight: bold;
}

.step-question {
    font-size: 1.3rem;
    flex: 1;
    min-width: 200px;
    color: white;
}

.step-hint {
    font-size: 0.95rem;
    color: #ffd700;
    opacity: 0.85;
    font-style: italic;
    width: 100%;
    margin-top: -5px;
    margin-bottom: 5px;
}

.step-input, .final-input {
    width: 80px;
    height: 50px;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid #4a9eff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.2s;
}

.step-input:focus, .final-input:focus {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.check-button {
    background: linear-gradient(145deg, #4a9eff, #2d7dd2);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.check-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.check-button:active {
    transform: translateY(0);
}

.check-button.big {
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    color: #333;
    padding: 15px 40px;
    font-size: 1.3rem;
}

.step-feedback {
    font-size: 1.5rem;
    margin-left: 10px;
}

/* Final Answer */
.final-answer {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.1));
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    margin-top: 20px;
}

.final-answer.hidden {
    display: none;
}

.final-question {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Success Screen */
.success-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.success-screen.hidden {
    display: none;
}

.success-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 4px solid #ffd700;
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    animation: popIn 0.5s ease;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-emoji {
    font-size: 5rem;
    animation: celebrate 0.5s ease infinite;
}

.success-emoji img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

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

.success-content h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: #ffd700;
}

.coin-reward {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 25px;
    animation: pulse 1s ease infinite;
}

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

.next-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 20px rgba(46, 204, 113, 0.4);
}

.next-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
}

/* Streak counter - SIMPELE VERSIE */
.streak-display {
    position: absolute;
    top: 5px;
    right: 15px;
    background: linear-gradient(145deg, #ff6b6b, #ee5a5a);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    cursor: pointer;
    color: white;
    font-weight: bold;
    z-index: 100;
}

.streak-top {
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
}

.streak-sub {
    font-size: 0.7rem;
    text-align: center;
    opacity: 0.9;
    margin-top: 4px;
}

.streak-expand {
    color: #ffd700;
    margin-left: 5px;
}

.streak-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.streak-details .milestone-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 0.85rem;
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    margin-bottom: 5px;
    color: white;
    font-weight: bold;
}

.streak-details .milestone-item:last-child {
    margin-bottom: 0;
}

.streak-details .ms {
    color: #ffff00;
}

.milestone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.75rem;
}

.milestone-item.earned {
    opacity: 0.5;
}

.milestone-icon {
    font-size: 1rem;
}

.milestone-name {
    flex: 1;
    font-size: 0.7rem;
}

.milestone-status {
    font-size: 0.65rem;
    color: #90EE90;
}

.milestone-item.earned .milestone-status {
    color: #22c55e;
}

/* Niet meer nodig: */
.milestone-info,
.milestone-reward,
.milestone-days,
.milestone-item.ready,
.milestone-item.earned .milestone-name {
    /* legacy - kan later weg */
    opacity: 0.8;
}

.milestone-days {
    font-size: 0.7rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.milestone-status {
    font-size: 0.65rem;
    text-align: right;
    flex-shrink: 0;
    color: #90EE90;
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Confetti Effect */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 12px;
    height: 12px;
    animation: confettiFall linear forwards;
}

.confetti.circle { border-radius: 50%; }
.confetti.square { border-radius: 2px; }
.confetti.star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes confettiFall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Vriendjes van 10 Hartjes Visualisatie */
.friends-of-ten {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.heart-pair {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.heart-pair.active {
    background: rgba(231, 76, 60, 0.3);
    border-color: #e74c3c;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.4);
}

.heart-pair .heart {
    color: #e74c3c;
    font-size: 1.2rem;
}

.heart-pair .numbers {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Help Hint Verbeterd */
.help-hint {
    background: linear-gradient(145deg, #fff3e0, #ffe0b2);
    border: 3px solid #ff9800;
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
    animation: hintPop 0.4s ease;
}

.help-hint .hint-title {
    color: #e65100;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-hint .hint-pairs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.help-hint .hint-pairs span {
    background: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: bold;
    border: 2px solid #ffcc80;
    transition: all 0.2s;
}

.help-hint .hint-pairs span.highlight {
    background: #e74c3c;
    color: white;
    border-color: #c0392b;
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.4);
}

@keyframes hintPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 600px) {
    .game-title {
        font-size: 1.2rem;
    }

    .sum-display {
        font-size: 2.5rem;
    }

    .character-display {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .speech-bubble::before {
        display: none;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .game-cards {
        grid-template-columns: 1fr;
    }
}

/* Help hint voor vriendjes van 10 */
.help-hint {
    background: linear-gradient(145deg, #fff3cd, #ffeaa7);
    color: #333;
    padding: 15px 20px;
    border-radius: 15px;
    margin-top: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
    border: 2px solid #f39c12;
}

.hint-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.hint-pairs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hint-pairs span {
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 1rem;
}

.hint-pairs span.highlight {
    background: #2ecc71;
    color: white;
    font-weight: bold;
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.4);
}

/* Extra game-achtige effecten */
.shake {
    animation: shake 0.5s ease;
}

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

/* Combo text voor streak */
.combo-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 3px 3px 0 #ff6b6b;
    pointer-events: none;
    animation: comboAppear 1s ease forwards;
    z-index: 999;
}

@keyframes comboAppear {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    30% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* ==========================================
   SPLITSINGEN GAME STYLES
   ========================================== */

/* Mode selector */
.splits-mode-selector {
    text-align: center;
    padding: 20px;
}

.splits-mode-selector p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.mode-btn {
    background: linear-gradient(145deg, #f39c12, #e67e22);
    border: 3px solid transparent;
    color: white;
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.mode-btn:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.mode-btn:active {
    transform: scale(0.95);
}

.mode-btn.active {
    border: 3px solid #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.mode-icon {
    font-size: 2.5rem;
}

.mode-name {
    font-size: 1.1rem;
    font-weight: bold;
}

.mode-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Pijldiagram */
.pijl-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 20px 0;
}

.pijl-top-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.pijl-arrows {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 10px;
}

.pijl-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pijl-arrow {
    font-size: 3rem;
    color: #4a9eff;
    animation: arrowPulse 1.5s infinite;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.7; transform: translateY(5px); }
}

.pijl-dropzone {
    width: 100px;
    height: 70px;
    border: 4px dashed #4a9eff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    background: rgba(74, 158, 255, 0.1);
    transition: all 0.2s;
    font-size: 1.5rem;
    font-weight: bold;
}

.pijl-dropzone.drag-over {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.pijl-dropzone.filled {
    border-style: solid;
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
}

.dropzone-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}

/* Drag cards */
.drag-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    margin: 20px 0;
}

.drag-card {
    width: 70px;
    height: 50px;
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    border: 3px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    cursor: grab;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
    touch-action: none;
    user-select: none;
}

.drag-card:hover {
    transform: scale(1.1);
    border-color: #ffd700;
}

.drag-card:active, .drag-card.dragging {
    cursor: grabbing;
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.5);
    z-index: 100;
}

.drag-card.used {
    opacity: 0.3;
    pointer-events: none;
}

.drag-cards.large .drag-card {
    width: 90px;
    height: 65px;
    font-size: 1.8rem;
}

/* Kaarten oefening */
.kaarten-instruction {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.kaarten-instruction span {
    color: #ffd700;
    font-size: 2rem;
    font-weight: bold;
}

.kaarten-dropzone {
    min-width: 200px;
    min-height: 80px;
    border: 4px dashed #4a9eff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px auto;
    padding: 15px;
    background: rgba(74, 158, 255, 0.1);
    transition: all 0.2s;
    flex-wrap: wrap;
}

.kaarten-dropzone.drag-over {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.02);
}

.equals-sign {
    font-size: 3rem;
    color: #ffd700;
    text-align: center;
    margin: 10px 0;
}

.kaarten-result {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    color: #4a9eff;
    margin-bottom: 20px;
}

/* Blokken oefening (verbeterd) */
.splits-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.splits-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.splits-equals {
    font-size: 3rem;
    color: #4a9eff;
}

.splits-parts {
    display: flex;
    align-items: center;
    gap: 10px;
}

.splits-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.splits-input {
    width: 90px;
    height: 70px;
    font-size: 2rem;
    text-align: center;
    border: 3px solid #4a9eff;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.splits-input:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.input-label {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.7;
}

.splits-plus {
    font-size: 2.5rem;
    color: #ffd700;
}

.blocks-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin: 20px 0;
}

.blocks-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.block {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    animation: blockAppear 0.3s ease;
}

@keyframes blockAppear {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.tens-block {
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #f39c12, #e67e22);
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.ones-block {
    width: 35px;
    height: 35px;
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

.splits-feedback {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* Touch-friendly improvements */
@media (pointer: coarse) {
    .drag-card {
        width: 85px;
        height: 60px;
        font-size: 1.8rem;
    }

    .pijl-dropzone {
        width: 120px;
        height: 85px;
    }

    .mode-btn {
        min-width: 160px;
        padding: 25px;
    }

    .splits-input {
        width: 100px;
        height: 80px;
        font-size: 2.2rem;
    }
}

/* ==========================================
   TAFELS GAME STYLES
   ========================================== */
.tafel-selector {
    text-align: center;
    padding: 30px;
}

.tafel-selector p {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.tafel-mode-label {
    margin-top: 25px;
    font-size: 1.1rem;
    color: #ffd700;
}

.tafel-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.tafel-btn {
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.tafel-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

.tafel-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.tafel-mode-buttons .mode-btn {
    background: linear-gradient(145deg, #34495e, #2c3e50);
    border: 2px solid #4a9eff;
    color: white;
    padding: 10px 15px;
    min-width: auto;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.tafel-mode-buttons .mode-btn.active {
    background: linear-gradient(145deg, #4a9eff, #2980b9);
    border-color: #ffd700;
}

.tafel-mode-buttons .mode-btn:hover {
    transform: scale(1.05);
}

.tafel-mode-buttons .mode-icon {
    font-size: 1.2rem;
    display: block;
}

.tafel-mode-buttons .mode-name {
    font-size: 0.8rem;
    display: block;
}

/* Herhaald optellen weergave */
.herhaald-optellen {
    font-size: 1.8rem;
    color: #ffd700;
    word-wrap: break-word;
    max-width: 80%;
}

.groepjes-vraag {
    font-size: 1.5rem;
    color: white;
}

.tafel-som {
    text-align: center;
}

.tafel-display {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
}

/* Keersom header boven andere oefenvormen */
.keersom-header {
    font-size: 3.5rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

/* Herhaald optellen wrapper - OUDE stijl (naast) */
.herhaald-optellen-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Herhaald optellen - NIEUWE stijl (eronder) */
.herhaald-optellen-onder {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.herhaald-optellen {
    font-size: 1.6rem;
    color: #f39c12;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 10px;
}

/* Antwoord rij onder de som */
.tafel-antwoord-rij {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 3rem;
}

/* Normale keersom rij (horizontaal) */
.normale-keersom-rij {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 3rem;
}

/* Groepjes vraag wrapper (LEGACY) */
.groepjes-vraag-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.groepjes-vraag {
    font-size: 1.5rem;
    color: white;
}

/* NIEUWE visuele groepjes met context */
.groepjes-context-vraag {
    text-align: center;
    margin-bottom: 15px;
}

.context-tekst {
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.5;
    display: block;
    max-width: 90%;
    margin: 0 auto;
}

.visuele-groep {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    min-width: 60px;
    position: relative;
}

.groep-container {
    margin-top: 5px;
}

.container-emoji {
    font-size: 2.5rem;
}

.groep-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    max-width: 100px;
    margin-bottom: 5px;
}

.groep-item {
    font-size: 1.3rem;
}

.tafel-input {
    width: 100px;
    height: 70px;
    font-size: 2rem;
    text-align: center;
    border: 3px solid #9b59b6;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.tafel-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin: 20px 0;
}

.tafel-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: rgba(155, 89, 182, 0.2);
    border: 2px solid rgba(155, 89, 182, 0.5);
    border-radius: 10px;
    min-width: 50px;
}

.tafel-item {
    font-size: 1.5rem;
}

.group-label {
    margin-top: 5px;
    font-weight: bold;
    color: #ffd700;
}

.tafel-feedback {
    background: rgba(155, 89, 182, 0.2);
    border: 2px solid #9b59b6;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   SPRONGEN GAME STYLES
   ========================================== */

/* Sprongen mode selector */
.sprongen-selector {
    text-align: center;
    padding: 20px;
}

.sprongen-selector p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.sprongen-mode-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.start-btn {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
}

.start-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.sprongen-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 3rem;
    font-weight: bold;
    margin: 30px 0;
}

.sprongen-input {
    width: 100px;
    height: 70px;
    font-size: 2rem;
    text-align: center;
    border: 3px solid #2ecc71;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sprongen-line-container {
    position: relative;
    margin: 40px 20px;
    padding: 40px 0;
}

.sprongen-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 4px solid #2ecc71;
    padding-bottom: 10px;
}

.sprongen-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.sprongen-marker::before {
    content: '';
    width: 3px;
    height: 20px;
    background: #2ecc71;
    margin-bottom: 5px;
}

.sprongen-marker span {
    font-size: 1.2rem;
    font-weight: bold;
}

.sprongen-marker.start span {
    color: #ffd700;
    font-size: 1.4rem;
}

.sprongen-marker.end span {
    color: #2ecc71;
    font-size: 1.4rem;
}

.giraffe-icon {
    position: absolute;
    top: 0;
    font-size: 2.5rem;
    transform: translateX(-50%);
    transition: left 0.5s ease;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.3));
}

/* Giraf spring-animatie */
.giraffe-icon.jumping {
    animation: giraffeJump 0.3s ease;
}

@keyframes giraffeJump {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); }
}

/* Speciale marker voor niet-ronde getallen */
.sprongen-marker.special {
    background: linear-gradient(145deg, #ff6b6b, #ee5a5a);
    border: 2px solid #fff;
    padding: 3px 8px;
    border-radius: 5px;
    transform: translateX(-50%);
    z-index: 5;
}

.sprongen-marker.special span {
    font-weight: bold;
    color: white;
}

.sprongen-feedback {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   KLOK GAME STYLES
   ========================================== */
.klok-selector {
    text-align: center;
    padding: 20px;
}

.klok-selector p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.klok-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.klok-display {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.analoge-klok {
    width: 250px;
    height: 250px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.digitale-klok {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4), inset 0 2px 4px rgba(255,255,255,0.1);
    border: 3px solid #333;
}

.digitale-klok-uren,
.digitale-klok-minuten {
    font-family: 'Courier New', monospace;
    font-size: 72px;
    font-weight: bold;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    letter-spacing: 4px;
    min-width: 90px;
    text-align: center;
}

.digitale-klok-dubbelpunt {
    font-family: 'Courier New', monospace;
    font-size: 72px;
    font-weight: bold;
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: klok-blink 1s step-end infinite;
    margin: 0 4px;
}

@keyframes klok-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.klok-opties {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 400px;
    margin: 20px auto;
}

.klok-optie-btn {
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: 3px solid transparent;
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.klok-optie-btn:hover {
    transform: scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.klok-feedback {
    background: rgba(52, 152, 219, 0.2);
    border: 2px solid #3498db;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   GELD GAME STYLES
   ========================================== */
.geld-selector {
    text-align: center;
    padding: 20px;
}

.geld-selector p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.geld-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.geld-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 20px 0;
    min-height: 120px;
}

.munt {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.3);
    animation: muntDrop 0.3s ease;
}

@keyframes muntDrop {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.munt-waarde {
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

.bedrag-display {
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.betaal-situatie {
    text-align: center;
}

.betaal-situatie .product {
    font-size: 2rem;
    margin-bottom: 15px;
}

.betaal-situatie .betaling {
    font-size: 1.5rem;
    color: #2ecc71;
}

.geld-vraag {
    text-align: center;
    margin: 20px 0;
}

.geld-vraag p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.geld-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.euro-teken {
    font-size: 2rem;
    color: #ffd700;
}

.geld-input {
    width: 120px;
    height: 60px;
    font-size: 1.8rem;
    text-align: center;
    border: 3px solid #f39c12;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.geld-feedback {
    background: rgba(243, 156, 18, 0.2);
    border: 2px solid #f39c12;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   GEWICHT GAME STYLES
   ========================================== */
.weegschaal-container {
    display: flex;
    justify-content: center;
    padding: 30px;
}

.weegschaal-arm {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    transition: transform 0.5s ease;
}

.weegschaal-links,
.weegschaal-rechts {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    min-width: 120px;
}

.schaal-item {
    font-size: 4rem;
    margin-bottom: 10px;
}

.schaal-gewicht {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.weegschaal-midden {
    font-size: 3rem;
    padding-top: 30px;
}

.gewicht-vraag {
    text-align: center;
    margin: 20px 0;
}

.gewicht-vraag p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.gewicht-keuzes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gewicht-btn {
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    border: 3px solid transparent;
    color: white;
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
}

.gewicht-btn:hover {
    transform: scale(1.05);
    border-color: #ffd700;
}

.gewicht-feedback {
    background: rgba(155, 89, 182, 0.2);
    border: 2px solid #9b59b6;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* Gewicht invoer container (voor totaal/verschil oefeningen) */
.gewicht-invoer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gewicht-input {
    width: 100px;
    padding: 15px;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid #9b59b6;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-weight: bold;
}

.gewicht-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.gewicht-eenheid {
    font-size: 1.5rem;
    font-weight: bold;
    color: #9b59b6;
}

/* ==========================================
   VERHAAL GAME STYLES
   ========================================== */
.verhaal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    margin: 20px 0;
}

.verhaal-plaatje {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: storyBounce 2s infinite;
}

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

.verhaal-tekst {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: center;
    max-width: 500px;
}

.verhaal-vraag {
    text-align: center;
    margin: 20px 0;
}

.verhaal-vraag p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.verhaal-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verhaal-input {
    width: 100px;
    height: 60px;
    font-size: 1.8rem;
    text-align: center;
    border: 3px solid #e67e22;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.verhaal-eenheid {
    font-size: 1.2rem;
    color: #bdc3c7;
}

.verhaal-feedback {
    background: rgba(230, 126, 34, 0.2);
    border: 2px solid #e67e22;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

/* ==========================================
   REKENREK GAME STYLES
   ========================================== */
.rekenrek-selector {
    text-align: center;
    padding: 20px;
}

.rekenrek-selector p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.rekenrek-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

/* Uitleg box bovenaan rekenrek */
.rekenrek-uitleg-box {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 15px;
    text-align: center;
}

.rekenrek-uitleg-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.rekenrek-opdracht {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.rekenrek-vraag {
    font-size: 1.5rem;
    color: white;
}

.rekenrek-vraag strong {
    color: #ffd700;
    font-size: 2rem;
}

/* Het rekenrek frame */
.rekenrek-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.rekenrek-frame {
    background: linear-gradient(145deg, #8B4513, #654321);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 2px 5px rgba(255, 255, 255, 0.1);
    border: 4px solid #5D3A1A;
}

/* Labels boven het rekenrek */
.rekenrek-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 10px;
}

.rekenrek-labels span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.label-links {
    color: rgba(255, 255, 255, 0.4) !important;
}

.label-rechts {
    color: #ffd700 !important;
}

/* Rij teller aan de rechterkant */
.rij-teller {
    position: absolute;
    right: -45px;
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.rekenrek-rij {
    position: relative;
    height: 60px;
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.rekenrek-staaf {
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to bottom, #A0A0A0, #808080, #A0A0A0);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.kralen-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

/* Individuele kraal */
.kraal {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transition: transform 0.15s ease, left 0.2s ease;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    touch-action: none;
    z-index: 10;
}

/* Kraal kleuren - eerste 5 rood, laatste 5 geel */
.kraal.rood {
    background: radial-gradient(circle at 30% 30%, #ff6b6b, #e74c3c, #c0392b);
    border: 2px solid #a93226;
}

.kraal.geel {
    background: radial-gradient(circle at 30% 30%, #ffe066, #f1c40f, #d4ac0d);
    border: 2px solid #b7950b;
}

/* Kraal hover en active states */
.kraal:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.5);
}

.kraal.dragging {
    transform: scale(1.15);
    z-index: 100;
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.5),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.5);
    cursor: grabbing;
}

/* Inactieve kralen (links) zijn doorzichtig - "niet geteld" */
.kraal:not(.actief) {
    opacity: 0.25;
    filter: grayscale(60%);
}

/* Actieve kralen (rechts) zijn fel en tellen mee */
.kraal.actief {
    opacity: 1;
    filter: none;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.6),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2),
        inset 0 3px 6px rgba(255, 255, 255, 0.4);
}

/* Teller onder het rekenrek */
.rekenrek-teller {
    margin-top: 25px;
    padding: 15px 30px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #ffd700;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.teller-label {
    font-size: 1.2rem;
    color: #bdc3c7;
}

.teller-waarde {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    min-width: 60px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.rekenrek-feedback {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.rekenrek-feedback.correct {
    background: rgba(46, 204, 113, 0.2);
    border-color: #2ecc71;
}

/* Swipe hint animatie */
.swipe-hint {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: swipeHintPulse 2s infinite;
    white-space: nowrap;
}

@keyframes swipeHintPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

/* Swipe arrow indicator */
.swipe-arrow {
    display: inline-block;
    animation: swipeArrowMove 1s infinite;
}

@keyframes swipeArrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Responsive voor rekenrek */
@media (max-width: 500px) {
    .rekenrek-frame {
        padding: 15px 20px;
    }

    .kraal {
        width: 35px;
        height: 35px;
    }

    .rekenrek-rij {
        height: 50px;
    }
}

/* Touch-friendly rekenrek */
@media (pointer: coarse) {
    .kraal {
        width: 50px;
        height: 50px;
    }

    .rekenrek-rij {
        height: 70px;
        margin: 20px 0;
    }

    .rekenrek-frame {
        padding: 30px 40px;
    }
}

/* ==========================================
   RIJGEN MODE SELECTOR (Optellen/Aftrekken)
   ========================================== */
.rijgen-selector {
    text-align: center;
    padding: 20px;
}

.rijgen-selector p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.rijgen-mode-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.start-button {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

/* Rijgen oefening container */
.rijgen-oefening {
    animation: fadeIn 0.3s ease;
}

/* Aftrekken sprongen (naar links op getallenlijn) */
.jump-arc.jump-left {
    /* Boog blijft zelfde, alleen label toont min-teken */
}

/* ==========================================
   KLOK "X UUR LATER" STYLING
   ========================================== */
.klok-later-vraag {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(255, 170, 0, 0.1));
    border: 3px solid #ffd700;
    border-radius: 15px;
}

.klok-later-vraag p {
    font-size: 1.4rem;
    color: white;
    margin: 0;
    line-height: 1.6;
}

.klok-later-vraag strong {
    color: #ffd700;
    font-size: 1.6rem;
}

/* ==========================================
   GELD "MAAK HET BEDRAG" STYLING
   ========================================== */
.geld-maken-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.doel-bedrag-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.doel-label {
    font-size: 1.2rem;
    color: #ccc;
}

.doel-waarde {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.geld-dropzone {
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.2));
    border: 3px dashed #2ecc71;
    border-radius: 15px;
    padding: 20px;
    min-height: 120px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dropzone-tekst {
    color: #aaa;
    font-style: italic;
    margin: 0;
}

.gesleepte-munten {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.gesleepte-munt {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
    animation: muntDrop 0.3s ease;
}

.gesleepte-munt:hover {
    transform: scale(1.1);
}

.gesleepte-munt.euro1 {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    border: 3px solid #888;
    color: #333;
}

.gesleepte-munt.euro2 {
    background: linear-gradient(145deg, #ffd700, #daa520);
    border: 3px solid #b8860b;
    color: #333;
}

.gesleepte-munt.euro5 {
    background: linear-gradient(145deg, #90ee90, #32cd32);
    border: 3px solid #228b22;
    color: #fff;
    border-radius: 8px;
    width: 55px;
}

@keyframes muntDrop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.huidige-totaal {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.beschikbare-munten {
    text-align: center;
}

.beschikbare-munten p {
    color: #ccc;
    margin-bottom: 15px;
}

.munt-knoppen {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.munt-knop {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.munt-knop:hover {
    transform: scale(1.15);
}

.munt-knop:active {
    transform: scale(0.95);
}

.munt-cirkel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
}

.munt-cirkel.euro1 {
    background: linear-gradient(145deg, #c0c0c0, #a0a0a0);
    border: 4px solid #888;
    color: #333;
}

.munt-cirkel.euro2 {
    background: linear-gradient(145deg, #ffd700, #daa520);
    border: 4px solid #b8860b;
    color: #333;
}

.munt-cirkel.biljet5 {
    background: linear-gradient(145deg, #90ee90, #32cd32);
    border: 4px solid #228b22;
    color: #fff;
    border-radius: 10px;
    width: 70px;
}

.reset-munten-btn {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
}

.reset-munten-btn:hover {
    transform: scale(1.05);
}

/* ==========================================
   PRIJZEN SCHATTEN
   ========================================== */
.prijs-schatten-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
}

.product-groot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 50px;
    border-radius: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
}

.product-emoji-groot {
    font-size: 5rem;
    animation: productBounce 2s ease-in-out infinite;
}

@keyframes productBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.product-naam-groot {
    font-size: 1.8rem;
    color: white;
    font-weight: bold;
    text-align: center;
}

.schatten-keuzes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.schatten-keuze-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #4a9eff;
    border-radius: 15px;
    padding: 20px 30px;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.schatten-keuze-btn:hover:not(:disabled) {
    transform: scale(1.08);
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.schatten-keuze-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.schatten-keuze-btn.correct {
    background: linear-gradient(145deg, #27ae60, #2ecc71);
    border-color: #2ecc71;
    animation: correctPulse 0.5s ease;
}

.schatten-keuze-btn.fout {
    background: linear-gradient(145deg, #c0392b, #e74c3c);
    border-color: #e74c3c;
    animation: shake 0.5s ease;
}

.keuze-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a9eff;
    background: rgba(74, 158, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schatten-keuze-btn.correct .keuze-letter,
.schatten-keuze-btn.fout .keuze-letter {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.keuze-prijs {
    font-size: 1.4rem;
    font-weight: bold;
    color: white;
}

/* Gewicht schatten knoppen */
.schatten-gewicht-btn {
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: 3px solid #2980b9;
    border-radius: 15px;
    padding: 15px 25px;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 5px;
}

.schatten-gewicht-btn:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.schatten-gewicht-btn:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.schatten-gewicht-btn.correct {
    background: linear-gradient(145deg, #27ae60, #2ecc71);
    border-color: #2ecc71;
    animation: correctPulse 0.5s ease;
}

.schatten-gewicht-btn.fout {
    background: linear-gradient(145deg, #c0392b, #e74c3c);
    border-color: #e74c3c;
    animation: shake 0.5s ease;
}

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

.schatten-volgende-btn {
    background: linear-gradient(145deg, #4a9eff, #2d7cd6);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.schatten-volgende-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   TIKBARE GROEPJES (Tafels interactief)
   ========================================== */
.tafel-group.tikbaar {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 10px;
    padding: 8px;
    position: relative;
}

.tafel-group.tikbaar:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.tafel-group.tikbaar.geteld {
    background: rgba(46, 204, 113, 0.3);
    border-color: #2ecc71;
    transform: scale(1.05);
}

.groepjes-teller {
    text-align: center;
    font-size: 1.3rem;
    margin-top: 15px;
    color: white;
}

.groepjes-count-num {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    margin-left: 10px;
}

.groepje-label {
    position: absolute;
    top: -20px;
    right: 0;
    background: #2ecc71;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: bold;
    animation: labelPop 0.6s ease forwards;
}

@keyframes labelPop {
    0% {
        transform: scale(0.5) translateY(10px);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(-10px);
        opacity: 0;
    }
}

/* ==========================================
   MINI REKENREK HULP (bij Rijgen)
   ========================================== */
.rekenrek-hulp-btn {
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px auto;
    display: block;
    transition: all 0.2s;
}

.rekenrek-hulp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.4);
}

.rekenrek-hulp {
    background: linear-gradient(145deg, rgba(155, 89, 182, 0.2), rgba(142, 68, 173, 0.2));
    border: 2px solid #9b59b6;
    border-radius: 15px;
    padding: 15px;
    margin: 15px auto;
    max-width: 350px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mini-rekenrek {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f5e6d3;
    padding: 15px 10px;
    border-radius: 10px;
    border: 3px solid #8B4513;
}

.mini-rij {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.mini-kraal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: all 0.2s;
    opacity: 0.4;
}

.mini-kraal.rood {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    border: 2px solid #a93226;
}

.mini-kraal.wit {
    background: linear-gradient(145deg, #ecf0f1, #bdc3c7);
    border: 2px solid #95a5a6;
}

.mini-kraal.actief {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #27ae60, #1e8449) !important;
    border-color: #196f3d !important;
}

/* Tweede getal bij optelsom - rode kralen */
.mini-kraal.actief.tweede-getal {
    background: linear-gradient(145deg, #e74c3c, #c0392b) !important;
    border-color: #a93226 !important;
}

/* Doorgestreepte kralen bij aftrekken */
.mini-kraal.actief.doorgestreept {
    background: linear-gradient(145deg, #e74c3c, #c0392b) !important;
    border-color: #a93226 !important;
    position: relative;
}

.mini-kraal.actief.doorgestreept::after {
    content: '×';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.rekenrek-titel {
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.rekenrek-uitleg {
    text-align: center;
    color: #27ae60;
    font-size: 0.95rem;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ==========================================
   GETALLENLIJN SCHATTEN GAME
   ========================================== */
.getallenlijn-selector,
.getallenlijn-mode-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.getallenlijn-mode-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.getallenlijn-vraag {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.grote-getallenlijn-container {
    position: relative;
    padding: 40px 20px;
    margin: 20px 0;
}

.grote-getallenlijn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.lijn-streep {
    position: absolute;
    left: 30px;
    right: 30px;
    height: 6px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 3px;
}

/* Tussenstreepjes op de getallenlijn */
.lijn-tick {
    position: absolute;
    width: 2px;
    height: 16px;
    background: rgba(255, 255, 255, 0.7);
    top: -5px;
    transform: translateX(-50%);
}

.lijn-tick span {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.lijn-tick.groot {
    width: 3px;
    height: 22px;
    background: #fff;
    top: -8px;
}

.lijn-tick.groot span {
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}

.lijn-marker {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    z-index: 2;
    background: rgba(52, 152, 219, 0.8);
    padding: 5px 12px;
    border-radius: 10px;
}

.getallenlijn-pijl {
    position: absolute;
    top: 5px;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #e74c3c;
    animation: pijlBounce 1s infinite;
    z-index: 3;
}

@keyframes pijlBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.pijl-teken {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.getallenlijn-klik-zone {
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 10px;
    cursor: crosshair;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.2s;
}

.getallenlijn-klik-zone:hover {
    background: rgba(255, 255, 255, 0.1);
}

.geplaatste-marker {
    position: absolute;
    top: 50px;
    transform: translateX(-50%);
    font-size: 1.5rem;
    z-index: 3;
    animation: markerDrop 0.3s ease;
}

@keyframes markerDrop {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.getallenlijn-invoer {
    text-align: center;
    margin: 20px 0;
}

.getallenlijn-input {
    font-size: 2rem;
    width: 120px;
    text-align: center;
    padding: 15px;
    border: 3px solid #9b59b6;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.getallenlijn-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}

.getallenlijn-feedback {
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    border-radius: 15px;
    animation: shake 0.3s ease;
}


/* ==========================================
   GELD BETALEN STYLING
   ========================================== */
.winkel-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(52, 152, 219, 0.2), rgba(155, 89, 182, 0.2));
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 40px;
    border-radius: 15px;
    border: 3px solid #ffd700;
}

.product-emoji {
    font-size: 4rem;
}

.product-naam {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
}

.product-prijs {
    font-size: 2rem;
    font-weight: bold;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
    padding: 5px 20px;
    border-radius: 10px;
}

.betaling-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.betaling-label {
    font-size: 1rem;
    color: #ccc;
}

.betaling-biljet {
    font-size: 2rem;
    background: linear-gradient(145deg, #27ae60, #2ecc71);
    padding: 10px 25px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
}

.tafel-hint {
    font-size: 1rem;
    color: #ccc;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* ==========================================
   DARTEN OEFENING
   ========================================== */
.darten-selector {
    text-align: center;
    padding: 20px;
}

.darten-mode-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
}

.darten-score-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.darten-totaal {
    display: flex;
    align-items: center;
    gap: 10px;
}

.score-label {
    font-size: 1.2rem;
    color: #ccc;
}

.score-getal {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
}

.darten-pijlen-over {
    font-size: 1.2rem;
    color: #4a9eff;
}

.darten-pijlen-over span {
    font-size: 1.8rem;
    font-weight: bold;
}

.dartbord-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 20px;
}

.dartbord {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.dart-segment {
    cursor: default;
    transition: all 0.3s ease;
}

.dart-segment.hit {
    filter: brightness(1.5);
    animation: hitPulse 0.5s ease;
}

@keyframes hitPulse {
    0% { filter: brightness(2); }
    100% { filter: brightness(1.5); }
}

.dart-pijl {
    position: absolute;
    font-size: 2rem;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.geplaatste-pijl {
    position: absolute;
    font-size: 1.5rem;
    transform: translate(-50%, -50%);
    z-index: 5;
    animation: pijlLand 0.3s ease;
}

@keyframes pijlLand {
    0% { transform: translate(-50%, -50%) scale(1.5); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.brainrot-eye {
    animation: eyeBlink 3s infinite;
}

@keyframes eyeBlink {
    0%, 95%, 100% { opacity: 1; }
    97% { opacity: 0; }
}

.worp-resultaat {
    text-align: center;
    margin: 15px 0;
    animation: scorePopIn 0.5s ease;
}

@keyframes scorePopIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); opacity: 1; }
}

.worp-score {
    font-size: 2rem;
    font-weight: bold;
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.2);
    padding: 10px 30px;
    border-radius: 15px;
}

.gooi-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    margin: 20px auto;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

.gooi-button:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.6);
}

.gooi-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gooi-icon {
    font-size: 1.8rem;
    animation: dartWiggle 1s ease-in-out infinite;
}

@keyframes dartWiggle {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.darten-vraag {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    animation: fadeInUp 0.5s ease;
}

.darten-vraag p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.darten-worpen-overzicht {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.worp-item {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: bold;
}

.worp-plus {
    font-size: 1.5rem;
    color: #ffd700;
}

.darten-input-wrapper {
    margin: 15px 0;
}

.darten-input {
    font-size: 2rem;
    padding: 10px 20px;
    width: 120px;
    text-align: center;
    border: 3px solid #4a9eff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.darten-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.darten-feedback {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    text-align: center;
}

.darten-feedback p {
    color: #fff;
    font-size: 1.1rem;
}

/* ==========================================
   DARTEN GETALLENLIJN (visuele hulp)
   ========================================== */

/* Darten getallenlijn - gebruikt dezelfde classes als rijgen */
.darten-number-line-container {
    max-width: 550px;
    margin: 20px auto;
}

.darten-number-line-container .number-line {
    padding: 0 10px;
}

.darten-number-line-container .line-character {
    width: 50px;
    height: 50px;
    top: -5px;
    position: absolute;
    transition: left 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    z-index: 10;
}

.darten-number-line-container .jumps-container {
    left: 10px;
    right: 10px;
}

/* Responsief */
@media (max-width: 500px) {
    .darten-getallenlijn-container {
        padding: 25px 15px 15px;
    }

    .darten-lijn-marker .marker-getal {
        font-size: 0.85rem;
        padding: 2px 6px;
    }

    .darten-lijn-tick span {
        font-size: 0.65rem;
    }

    .darten-sprong .sprong-label {
        font-size: 0.8rem;
        padding: 2px 8px;
    }
}

/* ==========================================
   COLLECTIE SYSTEEM STYLING
   ========================================== */

/* Collectie Button in hoofdmenu */
.collection-button {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    padding: 20px 30px;
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    border: 3px solid #ffd700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
    position: relative;
    overflow: hidden;
}

.collection-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
}

.collection-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.5);
}

.collection-button:active {
    transform: scale(0.98);
}

.collection-icon {
    font-size: 3rem;
    animation: giftBounce 1.5s infinite;
}

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

.collection-text {
    flex: 1;
    text-align: left;
}

.collection-text h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.collection-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.collection-count {
    background: #ffd700;
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Collectie Scherm */
.collection-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.collection-coins {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
}

.collection-coins .coin-icon {
    font-size: 2rem;
}

#collection-progress {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Purchase Messages */
.purchase-message {
    padding: 15px 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-message.error {
    background: rgba(231, 76, 60, 0.3);
    border: 2px solid #e74c3c;
    color: #ff6b6b;
}

.purchase-message.success {
    background: rgba(46, 204, 113, 0.3);
    border: 2px solid #2ecc71;
    color: #2ecc71;
}

.purchase-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.purchase-animation img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    animation: celebrateSpin 1s ease;
}

@keyframes celebrateSpin {
    0% { transform: rotate(-10deg) scale(0); }
    50% { transform: rotate(10deg) scale(1.2); }
    100% { transform: rotate(0deg) scale(1); }
}

.purchase-animation h3 {
    color: #ffd700;
    font-size: 1.8rem;
}

.purchase-animation p {
    color: white;
    font-size: 1.2rem;
}

/* Collection Grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Brainrot Card */
.brainrot-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.brainrot-card.unlocked {
    border-color: #2ecc71;
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.1));
}

.brainrot-card.unlocked:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.brainrot-card.locked {
    border-color: rgba(255, 255, 255, 0.2);
}

.brainrot-card.locked:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.brainrot-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.brainrot-card.unlocked img {
    filter: drop-shadow(0 5px 15px rgba(46, 204, 113, 0.4));
}

/* Locked image styling */
.locked-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.locked-image img.silhouette {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) opacity(0.3);
}

.locked-image .lock-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.brainrot-card h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.brainrot-card.locked h4 {
    color: rgba(255, 255, 255, 0.5);
}

.brainrot-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.brainrot-price {
    color: #ffd700;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.owned-badge {
    display: inline-block;
    background: #2ecc71;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.buy-button {
    background: linear-gradient(145deg, #ffd700, #f39c12);
    color: #1a1a2e;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.buy-button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.buy-button:active {
    transform: scale(0.95);
}

/* Responsive voor collectie */
@media (max-width: 768px) {
    .collection-header {
        flex-direction: column;
        text-align: center;
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .brainrot-card img,
    .locked-image {
        width: 80px;
        height: 80px;
    }

    .brainrot-card h4 {
        font-size: 0.95rem;
    }

    .collection-button {
        padding: 15px 20px;
    }

    .collection-icon {
        font-size: 2.5rem;
    }
}

/* Extra collectie styling */
.coins-needed {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.buy-button.disabled {
    background: linear-gradient(145deg, #666, #555);
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.buy-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

.brainrot-card.can-afford {
    border-color: #ffd700;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
}

/* ==========================================
   MENU BUTTONS CONTAINER
   ========================================== */
.menu-buttons {
    display: flex;
    gap: 15px;
    max-width: 1200px;
    margin: 15px auto;
    flex-wrap: wrap;
}

.menu-buttons .collection-button,
.menu-buttons .stats-button {
    flex: 1;
    min-width: 280px;
}

/* ==========================================
   STATISTIEKEN BUTTON IN MENU
   ========================================== */
.stats-button {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: 15px auto;
    padding: 20px 30px;
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: 3px solid #ffd700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    position: relative;
    overflow: hidden;
}

.stats-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
}

.stats-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
}

.stats-button:active {
    transform: scale(0.98);
}

.stats-icon {
    font-size: 3rem;
}

.stats-text {
    flex: 1;
    text-align: left;
}

.stats-text h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.stats-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.stats-streak {
    background: #ffd700;
    color: #1a1a2e;
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ==========================================
   OUDER KNOP
   ========================================== */
.parent-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 40px auto 20px auto;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.parent-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.parent-icon {
    font-size: 1.3rem;
}

/* ==========================================
   PINCODE MODAL
   ========================================== */
.pincode-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.pincode-modal.hidden {
    display: none;
}

.pincode-modal-content {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #3498db;
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: popIn 0.3s ease;
    position: relative;
}

.pincode-modal-content h2 {
    color: #3498db;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.pincode-modal-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.pincode-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pincode-close-btn:hover {
    transform: scale(1.1);
    background: #c0392b;
}

.pincode-input-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pincode-digit {
    width: 55px;
    height: 65px;
    font-size: 2rem;
    text-align: center;
    border: 3px solid #3498db;
    border-radius: 12px;
    background: rgba(52, 152, 219, 0.1);
    color: white;
    font-weight: bold;
    transition: all 0.2s;
}

.pincode-digit:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.pincode-error {
    background: rgba(231, 76, 60, 0.3);
    color: #ff6b6b;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    animation: shake 0.5s ease;
}

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

.pincode-submit-btn {
    background: linear-gradient(145deg, #3498db, #2980b9);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 200px;
}

.pincode-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.5);
}

.pincode-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 15px;
}

/* ==========================================
   OUDER DASHBOARD
   ========================================== */
.parent-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.parent-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
}

.parent-section h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-card {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #3498db;
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Per oefening stats */
.exercise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.exercise-stat-card {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.exercise-stat-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.exercise-stat-info {
    flex: 1;
}

.exercise-stat-name {
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.exercise-stat-detail {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.exercise-stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.exercise-stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #2ecc71, #27ae60);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Parent Actions */
.parent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.parent-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 2px solid #3498db;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.parent-action-btn:hover {
    background: linear-gradient(145deg, #3498db, #2980b9);
    transform: translateY(-2px);
}

.parent-action-btn.danger {
    border-color: #e74c3c;
}

.parent-action-btn.danger:hover {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
}

.parent-action-btn.warning {
    border-color: #f39c12;
}

.parent-action-btn.warning:hover {
    background: linear-gradient(145deg, #f39c12, #d68910);
}

.reset-actions {
    margin-top: 10px;
}

.action-icon {
    font-size: 1.3rem;
}

/* ==========================================
   STATISTIEKEN SCHERM (VOOR WOUTER)
   ========================================== */
.stats-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.streak-display {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.current-streak,
.best-streak {
    background: linear-gradient(145deg, #2d2d44, #1a1a2e);
    border: 3px solid #ffd700;
    border-radius: 20px;
    padding: 25px 35px;
    text-align: center;
}

.streak-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.streak-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffd700;
    display: block;
}

.streak-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.total-correct-display {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.total-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.total-number {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.total-label {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.best-exercises {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 25px;
    text-align: left;
}

.best-exercises h3 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.best-exercise-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
}

.best-exercise-rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    width: 40px;
    text-align: center;
}

.best-exercise-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.best-exercise-info {
    flex: 1;
}

.best-exercise-name {
    font-weight: bold;
    color: white;
}

.best-exercise-score {
    font-size: 0.9rem;
    color: #2ecc71;
}

/* ==========================================
   RESPONSIVE VOOR NIEUWE ELEMENTEN
   ========================================== */
@media (max-width: 600px) {
    .menu-buttons {
        flex-direction: column;
    }

    .menu-buttons .collection-button,
    .menu-buttons .stats-button {
        min-width: auto;
    }

    .pincode-modal-content {
        padding: 25px;
    }

    .pincode-digit {
        width: 45px;
        height: 55px;
        font-size: 1.5rem;
    }

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

    .current-streak,
    .best-streak {
        padding: 20px 25px;
    }

    .streak-number {
        font-size: 2.5rem;
    }

    .total-number {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parent-actions {
        flex-direction: column;
    }

    .parent-action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   CONFETTI ANIMATIE
   ========================================== */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3000;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ==========================================
   BADGES SYSTEEM
   ========================================== */
.badge-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0 5px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.badge-icon {
    font-size: 1.8rem;
    cursor: help;
    transition: transform 0.2s ease;
}

.badge-icon:hover {
    transform: scale(1.3);
}

.no-badges {
    font-size: 1rem;
    color: #ffd700;
    font-style: normal;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Badge in milestone popup */
.milestone-badge-earned {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px 20px;
    background: linear-gradient(145deg, #ffd700, #ffaa00);
    border-radius: 10px;
    color: #1a1a2e;
    font-weight: bold;
}

.badge-large {
    font-size: 2.5rem;
}

/* ==========================================
   EXCLUSIEVE BRAINROT STYLING
   ========================================== */
.brainrot-card.exclusive {
    border: 3px solid #ff6b00;
    background: linear-gradient(145deg, #2d1a00, #1a1a2e);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4),
                0 0 40px rgba(255, 69, 0, 0.2);
}

.brainrot-card.exclusive .owned-badge {
    background: linear-gradient(145deg, #ff6b00, #ff4500);
    color: white;
    animation: fireGlow 2s ease-in-out infinite;
}

@keyframes fireGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 107, 0, 0.5); }
    50% { box-shadow: 0 0 25px rgba(255, 69, 0, 0.8); }
}

.fire-glow {
    animation: fireImageGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.6));
}

@keyframes fireImageGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.6)) hue-rotate(0deg); }
    50% { filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.9)) hue-rotate(10deg); }
}

/* Locked exclusieve brainrot */
.brainrot-card.exclusive-locked {
    border: 2px dashed #ff6b00;
    background: linear-gradient(145deg, #1a1000, #0d0d15);
}

.brainrot-card.exclusive-locked .lock-icon {
    font-size: 2.5rem;
    animation: fireFlicker 0.5s ease-in-out infinite alternate;
}

.exclusive-hint {
    color: #ff6b00;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 5px 0;
}

.exclusive-badge {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(145deg, #ff6b00, #ff4500);
    color: white;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
    animation: pulseBadge 2s ease-in-out infinite;
}

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

/* Milestone popup met exclusieve brainrot */
.streak-milestone-content.has-brainrot {
    max-width: 400px;
}

.milestone-brainrot-unlocked {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(145deg, #2d1a00, #1a1a2e);
    border: 3px solid #ff6b00;
    border-radius: 15px;
    animation: brainrotReveal 0.5s ease-out;
}

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

.milestone-brainrot-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: fireImageGlow 2s ease-in-out infinite;
}

.exclusive-unlock-text {
    color: #ff6b00;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

/* ==========================================
   TIJDELIJKE BONUS TAFELS STYLING
   ========================================== */

/* Bonus Banner */
.bonus-banner {
    background: linear-gradient(135deg, #ffd700, #ffed4a, #ffd700);
    background-size: 200% 200%;
    animation: shimmer 2s ease-in-out infinite;
    color: #333;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.3);
    border: 2px solid #ffaa00;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Bonus Tafel Buttons met Glitter Effect */
.tafel-btn.bonus-tafel.bonus-active {
    background: linear-gradient(135deg, #ffd700, #ffed4a, #fff8dc, #ffd700);
    background-size: 300% 300%;
    animation: sparkle 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                0 0 40px rgba(255, 215, 0, 0.3),
                inset 0 0 15px rgba(255, 255, 255, 0.4);
    border: 3px solid #ffaa00;
    position: relative;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.tafel-btn.bonus-tafel.bonus-active:hover {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8),
                0 0 60px rgba(255, 215, 0, 0.4);
}

/* +1 Badge op bonus buttons */
.tafel-btn.bonus-tafel.bonus-active::after {
    content: '+1';
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
    font-size: 0.65em;
    padding: 3px 7px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
    animation: pulseBadge 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Ouderportaal Instellingen */
.parent-settings {
    padding: 15px;
}

.setting-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.3s;
}

.setting-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.setting-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 26px;
    background: #555;
    border-radius: 13px;
    transition: background 0.3s;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.setting-toggle input:checked + .toggle-slider {
    background: #ffd700;
}

.setting-toggle input:checked + .toggle-slider::after {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 1rem;
    color: #ddd;
}

/* Section description */
.section-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

/* Exercise toggles in ouderportaal */
.exercise-toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exercise-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.exercise-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.exercise-toggle input {
    display: none;
}

.exercise-toggle .toggle-slider.small {
    width: 40px;
    height: 22px;
}

.exercise-toggle .toggle-slider.small::after {
    width: 16px;
    height: 16px;
}

.exercise-toggle input:checked + .toggle-slider.small {
    background: #4ade80;
}

.exercise-toggle input:checked + .toggle-slider.small::after {
    transform: translateX(18px);
}

.exercise-toggle input:disabled + .toggle-slider.small {
    opacity: 0.7;
    cursor: not-allowed;
}

.toggle-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Uitklapmenu's in ouderportaal (bonus tafels, dagelijkse training) */
.bonus-tafels-container {
    margin: 10px 0 15px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.bonus-tafels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s;
}

.bonus-tafels-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bonus-expand {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.bonus-tafels-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 10px 15px 15px;
    background: rgba(0, 0, 0, 0.1);
}

/* Tafel toggles in ouderportaal */
.tafel-toggles-container {
    margin: 10px 0 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.tafel-toggles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.2s;
}

.tafel-toggles-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tafel-expand {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.tafel-toggles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 10px 15px 15px;
    background: rgba(0, 0, 0, 0.1);
}

.tafel-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tafel-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tafel-toggle input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ffd700;
}

.tafel-toggle span {
    font-weight: bold;
    font-size: 1rem;
    color: white;
}

.tafel-toggle:has(input:checked) {
    background: rgba(255, 215, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.tafel-toggle:has(input:not(:checked)) span {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================
   OUDERPORTAAL UITKLAPBARE SECTIES
   ========================================== */

/* Uitklapbare secties */
.parent-section.collapsible h3 {
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.parent-section.collapsible h3:hover {
    color: #4ade80;
}

.expand-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.section-content {
    padding-top: 15px;
}

.section-content.hidden {
    display: none;
}

.section-content.visible ~ h3 .expand-icon,
.parent-section.collapsible.expanded .expand-icon {
    transform: rotate(180deg);
}

/* Setting rows */
.setting-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.setting-row label {
    font-weight: bold;
    color: #fff;
}

.setting-row input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 2px solid #4ade80;
    background: #1a1a2e;
    color: white;
    font-size: 1rem;
    text-align: center;
}

.setting-row input[type="number"]:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.setting-save-btn {
    padding: 8px 16px;
    background: linear-gradient(145deg, #4ade80, #22c55e);
    color: #1a1a2e;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.setting-save-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.setting-hint {
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

/* Brainrot checklist */
.brainrot-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: 10px;
}

.brainrot-check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.2s;
}

.brainrot-check-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.brainrot-check-item.free {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.brainrot-check-item.exclusive {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.brainrot-check-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4ade80;
}

.brainrot-check-item input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.brainrot-check-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 5px;
}

.brainrot-check-item .brainrot-name {
    flex: 1;
    font-size: 0.9rem;
    color: white;
}

.brainrot-check-item .brainrot-price {
    font-size: 0.75rem;
    color: #ffd700;
}

.brainrot-check-item .brainrot-tag {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.brainrot-check-item.exclusive .brainrot-tag {
    background: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ==========================================
   RESPONSIVE: WC + STREAK op smallere schermen
   ========================================== */
@media (max-width: 1200px) {
    .top-bar {
        height: auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 5px 15px;
    }
    .pause-btn {
        position: static;
    }
    .pause-btn .pause-icon {
        width: 120px;
        height: 120px;
    }
    .streak-display {
        position: static;
        max-width: 200px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
    .streak-display .streak-count {
        font-size: 1.5rem;
    }
    .streak-display .streak-details {
        display: none;
    }
}

@media (max-width: 768px) {
    .pause-btn .pause-icon {
        width: 80px;
        height: 80px;
    }
    .streak-display {
        max-width: 150px;
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    .streak-display .streak-subtitle,
    .streak-display .streak-record,
    .streak-display .badge-display {
        display: none;
    }
    .streak-display .streak-count {
        font-size: 1.2rem;
    }
}
