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

.hidden {
    display: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(
        135deg,
        #ee7752 0%,
        #e73c7e 7%,
        #23a6d5 14%,
        #23d5ab 21%,
        #667eea 28%,
        #764ba2 35%,
        #f093fb 42%,
        #f5576c 49%,
        #4facfe 56%,
        #00f2fe 63%,
        #43e97b 70%,
        #38f9d7 77%,
        #fa709a 84%,
        #fee140 91%,
        #ee7752 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 40s ease-in-out infinite alternate;
    min-height: 100vh;
    padding: 10px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

body.dark-mode .container {
    background: #1e1e1e;
    color: #e0e0e0;
}

body.dark-mode h1 {
    color: #9fb4c7;
}

body.dark-mode h2 {
    color: #7a9cc6;
}

body.dark-mode h3 {
    color: #a0a0a0;
}

body.dark-mode .round-selector,
body.dark-mode .current-round,
body.dark-mode .statement-display,
body.dark-mode .used-numbers {
    background: #2a2a2a;
    border-radius: 15px;
}

body.dark-mode .display-box {
    background: #333;
    color: #e0e0e0;
    border-color: #555;
    border-radius: 15px;
}

body.dark-mode .progress-container {
    background: #2a2a2a;
}

body.dark-mode .progress-bar {
    background: #444;
}

body.dark-mode .current-round p {
    color: #e0e0e0;
}

body.dark-mode .bingo-goal {
    color: #9fb4c7;
}

body.dark-mode .used-numbers h3 {
    color: #a0a0a0;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 95%;
    max-width: min(95%, 1400px);
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: clamp(15px, 2vw, 20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-height: auto;
    position: relative;
    overflow-x: hidden;
}

.controls-toggle-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a9fb8, #9eb3c8);
    color: white;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    line-height: 0;
    vertical-align: middle;
}

.controls-toggle-btn i {
    line-height: 0;
    vertical-align: middle;
}

.controls-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.controls-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
    vertical-align: middle;
}

.controls-close-btn i {
    line-height: 0;
    vertical-align: middle;
}

.controls-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(138, 159, 184, 0.95), rgba(158, 179, 200, 0.95));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 20px 20px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 999;
    max-width: 400px;
    justify-content: center;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

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

.top-controls.hidden {
    display: none;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.audio-controls-inline {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-top: 10px;
}

.audio-controls-inline .volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-controls-inline .volume-control label {
    font-size: 1.3em;
    min-width: 30px;
}

.audio-controls-inline .volume-control input[type="range"] {
    flex: 1;
}

.audio-controls-inline .volume-control span {
    color: white;
    font-weight: bold;
    min-width: 45px;
    text-align: right;
}

.icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #8a9fb8;
    background: white;
    color: #8a9fb8;
    font-size: 1.3em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 0;
    vertical-align: middle;
}

.icon-btn i {
    line-height: 0;
    vertical-align: middle;
}

.icon-btn:hover {
    background: #8a9fb8;
    color: white;
    transform: scale(1.1);
}

#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.progress-container {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f6f8;
    border-radius: 15px;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #8a9fb8, #9eb3c8, #b2c7d8, #a8bdd0, #95aac0, #8a9fb8);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-weight: bold;
    color: #7a8fa8;
    margin: 0;
}

h1 {
    text-align: center;
    color: #4a5f7f;
    font-size: clamp(1.5em, 6vw, 3em);
    margin-bottom: 20px;
    margin-top: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Photo Timer */
.photo-timer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #a8bdd0, #b8c9d8);
    border-radius: 15px;
    margin-bottom: 20px;
}

.photo-timer p {
    color: white;
    font-size: clamp(1.1em, 3vw, 1.5em);
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.photo-timer #photoTimer {
    font-size: 1.3em;
    color: #f5f5f5;
}

h2 {
    color: #7a8fa8;
    margin-bottom: 15px;
    text-align: center;
    font-size: clamp(1em, 3vw, 1.5em);
}

h3 {
    color: #555;
    margin-bottom: 10px;
    text-align: center;
    font-size: clamp(0.9em, 2.5vw, 1.17em);
}

.round-selector {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9ff;
    border-radius: 15px;
}

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

