/* Reklam alanları — beyaz kart, isimlendirilmiş bölgeler */

/* Ana sayfa: hero yanında dikey reklam alanları */
.hero-page-ad-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 12px;
    gap: 10px;
    box-sizing: border-box;
}

.hero-page-ad-center {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    border-radius: 14px;
    overflow: hidden;
}

.hero-page-ad-center > .compact-hero {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    border-radius: 0;
    background: transparent !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hero-page-ad-center > .compact-hero::before,
.hero-page-ad-center > .compact-hero::after {
    display: none;
}

.hero-page-ad-center > .compact-hero > .container {
    max-width: none !important;
    width: 100% !important;
    height: 100%;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.hero-page-ad-center .hero-stage {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 14px !important;
    gap: 12px !important;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    align-self: stretch;
}

.hero-page-ad-center .hero-deal {
    padding: 10px !important;
    gap: 8px;
    height: 100%;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.28);
    border-radius: 12px;
}

.hero-page-ad-center .hero-stage__copy {
    padding: 0;
}

.ad-sidebar--hero-flank {
    width: 180px;
    flex-shrink: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.ad-sidebar--hero-flank .ad-unit {
    position: static;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: auto;
}

.ad-sidebar--hero-flank .ad-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.ad-sidebar--hero-flank .ad-slot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ad-sidebar--hero-flank .ad-slot-placeholder {
    flex: 1;
    justify-content: center;
    min-height: 180px;
}

.ad-sidebar--hero-flank .ad-slot.ad-slot--filled {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    gap: 6px;
}

.ad-sidebar--hero-flank .ad-slot.ad-slot--filled .ad-slot-body {
    flex: 0 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.ad-sidebar--hero-flank .ad-slot.ad-slot--filled .ad-item {
    margin-bottom: 0;
}

.ad-sidebar--hero-flank .ad-slot.ad-slot--filled .ad-item,
.ad-sidebar--hero-flank .ad-slot.ad-slot--filled img {
    border-radius: 12px;
}

/* Ana sayfa üst: 1280×420 banner (GIF / fotoğraf) */
.home-main-banner-ad {
    width: 100%;
    max-width: 1480px;
    margin: 4px auto 6px;
    padding: 0 12px;
    box-sizing: border-box;
}

.home-main-banner-ad .ad-zone-home-top.ad-inline.ad-slot--filled .ad-item {
    max-width: 100% !important;
    width: 100%;
    aspect-ratio: 1280 / 420;
    max-height: 420px;
    margin-left: 0;
    margin-right: 0;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-link img,
.home-main-banner-ad .ad-zone-home-top.ad-slot--filled img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-html {
    width: 100%;
    aspect-ratio: 1280 / 420;
    max-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-html img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--empty {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 !important;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--empty .ad-slot-header {
    margin-bottom: 8px;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--empty .ad-slot-body {
    aspect-ratio: 1280 / 420;
    max-height: 420px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .home-main-banner-ad .ad-zone-home-top.ad-inline.ad-slot--filled .ad-item {
        max-height: none;
    }

    .home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-link img,
    .home-main-banner-ad .ad-zone-home-top.ad-slot--filled img {
        max-height: none;
    }
}

/* Ana sayfa üst — çoklu reklam kaydırıcı */
.home-main-banner-ad .home-top-ad-slider {
    position: relative;
    width: 100%;
}

.home-main-banner-ad .home-top-ad-slider__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
    max-width: calc(100% - 24px);
    pointer-events: none;
}

.home-main-banner-ad .home-top-ad-slider__badge {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #fff;
    background: rgba(15, 18, 25, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-main-banner-ad .home-top-ad-slider__badge--position {
    font-variant-numeric: tabular-nums;
    min-width: 3.5em;
    justify-content: center;
}

@media (max-width: 480px) {
    .home-main-banner-ad .home-top-ad-slider__badges {
        top: 8px;
        right: 8px;
        gap: 6px;
    }

    .home-main-banner-ad .home-top-ad-slider__badge {
        font-size: 11px;
        padding: 5px 10px;
    }
}

.home-main-banner-ad .home-top-ad-slider__viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 10px;
    touch-action: pan-y pinch-zoom;
}

.home-main-banner-ad .home-top-ad-slider__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    will-change: transform;
}

.home-main-banner-ad .home-top-ad-slider__slide {
    flex: 0 0 auto;
    box-sizing: border-box;
}

.home-main-banner-ad .home-top-ad-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    padding: 0;
}

.home-main-banner-ad .home-top-ad-slider__nav:hover {
    background: rgba(0, 0, 0, 0.72);
}

.home-main-banner-ad .home-top-ad-slider__nav--prev {
    left: max(10px, env(safe-area-inset-left));
}

.home-main-banner-ad .home-top-ad-slider__nav--prev::after {
    content: '';
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-left: 4px;
}

.home-main-banner-ad .home-top-ad-slider__nav--next {
    right: max(10px, env(safe-area-inset-right));
}

.home-main-banner-ad .home-top-ad-slider__nav--next::after {
    content: '';
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
    margin-right: 4px;
}

@media (max-width: 480px) {
    .home-main-banner-ad .home-top-ad-slider__nav {
        width: 36px;
        height: 36px;
    }
}

/* Ana sayfa orta ve alt — 1400×200 banner */
.home-ad-1400x200 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-inline.ad-slot--filled .ad-item,
.home-ad-1400x200 .ad-zone-home-bottom.ad-inline.ad-slot--filled .ad-item {
    max-width: 100% !important;
    width: 100%;
    aspect-ratio: 1400 / 200;
    max-height: 200px;
    margin-left: 0;
    margin-right: 0;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled .ad-link,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled .ad-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled .ad-link img,
.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled img,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled .ad-link img,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled img {
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled .ad-html,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled .ad-html {
    width: 100%;
    aspect-ratio: 1400 / 200;
    max-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled .ad-html img,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled .ad-html img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-ad-1400x200 .ad-zone-home-mid.ad-slot--empty .ad-slot-body,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--empty .ad-slot-body {
    aspect-ratio: 1400 / 200;
    max-height: 200px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Beyaz reklam kutusu */
.ad-slot {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    padding: 12px 14px 14px;
    box-sizing: border-box;
}

.ad-slot--empty .ad-slot-body {
    min-height: 72px;
}

.ad-slot-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    line-height: 1.2;
    text-align: center;
}

.ad-slot-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    max-width: 100%;
    line-height: 1.3;
}

.ad-slot-code {
    font-size: 9px;
    font-family: ui-monospace, Menlo, Monaco, Consolas, monospace;
    color: #9ca3af;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.ad-slot-body {
    min-height: 0;
}

/* İçerik varken: sadece reklam — çerçeve/etiket yok, şık sunum */
.ad-slot.ad-slot--filled {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.ad-slot.ad-slot--filled .ad-slot-body {
    padding: 0;
}

.ad-slot.ad-slot--filled .ad-item {
    margin-bottom: 8px;
    border-radius: 14px;
    overflow: hidden;
    background: transparent;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.07),
        0 10px 24px -4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.ad-slot.ad-slot--filled .ad-item:last-child {
    margin-bottom: 0;
}

.ad-slot.ad-slot--filled .ad-item:hover {
    box-shadow:
        0 8px 16px -4px rgba(0, 0, 0, 0.1),
        0 16px 40px -8px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.ad-slot.ad-slot--filled .ad-link {
    line-height: 0;
    border-radius: 14px;
}

.ad-slot.ad-slot--filled img {
    border-radius: 14px;
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.ad-slot.ad-slot--filled .ad-html {
    font-size: inherit;
    line-height: 1.5;
    border-radius: 14px;
    overflow: hidden;
}

.ad-slot.ad-slot--filled .ad-html img {
    border-radius: 14px;
}

/* Inline (ana sayfa orta/üst): ortalanmış, maksimum genişlik */
.ad-inline.ad-slot--filled {
    max-width: 100%;
}

.ad-inline.ad-slot--filled .ad-item {
    max-width: min(100%, 728px);
    margin-left: auto;
    margin-right: auto;
}

.ad-slot-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    text-align: center;
    background: #fafafa;
    border-radius: 8px;
    border: 1px dashed #e5e7eb;
}

.ad-slot-placeholder-line1 {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
}

.ad-slot-placeholder-line2 {
    font-size: 11px;
    color: #9ca3af;
    max-width: 220px;
    line-height: 1.4;
}

.ad-unit {
    position: sticky;
    top: 100px;
    max-width: 100%;
    box-sizing: border-box;
}

.ad-inline.ad-unit {
    position: static;
}

.ad-unit .ad-item {
    margin-bottom: 8px;
}

.ad-unit .ad-item:last-child {
    margin-bottom: 0;
}

.ad-unit img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.ad-unit .ad-link {
    display: block;
    transition: opacity 0.2s ease;
}

.ad-unit .ad-link:hover {
    opacity: 0.9;
}

.ad-unit .ad-html {
    font-size: 13px;
    line-height: 1.5;
}

.ad-unit .ad-html img {
    max-width: 100%;
    height: auto;
}

.ad-inline {
    margin: 8px 0;
    text-align: center;
}

.ad-inline .ad-item {
    display: inline-block;
    max-width: 100%;
}

/* Sadece mobilde görünen alanlar (mobile_top / mobile_bottom) */
.ad-zone-mobile-only {
    display: none !important;
}

/* Mobilde tüm reklamlar gizli — telefon ve tablet */
@media (max-width: 991px) {
    .ad-unit,
    .ad-slot,
    .home-main-banner-ad,
    .home-ad-1400x200,
    .home-top-ad-slider,
    .ad-strip-mobile-wrap,
    .ad-zone-mobile-only,
    .accounts-ad-mid,
    .accounts-ad-bottom,
    .product-ad-top,
    .product-ad-bottom {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .ad-sidebar--hero-flank {
        width: 140px;
    }
    .hero-page-ad-row {
        gap: 8px;
        padding: 0 8px;
    }
}

@media (max-width: 992px) {
    .hero-page-ad-row {
        flex-direction: column;
        padding: 0 12px;
        gap: 0;
    }
    .ad-sidebar--hero-flank {
        display: none;
    }
    .hero-page-ad-center {
        width: 100%;
        border-radius: 0;
    }
    .hero-page-ad-center > .compact-hero {
        border-radius: 0;
        height: auto;
        min-height: 0;
        padding: 0 0 8px !important;
    }
    .hero-page-ad-center .hero-stage {
        height: auto;
        min-height: 0;
        border-radius: 14px;
    }
}

/* Sayfa gömüleri — taşma yok */
.accounts-ad-mid,
.accounts-ad-bottom,
.product-ad-top,
.product-ad-bottom {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.accounts-ad-mid {
    margin: 6px 0 4px;
}

.accounts-ad-bottom {
    margin: 8px 0 4px;
}

.product-ad-top {
    margin: 6px 0 8px;
}

.product-ad-bottom {
    margin: 8px auto 4px;
}

@media (max-width: 768px) {
    .ad-inline {
        margin: 8px 0;
    }

    .ad-slot:not(.ad-slot--filled) {
        padding: 10px 12px 12px;
    }

    .ad-slot.ad-slot--filled .ad-item:hover {
        transform: none;
    }
}

/* Koyu tema: hâlâ okunaklı açık yüzey */
body.dark-mode .ad-slot,
[data-theme="dark"] .ad-slot {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

body.dark-mode .ad-slot-badge,
[data-theme="dark"] .ad-slot-badge {
    background: #e5e7eb;
    color: #151515;
    border-color: #d1d5db;
}

body.dark-mode .ad-slot-code,
[data-theme="dark"] .ad-slot-code {
    color: #6b7280;
}

body.dark-mode .ad-slot-placeholder,
[data-theme="dark"] .ad-slot-placeholder {
    background: #f3f4f6;
    border-color: #d1d5db;
}

body.dark-mode .ad-slot-placeholder-line1,
[data-theme="dark"] .ad-slot-placeholder-line1 {
    color: #4b5563;
}

body.dark-mode .ad-slot-placeholder-line2,
[data-theme="dark"] .ad-slot-placeholder-line2 {
    color: #6b7280;
}

/* Dolu reklam — koyu temada gölge uyumu */
body.dark-mode .ad-slot.ad-slot--filled .ad-item,
[data-theme="dark"] .ad-slot.ad-slot--filled .ad-item {
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.dark-mode .ad-slot.ad-slot--filled .ad-item:hover,
[data-theme="dark"] .ad-slot.ad-slot--filled .ad-item:hover {
    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ── Metin2 reklam çerçeveleri (göz alıcı, sakin) ── */
.ad-slot.ad-slot--filled .ad-item {
    position: relative;
    border-radius: 4px;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.35),
        0 0 0 2px rgba(10, 8, 6, 0.85),
        0 8px 22px rgba(0, 0, 0, 0.45);
    transition: box-shadow 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

.ad-slot.ad-slot--filled .ad-item::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(240, 208, 96, 0.18);
    opacity: 0.85;
    transition: opacity 0.35s ease;
}

.ad-slot.ad-slot--filled .ad-item:hover {
    transform: translateY(-2px);
    filter: brightness(1.04) saturate(1.05);
    box-shadow:
        0 0 0 1px rgba(240, 208, 96, 0.55),
        0 0 0 2px rgba(10, 8, 6, 0.9),
        0 12px 28px rgba(0, 0, 0, 0.5),
        0 0 28px rgba(212, 175, 55, 0.18);
}

.ad-slot.ad-slot--filled .ad-item:hover::after {
    opacity: 1;
}

.ad-slot.ad-slot--filled img,
.ad-slot.ad-slot--filled .ad-link,
.ad-slot.ad-slot--filled .ad-html {
    border-radius: 3px;
}

.home-main-banner-ad .ad-zone-home-top.ad-slot--filled .ad-link img,
.home-main-banner-ad .ad-zone-home-top.ad-slot--filled img,
.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled .ad-link img,
.home-ad-1400x200 .ad-zone-home-mid.ad-slot--filled img,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled .ad-link img,
.home-ad-1400x200 .ad-zone-home-bottom.ad-slot--filled img {
    border-radius: 3px;
}

.home-main-banner-ad .home-top-ad-slider__viewport {
    border-radius: 4px;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.4),
        0 0 0 2px rgba(10, 8, 6, 0.9),
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 36px rgba(212, 175, 55, 0.12);
}

.home-main-banner-ad .home-top-ad-slider__badge {
    border-radius: 3px;
    font-family: Cinzel, "Times New Roman", serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 11px;
    color: #fff8e8;
    background: linear-gradient(180deg, rgba(74, 52, 32, 0.92), rgba(16, 12, 9, 0.94));
    border: 1px solid rgba(212, 175, 55, 0.45);
}

.home-main-banner-ad .home-top-ad-slider__nav {
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(42, 32, 22, 0.88), rgba(10, 8, 6, 0.92));
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #f0d060;
}

.home-main-banner-ad .home-top-ad-slider__nav:hover {
    background: linear-gradient(180deg, rgba(74, 52, 32, 0.95), rgba(26, 18, 12, 0.96));
    border-color: rgba(240, 208, 96, 0.65);
}


/* ── Prestij giriş vitrini (mobil güvenli canvas) ── */
html.m2-spot-open {
    overflow: hidden !important;
    touch-action: none;
}

.m2-spot {
    position: fixed !important;
    inset: 0 !important;
    z-index: 12000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 14px max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

.m2-spot.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.m2-spot.is-leaving { opacity: 0; }

.m2-spot.is-leaving .m2-spot__stage {
    transform: translateY(8px) scale(0.98);
}

.m2-spot[hidden] { display: none !important; }

.m2-spot__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(4, 3, 2, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.m2-spot__stage {
    position: relative !important;
    z-index: 1;
    width: min(900px, 94vw);
    margin: 0;
    padding: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    background: #0a0806;
    border: 1px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(212, 175, 55, 0.12);
    transform: translateY(14px) scale(0.97);
    opacity: 0.9;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.m2-spot.is-visible .m2-spot__stage {
    transform: none;
    opacity: 1;
}

/* Tek çerçeve: görsel + overlay buranın içinde */
.m2-spot__canvas {
    position: relative !important;
    display: block !important;
    width: 100%;
    aspect-ratio: 2.35 / 1;
    max-height: min(52vh, 420px);
    background: #070605;
    overflow: hidden;
}

.m2-spot__media {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
    text-decoration: none !important;
    z-index: 0;
}

.m2-spot__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.m2-spot__shine,
.m2-spot__vignette {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    z-index: 1;
}

.m2-spot__shine {
    background: linear-gradient(105deg, transparent 42%, rgba(255, 248, 220, 0.16) 50%, transparent 58%);
    transform: translateX(-120%);
}

.m2-spot.is-visible .m2-spot__shine {
    animation: m2SpotShine 0.95s ease 0.15s both;
}

.m2-spot__vignette {
    background:
        linear-gradient(180deg, rgba(6, 4, 3, 0.55) 0%, transparent 34%),
        linear-gradient(0deg, rgba(6, 4, 3, 0.7) 0%, transparent 38%);
    z-index: 2;
}

.m2-spot__chrome {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
    pointer-events: none;
    box-sizing: border-box;
}

.m2-spot__chrome--top {
    top: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px;
    padding: 10px 10px 0;
}

.m2-spot__chrome--bot {
    bottom: 0 !important;
    padding: 0 10px 10px;
}

.m2-spot__pill {
    pointer-events: none;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff8e8 !important;
    background: linear-gradient(135deg, #b11c2a, #5a1016) !important;
    border: 1px solid rgba(240, 208, 96, 0.55) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
    line-height: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
}

.m2-spot__pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f0d060;
    box-shadow: 0 0 8px rgba(240, 208, 96, 0.85);
    flex-shrink: 0;
}

/* Global mobil button kurallarını ez */
.m2-spot button.m2-spot__close,
button.m2-spot__close {
    pointer-events: auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.m2-spot button.m2-spot__close:hover,
button.m2-spot__close:hover {
    background: rgba(139, 26, 26, 0.85) !important;
    border-color: rgba(240, 208, 96, 0.7) !important;
}

.m2-spot__progress {
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    margin-bottom: 8px;
}

.m2-spot__progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transform: scaleX(1);
    background: linear-gradient(90deg, #8b1a1a, #d4af37 55%, #ffe08a);
}

.m2-spot__meta {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.m2-spot__name {
    min-width: 0;
    flex: 1;
    font-family: Cinzel, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff8e8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m2-spot__timer {
    flex-shrink: 0;
    font-size: 11px;
    color: rgba(243, 232, 208, 0.8);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.m2-spot__timer strong {
    color: #f0d060;
    font-variant-numeric: tabular-nums;
}

/* Flyby */
.m2-fly {
    position: fixed;
    bottom: max(78px, env(safe-area-inset-bottom, 0px) + 60px);
    z-index: 11050;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: min(360px, 88vw);
    padding: 10px;
    border-radius: 3px;
    background: linear-gradient(165deg, rgba(36, 26, 16, 0.97), rgba(10, 8, 6, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 0 2px rgba(10, 8, 6, 0.88), 0 16px 36px rgba(0, 0, 0, 0.55);
    transition: transform 0.55s cubic-bezier(0.18, 0.9, 0.28, 1), opacity 0.4s ease;
    opacity: 0;
}

.m2-fly[hidden] { display: none !important; }

.m2-fly.from-left {
    left: max(12px, env(safe-area-inset-left));
    right: auto;
    transform: translateX(calc(-100% - 48px));
}

.m2-fly.from-right {
    right: max(12px, env(safe-area-inset-right));
    left: auto;
    transform: translateX(calc(100% + 48px));
}

.m2-fly.from-bottom {
    left: 50%;
    right: auto;
    width: min(340px, calc(100vw - 24px));
    transform: translate(-50%, calc(100% + 40px));
}

.m2-fly.is-in { opacity: 1; transform: translateX(0); }
.m2-fly.from-bottom.is-in { transform: translate(-50%, 0); }
.m2-fly.is-out.from-left { opacity: 0; transform: translateX(calc(100vw + 48px)); }
.m2-fly.is-out.from-right { opacity: 0; transform: translateX(calc(-100vw - 48px)); }
.m2-fly.is-out.from-bottom { opacity: 0; transform: translate(-50%, calc(100% + 48px)); }

.m2-fly__badge {
    position: absolute;
    top: -10px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff8e8;
    background: linear-gradient(180deg, #a11d2e, #5a1016);
    border: 1px solid rgba(240, 208, 96, 0.5);
}

.m2-fly__link {
    display: block;
    flex: 1;
    line-height: 0;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 16 / 6;
    background: #070605;
}

.m2-fly__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.m2-fly button.m2-fly__close,
button.m2-fly__close {
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 2px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    color: #f3e8d0 !important;
    font-size: 18px !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

@keyframes m2SpotShine {
    from { transform: translateX(-120%); }
    to { transform: translateX(120%); }
}

/* Mobil */
@media (max-width: 768px) {
    .m2-spot,
    .m2-spot--mobile {
        align-items: flex-end !important;
        padding: 10px 10px max(12px, env(safe-area-inset-bottom)) !important;
    }

    .m2-spot__stage {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 14px 14px 8px 8px !important;
    }

    .m2-spot__canvas {
        aspect-ratio: 16 / 10 !important;
        max-height: min(42vh, 260px) !important;
    }

    .m2-spot__chrome--top {
        padding: 10px 10px 0 !important;
    }

    .m2-spot__chrome--bot {
        padding: 0 10px 10px !important;
    }

    .m2-spot__name {
        font-size: 11px;
        max-width: 70%;
    }

    .m2-spot button.m2-spot__close,
    button.m2-spot__close {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
    }

    .m2-fly,
    .m2-fly--mobile {
        bottom: max(70px, env(safe-area-inset-bottom, 0px) + 54px);
        width: min(320px, calc(100vw - 20px));
    }
}

@media (min-width: 769px) {
    .m2-spot__canvas {
        aspect-ratio: 2.4 / 1;
        max-height: min(52vh, 440px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .m2-spot,
    .m2-spot__stage,
    .m2-fly { transition-duration: 0.12s !important; animation: none !important; }
    .m2-spot.is-visible .m2-spot__shine { animation: none; }
}

/* Mobilde giriş spotlight kapalı */
@media (max-width: 991px) {
  .m2-spot,
  .m2-fly,
  #m2-ad-spotlight,
  #m2-ad-flyby {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html.m2-spot-open {
    overflow: auto !important;
    touch-action: auto !important;
  }
}
