@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", "Plus Jakarta Sans", sans-serif;
    text-decoration: none;
}

::-webkit-scrollbar {
    display: none;
}

:root {
    --text_color: #94a3b8;
    --heading_color: #f8fafc;
    --primary_orange: #ff852b;
    --primary_orange_hover: #ff7011;
    --accent_gradient: linear-gradient(135deg, #ff852b 0%, #ff5200 100%);
    --card_bg: rgba(23, 26, 38, 0.85);
    --card_border: rgba(255, 255, 255, 0.08);
    --btn-rounded: 50px;
    --rounded: 16px;
    --border-color: rgba(255, 255, 255, 0.1);
    --btn_bg: #3b82f6;
    --btn-bg-primary: #ff852b;
    --btn-text-color: #ffffff;
    --div-boxShadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body {
    background-color: #0b0c10;
    color: var(--text_color);
    min-height: 100vh;
    overflow-x: hidden;
}

img,
video {
    height: auto;
    max-width: 100%;
}

main {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    background: radial-gradient(circle at 50% 0%, #1a1b26 0%, #0d0e15 65%, #07070a 100%);
    background-attachment: fixed;
    overflow-x: hidden;
    padding: 0;
}

.bg-top {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 133, 43, 0.14) 0%, rgba(99, 102, 241, 0.06) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bg-bottom {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.main_div {
    max-width: 440px;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--text_color);
    gap: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 12px 16px 80px 16px;
    z-index: 1;
}

@media (max-width: 480px) {
    main {
        padding: 0;
    }

    .main_div {
        max-width: 100%;
        min-height: 100vh;
        padding: 12px 12px 80px 12px;
    }
}

.fff_game_section {
    text-align: center;
    width: 100%;
}

.choose_game {
    margin: 12px 0;
    width: 100%;
}

.game_section {
    margin: 12px 0;
    width: 100%;
}

.game_section1 {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

.game_section2 {
    border-radius: 20px;
    background-color: transparent;
    width: 100%;
    box-shadow: var(--div-boxShadow);
}

.game_section3 {
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.game_section4 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.game_section_img {
    width: 100%;
    /* height: 160px; */
    height: unset;
    /* border-radius: 4px; */
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.about_section {
    margin-top: 24px;
    width: 100%;
    max-width: 100%;
    background: rgba(23, 26, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 20px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about_section h1 {
    margin: 16px 0 10px 0;
    text-wrap: wrap;
    text-align: left;
    color: var(--heading_color);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.about_section h1:first-child {
    margin-top: 0;
}

.about_section p {
    text-wrap: wrap;
    text-align: start;
    color: var(--text_color);
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about_section ul {
    padding-left: 20px;
    text-wrap: wrap;
    text-align: left;
    color: var(--text_color);
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about_section ul li {
    margin-bottom: 6px;
}

.about_section ul li::marker {
    color: var(--primary_orange);
}

footer {
    display: flex;
    width: 370px;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0px;
    color: white !important;
    /* width: 100%; */
}

.popup {
    align-items: center;
}

.resp_choose_game,
.resp_about_section {
    display: flex;
    justify-content: center;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 0 8px;
}

.home-back-button {
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: absolute;
    left: 8px;
    display: none;
}

.back-button {
    width: 36px;
    height: 36px;
    cursor: pointer;
    position: absolute;
    left: 8px;
}

.home-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading_color);
    text-align: center;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.rbximage {
    width: 75%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.homeimage {
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.contentButton {
    font-size: 15px;
    color: #f4a300;
    padding: 20px;
    background-color: #292929;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px 10px 5px 10px;
}

.countryP {
    font-size: 17px;
    color: #ffffff;
    text-wrap: wrap;
    margin: 10px 0 10px 0;
}

.dialog-button {
    width: 100%;
}

/* Dialog Overlay */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Dialog Box */
.dialog-box {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    width: 300px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Dialog Icon */
.dialog-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

/* Dialog Title */
.dialog-box h2 {
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
}

/* Dialog Message */
.dialog-box p {
    font-size: 16px;
    color: #555;
    margin: 10px 0 20px;
}

.wheel-container {
    position: relative;
    width: 100%;
    max-width: 330px;
    margin: 16px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(23, 26, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 133, 43, 0.12);
}

#spin-btn {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    height: 68px;
    width: 68px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: var(--accent_gradient);
    color: #ffffff;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(255, 133, 43, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#spin-btn:hover:not(:disabled) {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 0 35px rgba(255, 133, 43, 0.8);
}

#spin-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.imgspin {
    position: absolute;
    width: 48px;
    top: 50%;
    right: -16px;
    transform: translateY(-50%);
    z-index: 20;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

#final-value {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 14px;
    color: var(--heading_color);
    font-weight: 600;
}


#scratchCanvas {
    background: radial-gradient(circle, #252a3c 0%, #151824 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 133, 43, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 133, 43, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
    max-width: 100%;
}

#scratchCanvas:hover {
    transform: scale(1.02);
    border-color: rgba(255, 133, 43, 0.6);
}

#reward {
    margin: 16px 0;
    animation: fadeIn 0.4s ease-in-out;
}

.reward-box {
    background: var(--card_bg);
    border: 1px solid var(--card_border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px 28px;
    display: inline-block;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    animation: popUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reward-box p {
    font-size: 16px;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 8px;
}

.reward-box h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary_orange);
    text-shadow: 0 0 20px rgba(255, 133, 43, 0.3);
}

.h1scratch {
    font-size: 22px;
    font-weight: 700;
    color: var(--heading_color);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    text-shadow: none;
}

.gadsbanner {
    margin-top: 16px;
    margin-bottom: 16px;
    width: 100%;
    min-height: 250px;
    text-align: center;
    overflow: hidden;
}

.gadsbanner ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    margin: 0 auto;
}

.admbanner {
    margin-top: 16px;
    margin-bottom: 16px;
    width: 100%;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.input-field {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    margin-top: 14px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.input-field::placeholder {
    color: #94a3b8;
}

.input-field:focus {
    border-color: var(--primary_orange);
    background: rgba(255, 133, 43, 0.08);
    box-shadow: 0 0 15px rgba(255, 133, 43, 0.2);
}

.continue-btn {
    width: 100%;
    background: var(--accent_gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--btn-rounded);
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 133, 43, 0.5);
}

.continue-btn:active {
    transform: translateY(0);
}

#rbxbuilder {
    display: none;
    background: var(--card_bg);
    border: 1px solid var(--card_border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px;
    margin: 16px 0;
    color: var(--heading_color);
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.rbxresult {
    margin-top: 12px;
    color: var(--primary_orange);
    font-weight: 800;
    font-size: 32px;
    text-shadow: 0 0 20px rgba(255, 133, 43, 0.3);
}

.animesec {
    margin-bottom: 10px;
}

.meme-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align top of text & button */
    gap: 15px;
}

.meme-text {
    flex: 1;
    /* Take full space */
    min-width: 0;
    /* Prevent overflow */
}

.meme-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    text-align: left;
    /* ✅ forces heading to the left */
    white-space: normal;
}

.meme-card p {
    margin: 0;
    font-size: 14px;
    color: #ddd;
    text-align: left;
    /* ✅ makes description left too */
    word-wrap: break-word;
    white-space: normal;
}

.copy-btn {
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #e65c00;
}


.resp_choose_game {
    margin-bottom: 8px;
    width: 100%;
}

.choose_game {
    margin: 12px 0;
    background: var(--card_bg);
    padding: 18px 20px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid var(--card_border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.redeem-coin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

#coin {
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.earn-coin-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
}

.earn-coin-btn button {
    cursor: pointer;
    background: var(--accent_gradient);
    color: #fff;
    border: none;
    height: 44px;
    padding: 10px 0px;
    width: 100%;
    border-radius: var(--btn-rounded);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
}

.earn-coin-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 133, 43, 0.45);
}

.earn-coin-btn button img {
    width: 24px;
    height: 24px;
}

.earn-coin-btn button::before,
.earn-coin-btn button::after {
    content: '';
    position: absolute;
    cursor: pointer;
    top: 0;
    left: -150%;
    height: 100%;
    width: 10%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.ad-tag-earn {
    position: absolute;
    top: 4px;
    right: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

.toast-message {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #000;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px #0000001a;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    max-width: 90vw;
    width: max-content;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    text-align: center;
    text-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.toast-message.show {
    display: flex;
    animation: fadeOut 3s forwards;
}

.timer-toast-message {
    display: none;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #000;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px #0000001a;
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 15px;
    z-index: 9999;
    max-width: 90vw;
    width: max-content;
    white-space: nowrap;
    transition: opacity 0.3s ease;
    text-align: center;
    text-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.timer-toast-message.show {
    display: flex;
    animation: fadeOut 8s forwards;
}

@keyframes fadeOut {

    0%,
    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-data {
    background: rgba(23, 26, 38, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px 22px 20px;
    border-radius: 24px;
    text-align: center;
    max-width: 380px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 133, 43, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popup-data .oops-img {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 145px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
}

.popup-data .main-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--heading_color);
    margin: 46px 0 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.popup-data .sub-text {
    font-size: 14.5px;
    color: var(--text_color);
    margin-bottom: 22px;
    line-height: 1.5;
}

.watch-btn-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.watch-btn {
    background: var(--accent_gradient);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--btn-rounded);
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    height: 46px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 133, 43, 0.45);
}

.watch-btn::before,
.watch-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    height: 100%;
    width: 10%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0) 100%);

    animation: shimmer 2s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.ad-tag {
    position: absolute;
    top: 4px;
    right: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

.popup-data .skip-btn {
    margin-top: 12px;
    background: transparent;
    border: none;
    color: var(--text_color);
    width: fit-content;
    margin: 12px auto 0px;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.2s ease;
}

.popup-data .skip-btn:hover {
    color: #ffffff;
}

/* ------------------------------------------- Responsive Media Queries ----------------------------------------------- */

@media (max-width: 500px) {
    .main_div {
        width: 100%;
        min-width: 100%;
        padding: 16px;
    }

    .choose_game,
    .game_section,
    .about_section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .game_section1 {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 12px;
    }

    .game_section2 {
        width: 100%;
    }

    footer {
        width: 100%;
        padding: 12px 0;
    }
}

@media (max-width: 360px) {
    .main_div {
        padding: 12px;
    }

    .game_section1 {
        gap: 8px;
    }
}

/* ---------------- QUIZ ---------------- */
.quiz-list {
    padding: 4px 0;
}

.quiz-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--div-boxShadow);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.quiz-card:active {
    transform: scale(0.98);
}

.quiz-card-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    object-fit: cover;
}

.quiz-card-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.quiz-card-info h3 {
    margin: 0 0 4px 0;
    font-size: 17px;
    color: #fff;
    white-space: normal;
}

.quiz-card-info p {
    margin: 0 0 6px 0;
    font-size: 13px;
    color: #ddd;
    white-space: normal;
    word-wrap: break-word;
}

.quiz-card-arrow {
    flex-shrink: 0;
    color: #888;
    font-size: 20px;
}

.quiz-loading,
.quiz-error {
    text-align: center;
    color: var(--text_color);
    padding: 24px 8px;
    white-space: normal;
}

.quiz-play {
    display: none;
}

.quiz-play.active {
    display: block;
}

.quiz-list.hidden,
.quiz-result.hidden {
    display: none;
}

.quiz-progress-bar {
    width: 100%;
    height: 8px;
    background: #1e1e1e;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--btn_bg);
    border-radius: 999px;
    transition: width 0.25s ease;
    width: 0%;
}

.quiz-progress-text {
    font-size: 13px;
    color: var(--text_color);
    text-align: left;
    margin-bottom: 14px;
}

.quiz-question-card {
    background: var(--card_bg);
    border: 1px solid var(--card_border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.quiz-question-card h3 {
    margin: 0 0 18px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading_color);
    white-space: normal;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.04);
    color: #e2e8f0;
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quiz-option:hover {
    border-color: rgba(255, 133, 43, 0.5);
    background: rgba(255, 133, 43, 0.08);
    color: #ffffff;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(255, 133, 43, 0.15);
}

.quiz-option.correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}

.quiz-option.wrong {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

.quiz-option:disabled {
    cursor: default;
}

.quiz-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.quiz-nav button {
    background: var(--accent_gradient);
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    border-radius: var(--btn-rounded);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
}

.quiz-nav button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 133, 43, 0.45);
}

.quiz-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quiz-result {
    text-align: center;
    padding: 24px 12px;
}

.quiz-result h2 {
    color: var(--heading_color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    white-space: normal;
}

.quiz-result .quiz-score {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary_orange);
    margin: 12px 0;
    text-shadow: 0 0 20px rgba(255, 133, 43, 0.3);
}

.quiz-result p {
    color: var(--text_color);
    margin-bottom: 24px;
    white-space: normal;
}

.quiz-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.quiz-result-actions button {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--btn-rounded);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-retry-btn {
    background: var(--accent_gradient);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 133, 43, 0.35);
}

.quiz-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 133, 43, 0.45);
}

.quiz-back-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.quiz-back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.quiz-continue-btn {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent_gradient);
    border-radius: var(--btn-rounded);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.quiz-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 133, 43, 0.45);
}

.quiz-continue-btn:active {
    transform: translateY(0);
}

.quiz-continue-btn.visible {
    display: flex;
}

.lets-start-btn {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: var(--accent_gradient);
    border-radius: var(--btn-rounded);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 133, 43, 0.35);
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.lets-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 133, 43, 0.5);
}

.lets-start-btn:active {
    transform: translateY(0);
}