body {
    font-family: Arial;
    background: linear-gradient(135deg,#0b132b,#1c2541);
    color: white;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.question {
    font-size: 22px;
    margin: 20px 0;
}

button {
    width: 100%;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: #3a86ff;
    color: white;
    font-size: 16px;
}

.answer-btn::hover {
    background: #ffbe0b;
    color: black;
}

.topbar {
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.timer {
    font-size:20px;
    color:#ffbe0b;
}

.points {
    font-weight:bold;
}

.joker {
    background:#8338ec;
}

.correct {
    background: #28a745 !important;
    color: white;
}

.wrong {
    background: #dc3545 !important;
    color: white;
}

.explanation {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    line-height: 1.6;
}

.next-btn {
    margin-top: 20px;
    background: #ffbe0b;
    color: black;
}

.difficulty-einsteiger {

    background: linear-gradient(
        135deg,
        #2ecc71,
        #27ae60
    );

    color: white;
}

.difficulty-fortgeschritten {

    background: linear-gradient(
        135deg,
        #f39c12,
        #e67e22
    );

    color: white;
}

.difficulty-profi {

    background: linear-gradient(
        135deg,
        #e74c3c,
        #c0392b
    );

    color: white;
}

.score-box {

    display: inline-block;

    padding:
        10px
        18px;

    border-radius: 12px;

    font-weight: bold;

    background: linear-gradient(
        135deg,
        #1f3c88,
        #3b82f6
    );

    color: white;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}

.score-animate {

    animation:
        scorePulse 0.7s ease;

    box-shadow:
        0 0 25px rgba(59,130,246,0.9);

    transform: scale(1.08);
}

@keyframes scorePulse {

    0% {

        transform: scale(1);
    }

    50% {

        transform: scale(1.12);
    }

    100% {

        transform: scale(1);
    }
}

.topbar {

    display: flex;

    justify-content: space-between;

    align-items: stretch;

    gap: 15px;

    margin-bottom: 25px;
}

.info-box {

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding:
        0 20px;

    border-radius: 12px;

    font-weight: bold;

    font-size: 16px;

    line-height: 1;

    box-sizing: border-box;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.25);

    white-space: nowrap;
}

.quiz-transition-out {

    animation:
        quizFadeOut 0.45s ease forwards;
}

.quiz-transition-in {

    animation:
        quizFadeIn 0.55s ease;
}

@keyframes quizFadeOut {

    0% {

        opacity: 1;

        transform: scale(1);

        filter: blur(0px);
    }

    100% {

        opacity: 0;

        transform: scale(0.96);

        filter: blur(8px);
    }
}

@keyframes quizFadeIn {

    0% {

        opacity: 0;

        transform: scale(1.04);

        filter: blur(8px);
    }

    100% {

        opacity: 1;

        transform: scale(1);

        filter: blur(0px);
    }
}

.sound-toggle {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    background: transparent;

    border: none;

    padding: 4px 8px;

    margin: 0;

    cursor: pointer;

    color: white;

    font-size: 15px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    box-shadow: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.sound-toggle:focus {

    outline: none;
}

.sound-off {

    opacity: 0.55;
}

.start-screen {

    display: flex;

    flex-direction: column;

    align-items: center;
}

.start-screen h1 {

    width: 100%;

    display: block;

    text-align: center;

    font-size: 48px;

    line-height: 1.2;

    margin:
        0 auto 25px auto;

    color: #f59e0b;

    word-break: break-word;
}

.quiz-description {

    font-size: 20px;

    line-height: 1.7;

    color: #cbd5e1;

    margin-bottom: 40px;
}

.quiz-meta {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-bottom: 40px;

    flex-wrap: wrap;
}

.meta-box {

    background:
        #1e293b;

    padding:
        15px 25px;

    border-radius: 18px;

    font-weight: bold;

    color: white;
}

.start-button {

    background:
        linear-gradient(
            135deg,
            #f59e0b,
            #d97706
        );

    color: black;

    border: none;

    padding:
        18px 40px;

    border-radius: 20px;

    font-size: 20px;

    font-weight: bold;

    cursor: pointer;

    transition:
        all 0.3s ease;

    box-shadow:
        0 8px 25px rgba(245,158,11,0.4);
}

.start-button:hover {

    transform:
        scale(1.05);

    box-shadow:
        0 12px 35px rgba(245,158,11,0.6);
}