/* css/exclusive-teaser.css */

/* Wrapper positioning - ensures proper layering */
#exclusiveTeaserWrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 85px;
    z-index: 1000 !important;
    /* Higher than hero section */
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.exclusive-teaser {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 16px 24px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    width: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Subtle shine effect on hover */
.exclusive-teaser::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.exclusive-teaser:hover::after {
    left: 150%;
    transition: 0.7s ease-in-out;
}

.exclusive-teaser:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(30, 30, 30, 0.7);
}

.teaser-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.teaser-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.teaser-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.3px;
}

.teaser-cta {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.teaser-cta .arrow {
    transition: transform 0.3s ease;
    font-size: 1.1em;
}

.exclusive-teaser:hover .teaser-cta .arrow {
    transform: translateX(5px);
}

.exclusive-teaser:hover .teaser-cta {
    opacity: 1;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    #exclusiveTeaserWrapper {
        top: 70px;
        /* Adjust for smaller mobile header */
    }

    .exclusive-teaser {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        width: 90%;
        gap: 12px;
        margin-left: auto;
        margin-right: auto;
    }

    .teaser-content-wrapper {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .teaser-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .teaser-title {
        font-size: 1.5rem;
        text-align: center;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 8px;
    }

    .teaser-cta {
        justify-content: center;
    }
}