/* Premium Black & White Advertisement Carousel */
.advertisement-showcase-zone {
    width: 100%;
    height: 150px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border: 2px solid #333;
    border-radius: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5);
}

.sponsor-content-slider {
    display: flex;
    height: 100%;
    animation: seamlessLoop 40s linear infinite;
    will-change: transform;
}

.premium-advertisement-tile {
    flex: 0 0 200px;
    height: 100%;
    margin-right: 35px;
    position: relative;
}

.brand-showcase-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #333;
}

.brand-showcase-frame:hover {
    transform: scale(1.02);
    border-color: #fff;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.advertisement-portal-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.brand-visual-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.full-coverage-ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s ease;
}

.brand-showcase-frame:hover .full-coverage-ad-image {
    transform: scale(1.05);
}

/* Company Name Always Visible Overlay */
.company-identity-overlay {
    position: absolute;
    top: 75%;
    width: 100%;
    background: rgba(0, 0, 0, 0.0);
    padding: 8px 12px;
    border-radius: 4px;
    /* backdrop-filter: blur(3px); */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-showcase-frame:hover .company-identity-overlay {
    background: rgba(0, 0, 0, 0.85);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.brand-name-container {
    text-align: left;
}

.elegant-company-label {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(255, 255, 255, 0.3);
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    backdrop-filter: blur(5px);
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Seamless Looping Animation */
@keyframes seamlessLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.advertisement-showcase-zone:hover .sponsor-content-slider {
    animation-play-state: paused;
}

/* Decorative borders */
.advertisement-showcase-zone::before,
.advertisement-showcase-zone::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 100%);
    z-index: 2;
}

.advertisement-showcase-zone::before {
    left: 0;
}

.advertisement-showcase-zone::after {
    right: 0;
}

/* Performance optimizations */
.advertisement-showcase-zone * {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Responsive Design */
@media (max-width: 768px) {
    .advertisement-showcase-zone {
        height: 120px;
    }

    .premium-advertisement-tile {
        flex: 0 0 150px;
        margin-right: 10px;
    }

    .elegant-company-label {
        font-size: 11px;
        padding: 4px 8px;
        letter-spacing: 0.3px;
    }

    .company-identity-overlay {
        top: 55%;
        left: 8px;
        right: 8px;
        padding: 6px 10px;
    }
}

@media (max-width: 480px) {
    .advertisement-showcase-zone {
        height: 100px;
    }

    .premium-advertisement-tile {
        flex: 0 0 120px;
        margin-right: 8px;
    }

    .elegant-company-label {
        font-size: 10px;
        padding: 3px 6px;
        letter-spacing: 0.2px;
    }

    .company-identity-overlay {
        top: 50%;
        left: 6px;
        right: 6px;
        padding: 4px 8px;
    }
}

/* Loading state for images */
.full-coverage-ad-image[src=""],
.full-coverage-ad-image:not([src]) {
    background: linear-gradient(45deg,
            #2a2a2a 25%,
            #1a1a1a 25%,
            #1a1a1a 50%,
            #2a2a2a 50%,
            #2a2a2a 75%,
            #1a1a1a 75%);
    background-size: 20px 20px;
    animation: diagonalMove 2s linear infinite;
}

@keyframes diagonalMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 20px 20px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .brand-showcase-frame {
        border-color: #fff;
    }

    .elegant-company-label {
        background: #000;
        border-color: #fff;
    }

    .full-coverage-ad-image {
        filter: contrast(1.5);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sponsor-content-slider {
        animation-duration: 60s;
    }

    .brand-showcase-frame:hover {
        transform: none;
    }

    .full-coverage-ad-image {
        transition: none;
    }
}