.round-btn {
    padding: 12px 25px;
    font-size: clamp(0.9em, 2vw, 1.1em);
    font-weight: bold;
    border: none;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.round-btn:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.round-btn.active {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
}

.current-round {
    text-align: center;
    font-size: clamp(1em, 2.5vw, 1.2em);
    font-weight: bold;
    margin-bottom: 20px;
    color: #e73c7e;
}

.bingo-goal {
    margin-top: 10px;
    color: #8a9fb8;
    font-size: clamp(1.1em, 2.8vw, 1.4em);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bingo-button-container {
    text-align: center;
    margin: 30px 0;
}

.bingo-btn {
    padding: 20px 50px;
    font-size: clamp(1.5em, 4vw, 2em);
    font-weight: bold;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bingo-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.bingo-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.statement-display {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: clamp(15px, 2vw, 20px);
    margin-bottom: clamp(20px, 3vw, 40px);
    align-items: start;
    overflow: hidden;
}

.number-display {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.statement-box {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.display-box {
    background: #f5f6f8;
    border: 3px solid #000;
    border-radius: 15px;
    padding: clamp(15px, 3vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2em, 3.5vw, 5em);
    font-weight: bold;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1.3;
    min-height: clamp(200px, 25vh, 400px);
}

#numberDisplay {
    font-size: clamp(2.5em, 7vw, 12em);
    font-family: 'Arial', sans-serif;
    color: white;
    width: clamp(140px, 18vw, 280px);
    height: clamp(140px, 18vw, 280px);
    min-height: auto;
    border-radius: 50%;
    border: none;
    background: #667eea;
    flex-shrink: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    position: relative;
    /* Subtiel 3D effect */
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2),
        inset 0 3px 10px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
}

@keyframes rollIn {
    0% {
        transform: translateX(-150vw) rotate(0deg);
        opacity: 0;
    }
    70% {
        transform: translateX(5%) rotate(720deg);
        opacity: 1;
    }
    85% {
        transform: translateX(-2%) rotate(720deg);
    }
    100% {
        transform: translateX(0) rotate(720deg);
        opacity: 1;
    }
}

.rolling {
    animation: rollIn 1s ease-out;
}

#numberDisplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 30%, 
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.1) 25%,
        transparent 55%
    );
    pointer-events: none;
}

.controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.main-btn, .reset-btn {
    padding: 12px 30px;
    font-size: clamp(0.9em, 2vw, 1.2em);
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-btn {
    background: #2ecc71;
    color: white;
}

.main-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
}

.main-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.reset-btn {
    background: #e73c7e;
    color: white;
}

.reset-btn:hover {
    background: #c72a5e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.4);
}

.used-numbers {
    background: #f8f9ff;
    padding: 15px;
    border-radius: 15px;
    margin-top: 20px;
}

#usedNumbers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 30px;
}

.used-number {
    background: #667eea;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: clamp(0.8em, 1.5vw, 1em);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rollInSmall 0.5s ease-out;
    /* Subtiel 3D effect */
    box-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.25),
        inset 0 -2px 5px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

@keyframes rollInSmall {
    0% {
        transform: translateX(-100px) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    70% {
        transform: translateX(5px) rotate(360deg) scale(1.1);
        opacity: 1;
    }
    85% {
        transform: translateX(-2px) rotate(360deg) scale(1.05);
    }
    100% {
        transform: translateX(0) rotate(360deg) scale(1);
        opacity: 1;
    }
}

.used-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at 32% 32%, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 60%
    );
    pointer-events: none;
}

