/* ============================================
   BONUS REWARD SECTION STYLES
   ============================================ */

.bonus-reward-section {
    background: linear-gradient(135deg, #1A0033 0%, #000B1D 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.bonus-reward-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 92, 45, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bonus-card {
    background: linear-gradient(145deg, rgba(255, 92, 45, 0.1) 0%, rgba(10, 26, 60, 0.8) 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(255, 92, 45, 0.3);
    animation: bonus-pulse 3s ease-in-out infinite;
}

@keyframes bonus-pulse {

    0%,
    100% {
        box-shadow: 0 20px 60px rgba(255, 92, 45, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 25px 70px rgba(255, 92, 45, 0.5);
        transform: scale(1.02);
    }
}

.bonus-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-orange), var(--neon-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 92, 45, 0.5);
    animation: bonus-icon-bounce 2s ease-in-out infinite;
}

@keyframes bonus-icon-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bonus-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.bonus-subtitle {
    font-size: 1.3rem;
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.bonus-description {
    font-size: 1.05rem;
    color: var(--gray-medium);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--neon-orange));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 92, 45, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: btn-bonus-pulse 2s ease-in-out infinite;
}

@keyframes btn-bonus-pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(255, 92, 45, 0.5);
    }

    50% {
        box-shadow: 0 12px 40px rgba(255, 92, 45, 0.7);
    }
}

.btn-bonus:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 92, 45, 0.8);
}

.btn-bonus i {
    font-size: 1.5rem;
    animation: point-finger 1s ease-in-out infinite;
}

@keyframes point-finger {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* ============================================
   BONUS POPUP STYLES
   ============================================ */

.bonus-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.bonus-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bonus-popup-content {
    background: linear-gradient(145deg, #0A1A3C 0%, #000B1D 100%);
    border: 3px solid var(--primary-orange);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(255, 92, 45, 0.5), 0 0 50px rgba(255, 92, 45, 0.3);
    transform: scale(0.5);
    opacity: 0;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
}

.bonus-popup-overlay.active .bonus-popup-content {
    transform: scale(1);
    opacity: 1;
}

.bonus-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-popup-close:hover {
    color: var(--primary-orange);
    transform: rotate(90deg);
}

.bonus-popup-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-orange), var(--neon-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 4rem;
    color: white;
    box-shadow: 0 15px 40px rgba(255, 92, 45, 0.4);
    animation: trophy-bounce 1s ease-in-out infinite;
}

@keyframes trophy-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.bonus-popup-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.bonus-popup-subtitle {
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.bonus-popup-text {
    font-size: 1.05rem;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.bonus-popup-warning {
    background: rgba(10, 26, 60, 0.6);
    border-left: 4px solid var(--primary-orange);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
    color: var(--gray-light);
    font-size: 0.95rem;
}

.bonus-popup-warning i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
}

.btn-bonus-popup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.3rem 2.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.btn-bonus-popup:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.btn-bonus-popup i {
    font-size: 1.5rem;
}

.bonus-popup-footer {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10002;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .bonus-reward-section {
        padding: 3rem 0;
    }

    .bonus-card {
        padding: 2rem 1.5rem;
    }

    .bonus-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .bonus-title {
        font-size: 1.8rem;
    }

    .bonus-subtitle {
        font-size: 1.1rem;
    }

    .bonus-description {
        font-size: 0.95rem;
    }

    .btn-bonus {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        width: 100%;
    }

    .bonus-popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .bonus-popup-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .bonus-popup-title {
        font-size: 1.8rem;
    }

    .bonus-popup-subtitle {
        font-size: 1.05rem;
    }

    .bonus-popup-text {
        font-size: 0.95rem;
    }

    .btn-bonus-popup {
        padding: 1.1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }
}