:root {
    --brand-dark-teal: #0f343a;
    --brand-panel-bg: #18454b;
    --accent-cyan: #00d1ff;
    --accent-gold: #f7d04f;
    --light-text: #fff;
    --secondary-text: #a0b3b8;
}

.left-sidebar-promo {
    position: fixed;
    left: 10px;
    top: 250px;
    z-index: 999;
    width: 200px;
}

.promo-btn {
    width: 100%;
    background: linear-gradient(to bottom, #f7d04f, #e8a933);
    border: 2px solid var(--light-text);
    border-radius: 8px;
    padding: 15px 20px;
    color: var(--brand-dark-teal);
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    transition: all 0.3s;
    animation: pulse-gold 2s infinite ease-in-out;
}

.promo-btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.promo-icon {
    font-size: 24px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 52, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--brand-panel-bg);
    border-radius: 12px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 209, 255, 0.3);
    overflow: hidden;
    padding: 0;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-header {
    background: rgba(0,0,0,0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-title {
    font-size: 20px;
    color: var(--accent-cyan);
    margin: 0;
    font-weight: bold;
}

.popup-close {
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s;
}

.popup-close:hover {
    color: var(--light-text);
    transform: rotate(90deg);
}

/* Тело попапа */
.popup-body {
    padding: 25px 30px;
}

.popup-subtitle {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--light-text);
    font-weight: bold;
}

.popup-bonus {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    margin: 0 auto 25px;
}

.bonus-amount {
    font-size: 52px;
    color: var(--accent-cyan);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.bonus-label {
    color: var(--light-text);
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

.popup-btn {
    background: linear-gradient(45deg, #007bff, var(--accent-cyan));
    color: var(--light-text);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    transition: filter 0.3s ease;
    text-transform: uppercase;
}

.popup-btn:hover {
    filter: brightness(1.2);
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 10px rgba(247, 208, 79, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(247, 208, 79, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(247, 208, 79, 0.4);
    }
}

@media (max-width: 768px) {
    .left-sidebar-promo {
        width: auto;
        top: auto;
        bottom: 15px;
        left: 15px;
    }
    
    .promo-btn {
        padding: 12px 16px;
    }
    
    .promo-btn span:not(.promo-icon) {
        display: none;
    }

    
    .popup-content {
        width: 95%;
    }
    
    .popup-body {
        padding: 20px;
    }
    
    .popup-title {
        font-size: 18px;
    }
    
    .bonus-amount {
        font-size: 44px;
    }
}