.used-number:hover {
    transform: scale(1.3);
    box-shadow: 
        0 5px 12px rgba(0, 0, 0, 0.3),
        inset 0 -2px 5px rgba(0, 0, 0, 0.15),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* MacBook en laptops */
@media (max-width: 1440px) {
    .container {
        max-width: 90%;
        padding: 18px;
    }

    h1 {
        margin-bottom: 15px;
        margin-top: 10px;
    }

    .statement-display {
        gap: 15px;
        margin-bottom: 25px;
    }

    .display-box {
        padding: 20px;
    }

    .number-display h3,
    .statement-box h3 {
        font-size: 1em;
    }

    #numberDisplay {
        min-width: 120px;
        min-height: 120px;
        font-size: 4em;
    }

    .controls {
        gap: 15px;
    }

    .controls-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3em;
    }

    .top-controls {
        max-width: 350px;
        padding: 45px 15px 15px 15px;
    }

    .icon-btn {
        min-width: 38px;
        height: 38px;
        font-size: 1.1em;
        padding: 8px;
    }

    .round-selector,
    .current-round,
    .photo-timer {
        padding: 12px;
        margin-bottom: 15px;
    }

    .used-numbers {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    .statement-display {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .number-display {
        grid-column: 1;
        grid-row: 1 / 2;
    }

    .statement-box {
        grid-column: 1;
        grid-row: 2 / 3;
    }

    .controls {
        flex-direction: column;
    }

    .main-btn, .reset-btn {
        width: 100%;
    }
}

/* BINGO Overlay Styles */
.bingo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.bingo-overlay.hidden {
    display: none;
}

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

/* Ronde Start Overlay */
.ronde-start-content {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #23a6d5 0%, #23d5ab 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    animation: scaleIn 0.5s ease;
}

.ronde-start-title {
    font-size: clamp(2.5em, 7vw, 5em);
    color: white;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.ronde-start-info {
    margin-bottom: 30px;
}

.ronde-start-round {
    font-size: clamp(1.5em, 4vw, 2.5em);
    color: white;
    font-weight: bold;
    margin: 0;
}

.ronde-start-goal {
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.ronde-start-goal p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3em;
    margin-bottom: 15px;
}

.ronde-start-goal h2 {
    color: white;
    font-size: clamp(0.8em, 1.8vw, 1.5em);
    margin: 0;
    font-weight: bold;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ronde-start-btn {
    padding: 20px 50px;
    font-size: clamp(1.3em, 3vw, 2em);
    font-weight: bold;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.ronde-start-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.6);
}

/* BINGO Bevestiging */
.bingo-confirm-content {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.bingo-confirm-title {
    font-size: clamp(2em, 6vw, 4em);
    color: white;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.bingo-confirm-goal {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.bingo-confirm-goal p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.bingo-confirm-goal h2 {
    color: white;
    font-size: clamp(0.8em, 1.5vw, 1.3em);
    margin: 0;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bingo-used-numbers-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.bingo-used-numbers-container h3 {
    color: white;
    font-size: 1.2em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bingo-used-numbers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 100%;
}

.bingo-used-numbers-grid .used-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.bingo-confirm-question {
    color: white;
    font-size: clamp(0.9em, 2vw, 1.4em);
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.1;
    white-space: nowrap;
}

.bingo-confirm-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.bingo-confirm-yes,
.bingo-confirm-no {
    padding: 20px 40px;
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    font-weight: bold;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bingo-confirm-yes {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.bingo-confirm-yes:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.6);
}

.bingo-confirm-no {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(231, 60, 126, 0.4);
}

.bingo-confirm-no:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(231, 60, 126, 0.6);
}

/* BINGO Viering */
.bingo-viering-content {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    animation: celebration 0.6s ease;
}

@keyframes celebration {
    0% { transform: scale(0.5) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.bingo-viering-title {
    font-size: clamp(3em, 8vw, 6em);
    color: white;
    margin-bottom: 30px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 1s ease infinite;
}

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

.bingo-viering-goal {
    background: rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.bingo-viering-goal p {
    color: white;
    font-size: clamp(0.8em, 1.5vw, 1.4em);
    margin: 0;
    font-weight: bold;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bingo-viering-congrats {
    color: white;
    font-size: clamp(1em, 2vw, 1.6em);
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.1;
    white-space: nowrap;
}

.bingo-viering-close {
    padding: 20px 50px;
    font-size: clamp(1.2em, 2.5vw, 1.8em);
    font-weight: bold;
    border: 3px solid white;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.bingo-viering-close:hover {
    background: white;
    color: #f5576c;
    transform: scale(1.1);
}

/* Volgend Doel Overlay */
.volgend-doel-content {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    animation: scaleIn 0.4s ease;
}

.volgend-doel-title {
    font-size: clamp(2.5em, 7vw, 4.5em);
    color: white;
    margin-bottom: 40px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.volgend-doel-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.volgend-doel-info p {
    color: white;
    font-size: clamp(0.85em, 1.8vw, 1.5em);
    margin: 0;
    font-weight: bold;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.volgend-doel-btn {
    padding: 20px 50px;
    font-size: clamp(1.3em, 3vw, 2em);
    font-weight: bold;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);
}

.volgend-doel-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(46, 204, 113, 0.6);
}

/* Alle Doelen Behaald Overlay */
.alle-doelen-content {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    animation: celebration 0.6s ease;
}

.alle-doelen-title {
    font-size: clamp(3em, 8vw, 6em);
    color: white;
    margin-bottom: 40px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    animation: pulse 1s ease infinite;
}

.alle-doelen-info {
    background: rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.alle-doelen-message {
    color: white;
    font-size: clamp(0.85em, 1.8vw, 1.5em);
    margin: 0 0 20px 0;
    font-weight: bold;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alle-doelen-congrats {
    color: white;
    font-size: clamp(0.8em, 1.5vw, 1.3em);
    margin: 0;
    font-weight: bold;
    line-height: 1.1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    white-space: nowrap;
}

.alle-doelen-btn {
    padding: 20px 50px;
    font-size: clamp(1.3em, 3vw, 2em);
    font-weight: bold;
    border: 3px solid white;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.alle-doelen-btn:hover {
    background: white;
    color: #f5576c;
    transform: scale(1.1);
}

/* Responsive styling voor BINGO bevestiging */
@media (max-width: 768px) {
    .bingo-used-numbers-grid .used-number {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }
    
    .bingo-used-numbers-container {
        padding: 15px;
    }
    
    .bingo-used-numbers-container h3 {
        font-size: 1em;
    }
}
