/* Savilva tanıtım videosu – anasayfa modal + Savilva Kimdir tetikleyici */

.sv-promo-video-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: inherit;
    font: inherit;
    cursor: pointer;
    overflow: hidden;
}

.sv-promo-video-trigger img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-promo-video-trigger:hover img,
.sv-promo-video-trigger:focus-visible img {
    transform: scale(1.04);
}

.sv-promo-video-trigger__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.12) 0%, rgba(8, 8, 10, 0.58) 100%);
    transition: background 0.35s ease;
}

.sv-promo-video-trigger:hover .sv-promo-video-trigger__overlay,
.sv-promo-video-trigger:focus-visible .sv-promo-video-trigger__overlay {
    background: linear-gradient(180deg, rgba(150, 13, 13, 0.18) 0%, rgba(8, 8, 10, 0.72) 100%);
}

.sv-promo-video-trigger__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #960d0d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.sv-promo-video-trigger__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #960d0d;
    box-shadow: 0 0 0 0 rgba(150, 13, 13, 0.55);
    animation: sv-promo-pulse-dot 2s ease-out infinite;
}

.sv-promo-video-trigger__play {
    position: relative;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #960d0d;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.sv-promo-video-trigger__play::before,
.sv-promo-video-trigger__play::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    animation: sv-promo-pulse-ring 2.4s ease-out infinite;
}

.sv-promo-video-trigger__play::after {
    inset: -22px;
    animation-delay: 0.55s;
    opacity: 0.65;
}

.sv-promo-video-trigger:hover .sv-promo-video-trigger__play,
.sv-promo-video-trigger:focus-visible .sv-promo-video-trigger__play {
    transform: scale(1.06);
    box-shadow: 0 20px 48px rgba(150, 13, 13, 0.35);
}

.sv-promo-video-trigger__play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.sv-promo-video-trigger__label {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.sv-promo-modal {
    width: min(920px, calc(100vw - 28px));
    max-height: calc(100vh - 28px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #0b0f17;
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.sv-promo-modal::backdrop {
    background: rgba(6, 8, 12, 0.72);
    backdrop-filter: blur(8px);
}

.sv-promo-modal__inner {
    position: relative;
}

.sv-promo-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.sv-promo-modal__close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.04);
}

.sv-promo-modal__welcome {
    position: relative;
    min-height: min(72vh, 560px);
    display: grid;
    align-items: end;
    overflow: hidden;
}

.sv-promo-modal__welcome-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.sv-promo-modal.is-playing .sv-promo-modal__welcome-bg {
    transform: scale(1.08);
}

.sv-promo-modal__welcome-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 14, 0.2) 0%, rgba(8, 10, 14, 0.88) 72%, rgba(8, 10, 14, 0.96) 100%);
}

.sv-promo-modal__welcome-content {
    position: relative;
    z-index: 2;
    padding: 28px 28px 32px;
    color: #fff;
}

.sv-promo-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(150, 13, 13, 0.92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sv-promo-modal__title {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 3.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.sv-promo-modal__subtitle {
    margin: 0 0 22px;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.55;
}

.sv-promo-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.sv-promo-modal__watch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #960d0d;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sv-promo-modal__watch:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(150, 13, 13, 0.28);
}

.sv-promo-modal__watch svg {
    width: 18px;
    height: 18px;
}

.sv-promo-modal__later {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sv-promo-modal__later:hover {
    color: #fff;
}

.sv-promo-modal__footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-top: 14px;
}

.sv-promo-modal__dismiss {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sv-promo-modal__dismiss:hover {
    color: rgba(255, 255, 255, 0.92);
}

.sv-promo-modal__player {
    display: none;
    position: relative;
    background: #000;
}

.sv-promo-modal.is-playing .sv-promo-modal__welcome {
    display: none;
}

.sv-promo-modal.is-playing .sv-promo-modal__player {
    display: block;
}

.sv-promo-modal__frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    background: #000;
}

.sv-promo-modal.sv-promo-modal--enter {
    animation: sv-promo-modal-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sv-promo-pulse-ring {
    0% { transform: scale(0.92); opacity: 0.85; }
    70% { transform: scale(1.18); opacity: 0; }
    100% { transform: scale(1.18); opacity: 0; }
}

@keyframes sv-promo-pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(150, 13, 13, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(150, 13, 13, 0); }
    100% { box-shadow: 0 0 0 0 rgba(150, 13, 13, 0); }
}

@keyframes sv-promo-modal-in {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
    .sv-promo-video-trigger__play {
        width: 72px;
        height: 72px;
    }

    .sv-promo-video-trigger__label {
        font-size: 0.95rem;
    }

    .sv-promo-modal__welcome {
        min-height: min(78vh, 520px);
    }

    .sv-promo-modal__welcome-content {
        padding: 22px 18px 24px;
    }

    .sv-promo-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sv-promo-modal__watch {
        justify-content: center;
    }
}
