:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
    * { box-sizing: border-box; }
    html, body { width: 100%; min-height: 100%; margin: 0; }
    body { min-height: 100svh; overflow: hidden; background: #080b12; color: white; }
    .scene { position: fixed; inset: 0; display: grid; place-items: center; padding: 24px; isolation: isolate; }
    .scene::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(135deg, rgba(4,8,16,.28), rgba(4,8,16,.56)), url("https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2400&q=90"); background-position: center; background-size: cover; transform: scale(1.02); }
    .scene::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 10%, rgba(4,7,13,.35) 100%); }
    .watch-link { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 64px; padding: 0 30px; border: 1px solid rgba(255,255,255,.58); border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; text-decoration: none; font-size: 16px; font-weight: 650; letter-spacing: .01em; backdrop-filter: blur(14px); box-shadow: 0 12px 45px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.22); transition: transform .25s, background .25s, box-shadow .25s; animation: arrive .8s both; }
    .watch-link:hover { transform: translateY(-3px) scale(1.025); background: rgba(255,255,255,.24); box-shadow: 0 18px 55px rgba(0,0,0,.35), 0 0 32px rgba(255,255,255,.15); }
    .watch-link:focus-visible { outline: 3px solid white; outline-offset: 5px; }
    .play-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(255,255,255,.15); }
    .play-mark svg { width: 13px; height: 13px; margin-left: 2px; fill: currentColor; }
    @keyframes arrive { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
    @media (max-width: 480px) { .watch-link { min-height: 58px; padding-inline: 23px; font-size: 15px; } }

/* Video ekranı stilleri */
:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
    * { box-sizing: border-box; }
    html, body { width: 100%; min-height: 100%; margin: 0; }
    body { min-height: 100svh; overflow: hidden; background: #080b12; color: #fff; }
    .backdrop { position: fixed; inset: 0; background: url("https://images.unsplash.com/photo-1470252649378-9c29740c9fa8?auto=format&fit=crop&w=2400&q=90") center / cover; transform: scale(1.04); filter: blur(0); transition: filter 1s ease, transform 1s ease; }
    body.ready .backdrop { filter: blur(9px) brightness(.55); transform: scale(1.1); }
    .backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(4,8,16,.35), rgba(4,8,16,.58)); }
    .stage { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 5vh 5vw; }
    .player { position: relative; width: min(100%, 1120px); aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #050608; box-shadow: 0 30px 100px rgba(0,0,0,.55); opacity: 0; transform: translateY(28px) scale(.96); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1), width .35s ease, border-radius .35s ease; }
    body.ready .player { opacity: 1; transform: translateY(0) scale(1); }
    .player.compact { width: min(42vw, 720px); }
    .player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #050608; }
    .topbar { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: linear-gradient(rgba(0,0,0,.58), transparent); opacity: 0; transition: opacity .2s; }
    .player:hover .topbar, .player:hover .controls, .player:focus-within .topbar, .player:focus-within .controls { opacity: 1; }
    .title { font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px #000; }
    .icon-button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: white; background: rgba(255,255,255,.12); cursor: pointer; transition: background .2s, transform .2s; }
    .icon-button:hover { background: rgba(255,255,255,.25); transform: scale(1.07); }
    .icon-button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
    .icon-button svg { width: 20px; height: 20px; fill: currentColor; }
    .controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.82)); opacity: 0; transition: opacity .2s; }
    .seek { display: block; width: 100%; height: 5px; margin: 0 0 13px; accent-color: #fff; cursor: pointer; }
    .control-row { display: flex; align-items: center; gap: 9px; }
    .control-row .spacer { flex: 1; }
    .time { min-width: 95px; font-size: 12px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.9); }
    .skip { display: flex; align-items: center; justify-content: center; position: relative; }
    .skip small { position: absolute; top: 22px; font-size: 9px; font-weight: 700; }
    .hint { position: absolute; top: 16px; left: 16px; z-index: 4; padding: 8px 12px; border-radius: 10px; background: rgba(0,0,0,.5); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s; }
    .hint.show { opacity: 1; }
    @media (max-width: 700px) { .stage { padding: 18px; } .player, .player.compact { width: 100%; border-radius: 12px; } .topbar, .controls { opacity: 1; } .control-row { gap: 5px; } .icon-button { width: 36px; height: 36px; } .time { min-width: 76px; font-size: 11px; } }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }


/* Video tamamlandığında gösterilen teşekkür ve WhatsApp ekranı */
.end-screen { position: absolute; z-index: 5; inset: 0; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, rgba(7,12,20,.94), rgba(12,20,31,.88)); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease, visibility .45s ease; }
.player.finished .end-screen { opacity: 1; visibility: visible; pointer-events: auto; }
.player.finished video, .player.finished .topbar, .player.finished .controls { visibility: hidden; }
.thanks-card { max-width: 600px; text-align: center; animation: arrive .55s both; }
.thanks-check { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 20px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(255,255,255,.12); font-size: 30px; box-shadow: 0 10px 35px rgba(0,0,0,.2); }
.thanks-card h1 { margin: 0; font-size: clamp(22px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -.035em; }
.thanks-card p { margin: 12px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.whatsapp-card { position: absolute; right: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 36px); padding: 12px 15px 12px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; backdrop-filter: blur(14px); box-shadow: 0 12px 35px rgba(0,0,0,.24); transition: transform .2s ease, background .2s ease; }
.whatsapp-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.17); }
.whatsapp-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.whatsapp-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #25d366; }
.whatsapp-icon svg { width: 26px; height: 26px; fill: white; }
.whatsapp-copy { display: grid; gap: 3px; }
.whatsapp-copy strong { font-size: 12px; line-height: 1.35; }
.whatsapp-copy small { color: rgba(255,255,255,.67); font-size: 11px; }
.whatsapp-arrow { margin-left: 3px; color: rgba(255,255,255,.75); font-size: 18px; }
@media (max-width: 520px) { .end-screen { padding: 22px 16px; } .whatsapp-card { right: 12px; bottom: 12px; left: 12px; max-width: none; } .thanks-card { transform: translateY(-28px); } .whatsapp-copy strong { font-size: 11px; } }

/* Bitiş mesajını oynatıcıdan bağımsız, tüm sayfanın üzerinde göster */
.player.finished { position: static; transform: none !important; }
.player.finished .end-screen { position: fixed; inset: 0; width: 100vw; height: 100svh; border-radius: 0; }
