/* Floating Side Banner Styles */
.floating_box {
    position: fixed;
    right: 0;
    bottom: 20px;
    z-index: 9999;
    transition: right 0.3s ease;
}

.float_banner {
    position: relative;
}

#sideBanner {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#sideBanner .promo {
    margin-bottom: 5px;
}

.banner_wrap {
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.banner_wrap:hover {
    transform: scale(1.05);
}

.banner_wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Icon styles for banner */
.banner_wrap i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.banner_wrap:hover i {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.toggle-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px 0 0 5px;
    height: 50px;
    width: 50px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #f1f1f1;
    padding: 0;
}

.toggle-promo i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.toggle-promo:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.toggle-promo:hover i {
    transform: translateX(3px);
}

/* Toggle state - when banner is hidden, rotate icon */
.floating_box.hidden .toggle-promo i {
    transform: rotate(180deg);
}

/* Hidden state for banner - hide only promo items, keep toggle visible */
.floating_box.hidden .promo {
    display: none;
}

/* Modal Popup Styles */
#exampleModalCenter .modal-content {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

#exampleModalCenter .modal-header {
    padding: 15px 20px;
    border-bottom: none;
}

#exampleModalCenter .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#popup-promo .popup {
    display: flex;
    flex-direction: column;
}

#popup-promo .popup > div {
    margin-bottom: 0;
}

.promo-img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.promo-img:hover {
    opacity: 0.9;
}

/* Promo link styles in modal */
.promo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-decoration: none;
    color: #333;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #ababab;
    transition: all 0.3s ease;
}

.promo-link:hover {
    background: rgba(255, 255, 255, 1);
    color: #d4af37;
    transform: translateX(5px);
}

.promo-icon {
    font-size: 32px;
    margin-right: 15px;
    color: #d4af37;
}

.promo-text {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

#exampleModalCenter .modal-footer {
    padding: 10px 20px;
    border-top: none;
}

#exampleModalCenter .modal-footer input[type="checkbox"] {
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .floating_box {
        bottom: 10px;
    }
    
    #sideBanner .promo {
        margin-bottom: 3px;
    }
    
    .banner_wrap img {
        max-width: 80px;
    }
    
    .banner_wrap i {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Animation for banner items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#sideBanner .promo {
    animation: slideIn 0.3s ease forwards;
}

#sideBanner .promo:nth-child(1) { animation-delay: 0.1s; }
#sideBanner .promo:nth-child(2) { animation-delay: 0.2s; }
#sideBanner .promo:nth-child(3) { animation-delay: 0.3s; }
#sideBanner .promo:nth-child(4) { animation-delay: 0.4s; }

