/* 1111Bet Popup, Floating Button & Banner Styles */

:root {
    --bg-dark: #181818;
    --bg-secondary: #282828;
    --accent-yellow: #fde047;
    --accent-yellow-darker: #f5c518;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

/* Pop-up */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px 25px;
    max-width: 380px;
    width: 90%;
    position: relative;
    border: 1px solid var(--accent-yellow);
    text-align: center;
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(253, 224, 71, 0.15);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--accent-yellow);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.popup-icon::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.popup-icon.telegram::before {
    content: "\f2c6"; /* fa-telegram */
}

.popup-icon.bonus::before {
    content: "\f0a3"; /* fa-gift */
}

.popup-content h3 {
    color: var(--accent-yellow);
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: bold;
}

.popup-content p {
    margin: 0 0 25px 0;
    color: var(--text-secondary);
    font-size: 16px;
}

.popup-btn {
    background: linear-gradient(to right, var(--accent-yellow), var(--accent-yellow-darker));
    color: var(--bg-dark);
    border: none;
    padding: 14px 35px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 224, 71, 0.3);
}

.popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(253, 224, 71, 0.5);
}

.popup-small {
    font-size: 12px;
    color: #6b7280;
    margin: 10px 0 0 0;
}

/* Floating Button */
.floating-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    animation: pulse 2s infinite;
}

.floating-content {
    background: linear-gradient(to bottom, var(--accent-yellow), var(--accent-yellow-darker));
    color: var(--bg-dark);
    padding: 12px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(253, 224, 71, 0.4);
    font-weight: bold;
    font-size: 15px;
    border: 2px solid var(--accent-yellow);
}

.floating-icon {
    font-size: 18px;
    animation: bounce 1s infinite;
}

.floating-icon::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f075"; /* fa-comments */
}

/* Footer Banner */
.footer-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--bg-secondary);
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 2px solid var(--accent-yellow);
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1200px;
    width: 100%;
    justify-content: center;
    position: relative;
}

.banner-text {
    color: var(--text-primary);
    font-weight: bold;
    font-size: 16px;
}

.banner-text::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f06d"; /* fa-fire */
    margin-right: 8px;
    color: var(--accent-yellow);
}

.banner-btn {
    background: linear-gradient(to right, var(--accent-yellow), var(--accent-yellow-darker));
    color: var(--bg-dark);
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.banner-btn:hover {
    transform: scale(1.05);
}

.banner-close {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--accent-yellow);
    font-size: 22px;
    cursor: pointer;
    font-weight: bold;
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-button {
        bottom: 100px;
        right: 15px;
    }
    
    .floating-content {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .banner-content {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        text-align: center;
    }
    
    .banner-text {
        font-size: 14px;
        width: 100%;
    }

    .banner-close {
        top: -8px;
        right: 0;
    }
}
