/* MegaVitrin — reklam blokları (featured + inline strip) */
.mv-ad-featured {
    --mv-ad-ink: #0f172a;
    --mv-ad-brand: #e31e24;
    position: relative;
    flex: 0 0 min(300px, 32%);
    min-width: 220px;
    max-width: 320px;
    align-self: stretch;
    border-radius: 18px;
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(145deg, #1f2937 0%, #111827 55%, #7f1d1d 120%);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .14);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.mv-ad-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(227, 30, 36, .22);
    color: #fff;
}
.mv-ad-featured__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform .55s ease;
}
.mv-ad-featured:hover .mv-ad-featured__bg {
    transform: scale(1.1);
}
.mv-ad-featured__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .15) 0%, rgba(15, 23, 42, .72) 70%, rgba(15, 23, 42, .9) 100%),
        linear-gradient(120deg, rgba(227, 30, 36, .35), transparent 55%);
}
.mv-ad-featured__shine {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}
.mv-ad-featured__shine::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 45%;
    height: 180%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: rotate(18deg);
    animation: mvAdShine 4.8s ease-in-out infinite;
}
@keyframes mvAdShine {
    0%, 35% { transform: translateX(0) rotate(18deg); opacity: 0; }
    45% { opacity: 1; }
    70%, 100% { transform: translateX(420%) rotate(18deg); opacity: 0; }
}
.mv-ad-featured__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mv-ad-featured__pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fb7185;
    box-shadow: 0 0 0 0 rgba(251, 113, 133, .7);
    animation: mvAdPulse 1.8s ease-out infinite;
}
@keyframes mvAdPulse {
    0% { box-shadow: 0 0 0 0 rgba(251, 113, 133, .65); }
    70% { box-shadow: 0 0 0 8px rgba(251, 113, 133, 0); }
    100% { box-shadow: 0 0 0 0 rgba(251, 113, 133, 0); }
}
.mv-ad-featured__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mv-ad-featured__title {
    margin: 0;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -.02em;
}
.mv-ad-featured__sub {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    opacity: .88;
    line-height: 1.4;
}
.mv-ad-featured__cta {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--mv-ad-ink);
    font-size: 12px;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.mv-ad-featured:hover .mv-ad-featured__cta {
    background: var(--mv-ad-brand);
    color: #fff;
    transform: translateX(3px);
}

/* Featured slider (hero) */
.mv-ad-featured-wrap {
    position: relative;
    flex: 0 0 min(300px, 32%);
    min-width: 220px;
    max-width: 320px;
    align-self: stretch;
}
.mv-ad-featured-wrap .mv-ad-featured {
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 100%;
}
.mv-ad-featured-wrap__track {
    position: relative;
    height: 100%;
    min-height: 190px;
}
.mv-ad-featured-wrap__track .mv-ad-featured {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(.98);
    transition: opacity .45s ease, transform .45s ease;
}
.mv-ad-featured-wrap__track .mv-ad-featured.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    position: relative;
}
.mv-ad-featured-wrap__dots {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 3;
    display: flex;
    gap: 5px;
}
.mv-ad-featured-wrap__dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}
.mv-ad-featured-wrap__dots button.is-active {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .2);
}

/* Inline strip — səliqəli, hər səhifədə eyni */
.mv-ad-strip {
    grid-column: 1 / -1;
    position: relative;
    display: block;
    min-height: 112px;
    margin: 4px 0;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: var(--ad-bg, #111827);
    isolation: isolate;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
    transition: transform .2s ease, box-shadow .2s ease;
}
.mv-ad-strip:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    color: #fff;
}
.mv-ad-strip__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: var(--ad-bg, #111827);
    background-image: var(--ad-image, none);
    background-size: cover;
    background-position: center;
}
.mv-ad-strip__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(15, 23, 42, .88) 0%,
        rgba(15, 23, 42, .62) 42%,
        rgba(127, 29, 29, .55) 100%);
}
.mv-ad-strip:not(.has-image) .mv-ad-strip__media::after {
    background: linear-gradient(95deg, #0f172a 0%, #1e293b 52%, #7f1d1d 100%);
}
.mv-ad-strip__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 112px;
    padding: 18px 22px;
    box-sizing: border-box;
}
.mv-ad-strip__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    flex: 1;
}
.mv-ad-strip__eyebrow {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
.mv-ad-strip__copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    max-width: 100%;
}
.mv-ad-strip__title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mv-ad-strip__sub {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: rgba(255, 255, 255, .78);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mv-ad-strip__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #e31e24;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(227, 30, 36, .28);
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.mv-ad-strip__cta i {
    font-size: 11px;
}
.mv-ad-strip:hover .mv-ad-strip__cta {
    background: #fff;
    color: #111827;
    transform: translateX(2px);
}
@media (max-width: 640px) {
    .mv-ad-strip {
        min-height: 96px;
    }
    .mv-ad-strip__inner {
        min-height: 96px;
        padding: 14px 16px;
        gap: 10px;
    }
    .mv-ad-strip__meta { gap: 6px; }
    .mv-ad-strip__title { font-size: 14px; }
    .mv-ad-strip__sub { font-size: 11px; }
    .mv-ad-strip__cta {
        height: 34px;
        padding: 0 12px;
        font-size: 11px;
    }
}
.mv-ad-banner {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 18px;
    min-height: 140px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(120deg, #111827, #374151 45%, #9f1239);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
}
.mv-ad-banner__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.mv-ad-banner__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, .88) 0%, rgba(15, 23, 42, .45) 55%, rgba(227, 30, 36, .35) 100%);
}
.mv-ad-banner__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    min-height: 140px;
}
.mv-ad-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mv-ad-banner__title {
    margin: 0;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: -.03em;
}
.mv-ad-banner__sub {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 600;
    opacity: .9;
    max-width: 420px;
}
.mv-ad-banner__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    transition: .2s ease;
}
.mv-ad-banner:hover .mv-ad-banner__cta {
    background: #e31e24;
    color: #fff;
    transform: translateX(3px);
}
.mv-ad-banner::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -40px;
    top: -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
    animation: mvAdFloat 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes mvAdFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-18px, 12px); }
}

@media (max-width: 900px) {
    .mv-ad-featured-wrap,
    .mv-ad-featured {
        flex: 1 1 100%;
        max-width: none;
        min-width: 0;
        width: 100%;
        min-height: 160px;
    }
    .mv-ad-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        min-height: 120px;
    }
    .mv-ad-banner__title { font-size: 20px; }
}
@media (max-width: 640px) {
    .mv-ad-banner__sub { display: none; }
}
