/* Floating Button Styles */
.floating-logo-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: #111;
    border: 2px solid #D4AF37;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    animation: pulse-glow 2.5s infinite ease-in-out;
}

.floating-logo-button:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

.floating-logo-button img {
    width: 90%;
    height: auto;
}

@keyframes pulse-glow {
    0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
    70%  { box-shadow: 0 0 10px 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Popup Content */
.popup-content {
    background: #282828;
    border: 1px solid #D4AF37;
    border-radius: 12px;
    padding: 30px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    color: #fff;
    font-family: Arial, sans-serif;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

/* Popup Close Button */
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform 0.2s;
}

.popup-close-btn:hover {
    transform: scale(1.2);
    color: #fff;
}

/* Popup Title */
.popup-title {
    font-size: 28px;
    color: #D4AF37;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Popup Text */
.popup-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ddd;
}

/* Popup CTA Button */
.popup-cta-btn {
    display: inline-block;
    background: linear-gradient(45deg, #D4AF37, #f0c354);
    color: #1C1C1C;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.popup-cta-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-logo-button {
        width: 65px;
        height: 65px;
        bottom: 20px;
        right: 20px;
    }
    
    .popup-content {
        padding: 25px 20px;
        max-width: 350px;
    }
    
    .popup-title {
        font-size: 24px;
    }
    
    .popup-text {
        font-size: 14px;
    }
    
    .popup-cta-btn {
        padding: 10px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .floating-logo-button {
        width: 60px;
        height: 60px;
        bottom: 15px;
        right: 15px;
    }
    
    .popup-content {
        padding: 20px 15px;
        max-width: 300px;
    }
    
    .popup-title {
        font-size: 22px;
    }
    
    .popup-text {
        font-size: 13px;
    }
    
    .popup-cta-btn {
        padding: 8px 25px;
        font-size: 15px;
    }
}
