/* BONUS POPUP STYLES */
.bonus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(155, 84, 50, 0.95);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.4s ease;
    padding: 20px;
    box-sizing: border-box;
}

.bonus-overlay.show {
    display: flex;
}

.bonus-popup {
    background: linear-gradient(135deg, #9B5432 0%, #8A4A2C 50%, #7A4025 100%);
    border: 3px solid #ffd700;
    border-radius: 25px;
    padding: 45px 40px;
    max-width: 580px;
    overflow-y: scroll;
    max-height: 90vh;
    width: 100%;
    text-align: center;
    position: relative;
    animation: popInScale 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 215, 0, 0.1);
    scrollbar-width: thin;
    scrollbar-color: #ffd700 #7A4025;
}

.bonus-popup::-webkit-scrollbar {
    width: 8px;
    background: #7A4025;
    border-radius: 8px;
}

.bonus-popup::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    border: 2px solid #7A4025;
}

.bonus-popup::-webkit-scrollbar-track {
    background: #7A4025;
    border-radius: 8px;
}


.close-bonus-popup {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-bonus-popup:hover {
    background: #ffd700;
    color: #9B5432;
    transform: rotate(90deg) scale(1.1);
}

.bonus-popup-content {
    color: white;
}

.bonus-popup-icon {
    font-size: 80px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    animation: giftFloat 3s ease-in-out infinite;
}

.bonus-popup h2 {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ffd700, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.bonus-popup .subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #ffd700;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.bonus-popup p {
    font-size: 16px;
    margin-bottom: 35px;
    color: #e0e0e0;
    line-height: 1.6;
}

.bonus-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 40px;
    text-align: left;
}

.bonus-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(155, 84, 50, 0.6), rgba(122, 64, 37, 0.8));
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.bonus-feature:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(155, 84, 50, 0.7));
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.bonus-feature i {
    color: #ffd700;
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.action-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.action-btn.primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #9B5432;
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.action-btn.primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 215, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #ffed4e, #ffd700);
}

.action-btn.secondary {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, #66bb6a, #4caf50);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.6);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.action-btn:hover::before {
    left: 100%;
}

.bonus-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(155, 84, 50, 0.5), rgba(122, 64, 37, 0.7));
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 25px;
    backdrop-filter: blur(8px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.stat-text {
    font-size: 12px;
    color: #bdbdbd;
    text-align: center;
}

.stars {
    color: #ffd700;
    font-size: 18px;
    margin-top: 5px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5));
}

.popup-disclaimer {
    font-size: 12px;
    opacity: 0.8;
    margin: 15px 0 0 0;
    color: #bdbdbd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.urgency-timer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    animation: timerPulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popInScale {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes timerPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 71, 87, 0.6);
        transform: scale(1.02);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bonus-popup {
        padding: 35px 25px;
        margin: 15px;
        border-radius: 20px;
    }
    
    .bonus-popup h2 {
        font-size: 28px;
    }
    
    .bonus-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }
    
    .bonus-stats {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }

    .bonus-popup-icon {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .bonus-popup {
        padding: 30px 20px;
        border-width: 2px;
    }
    
    .bonus-stats {
        padding: 18px;
        gap: 15px;
    }
    
    .stat-item {
        gap: 3px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-text {
        font-size: 11px;
    }

    .bonus-popup h2 {
        font-size: 24px;
    }

    .bonus-popup .subtitle {
        font-size: 18px;
    }
}
