/* Dafmix giriş sayfası: kaydırma ile ilerleyen sinematik açılış. Bütün hareket welcome.js tarafından
   --değişkenlerle sürülür; burada yalnızca görünüm ve başlangıç değerleri bulunur. */
:root { --red: #E50914; --ink: #0b0b0b; }
*, *::before, *::after { box-sizing: border-box; }
html { background: #000; }
body.lp { margin: 0; background: #000; color: #fff; font-family: Archivo, 'Helvetica Neue', Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.lp a { color: inherit; }

/* ---------------- üst çubuk */
.lp-nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px, 2.4vw, 26px) clamp(16px, 4vw, 56px); background: linear-gradient(#0006, transparent); pointer-events: none; }
.lp-nav > * { pointer-events: auto; }
.lp-logo { display: inline-flex; align-items: center; gap: .4em; font: 800 clamp(22px, 3vw, 30px)/1 Archivo, Arial, sans-serif; letter-spacing: .06em; text-decoration: none; color: var(--red) !important; }
.lp-logo svg { width: 1.15em; height: 1.15em; flex: none; filter: drop-shadow(0 0 8px #e5091466); }
.lp-logo span { color: var(--red); }
.lp-signin { background: var(--red); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; padding: .6em 1.2em; border-radius: 6px; transition: background .2s, color .2s, transform .2s; }
.lp-signin:hover { background: #f6121d; transform: translateY(-1px); }
.lp-nav.alt .lp-signin { background: #fff; color: var(--ink); }
.lp-nav.alt .lp-logo, .lp-nav.alt .lp-logo span { color: #fff !important; }
.lp-nav.alt .lp-logo svg path { stroke: #fff; }
.lp-nav.alt { background: none; }

/* ---------------- kaydırma sahnesi */
#lp-track { position: relative; height: 700svh; }
.lp-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; isolation: isolate; }
.lp-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 55% at 50% 58%, #3a0509 0%, #120204 55%, #000 100%); }

.lp-frame { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; background: #050505; will-change: transform, clip-path; transform-origin: 50% 50%; }
.lp-bezel { position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; --m: 0; border-radius: calc(var(--m) * 26px); overflow: hidden; will-change: transform, opacity;
  box-shadow: 0 0 0 calc(var(--m) * 9px) #161616, 0 0 0 calc(var(--m) * 10px) rgba(255, 255, 255, calc(var(--m) * .16)), 0 40px 100px rgba(0, 0, 0, calc(var(--m) * .7)), 0 0 120px rgba(229, 9, 20, calc(var(--m) * .16)); }
.lp-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; background: #050505; }
.lp-frame.novideo video { display: none; }
.lp-frame.novideo { background: radial-gradient(ellipse at 30% 30%, #5a0710, #0b0203 70%); }
.lp-vignette { position: absolute; inset: 0; pointer-events: none; opacity: var(--vig, 1);
  background: linear-gradient(180deg, rgba(0, 0, 0, .38) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .5) 100%); }

/* sahte oynatıcı arayüzü */
.lp-chrome { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lp-bigplay { position: absolute; left: 50%; top: 50%; width: clamp(56px, 9vw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(calc(.6 + var(--c, 0) * .4));
  display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .85); color: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.lp-bigplay svg { width: 46%; height: 46%; margin-left: 6%; }
.lp-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(10px, 1.6vw, 18px) clamp(12px, 2vw, 24px); background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.lp-bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.lp-bar i { display: block; height: 100%; width: 0; background: var(--red); border-radius: 4px; }
.lp-ctrl-row { display: flex; align-items: center; gap: clamp(8px, 1.4vw, 16px); margin-top: clamp(8px, 1vw, 12px); font-size: clamp(11px, 1.2vw, 13px); font-weight: 600; }
.lp-ic { display: inline-grid; place-items: center; width: clamp(18px, 2.2vw, 24px); height: clamp(18px, 2.2vw, 24px); opacity: .92; }
.lp-ic svg { width: 100%; height: 100%; }
.lp-spacer { flex: 1; }
.lp-time { opacity: .85; font-variant-numeric: tabular-nums; }

/* ana başlık */
.lp-hero { position: absolute; z-index: 3; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 90px clamp(18px, 6vw, 80px) 60px; pointer-events: none; will-change: transform, opacity; }
.lp-hero > * { pointer-events: auto; }
.lp-hero h1 { margin: 0; max-width: 17ch; font: 800 clamp(34px, 6.4vw, 78px)/1.04 Archivo, Arial, sans-serif; letter-spacing: -.025em; text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 4px 40px rgba(0, 0, 0, .55); animation: lpUp .9s cubic-bezier(.2, .8, .2, 1) .15s both; }
.lp-hero p { margin: clamp(14px, 2vw, 24px) 0 0; font-size: clamp(16px, 2vw, 24px); font-weight: 500; opacity: .92; text-shadow: 0 2px 20px rgba(0, 0, 0, .6); animation: lpUp .9s cubic-bezier(.2, .8, .2, 1) .3s both; }
.lp-start { display: flex; gap: 10px; margin-top: clamp(20px, 3vw, 34px); width: min(560px, 100%); animation: lpUp .9s cubic-bezier(.2, .8, .2, 1) .45s both; }
.lp-start input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .45); background: rgba(10, 10, 10, .72); color: #fff; font: 500 16px Archivo, Arial, sans-serif; }
.lp-start input::placeholder { color: #cfcfcf; }
.lp-start input:focus { outline: 2px solid #fff; outline-offset: 2px; }
.lp-start button, .lp-continue { height: 56px; padding: 0 clamp(18px, 3vw, 30px); border: 0; border-radius: 6px; background: var(--red); color: #fff; font: 800 clamp(16px, 2vw, 20px) Archivo, Arial, sans-serif; cursor: pointer; white-space: nowrap; transition: background .2s, transform .2s; display: inline-flex; align-items: center; gap: .4em; text-decoration: none; }
.lp-start button:hover, .lp-continue:hover { background: #f6121d; transform: translateY(-1px); }
.lp-continue { margin-top: clamp(20px, 3vw, 34px); animation: lpUp .9s cubic-bezier(.2, .8, .2, 1) .45s both; }
.lp-continue[hidden], .lp-start[hidden] { display: none; }
@media (max-width: 560px) { .lp-start { flex-direction: column; } .lp-start input { flex: none; height: 52px; } .lp-start button { height: 52px; justify-content: center; } }

/* slogan */
.lp-slogan { position: absolute; z-index: 3; left: 50%; top: 80%; margin: 0; width: min(92vw, 900px); text-align: center; transform: translate(-50%, 0); opacity: 0;
  font: 800 clamp(20px, 3.4vw, 40px)/1.15 Archivo, Arial, sans-serif; letter-spacing: -.01em; text-shadow: 0 2px 30px rgba(0, 0, 0, .8); pointer-events: none; will-change: transform, opacity; }

/* kaydır göstergesi */
.lp-scroll { position: absolute; z-index: 3; left: 50%; bottom: clamp(16px, 3.5vh, 34px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 800 11px Archivo, Arial, sans-serif; letter-spacing: .3em; text-indent: .3em; opacity: .85; pointer-events: none; }
.lp-scroll i { display: block; width: 2px; height: 38px; background: linear-gradient(#fff, transparent); transform-origin: top; animation: lpDrip 1.8s ease-in-out infinite; }

/* vinil sahnesi */
.lp-scene { position: absolute; inset: 0; z-index: 4; opacity: 0; visibility: hidden; background: var(--red); }
@keyframes lpUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes lpDrip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* alt bilgi */
.lp-foot { position: relative; z-index: 2; background: #000; padding: clamp(48px, 9vw, 110px) clamp(16px, 4vw, 56px) clamp(36px, 6vw, 64px); text-align: center; border-top: 1px solid #1c1c1c; }
.lp-foot-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.lp-foot-links { display: flex; gap: clamp(18px, 4vw, 40px); flex-wrap: wrap; justify-content: center; }
.lp-foot-links a { color: #bdbdbd; text-decoration: none; font-weight: 600; transition: color .2s; }
.lp-foot-links a:hover { color: #fff; }
.lp-copy { margin: 0; color: #777; font-size: 13px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.lp-foot-links.reveal { transition-delay: .12s; } .lp-copy.reveal { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .lp-hero h1, .lp-hero p, .lp-start, .lp-continue, .lp-scroll i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* JS çalışmazsa içerik yine de görünsün */
html:not(.lp-js) .lp-scene { display: none; }
html:not(.lp-js) #lp-track { height: 100svh; }
