:root {
    --brand-dark-bg: #1a1a1a;
    --brand-light-bg: #2c2c2c;
    --accent-gold: #f0c354;
    --light-text: #ffffff;
    --secondary-text: #cccccc;
}

.bonus-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand-dark-bg);
    border-top: 2px solid var(--accent-gold);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    animation: slideUp 0.5s ease 2s forwards;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.bonus-banner.show {
    transform: translateY(0);
}

.bonus-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bonus-banner-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--brand-dark-bg);
}

.bonus-banner-text h3 {
    font-size: 14px;
    color: var(--accent-gold);
    margin: 0 0 2px 0;
    font-weight: bold;
}

.bonus-banner-text p {
    font-size: 12px;
    color: var(--secondary-text);
    margin: 0;
}

.bonus-banner-btn {
    background: var(--accent-gold);
    color: var(--brand-dark-bg);
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 30px;
}

.bonus-banner-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.bonus-banner-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    background: none;
    border: none;
    color: var(--secondary-text);
    font-size: 24px;
    cursor: pointer;
}

.floating-bonus {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
}

.bonus-btn {
    background: var(--brand-dark-bg);
    border: 2px solid var(--accent-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: var(--accent-gold);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    animation: pulse-gold 2s infinite;

}

.bonus-btn:hover {
    transform: scale(1.1);
    background: var(--brand-light-bg);
}

.bonus-icon {
    font-size: 28px;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--brand-light-bg);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    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: 2px solid var(--accent-gold);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #ccc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
    transition: all 0.3s;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.popup-gift {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--brand-dark-bg);
    box-shadow: 0 0 25px rgba(240, 195, 84, 0.5);
}

.popup-title {
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    font-weight: bold;
}

.popup-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
    color: var(--secondary-text);
}

.popup-bonus {
    background: var(--brand-dark-bg);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 20px 15px;
    margin: 0 auto 25px;
}

.bonus-amount {
    font-size: 52px;
    color: var(--accent-gold);
    font-weight: bold;
    line-height: 1;
}

.bonus-label {
    color: var(--light-text);
    font-weight: 500;
    font-size: 16px;
    margin-top: 5px;
}

.popup-features {
    color: var(--secondary-text);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-btn {
    background: var(--accent-gold);
    color: var(--brand-dark-bg);
    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.1);
}

@keyframes slideUp{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes pulse-gold{0%{box-shadow:0 0 8px rgba(240,195,84,0.5)}50%{box-shadow:0 0 20px rgba(240,195,84,0.9)}100%{box-shadow:0 0 8px rgba(240,195,84,0.5)}}

@media (max-width: 768px) {
    .floating-bonus { left: 15px; bottom: 15px; width: 55px; height: 55px; }
    .popup-content { width: 95%; padding: 25px; }
    .popup-title { font-size: 22px; }
    .bonus-amount { font-size: 46px; }
}

@media (max-width: 480px) {
    .bonus-banner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}