.container {
    background: antiquewhite;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 70vw;
    text-align: center;
    position: relative;
    margin: 1rem;
}

#flag-container {
    font-size: 100px;
    margin: 1rem 0;
    line-height: 1.2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: black;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#ui-score {
    color: red;
    transition: transform 0.3s ease, color 0.3s;
    display: inline-block;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    background: #334155;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.2s;
    font-weight: 600;
}

.option-btn:hover {
    background: #91a5c0;
    color: yellow;
}

.timer-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

#timer-bar {
    width: 100%;
    height: 10px;
    background: black;
    border-radius: 5px;
    overflow: hidden;
}

#timer-progress {
    width: 100%;
    height: 100%;
    background: black;
    transition: width 0.1s linear, background-color 0.3s;
}

.floating-points {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    color: green;
    font-weight: 900;
    font-size: 2rem;
    pointer-events: none;
    animation: floatUpAndOut 1s forwards ease-out;
    z-index: 50;
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

@keyframes floatUpAndOut {
    0% {
        transform: translate(-50%, 0) scale(0.5);
        opacity: 0;
    }

    20% {
        transform: translate(-50%, -20px) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -80px) scale(1.5);
        opacity: 0;
    }
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    color: white;
}

.btn-main {
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
}

#ui-score-label {
    color: black;
}

#ui-final-score {
    padding: 1rem;
}

#totalOK {
    color: green;
    font-weight: bold;
}

#totalErrors {
    color: red;
    font-weight: bold;
}

#totalFlags {
    font-weight: bold;
}