/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 3px solid #FFF;
    animation: pulse 2s infinite;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
}

.floating-btn-icon {
    font-size: 32px;
    color: #620F14;
    font-weight: bold;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 215, 0, 0.7);
    }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

/* Popup Container */
.popup-container {
    background: linear-gradient(180deg, #620F14 0%, #4A0A0F 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid #FFD700;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: #FFD700;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #620F14;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
}

.popup-close:hover {
    background: #FFA500;
    transform: rotate(90deg);
}

/* Popup Content */
.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-logo {
    font-size: 32px;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.popup-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-subtitle {
    font-size: 16px;
    color: #FFD700;
    margin-bottom: 20px;
}

.bonus-amount {
    font-size: 48px;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    text-align: center;
    margin: 20px 0;
}

.popup-description {
    font-size: 15px;
    color: #DDD;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.popup-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.popup-features li {
    font-size: 14px;
    color: #FFF;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    align-items: center;
}

.popup-features li:before {
    content: "✓";
    color: #FFD700;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.popup-cta {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #620F14;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    line-height: 1.2;
}

.popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.popup-terms {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

/* --- Adaptive Styles --- */
@media (max-width: 599px) {
    .floating-btn {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
        border-width: 2px;
    }
    .floating-btn-icon {
        font-size: 24px;
    }
    .popup-container {
        padding: 18px 8px 18px 8px;
        max-width: 98vw;
        border-radius: 12px;
    }
    .popup-logo {
        font-size: 22px;
    }
    .popup-title {
        font-size: 17px;
        margin-bottom: 7px;
    }
    .popup-subtitle {
        font-size: 13px;
        margin-bottom: 13px;
    }
    .bonus-amount {
        font-size: 25px;
        margin: 11px 0;
    }
    .popup-description {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .popup-header {
        margin-bottom: 15px;
    }
    .popup-features {
        margin: 10px 0;
    }
    .popup-features li {
        font-size: 12px;
        padding: 7px 0;
    }
    .popup-features li:before {
        font-size: 15px;
    }
    .popup-cta {
        padding: 11px 10px;
        font-size: 15px;
        border-radius: 38px;
    }
    .popup-close {
        top: 8px;
        right: 8px;
        width: 27px;
        height: 27px;
        font-size: 17px;
    }
    .popup-terms {
        font-size: 10px;
        margin-top: 10px;
    }
}

@media (max-width: 375px) {
    .floating-btn {
        width: 42px;
        height: 42px;
        bottom: 8px;
        right: 8px;
    }
    .popup-container {
        padding: 7px 1vw;
        max-width: 100vw;
        border-radius: 9px;
    }
    .popup-logo {
        font-size: 16px;
    }
    .popup-title {
        font-size: 13px;
    }
    .bonus-amount {
        font-size: 17px;
    }
}

@media (max-width: 350px) {
    .popup-title,
    .popup-logo,
    .bonus-amount,
    .popup-header,
    .popup-subtitle,
    .popup-features li,
    .popup-terms {
        font-size: 12px !important;
    }
    .popup-cta {
        font-size: 13px;
        padding: 8px 4px;
        border-radius: 26px;
    }
}