﻿/* Hero Section Styles */
    .challenge-hero {
        border-radius: 24px;
        padding: 2.5rem;
        color: white;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .challenge-hero.active {
        background: linear-gradient(135deg, #8d1d5c 0%, #c7375d 52%, #6f2a8a 100%);
    }

    .challenge-hero.completed {
        background: linear-gradient(135deg, #157f5b 0%, #148b8b 52%, #0f6b73 100%);
    }

    .challenge-hero::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        backdrop-filter: blur(20px);
    }

    .challenge-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(11, 18, 40, 0.18) 0%, rgba(11, 18, 40, 0.06) 42%, rgba(11, 18, 40, 0.28) 100%);
        pointer-events: none;
    }

    .challenge-hero .row,
    .hero-content,
    .hero-card {
        position: relative;
        z-index: 1;
    }

    .challenge-badge {
        display: inline-block;
        background: rgba(15, 23, 42, 0.18);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.24);
    }

    .hero-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
        color: #fff;
        text-shadow: 0 10px 30px rgba(11, 18, 40, 0.24);
    }

    .hero-subtitle {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.96);
        margin-bottom: 2rem;
        line-height: 1.5;
        text-shadow: 0 6px 18px rgba(11, 18, 40, 0.18);
    }

    /* Challenge Features */
    .challenge-features {
        display: flex;
        gap: 2rem;
        margin-top: 2rem;
    }

    .feature-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(15, 23, 42, 0.16);
        padding: 1rem 1.5rem;
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .feature-number {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .feature-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.88);
    }

    /* Hero Stats for completed */
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(15, 23, 42, 0.16);
        padding: 1.5rem;
        border-radius: 16px;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        transition: all 0.3s ease;
    }

    .stat-item:hover {
        transform: translateY(-4px);
        background: rgba(15, 23, 42, 0.22);
    }

    .stat-icon {
        width: 56px;
        height: 56px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
    }

    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1;
    }

    .stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.88);
    }

    /* Hero Card */
    .hero-card {
        background: rgba(15, 23, 42, 0.16);
        border-radius: 20px;
        padding: 2rem;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        text-align: center;
        box-shadow: 0 18px 48px rgba(11, 18, 40, 0.14);
    }

    .reward-showcase {
        position: relative;
    }

    .reward-icon-large {
        width: 80px;
        height: 80px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin: 0 auto 1.5rem;
        animation: pulse 2s infinite;
    }

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

    .reward-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .reward-amount {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .reward-bonus {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.88);
    }

    .reward-flames {
        position: absolute;
        top: -10px;
        right: -10px;
    }

    .flame {
        width: 8px;
        height: 12px;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        animation: flicker 1s infinite alternate;
        position: absolute;
    }

    .flame-1 { animation-delay: 0s; }
    .flame-2 { left: 4px; animation-delay: 0.3s; }
    .flame-3 { left: 8px; animation-delay: 0.6s; }

    @keyframes flicker {
        0% { transform: rotate(-2deg) scale(1); }
        100% { transform: rotate(2deg) scale(1.1); }
    }

    /* Success Animation */
    .success-animation {
        display: flex;
        justify-content: center;
    }

    .success-checkmark {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: block;
        stroke-width: 3;
        stroke: rgba(255, 255, 255, 0.8);
        stroke-miterlimit: 10;
        box-shadow: inset 0px 0px 0px rgba(255, 255, 255, 0.8);
        animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
        position: relative;
        margin: 0 auto;
    }

    .success-checkmark .check-icon {
        width: 80px;
        height: 80px;
        position: relative;
        border-radius: 50%;
        box-sizing: content-box;
        border: 3px solid rgba(255, 255, 255, 0.8);
    }

    .success-checkmark .check-icon::before {
        top: 3px;
        left: -2px;
        width: 30px;
        transform-origin: 100% 50%;
        border-radius: 100px 0 0 100px;
    }

    .success-checkmark .check-icon::after {
        top: 0;
        left: 30px;
        width: 60px;
        transform-origin: 0 50%;
        border-radius: 0 100px 100px 0;
        animation: rotate-circle 4.25s ease-in;
    }

    .success-checkmark .check-icon::before,
    .success-checkmark .check-icon::after {
        content: '';
        height: 100px;
        position: absolute;
        background: rgba(67, 233, 123, 0.9);
        transform: rotate(-45deg);
    }

    .success-checkmark .icon-line {
        height: 3px;
        background: white;
        display: block;
        border-radius: 2px;
        position: absolute;
        z-index: 10;
    }

    .success-checkmark .icon-line.line-tip {
        top: 46px;
        left: 14px;
        width: 25px;
        transform: rotate(45deg);
        animation: icon-line-tip 0.75s;
    }

    .success-checkmark .icon-line.line-long {
        top: 38px;
        right: 8px;
        width: 47px;
        transform: rotate(-45deg);
        animation: icon-line-long 0.75s;
    }

    @keyframes icon-line-tip {
        0% { width: 0; left: 1px; top: 19px; }
        54% { width: 0; left: 1px; top: 19px; }
        70% { width: 50px; left: -8px; top: 37px; }
        84% { width: 17px; left: 21px; top: 48px; }
        100% { width: 25px; left: 14px; top: 45px; }
    }

    @keyframes icon-line-long {
        0% { width: 0; right: 46px; top: 54px; }
        65% { width: 0; right: 46px; top: 54px; }
        84% { width: 55px; right: 0px; top: 35px; }
        100% { width: 47px; right: 8px; top: 38px; }
    }

    /* Quiz Dashboard */
    .quiz-dashboard {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .quiz-progress-section {
        flex: 1;
        margin-right: 2rem;
    }

    .progress-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .progress-label {
        font-weight: 600;
        color: var(--dark-color);
    }

    .progress-counter {
        font-size: 0.9rem;
        color: #666;
        font-weight: 500;
    }

    .progress-bar-container {
        position: relative;
    }

    .progress-bar-modern {
        height: 8px;
        background: #f1f3f4;
        border-radius: 4px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(90deg, #f093fb, #f5576c);
        border-radius: 4px;
        transition: width 0.5s ease;
        position: relative;
    }

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

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

    .quiz-timer-section {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }

    .timer-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #f093fb, #f5576c);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.1rem;
    }

    .timer-label {
        font-size: 0.85rem;
        color: #666;
        display: block;
    }

    .timer-value {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--dark-color);
        transition: color 0.3s ease;
    }

    .timer-value.warning {
        color: #ff9800;
    }

    .timer-value.urgent {
        color: #f44336;
        animation: pulse 1s infinite;
    }

    /* Quiz Question Cards */
    .quiz-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .quiz-question-card {
        background: white;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: all 0.4s ease;
        margin-bottom: 2rem;
    }

    .question-header {
        background: linear-gradient(135deg, #f8f9fc 0%, #f1f3f9 100%);
        padding: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .question-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .question-number {
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-color);
    }

    .question-subject {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 12px;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .question-content {
        padding: 2rem;
    }

    .question-text {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--dark-color);
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .question-image {
        text-align: center;
        margin-bottom: 2rem;
    }

    .question-image img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    /* Modern Answer Options */
    .question-options {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .answer-option-modern {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        border-radius: 16px;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .answer-option-modern:hover {
        border-color: var(--primary-color);
        background: rgba(108, 99, 255, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(108, 99, 255, 0.15);
    }

    .answer-option-modern.selected {
        border-color: var(--primary-color);
        background: rgba(108, 99, 255, 0.1);
        box-shadow: 0 4px 20px rgba(108, 99, 255, 0.2);
    }

    .option-indicator {
        position: relative;
    }

    .option-letter {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary-color), #9F7AEA);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }

    .answer-option-modern.selected .option-letter {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
    }

    .option-content {
        flex: 1;
    }

    .option-text {
        font-size: 1.05rem;
        font-weight: 500;
        color: var(--dark-color);
        line-height: 1.4;
    }

    .option-selector {
        width: 24px;
        height: 24px;
        border: 2px solid #ddd;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .selector-circle {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary-color);
        transform: scale(0);
        transition: transform 0.3s ease;
    }

    .answer-option-modern.selected .option-selector {
        border-color: var(--primary-color);
    }

    .answer-option-modern.selected .selector-circle {
        transform: scale(1);
    }

    /* Quiz Navigation */
    .quiz-navigation-modern {
        background: white;
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 2rem;
    }

    .nav-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1rem;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .prev-btn {
        background: #f8f9fa;
        color: var(--dark-color);
        border: 2px solid #e9ecef;
    }

    .prev-btn:hover {
        background: #e9ecef;
        transform: translateY(-2px);
    }

    .next-btn {
        background: linear-gradient(135deg, var(--primary-color), #9F7AEA);
        color: white;
    }

    .next-btn:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
    }

    .next-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    .submit-btn {
        background: linear-gradient(135deg, #43e97b, #38f9d7);
        color: white;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(67, 233, 123, 0.3);
    }

    /* Quiz Dots */
    .quiz-dots {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .quiz-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #e9ecef;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .quiz-dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }

    .quiz-dot.completed {
        background: #43e97b;
    }

    /* Next Actions Section */
    .next-actions-section {
        background: white;
        padding: 2.5rem;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-bottom: 2rem;
    }

    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #666;
        margin: 0;
    }

    .action-card {
        background: white;
        border: 2px solid #f1f1f1;
        border-radius: 20px;
        padding: 2rem;
        cursor: pointer;
        transition: all 0.4s ease;
        height: 100%;
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

    .action-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: white;
        flex-shrink: 0;
    }

    .action-icon.dashboard { background: linear-gradient(135deg, #667eea, #764ba2); }
    .action-icon.quiz { background: linear-gradient(135deg, #f093fb, #f5576c); }
    .action-icon.stats { background: linear-gradient(135deg, #4facfe, #00f2fe); }

    .action-info {
        flex: 1;
    }

    .action-info h5 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--dark-color);
        margin-bottom: 0.5rem;
    }

    .action-info p {
        color: #666;
        margin: 0;
        font-size: 0.95rem;
    }

    .action-arrow {
        width: 32px;
        height: 32px;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 0.9rem;
        transition: all 0.3s ease;
    }

    .action-card:hover .action-arrow {
        background: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }

    /* Next Challenge Info */
    .next-challenge-info {
        background: white;
        border-radius: 24px;
        padding: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        overflow: hidden;
    }

    .next-challenge-card {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 2rem;
    }

    .countdown-section {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .countdown-icon {
        width: 64px;
        height: 64px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        backdrop-filter: blur(10px);
    }

    .countdown-info h5 {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .countdown-timer {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .time-unit {
        text-align: center;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.75rem;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        min-width: 60px;
    }

    .time-number {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
        line-height: 1;
    }

    .time-label {
        font-size: 0.7rem;
        opacity: 0.8;
        display: block;
        margin-top: 0.25rem;
    }

    .time-separator {
        font-size: 1.2rem;
        font-weight: 700;
        opacity: 0.7;
    }

    .challenge-exit-guard-open {
        overflow: hidden;
    }

    .challenge-exit-guard {
        position: fixed;
        inset: 0;
        z-index: 1200;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.5rem;
        background: rgba(11, 18, 40, 0.56);
        backdrop-filter: blur(10px);
        opacity: 0;
        transition: opacity 0.22s ease;
    }

    .challenge-exit-guard.is-visible {
        opacity: 1;
    }

    .challenge-exit-guard__dialog {
        width: min(100%, 680px);
        position: relative;
        border-radius: 28px;
        padding: 1.8rem;
        background:
            radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
            linear-gradient(145deg, #7b1e57 0%, #b83366 52%, #632f92 100%);
        color: #ffffff;
        box-shadow: 0 28px 70px rgba(11, 18, 40, 0.28);
        border: 1px solid rgba(255, 255, 255, 0.16);
        transform: translateY(18px) scale(0.98);
        transition: transform 0.22s ease;
    }

    .challenge-exit-guard.is-visible .challenge-exit-guard__dialog {
        transform: translateY(0) scale(1);
    }

    .challenge-exit-guard__close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.14);
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .challenge-exit-guard__close:hover,
    .challenge-exit-guard__close:focus {
        background: rgba(255, 255, 255, 0.22);
        transform: translateY(-1px);
        outline: none;
    }

    .challenge-exit-guard__badge {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.58rem 0.95rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.14);
        font-size: 0.82rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 1rem;
    }

    .challenge-exit-guard__dialog h3 {
        margin: 0 0 0.7rem;
        font-size: clamp(1.8rem, 3vw, 2.4rem);
        font-weight: 800;
        line-height: 1.1;
        color: #ffffff;
    }

    .challenge-exit-guard__lead {
        margin: 0 0 1.4rem;
        color: rgba(255, 255, 255, 0.92);
        line-height: 1.75;
        font-size: 1rem;
    }

    .challenge-exit-guard__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .challenge-exit-guard__stat {
        padding: 1rem;
        border-radius: 20px;
        background: rgba(15, 23, 42, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .challenge-exit-guard__stat-label {
        display: block;
        font-size: 0.74rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255, 255, 255, 0.72);
        margin-bottom: 0.35rem;
    }

    .challenge-exit-guard__stat strong {
        display: block;
        font-size: 1.7rem;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .challenge-exit-guard__stat small {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .challenge-exit-guard__note {
        display: flex;
        align-items: flex-start;
        gap: 0.7rem;
        padding: 0.95rem 1rem;
        border-radius: 18px;
        background: rgba(15, 23, 42, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.65;
        margin-bottom: 1.3rem;
    }

    .challenge-exit-guard__note i {
        margin-top: 0.15rem;
    }

    .challenge-exit-guard__actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.85rem;
        flex-wrap: wrap;
    }

    .challenge-exit-guard__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        min-height: 52px;
        padding: 0.95rem 1.2rem;
        border-radius: 16px;
        border: 1px solid transparent;
        font-weight: 700;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .challenge-exit-guard__btn:hover,
    .challenge-exit-guard__btn:focus {
        transform: translateY(-1px);
        outline: none;
    }

    .challenge-exit-guard__btn--secondary {
        background: rgba(255, 255, 255, 0.96);
        color: #32446e;
        border-color: rgba(255, 255, 255, 0.82);
    }

    .challenge-exit-guard__btn--secondary:hover,
    .challenge-exit-guard__btn--secondary:focus {
        box-shadow: 0 14px 30px rgba(255, 255, 255, 0.16);
    }

    .challenge-exit-guard__btn--danger {
        background: linear-gradient(135deg, #ff7a59 0%, #ff3d54 100%);
        color: #ffffff;
        box-shadow: 0 16px 32px rgba(255, 61, 84, 0.28);
    }

    .challenge-exit-guard__btn--danger:hover,
    .challenge-exit-guard__btn--danger:focus {
        box-shadow: 0 20px 36px rgba(255, 61, 84, 0.32);
    }

    @media (min-width: 992px) {
        .challenge-hero .row {
            min-height: 400px;
        }
    }

    /* Responsive Design */
    @media (max-width: 991.98px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .challenge-features {
            flex-direction: column;
            gap: 1rem;
        }
        
        .hero-stats {
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }
        
        .quiz-dashboard {
            flex-direction: column;
            gap: 1.5rem;
        }

        .challenge-exit-guard__stats {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.7rem;
        }

        .challenge-exit-guard__dialog {
            width: min(100%, 560px);
            max-height: calc(100dvh - 2rem);
            overflow-y: auto;
            padding: 1.35rem;
        }

        .challenge-exit-guard__badge {
            margin-bottom: 0.8rem;
            padding: 0.5rem 0.82rem;
            font-size: 0.76rem;
        }

        .challenge-exit-guard__dialog h3 {
            margin-bottom: 0.5rem;
            font-size: clamp(1.45rem, 3vw, 1.9rem);
        }

        .challenge-exit-guard__lead {
            margin-bottom: 1rem;
            font-size: 0.92rem;
            line-height: 1.55;
        }

        .challenge-exit-guard__stat {
            padding: 0.85rem 0.75rem;
            border-radius: 16px;
        }

        .challenge-exit-guard__stat strong {
            font-size: 1.35rem;
            margin-bottom: 0;
        }

        .challenge-exit-guard__stat small {
            display: none;
        }

        .challenge-exit-guard__note {
            display: none;
        }
        
        .quiz-progress-section {
            margin-right: 0;
            width: 100%;
        }
    }

    @media (max-width: 767.98px) {
        .challenge-hero {
            text-align: center;
            padding: 2rem 1.5rem;
        }
        
        .quiz-navigation-modern {
            flex-direction: column;
            gap: 1rem;
        }
        
        .nav-btn {
            width: 100%;
            justify-content: center;
        }
        
        .quiz-dots {
            order: -1;
        }
        
        .countdown-section {
            flex-direction: column;
            text-align: center;
            gap: 1.5rem;
        }
        
        .countdown-timer {
            justify-content: center;
        }
        
        .action-card {
            flex-direction: column;
            text-align: center;
            gap: 1rem;
        }
        
        .quiz-question-card {
            margin: 0 -1rem 2rem;
            border-radius: 16px;
        }
        
        .question-content {
            padding: 1.5rem;
        }
        
        .question-text {
            font-size: 1.1rem;
        }

        .challenge-exit-guard {
            padding: 1rem;
        }

        .challenge-exit-guard__dialog {
            padding: 1.1rem;
            border-radius: 22px;
            max-height: calc(100dvh - 1rem);
        }

        .challenge-exit-guard__badge {
            display: none;
        }

        .challenge-exit-guard__lead {
            font-size: 0.88rem;
            line-height: 1.45;
            margin-bottom: 0.85rem;
        }

        .challenge-exit-guard__stats {
            margin-bottom: 1rem;
        }

        .challenge-exit-guard__stat {
            padding: 0.75rem 0.6rem;
        }

        .challenge-exit-guard__stat-label {
            font-size: 0.66rem;
            margin-bottom: 0.25rem;
        }

        .challenge-exit-guard__stat strong {
            font-size: 1.1rem;
        }

        .challenge-exit-guard__actions,
        .challenge-exit-guard__btn {
            width: 100%;
        }

        .challenge-exit-guard__actions {
            gap: 0.65rem;
        }

        .challenge-exit-guard__btn {
            min-height: 48px;
            padding: 0.82rem 1rem;
            border-radius: 14px;
        }
    }

    @media (max-width: 575.98px) {
        .answer-option-modern {
            padding: 1rem;
        }
        
        .option-text {
            font-size: 0.95rem;
        }
        
        .time-unit {
            min-width: 50px;
            padding: 0.5rem;
        }
        
        .time-number {
            font-size: 1.2rem;
        }
    }
