@font-face {
    font-family: 'KalamehMehrRegular';
    src: url('fonts/KalamehMehrRegular.eot');
    src: url('fonts/KalamehMehrRegular.eot') format('embedded-opentype'),
         url('fonts/KalamehMehrRegular.woff2') format('woff2'),
         url('fonts/KalamehMehrRegular.woff') format('woff'),
         url('fonts/KalamehMehrRegular.ttf') format('truetype'),
         url('fonts/KalamehMehrRegular.svg#KalamehMehrRegular') format('svg');
}
@font-face {
    font-family: 'KalamehMehrThin';
    src: url('fonts/KalamehMehrThin.ttf') format('truetype');
}
@font-face {
    font-family: 'KalamehMehrMedium';
    src: url('fonts/KalamehMehrMedium.eot');
    src: url('fonts/KalamehMehrMedium.eot') format('embedded-opentype'),
         url('fonts/KalamehMehrMedium.woff2') format('woff2'),
         url('fonts/KalamehMehrMedium.woff') format('woff'),
         url('fonts/KalamehMehrMedium.ttf') format('truetype'),
         url('fonts/KalamehMehrMedium.svg#KalamehMehrMedium') format('svg');
}
@font-face {
    font-family: 'Yekan';
    src: url('fonts/Yekan.eot');
    src: url('fonts/Yekan.eot') format('embedded-opentype'),
         url('fonts/Yekan.woff2') format('woff2'),
         url('fonts/Yekan.woff') format('woff'),
         url('fonts/Yekan.ttf') format('truetype'),
         url('fonts/Yekan.svg#Yekan') format('svg');
}

