/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 3px solid #fff;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.6);
}

.floating-btn .icon {
    font-size: 28px;
    color: #8B4513;
    font-weight: bold;
}

.floating-btn .icon i {
    font-size: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 140, 0, 0.8);
    }
    100% {
        box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Popup Content */
.popup {
    background: linear-gradient(135deg, #2C1810 0%, #1A0F0A 100%);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #FFD700;
    overflow: hidden;
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.7) translateY(-50px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 20px;
    text-align: center;
    z-index: 1;
    position: relative;
}

.popup-header h2 {
    color: #8B4513;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.popup-header p {
    color: #654321;
    font-size: 14px;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #8B4513;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    transform: rotate(90deg);
    color: #654321;
}

.popup-body {
    padding: 30px 25px;
}

.bonus-info {
    text-align: center;
    margin-bottom: 25px;
}

.bonus-amount {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 8px;
}

.bonus-text {
    color: #FFA500;
    font-size: 16px;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    margin-bottom: 25px;
}

.features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #fff;
    font-size: 14px;
}

.features li::before {
    content: "✓";
    background: #32CD32;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.download-btn {
    background: linear-gradient(135deg, #32CD32 0%, #228B22 100%);
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.4);
}

.play-online-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    color: #8B4513;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.play-online-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.payment-logo {
    background: white;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #666;
    font-weight: bold;
}

.coin-decoration {
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

.coin-decoration.coin-1 {
    top: 20px;
    opacity: 0.2;
    background: #fff;
    left: 20px;
    z-index: 2;
    animation-delay: 0s;
}

.coin-decoration.coin-2 {
    top: 50px;
    right: 30px;
    background:#fff;
    z-index: 2;   
    opacity: 0.2;
    animation-delay: 1s;
}

.coin-decoration.coin-3 {
    bottom: 30px;
    left: 40px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .popup {
        width: 95%;
        margin: 10px;
    }
    .coin-decoration.coin-3{
        bottom: 48px;
        left: 6px;
    }

    .popup-header h2 {
        font-size: 20px;
    }
    
    .bonus-amount {
        font-size: 28px;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn .icon {
        font-size: 24px;
    }
}
