/* Professional Banner Manager - Modern & Clean */
.banner-manager-footer {
    margin: 40px 0 30px 0;
    padding: 30px 0 20px 0;
    clear: both;
    position: relative;
}

.banner-manager-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ddd, transparent);
}

.banner-container {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
}

.banner-item {
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.banner-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 60px;
    background: white;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.banner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.banner-item a:hover img {
    filter: grayscale(0%);
}

/* Payment method badges */
.banner-item.visa a,
.banner-item.mastercard a {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
}

.banner-item.visa a:hover,
.banner-item.mastercard a:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #dfe2e6;
}

/* Bank badges */
.banner-item.swedbank a,
.banner-item.seb a,
.banner-item.revolut a,
.banner-item.luminor a,
.banner-item.citadele a {
    background: white;
    border: 1px solid #f0f0f0;
}

/* Kurpirkt specific */
.banner-item.kurpirkt a {
    background: #ffffff;
    border: 1px solid #f0f0f0;
}

/* Tooltip on hover */
.banner-item {
    position: relative;
}

.banner-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.banner-item:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .banner-container {
        gap: 20px;
        padding: 0 20px;
    }
    
    .banner-item a {
        width: 130px;
        height: 55px;
    }
}

@media (max-width: 992px) {
    .banner-container {
        gap: 15px;
    }
    
    .banner-item a {
        width: 120px;
        height: 50px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .banner-manager-footer {
        margin: 30px 0 20px 0;
        padding: 25px 0 15px 0;
    }
    
    .banner-container {
        gap: 12px;
        padding: 0 15px;
    }
    
    .banner-item a {
        width: 110px;
        height: 45px;
        padding: 6px;
    }
    
    .banner-item::after {
        font-size: 11px;
        padding: 3px 8px;
    }
}

@media (max-width: 576px) {
    .banner-container {
        gap: 10px;
    }
    
    .banner-item a {
        width: 100px;
        height: 40px;
        padding: 5px;
    }
    
    .banner-manager-footer::before {
        width: 80px;
    }
}

/* Animation for entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Stagger animation for multiple items */
.banner-item:nth-child(1) { animation-delay: 0.1s; }
.banner-item:nth-child(2) { animation-delay: 0.2s; }
.banner-item:nth-child(3) { animation-delay: 0.3s; }
.banner-item:nth-child(4) { animation-delay: 0.4s; }
.banner-item:nth-child(5) { animation-delay: 0.5s; }
.banner-item:nth-child(6) { animation-delay: 0.6s; }
.banner-item:nth-child(7) { animation-delay: 0.7s; }
.banner-item:nth-child(8) { animation-delay: 0.8s; }