/* Scrollbar hiding - applied via JavaScript when quiz is active */
body.quiz-active,
html.quiz-active {
    overflow: hidden !important;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.quiz-active::-webkit-scrollbar,
html.quiz-active::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.game {
    position: fixed !important;
    top: 0;
    left: 0;
    overflow: hidden !important;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    width: 100vw;
    width: 100dvw; /* Dynamic viewport width for mobile */
    z-index: 9999;
}

/* Hide Goftino widget immediately on quiz pages (prevents flash) */
body.quiz-active #goftino_w,
body.quiz-active [id*="goftino"],
body.quiz-active [class*="goftino"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.game label:hover {
    border: 3.5px solid #df9065;
}

.game .questions label.selected {
    box-shadow: 0 0 0 1.5px #df9065, 0 0 10px rgba(223, 144, 101, 0.7);
    transform: scale(1.02);
}

p.pq-check-text {
    padding-right: 20px;
}
.game {
    width: 100%;
    max-width: 100%;
    margin: auto;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    overflow: hidden;
    font-family: 'KalamehMehrRegular';
    background-size: cover;
    background-position: center;
}
.game .cards-game {
    position: relative;
    width: 100%;
    min-height: 100%;
    max-width: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: row-reverse;
}
.game .quiz-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: end;
/*    transition: 1s linear;*/
    background: transparent;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Image Protection Overlay */
.game .quiz-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}
.game .questions {
    display: flex;
    gap: 2rem;
    flex-direction: row-reverse;
}

.game h2 {
    font-size: 2rem;
    font-family: "Roboto", "sans-serif";
    color: #000;
    font-weight: 700;
    text-align: center;
}
p.pq-check-text {
    margin-left: 4px;
    width: 26px;
    height: 37px;
    font-size: 23px;
}
.game .click-view {
    background: none !important;
    /* margin-left: 50px; */
    border: none !important;
    max-width: inherit !important;
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
}
.game label input[type="radio"] {
    display: none;
}

.game .btn-box {
    display: flex;
    justify-content: space-between;
    position: absolute;
    right: 7px;
    flex-direction: row-reverse;
    gap: 0;
}
.game .btn-box.left-content {
    justify-content: flex-end;
}
.game .btn-box button {
    display: flex;
    margin: 0;
    font-size: 21px;
    border: 0;
    cursor: pointer;
    font-family: 'KalamehMehrRegular';
    flex-direction: row-reverse;
}
.game .btn-box .btn-text {
    transition: transform 0.3s ease, color 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.game .quiz-card {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #1a1a1a;
}
.game button.click-view {
    font-family: 'KalamehMehrRegular';
    font-size: 20px;
    pointer-events: none;
}
.game button.next-game img {
    max-width: 30px;
    margin-left: 20px;
    margin-top: 6px;
    margin-right: 20px;
}
.game button.prev-game img {
    max-width: 30px;
    margin-right: 20px;
    margin-top: 6px;
    margin-left: 20px;
}
.game .resultshow p {
    background: #000000;
    color: #fff;
    font-size: 30px;
    font-weight: 400;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 34px;
    font-family: 'KalamehMehrMedium';

    /* Add animation properties */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 0 0 1.5px #df9065, 0 0 10px rgba(223, 144, 101, 0.5);
    transform: scale(1);
}

.game .resultshow {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    bottom: 50%;
    z-index: 9;
}
.game .quiz-box-wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center; 
    position: relative;
    z-index: 1;
    -webkit-transition: 0.4s ease-in-out;
    -o-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
    opacity: 0;
}

.game .options-group {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media screen and (min-width: 1000px) {
    .game .quiz-box-wrapper {
        position: absolute;
        left: 0;
        right: 0;
        top: -80px;
        z-index: 1000;
        width: 100%;
        height: 60px;
    }
    .game .quiz-box-wrapper .box-text {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}
.game .quiz-box-wrapper p {
    position: relative;
}
.answers img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
}

/* ==========================================
   MODERN QUIZ REDESIGN - PROGRESS & UX
   ========================================== */

/* Progress Indicator */
.quiz-progress {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 130px;
    margin-right: 130px;
    padding: 0px 8px
}

.progress-bar-container {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #df9065, #f4a261);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 4px rgba(255, 255, 255, 0.15) inset,
        0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text {
    font-family: 'Yekan';
    font-size: 22px;
    color: #fff;
    background: rgba(40, 40, 40, 0.35) !important;
    backdrop-filter: blur(1px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    padding: 8px 20px;
    border-radius: 28px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 4px rgba(255, 255, 255, 0.15) inset,
        0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.progress-text .separator {
    margin: 0 5px;
    opacity: 0.7;
}

.game .quiz-box-wrapper .box-text {
    font-family: 'KalamehMehrRegular';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 10px;
    font-size: 16.5px;
    color: #fff;
    background: linear-gradient(135deg, #df9065 0%, #e8926d 100%);
    border-radius: 20px;
    height: auto;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.instruction-icon {
    font-size: 24px;
    animation: pointDown 1.5s ease-in-out infinite;
}

/* Enhanced Option Buttons */
.game label {
    height: 55px;
    width: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 3px solid transparent;
    font-size: 24px;
    padding: 0;
    color: #2c3e50;
    cursor: pointer;
    margin: 0;
    font-weight: 600;
    font-family: 'Yekan';
    transition: none;
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.game label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(223, 144, 101, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.game label:hover::before {
    width: 0;
    height: 0;
}

.game label:hover {
    border: 3.5px solid #df9065;
}

.game label.selected {
    color: #fff;
    background: linear-gradient(135deg, #df9065 0%, #e8926d 100%);
    border: 3.5px solid #df9065; /* Keep border on mobile */
    box-shadow: 0 0 0 3px rgba(223, 144, 101, 0.5), 0 8px 25px rgba(223, 144, 101, 0.6);
    transform: scale(1.05);
    animation: selectedPulse 0.4s ease-out;
}

.game label.selected.dsk {
    background: #1a1a1a;
}

/* Enhanced Control Panel - iOS Glassmorphism */
.game .questions-wrapper {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    background: rgba(40, 40, 40, 0.35) !important;
    backdrop-filter: blur(1px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border-radius: 24px;
    padding: 14px 26px;
    position: relative;
    z-index: 999;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 4px rgba(255, 255, 255, 0.15) inset,
        0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    margin-left: 130px;
    margin-right: 130px;
}

.game .click-view {
    background: none !important;
    border: none !important;
    color: #fff;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'KalamehMehrRegular';
    opacity: 0.8;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.view-icon {
    font-size: 20px;
}

/* Confirmed Badge */
.confirmed-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'KalamehMehrMedium';
    font-size: 21px;
    padding: 18px 45px;
    border-radius: 50px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 2px 4px rgba(255, 255, 255, 0.15) inset,
        0 20px 60px rgba(0, 0, 0, 0.15);
}

.check-icon {
    font-size: 32px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Navigation Buttons */
.game .btn-box button.prev-game,
.game .btn-box button.next-game {
    background: transparent;
    border: none;
    font-size: 20px;
    padding: 8px 15px;
    transition: none;
    color: #fff;
}

.game .btn-box button.prev-game:hover .btn-text,
.game .btn-box button.next-game:hover .btn-text {
    color: #df9065;
}

.game button.login-btn {
    background: transparent;
    border: none;
    padding: 8px 15px;
    color: #fff;
    font-family: 'KalamehMehrRegular';
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: none;
    padding-top: 9px;
    padding-left: 0px;
}

.game button.login-btn:hover .btn-text {
    color: #df9065;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes pointDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

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

@keyframes confirmPulse {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.05); }
}

@keyframes badgeAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes checkBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

/* Ripple Effect */
.game label .ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(0);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* ==========================================
   WATERMARK & COPYRIGHT PROTECTION
   ========================================== */

/* Watermark Overlay - Center */
.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.watermark-logo {
    width: 400px;
    height: auto;
    opacity: 0.3;
    filter: grayscale(0%) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Smooth quiz card transitions */
.game .quiz-card {
    opacity: 1;
    transition: opacity 0.5s ease-in-out, background-image 0.5s ease-in-out;
}

/* ==========================================
   RESPONSIVE DESIGN IMPROVEMENTS
   ========================================== */

/* Tablet/Small Desktop - 820px to 1000px */
@media (max-width: 1000px) {
    .quiz-progress {
        top: 15px;
        right: 15px;
        left: 15px;
    }

    .progress-text {
        font-size: 16px;
        padding: 5px 12px;
        min-width: 65px;
    }

    .quiz-progress {
        margin-left: 0px;
        margin-right: 0px;
    }

    .game .options-group {
        gap: 8px;
    }

    .game .quiz-box-wrapper {
        position: fixed;
        bottom: 115px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 998;
        margin-bottom: 0;
        width: calc(100% - 120px);
        max-width: 100%;
        height: 48px;
    }

    .game .quiz-box-wrapper .box-text {
        font-size: 17px;
        padding: 6px 14px;
        margin: 0;
    }

    .game label {
        height: 38px;
        width: 38px;
        font-size: 16px;
    }

    .game .questions {
        gap: 0.8rem;
        justify-content: center;
        position: relative;
        z-index: 1;
        padding-top: 6px;
    }

    .game .questions-wrapper {
        padding: 8px 80px;
        gap: 8px;
        border-radius: 16px 16px 0 0;
        max-width: 100% !important;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(40, 40, 40, 0.35) !important;
        backdrop-filter: blur(1px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 2px 4px rgba(255, 255, 255, 0.15) inset,
            0 20px 60px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-bottom: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .game .click-view {
        font-size: 18px;
        margin-top: 0px;
        padding-top: 0px;
        text-align: center;
    }

    .game .btn-box {
        position: absolute;
        top: 8px;
        left: 0;
        right: 0;
        height: 40px;
        pointer-events: none;
    }

    .game .btn-box button.prev-game {
        position: absolute;
        right: 8px;
        top: 0;
        pointer-events: auto;
    }

    .game .btn-box button.next-game {
        position: absolute;
        left: 8px;
        top: 0;
        pointer-events: auto;
    }

    .game .cards-game .quiz-card:last-child button.prev-game {
        right: 8px !important;
    }

    .game .btn-box form#login-form {
        position: absolute;
        left: 8px;
        top: 0;
        pointer-events: auto;
    }

    .confirmed-badge {
        font-size: 20px;
        padding: 12px 28px;
    }

    .check-icon {
        font-size: 24px;
    }

    .game .btn-box button.prev-game,
    .game .btn-box button.next-game {
        font-size: 18px;
    }

    .game .btn-box button.login-btn {
        font-size: 18px !important;
        padding: 8px 12px !important;
    }
}

@media (max-width: 480px) {
    .progress-bar-container {
        height: 4px;  
    }

    .quiz-progress {
        margin-left: 0px;
        margin-right: 0px;
    }

    .progress-text {
        font-size: 14px;
        padding: 4px 10px;
        min-width: 55px;
    }

    .game .resultshow {
        top: 20%;
    }

    .game .quiz-box-wrapper {
        position: fixed;
        bottom: 90px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 998;
        margin-bottom: 0;
        width: calc(100% - 12px);
        max-width: 100%;
    }

    .game .quiz-box-wrapper .box-text {
        font-size: 15px;
        padding: 5px 12px;
        gap: 4px;
        border-radius: 10px;
    }

    .instruction-icon {
        font-size: 16px;
    }

    .game label {
        height: 35px;
        width: 35px;
        font-size: 15px;
    }

    .game .questions {
        gap: 0.7rem;
        justify-content: center;
        position: relative;
        z-index: 1;
        padding-top: 6px;
    }

    .game .questions-wrapper {
        padding: 6px 70px;
        gap: 2px;
        border-radius: 14px 14px 0 0;
        max-width: 100% !important;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(40, 40, 40, 0.35) !important;
        backdrop-filter: blur(1px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 2px 4px rgba(255, 255, 255, 0.15) inset,
            0 20px 60px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-bottom: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .game .click-view {
        font-size: 12px;
        margin-top: 0px;
        padding-top: 0px;
        text-align: center;
        padding-bottom: 2px;
    }

    .game .btn-box {
        position: absolute;
        top: 6px;
        left: 0;
        right: 0;
        height: 36px;
        pointer-events: none;
    }

    .game .btn-box button.prev-game {
        position: absolute;
        right: 6px;
        top: 0;
        pointer-events: auto;
    }

    .game .btn-box button.next-game {
        position: absolute;
        left: 6px;
        top: 0;
        pointer-events: auto;
    }

    .game .cards-game .quiz-card:last-child button.prev-game {
        right: 6px !important;
    }

    .game .btn-box form#login-form {
        position: absolute;
        left: 6px;
        top: 0;
        pointer-events: auto;
    }

    .confirmed-badge {
        font-size: 16px;
        padding: 8px 22px;
    }

    .check-icon {
        font-size: 20px;
    }

    .game .btn-box button.prev-game,
    .game .btn-box button.next-game {
        font-size: 18px;
        padding: 8px 12px;
    }

    .game .btn-box button.login-btn {
        font-size: 18px !important;
        padding: 8px 12px !important;
    }

    /* Responsive Watermark */
    .watermark-logo {
        width: 250px;
        opacity: 0.25;
    }
}
.login-wrapper {
  background-image: url("../images/login-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 50px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 100%;
  max-width: 1200px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-wrapper .otp-container{
  background-image: url("../images/big-logo.png");
  background-size: 65% auto;
  background-repeat: no-repeat;
  background-position: center;
  padding: 60px 35px;
  width: 100%;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-wrapper h4 {
    font-size: 30px;
    color: #000;
    text-align: center;
}
.login-wrapper h3 {
    color: #000;
    font-size: 32px;
    text-align: center;
    padding-bottom: 30px;
    font-family: KalamehMehrMedium;
    margin: 0;
    line-height: 1.4;
}

.login-wrapper .otperror {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    color: #d32f2f;
    padding: 20px 30px;
    text-align: center;
    font-size: 17px;
    font-family: KalamehMehrMedium;
    z-index: 9999;
    border-radius: 16px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: slideDownNotification 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl;
    margin: 0;
}

.login-wrapper .otperror::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f, #ff6b6b);
    border-radius: 16px 16px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.login-wrapper input.form-control {
    width: 100%;
    height: 75px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 3px solid transparent;
    font-size: 24px;
    margin-top: 25px;
    font-family: KalamehMehrRegular;
    padding: 0 25px;
    text-align: right;
    direction: rtl;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.login-wrapper input.form-control:focus {
    outline: none;
    border-color: #df9065;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(223, 144, 101, 0.15), 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.login-wrapper input.form-control::placeholder {
    color: #999;
    font-size: 22px;
}

.login-wrapper form {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.quiz-verification-code1 form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-wrapper  .send-btn ,.login-wrapper  .otp-btn{
    margin-top: 50px;
    background-color: #DF9065;
    color: #fff;
    border: 2px solid #DF9065;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 25px;
    font-family: 'KalamehMehrMedium', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(223, 144, 101, 0.4);
    position: relative;
    overflow: hidden;
}

.login-wrapper  .send-btn::before, .login-wrapper  .otp-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-wrapper  .send-btn:hover::before, .login-wrapper  .otp-btn:hover::before {
    width: 300px;
    height: 300px;
}

.login-wrapper  .send-btn:hover, .login-wrapper  .otp-btn:hover {
    background-color: #c7764f;
    border-color: #c7764f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(223, 144, 101, 0.6);
}

.login-wrapper  .send-btn:active, .login-wrapper  .otp-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(223, 144, 101, 0.5);
}

.login-wrapper  .otp-btn {
    display: block;
    margin: 40px auto 0;
}

.result-wrapper {
    direction: rtl;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    width: 100%;
}

 .verification-code {
    text-align: center;
    margin-top: 40px;
}

.quiz-verification-code1 label {
	text-align: center;
	margin: 0 auto;
	display: block;
	padding-bottom: 20px;
	font-size: 26px;
	color: #333;
	font-family: KalamehMehrMedium;
}

.quiz-verification-code1 input[type="text"] {
    width: 68px;
    height: 80px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-align: center;
    font-size: 32px;
    font-family: 'Yekan';
    font-weight: 700;
    border-radius: 12px;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.quiz-verification-code1 input[type="text"]:focus {
    outline: none;
    border-color: #df9065;
    background: #000;
    box-shadow: 0 0 0 3px rgba(223, 144, 101, 0.3), 0 6px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.08);
}

 .otp-inputs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
    direction: ltr;
}

.login-wrapper .error {
    display: none;
}

.login-wrapper .error-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    color: #d32f2f;
    padding: 22px 30px;
    text-align: center;
    font-size: 16px;
    font-family: KalamehMehrRegular;
    z-index: 9999;
    border-radius: 16px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: slideDownNotification 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl;
}

.login-wrapper .error-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f, #ff6b6b);
    border-radius: 16px 16px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

.login-wrapper .error-bar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.login-wrapper .error-bar li {
    margin: 0;
    padding: 0;
    position: relative;
    padding-right: 24px;
}

.login-wrapper .error-bar li::before {
    content: '●';
    position: absolute;
    right: 0;
    color: #ff6b6b;
    font-size: 12px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes slideDownNotification {
    0% {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownBar {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

.login-wrapper .success {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    color: #2e7d32;
    padding: 20px 30px;
    text-align: center;
    font-size: 17px;
    font-family: KalamehMehrMedium;
    z-index: 9999;
    border-radius: 16px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: slideDownNotification 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl;
    margin: 0;
}

.login-wrapper .success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #66bb6a, #4caf50);
    border-radius: 16px 16px 0 0;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.result-wrapper {
    padding: 50px;
}
.result-wrapper h4 {
    font-weight: bold;
    text-align: center;
    padding-bottom: 35px;
    font-size: 25px;
}
.result-inn {
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 5%;
    padding-top: 70px;
}
.result-inn > p {
    text-align: center;
}
label.selected.dsk {
    pointer-events: none;
}
.boxes-wrap {
    margin-top: 20px;
    width: 50%;
    margin: 20px auto;
}
.boxes-wrap .boxes {
    background: #f5f5f5;
    padding: 30px;
    text-align: center;
    color: #000;
}
.boxes-wrap .boxes p {
    margin: 15px auto;
}

.circle {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 120px;
    height: 120px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 20px !important;
    font-weight: bold;
    position: relative;
    border-radius: 50% !important;
    line-height: 120px;
}

@keyframes loading-1 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(36);
    transform: rotate(36deg);
  }
}
@keyframes loading-2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(72);
    transform: rotate(72deg);
  }
}
@keyframes loading-3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(108);
    transform: rotate(108deg);
  }
}
@keyframes loading-4 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(144);
    transform: rotate(144deg);
  }
}
@keyframes loading-5 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(180);
    transform: rotate(180deg);
  }
}
.boxes-wrap .boxes h5 {
  font-size: 30px;
}
.boxes-wrap .boxes p,.result-inn p {
  font-size: 18px;
  margin-bottom: 0;
}
.whatsapp {
  background-image: url("../images/whatsapp.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.twitter {
  background-image: url("../images/twitter.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.insta {
  background-image: url("../images/insta.svg");
    background-repeat: no-repeat;
    background-position: center;
}
.social-icons {
    display: flex;
    flex-direction: row;
    margin-top: 50px;
    align-items: center;
}
.icons span {
    width: 42px;
    height: 42px;
    background-color: #f5f5f5;
    display: block;
    border-radius: 50%;
    margin-right: 10px;
}
.icons {
    display: flex;
}
.icons span.whatsapp:hover {
    background-color: #DC8D65;
    background-image: url(../images/whatsapp-hover.svg);
}
.icons span.twitter:hover {
    background-color: #DC8D65;
    background-image: url(../images/twitter-hover.svg);
}
.icons span.insta:hover {
    background-color: #DC8D65;
    background-image: url(../images/insta-hover.svg);
}
.social-icons p {
    margin-left: 15px;
}
.game .cards-game .quiz-card:last-child button.prev-game {
    right: 245px;
}
.game .btn-box form#login-form {
    display: inline-flex;
}

.game .login-btn img {
    max-width: 30px;
    margin-left: 20px;
    margin-top: 6px;
    margin-right: 20px;
}
.game .login-btn:hover,.game .login-btn:focus {
    /* background: transparent; */
}
.game .btn-box span.btn-text:hover,.game .btn-box button.prev-game:hover,.game .login-btn:hover {
    /*font-size: 1.9rem;
    padding-top: 0;*/
    /* border-radius: 20px; */
    /* box-shadow: 0 1px 10px 2px #ebebeb; */
}
.game button.login-btn[disabled] {
    /* opacity: 0.5; */
}
#quiz-card-6 .prev-game {
    display: block !important;
    /* margin-right: 15px; */
}
.game button.login-btn[disabled]:hover {
    /*font-size: 1.6rem;
    padding-top: .5rem !important;*/
}
*{
outline: none;
}btn-box
::selection {
  background: transparent !important;
}


@media screen and (max-width: 991px) {
    .result-inn {
        background-size: auto;
    }
    .boxes-wrap {
        width: 100%;
    }
    .result-wrapper {
        padding: 20px;
    }
    .login-wrapper {
        padding: 30px 20px;
        min-height: 500px;
    }
    .login-wrapper .otp-container {
        padding: 40px 20px;
        background-size: 80% auto;
    }
    .login-wrapper h3 {
        font-size: 36px;
        padding-bottom: 20px;
    }
    .login-wrapper input.form-control {
        height: 65px;
        font-size: 20px;
        margin-top: 20px;
        padding: 0 20px;
    }
    .login-wrapper input.form-control::placeholder {
        font-size: 18px;
    }
    .login-wrapper .send-btn, .login-wrapper .otp-btn {
        padding: 14px 60px;
        font-size: 24px;
        margin-top: 35px;
    }
    .quiz-verification-code1 label {
        font-size: 22px;
        padding-bottom: 15px;
    }
    .quiz-verification-code1 input[type="text"] {
        width: 55px;
        height: 65px;
        font-size: 26px;
    }
    .otp-inputs {
        gap: 10px;
        margin: 20px 0;
    }
    .login-wrapper .otperror,
    .login-wrapper .error-bar,
    .login-wrapper .success {
        font-size: 15px;
        padding: 18px 25px;
        top: 15px;
        width: 92%;
        border-radius: 14px;
    }
    .login-wrapper .error-bar ul {
        gap: 8px;
    }
    .login-wrapper .error-bar li {
        padding-right: 20px;
    }
    .game .click-view {
        margin-left: 0;
    }
    .resultshow {
        top: 20%;
    }
    form#login-form {
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    .game .quiz-card {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .login-wrapper h3 {
        font-size: 28px;
        line-height: 1.3;
    }
    .login-wrapper form, .quiz-verification-code1 form {
        max-width: 100%;
        padding: 35px 25px;
    }
    .login-wrapper .send-btn, .login-wrapper .otp-btn {
        padding: 12px 40px;
        font-size: 20px;
    }
    .quiz-verification-code1 input[type="text"] {
        width: 48px;
        height: 58px;
        font-size: 22px;
    }
    .otp-inputs {
        gap: 8px;
    }
    .login-wrapper .otperror,
    .login-wrapper .error-bar,
    .login-wrapper .success {
        font-size: 14px;
        padding: 16px 20px;
        top: 10px;
        width: 94%;
        border-radius: 12px;
    }
    .login-wrapper .error-bar ul {
        gap: 8px;
    }
    .login-wrapper .error-bar li {
        padding-right: 18px;
        font-size: 13px;
    }
    .login-wrapper .error-bar li::before {
        font-size: 10px;
    }
}