/* ==========================================================================
   Lazy Fennec · Mahsa Omidvar
   Renkler: gece #0F0D17 · turuncu #FF8A3D · gök mavisi #6EA8FF
   ========================================================================== */

:root {
    --bg: #0F0D17;
    --surface: #1A1724;
    --line: #2B2738;
    --line-2: #3A3549;
    --text: #F4EFE6;
    --text-2: #D6D0E0;
    --muted: #C9C2D6;
    --muted-2: #A39DB3;
    --orange: #FF8A3D;
    --orange-soft: #FF9C59;
    --orange-dark: #1A0F05;
    --blue: #6EA8FF;
    --blue-soft: #9CC3FF;
    --radius: 28px;
    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body: Inter, system-ui, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ---------- Gündüz modu ---------- */
html[data-theme="day"] {
    --bg: #FFF5EA;
    --surface: #FFFFFF;
    --line: #F0DCC6;
    --line-2: #E5C7A8;
    --text: #2A1D18;
    --text-2: #45352D;
    --muted: #6A574D;
    --muted-2: #8C7668;
    --orange: #F2742A;
    --orange-soft: #E06A22;
    --orange-dark: #1A0F05;
    --blue: #2F6FD6;
    --blue-soft: #2F6FD6;
}
/* Temayı değiştirirken renkler yumuşakça geçsin */
html.lf-theming body, html.lf-theming body *:not(.lf-ch):not(canvas) {
    transition: background-color .6s ease, border-color .6s ease, color .6s ease, fill .6s ease, opacity .6s ease !important;
}

*, *::before, *::after { box-sizing: border-box; }

/* ---------- Farsça (sağdan sola) ---------- */
/* Fars harfleri birbirine bağlanır: harf aralığı açılınca kopar, bu yüzden sıfırlanır. */
html[lang="fa"] {
    --display: 'Vazirmatn', 'Bricolage Grotesque', system-ui, sans-serif;
    --body: 'Vazirmatn', Inter, system-ui, sans-serif;
    --mono: 'Vazirmatn', 'JetBrains Mono', ui-monospace, monospace;
}
html[lang="fa"] body, html[lang="fa"] body * { letter-spacing: 0 !important; }
html[lang="fa"] .lf-film__headline, html[lang="fa"] .lf-hero__title, html[lang="fa"] .lf-h2 { line-height: 1.35; letter-spacing: 0; }
html[lang="fa"] .lf-film__headline { font-size: clamp(38px, 5.6vw, 80px); }
html[lang="fa"] .lf-hero__title { font-size: clamp(38px, 5.4vw, 76px); }
html[lang="fa"] .lf-cap strong, html[lang="fa"] .lf-service h3, html[lang="fa"] .lf-steps h3 { line-height: 1.5; }
html[lang="fa"] .lf-lang a, html[lang="fa"] .lf-hud__top b { font-family: 'JetBrains Mono', ui-monospace, monospace; }
html[dir="rtl"] .lf-btn:hover { transform: translateY(-2px); }

html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--orange); }
a:hover { color: #FFB07A; }
img, svg { max-width: 100%; }

.lf-orange { color: var(--orange); }
.lf-orange-soft { color: var(--orange-soft); }
.lf-blue { color: var(--blue); }
.lf-muted { color: var(--muted-2); }
.lf-mono { font-family: var(--mono); font-size: 12px; }
.lf-small { font-size: 14px; }

/* ---------- Buttons, pills ---------- */
.lf-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--orange); color: var(--orange-dark);
    font: 600 16px var(--body); text-decoration: none;
    padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.lf-btn:hover { color: var(--orange-dark); background: #FF9C59; transform: translateY(-2px); }
.lf-btn:disabled { opacity: .6; cursor: progress; transform: none; }
.lf-btn--sm { font-size: 14.5px; padding: 11px 18px; }
.lf-btn--ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); font-weight: 500; }
.lf-btn--ghost:hover { background: rgba(110,168,255,.1); color: var(--blue); }

.lf-pill {
    display: inline-flex; gap: 6px; align-items: center;
    font: 11px var(--mono); letter-spacing: .1em; color: var(--muted-2);
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.lf-pill--dark { background: rgba(15,13,23,.8); color: var(--text); border-color: transparent; }

.lf-eyebrow { font: 13px var(--mono); letter-spacing: .16em; color: var(--orange); }
.lf-eyebrow--blue { color: var(--blue-soft); font-size: 12px; letter-spacing: .24em; }

/* ---------- Header ---------- */
.lf-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 30;
    background: rgba(15,13,23,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.js .lf-nav { opacity: 0; pointer-events: none; }
.lf-nav__inner {
    max-width: 1240px; margin: 0 auto; padding: 16px 32px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.lf-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.lf-brand:hover { color: var(--text); }
.lf-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.lf-brand__text strong { font: 800 19px var(--display); }
.lf-brand__text small { font: 11px var(--mono); color: var(--muted-2); letter-spacing: .08em; }
.lf-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; font-size: 15px; }
.lf-nav__links a:not(.lf-btn) { color: var(--text-2); text-decoration: none; }
.lf-nav__links a:not(.lf-btn):hover { color: var(--blue); }

/* ---------- Fixed background (stars, planets) ---------- */
.lf-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lf-bg__far, .lf-bg__mid { position: absolute; inset: -60px 0; will-change: transform; }
.lf-star { position: absolute; border-radius: 50%; animation: lf-tw ease-in-out infinite; }
.lf-bg__ring { position: absolute; right: 6%; top: 14%; }
.lf-bg__blue { position: absolute; left: 4%; top: 58%; }
.lf-bg__dot { position: absolute; left: 46%; top: 82%; animation-duration: 20s; }
.lf-shoot {
    position: absolute; height: 2px; width: 140px; border-radius: 2px; background: var(--text);
    opacity: 0; animation: lf-shoot 9s linear infinite;
}

/* ---------- Intro film ---------- */
.lf-film { position: relative; z-index: 2; height: calc(100vh + 5600px); }
.lf-film__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.lf-film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.lf-film__title {
    position: absolute; left: 0; right: 0; top: 17%;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    text-align: center; padding: 0 24px; pointer-events: none;
}
.lf-film__headline {
    margin: 0; font: 800 clamp(44px, 6.4vw, 92px)/.98 var(--display); letter-spacing: -.03em;
    text-shadow: 0 6px 30px rgba(0,0,0,.5);
}
.lf-film__sub { margin: 0; font-size: 18px; color: var(--muted); }
.lf-film__cue { margin-top: 10px; font: 11px var(--mono); letter-spacing: .3em; color: var(--muted-2); }

.lf-hud { position: absolute; inset: 0; opacity: 0; pointer-events: none; font-family: var(--mono); }
.lf-hud__top {
    position: absolute; left: 50%; top: 4.5%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 18px; white-space: nowrap;
    font-size: 10.5px; letter-spacing: .28em; color: var(--muted-2);
}
.lf-hud__top i { width: 1px; height: 22px; background: var(--line); }
.lf-hud__top b { font-weight: 400; font-size: 22px; letter-spacing: 0; color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.lf-hud__text {
    position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%);
    font-size: 12.5px; letter-spacing: .26em; color: var(--blue-soft); white-space: nowrap;
}

.lf-cap {
    position: absolute; opacity: 0; max-width: 300px; pointer-events: none;
    background: rgba(15,13,23,.78); border: 1px solid var(--line); border-radius: 22px;
    padding: 18px 22px; display: flex; flex-direction: column; gap: 8px;
}
.lf-cap strong { font: 800 22px/1.15 var(--display); }
.lf-cap > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.lf-cap > span:empty { display: none; }
.lf-cap__k { font: 11px var(--mono); letter-spacing: .16em; }
.lf-cap--bl { left: 28px; bottom: 28px; }
.lf-cap--tr { right: 28px; top: 28px; }
.lf-cap--hello { right: 7%; top: 26%; }
.lf-cap--hello strong { font-size: 24px; }

.lf-hero { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.lf-hero__inner {
    max-width: 1240px; height: 100%; margin: 0 auto; padding: 96px 32px 40px;
    display: flex; flex-wrap: wrap; align-items: center; align-content: center; gap: 48px;
}
.lf-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lf-hero__title { margin: 0; font: 800 clamp(44px, 6.2vw, 88px)/.98 var(--display); letter-spacing: -.03em; }
.lf-hero__lead { margin: 0; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.lf-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.lf-hero__card-wrap { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.lf-hero__card {
    position: relative; width: min(380px, 46vh, 86vw); aspect-ratio: 1 / 1;
    border-radius: 48px; border: 1px solid var(--line);
}
.lf-hero__card .lf-pill { position: absolute; left: 20px; top: 20px; }

/* Without JavaScript the film is skipped and the hero is shown as a normal section */
html:not(.js) .lf-film { height: auto; }
html:not(.js) .lf-film__stage { position: relative; height: auto; }
html:not(.js) .lf-film__title, html:not(.js) .lf-hud, html:not(.js) .lf-cap, html:not(.js) .lf-film__canvas { display: none; }
html:not(.js) .lf-hero { position: relative; opacity: 1; pointer-events: auto; }

/* ---------- Site sections ---------- */
.lf-site { position: relative; z-index: 1; }
.lf-section { max-width: 1240px; margin: 0 auto; padding: 90px 32px; display: flex; flex-direction: column; gap: 44px; scroll-margin-top: 70px; }
.lf-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lf-section__head > div { display: flex; flex-direction: column; gap: 14px; }
.lf-section__intro { margin: 0; max-width: 430px; font-size: 17px; line-height: 1.6; }
.lf-h2 { margin: 0; font: 800 clamp(36px, 4.5vw, 60px)/1.02 var(--display); letter-spacing: -.02em; }
.lf-h2--sm { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.lf-h2--xl { font-size: clamp(40px, 6vw, 84px); letter-spacing: -.03em; line-height: 1; }

.lf-grid { display: flex; flex-wrap: wrap; gap: 22px; }
.lf-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .25s ease, border-color .25s ease;
}
.lf-card:hover { transform: translateY(-6px); border-color: var(--orange); }

.lf-service { flex: 1 1 200px; min-width: 0; padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; }
.lf-service__top { display: flex; justify-content: space-between; align-items: center; }
.lf-service__no {
    width: 52px; height: 52px; border-radius: 16px; background: #2A1A10; color: var(--orange);
    display: flex; align-items: center; justify-content: center; font: 600 16px var(--mono);
}
.lf-service h3 { margin: 0; font: 600 26px/1.15 var(--display); }
.lf-service p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lf-service ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.lf-service li { display: flex; gap: 10px; }

.lf-game { flex: 1 1 340px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.lf-game__art { height: clamp(130px, 22vh, 220px); display: flex; align-items: center; justify-content: center; position: relative; }
.lf-game__art .lf-pill { position: absolute; inset-inline-start: 16px; top: 16px; z-index: 1; }
.lf-game__art--img { padding: 0; overflow: hidden; }
.lf-game__art--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lf-game[hidden] { display: none; }
.lf-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: -12px; }
.lf-filter__btn {
    font: 500 14px var(--body); color: var(--text-2); background: transparent; cursor: pointer;
    border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; transition: all .2s ease;
}
.lf-filter__btn:hover { border-color: var(--blue); }
.lf-filter__btn.is-on { background: var(--orange); border-color: var(--orange); color: var(--orange-dark); font-weight: 600; }
.lf-game__body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.lf-game__title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.lf-game__title h3 { margin: 0; font: 600 24px/1.15 var(--display); }
.lf-game__body p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.lf-status { font: 12px var(--mono); color: #FFC16B; white-space: nowrap; }
.lf-status--live { color: var(--blue); }
.lf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-tags span { font: 12px var(--mono); color: var(--blue); background: #161E31; border-radius: 8px; padding: 5px 9px; }
.lf-game__cta { margin-top: auto; padding-top: 6px; }

.lf-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.lf-steps li { flex: 1 1 240px; min-width: 0; padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.lf-steps__no { font: 800 56px/1 var(--display); color: var(--line-2); }
.lf-steps h3 { margin: 0; font: 600 22px var(--display); }
.lf-steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-2); }

.lf-about {
    background: var(--surface); border: 1px solid var(--line); border-radius: 36px;
    padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center;
}
.lf-about__text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.lf-about__text p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.lf-facts { flex: 1 1 300px; min-width: 0; margin: 0; display: flex; flex-direction: column; }
.lf-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lf-facts div:last-child { border-bottom: 0; }
.lf-facts dt { color: var(--muted-2); }
.lf-facts dd { margin: 0; text-align: end; }

/* ---------- Contact ---------- */
/* Her bölüm bir ekran: yüksekliği site.js ayarlar (menü yüksekliğini çıkarıp sığmazsa hafifçe küçültür) */
.lf-site > .lf-section { justify-content: center; padding-top: 28px; padding-bottom: 28px; gap: 32px; min-height: calc(100vh - var(--nav-h, 72px)); }
#iletisim { gap: 18px; }
#iletisim .lf-h2--xl { font-size: clamp(34px, 4.2vw, 56px); }
#iletisim .lf-contact__head { gap: 10px; }
#iletisim .lf-eyebrow { font-size: 12px; }
#iletisim .lf-contact__head p { font-size: 16px; }
.lf-contact__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.lf-contact__head p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.6; }
.lf-contact {
    display: flex; flex-wrap: wrap; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: 36px;
}
.lf-contact__info {
    flex: 1 1 380px; min-width: 0; position: relative; overflow: hidden;
    padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 12px;
    background: linear-gradient(160deg, #221C33 0%, #17131F 100%); border-inline-end: 1px solid var(--line);
}
.lf-contact__info h3 { margin: 0 0 4px; font: 800 24px var(--display); }
.lf-contact__row {
    display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 18px;
    color: var(--text); text-decoration: none; background: rgba(15,13,23,.45); border: 1px solid var(--line);
    overflow-wrap: anywhere; transition: border-color .2s ease;
}
a.lf-contact__row:hover { color: var(--text); border-color: var(--orange); }
.lf-contact__row small { display: block; font: 11px var(--mono); letter-spacing: .12em; color: var(--muted-2); text-transform: uppercase; margin-bottom: 2px; }
.lf-contact__icon {
    flex: none; width: 42px; height: 42px; border-radius: 14px; background: #2A1A10; color: var(--orange);
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.lf-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; position: relative; z-index: 1; }
.lf-social a {
    font-size: 13.5px; color: var(--text-2); text-decoration: none;
    border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px;
}
.lf-social a:hover { color: var(--blue); border-color: var(--blue); }
.lf-snooze { position: relative; margin-top: auto; align-self: flex-end; padding-top: 34px; }
.lf-contact__fox { display: block; opacity: .95; overflow: visible; transform-origin: 50% 100%; animation: lf-breathe 3.2s ease-in-out infinite; }
.lf-bubble { transform-box: fill-box; transform-origin: 90% 20%; animation: lf-bubble 3.2s ease-in-out infinite; }
.lf-snooze__z {
    position: absolute; left: 44px; top: 56px; opacity: 0; pointer-events: none;
    font: 800 15px var(--display); color: #FFD9BE; animation: lf-z 3.2s ease-out infinite;
}
.lf-snooze__z:nth-child(2) { left: 56px; top: 44px; font-size: 19px; animation-delay: 1.07s; }
.lf-snooze__z:nth-child(3) { left: 70px; top: 30px; font-size: 24px; animation-delay: 2.13s; }

.lf-form { flex: 1.7 1 460px; min-width: 0; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.lf-form__row { display: flex; flex-wrap: wrap; gap: 18px; }
.lf-form__row .lf-field { flex: 1 1 220px; }
.lf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.lf-field > span:first-child, .lf-field legend { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 0; }
.lf-field input, .lf-field textarea {
    width: 100%; font: 16px var(--body); color: var(--text);
    background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 12px 16px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lf-field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.lf-field input::placeholder, .lf-field textarea::placeholder { color: #6E6880; }
.lf-field input:focus, .lf-field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,61,.15); }
.lf-field input.input-validation-error, .lf-field textarea.input-validation-error, .lf-field .is-bad { border-color: #FF6B6B; }
.lf-field__err { font-size: 13px; color: #FF8C8C; min-height: 0; }
.lf-field__err:empty { display: none; }

.lf-topics legend { margin-bottom: 8px; }
.lf-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-chip { position: relative; cursor: pointer; }
.lf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lf-chip span {
    display: inline-block; font-size: 13.5px; padding: 8px 14px; border-radius: 999px;
    border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s ease;
}
.lf-chip:hover span { border-color: var(--blue); }
.lf-chip input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--orange-dark); font-weight: 600; }
.lf-chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(110,168,255,.3); }

.lf-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted-2); cursor: pointer; }
.lf-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
/* Bot tuzağı: görünmez ama sayfayı yana taşırmaz (sağdan sola Farsçada da) */
.lf-hp { position: absolute !important; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

.lf-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 22px; margin-top: 2px; }
.lf-form__consent { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.lf-form__status { margin: 0; font-size: 15px; line-height: 1.5; }
.lf-form__status:empty { display: none; }
.lf-ok { color: var(--blue); }
.lf-bad { color: #FF8C8C; }

/* ---------- Footer, error ---------- */
.lf-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--bg); }
.lf-footer__inner {
    max-width: 1240px; margin: 0 auto; padding: 28px 32px;
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--muted-2);
}
.lf-error { min-height: 80vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 120px 24px 60px; }
.lf-error h1 { margin: 0; font: 800 clamp(36px, 5vw, 64px) var(--display); }
.lf-error p { margin: 0; color: var(--muted); }

/* ---------- Başlık harfleri (fare ile) ---------- */
.lf-word { display: inline-block; white-space: nowrap; }
.lf-ch { display: inline-block; transition: transform .45s cubic-bezier(.2,.8,.2,1.4), color .45s ease; }
.lf-ch:hover { transform: translateY(-8px) rotate(-5deg) scale(1.06); color: var(--orange); transition-duration: .12s; }
.lf-orange .lf-ch:hover { color: var(--blue); }
.lf-wordfx { transition: transform .5s cubic-bezier(.2,.8,.2,1.4), color .5s ease; }
.lf-wordfx:hover { transform: translateY(-7px) rotate(-2deg) scale(1.04); color: var(--orange); transition-duration: .15s; }
.lf-orange .lf-wordfx:hover { color: var(--blue); }

/* ---------- Reveal on scroll ---------- */
.js .lf-rev { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .lf-rev.in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes lf-tw { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@keyframes lf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lf-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.97); } }
@keyframes lf-bubble {
    0% { transform: scale(.15); opacity: 0; }
    8% { opacity: 1; }
    50% { transform: scale(1); opacity: 1; }
    56% { transform: scale(1.12); opacity: 1; }
    59% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(.15); opacity: 0; }
}
@keyframes lf-z {
    0% { opacity: 0; transform: translate(0, 0) scale(.7) rotate(-8deg); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translate(18px, -34px) scale(1.15) rotate(6deg); }
}
@keyframes lf-drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-18px, 14px) rotate(4deg); } }
@keyframes lf-drift2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(16px, -20px); } }
@keyframes lf-shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(-24deg); }
    3% { opacity: 1; }
    12% { opacity: 0; transform: translate(-520px, 230px) rotate(-24deg); }
    100% { opacity: 0; transform: translate(-520px, 230px) rotate(-24deg); }
}
.lf-float { animation: lf-float 6s ease-in-out infinite; }
.lf-drift { animation: lf-drift 18s ease-in-out infinite; }
.lf-drift2 { animation: lf-drift2 14s ease-in-out infinite; }

/* ---------- Dar ekran: kartlar yana kayan şerit olur ---------- */
.lf-dots { display: none; }
@media (max-width: 900px) {
    .lf-carousel {
        display: flex !important; flex-wrap: nowrap !important; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 9% 10px; margin: 0 -20px;
        -webkit-overflow-scrolling: touch;
    }
    .lf-carousel::-webkit-scrollbar { display: none; }
    .lf-carousel > * { flex: 0 0 82% !important; max-width: 420px; scroll-snap-align: center; }
    .lf-carousel > [hidden] { display: none; }
    .lf-carousel .lf-card:hover { transform: none; }
    .lf-steps.lf-carousel { border-top: 0; }
    .lf-steps.lf-carousel > li {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    }
    .lf-dots { display: flex; justify-content: center; gap: 8px; margin-top: -14px; }
    .lf-dots button {
        width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
        background: var(--line-2); transition: width .3s ease, background .3s ease;
    }
    .lf-dots button.is-on { width: 24px; background: var(--orange); }
}

/* ---------- Kısa ekranlar (laptop) ---------- */
@media (max-height: 820px) and (min-width: 761px) {
    .lf-site > .lf-section { gap: 24px; }
    .lf-h2 { font-size: clamp(32px, 6.4vh, 54px); }
    .lf-h2--sm { font-size: clamp(30px, 6vh, 46px); }
    #iletisim .lf-h2--xl { font-size: clamp(30px, 6.4vh, 52px); }
    .lf-section__head > div { gap: 8px; }
    .lf-section__intro { font-size: 15.5px; }
    .lf-service { padding: 24px; gap: 12px; }
    .lf-service h3 { font-size: 22px; }
    .lf-service p { font-size: 14.5px; }
    .lf-service ul { gap: 6px; font-size: 13.5px; }
    .lf-service__no { width: 44px; height: 44px; border-radius: 14px; }
    .lf-game__body { padding: 20px 24px; gap: 10px; }
    .lf-game__title h3 { font-size: 21px; }
    .lf-game__body p { font-size: 14.5px; }
    .lf-steps li { padding-top: 22px; }
    .lf-steps__no { font-size: 44px; }
    .lf-about { padding: 36px 44px; gap: 32px; }
    .lf-about__text { gap: 14px; }
    .lf-about__text p { font-size: 15.5px; line-height: 1.6; }
    .lf-facts div { padding: 11px 0; }
    #iletisim .lf-contact__head p { font-size: 15px; }
    .lf-form { gap: 11px; }
    .lf-field input, .lf-field textarea { padding: 10px 14px; font-size: 15px; }
    .lf-contact__row { padding: 9px 12px; }
    .lf-contact__icon { width: 36px; height: 36px; border-radius: 12px; font-size: 16px; }
    .lf-social a { padding: 6px 12px; font-size: 13px; }
    .lf-snooze { padding-top: 26px; }
    .lf-snooze .lf-contact__fox { width: 120px; height: 91px; }
}

/* ---------- Sağ alt köşe: dil + tema ---------- */
.lf-ctrl { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lf-lang {
    display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 8px 26px rgba(0,0,0,.28);
}
html[data-theme="day"] .lf-lang { box-shadow: 0 8px 26px rgba(160,90,30,.18); }
.lf-lang a {
    width: 40px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
    font: 600 11.5px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .06em; color: var(--muted-2); text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.lf-lang a:hover { color: var(--text); }
.lf-lang a.is-on { background: var(--orange); color: var(--orange-dark); }

/* ---------- Tema düğmesi ---------- */
.lf-theme {
    position: relative;
    width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--orange); border: 1px solid var(--line-2);
    box-shadow: 0 8px 26px rgba(0,0,0,.28); transition: transform .25s ease;
}
.lf-theme:hover { transform: translateY(-2px) rotate(-12deg); }
.lf-theme:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.lf-theme__moon { display: none; }
html[data-theme="day"] .lf-theme { color: #2F3F7A; box-shadow: 0 8px 26px rgba(160,90,30,.22); }
html[data-theme="day"] .lf-theme__sun { display: none; }
html[data-theme="day"] .lf-theme__moon { display: block; }

/* ---------- Gündüz modunda bileşen ayarları ---------- */
html[data-theme="day"] .lf-nav { background: rgba(255,245,234,.88); }
/* Gündüz: yıldızlar, kayan yıldızlar ve gezegenler yerine gün batımı gökyüzü, bulutlar ve kum tepeleri */
html[data-theme="day"] .lf-bg__far, html[data-theme="day"] .lf-bg__mid { opacity: 0; }
html[data-theme="day"] .lf-shoot { display: none; }
.lf-bg__far, .lf-bg__mid { transition: opacity .6s ease; }
.lf-bg__day { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
html[data-theme="day"] .lf-bg__day { opacity: 1; }
html[data-theme="day"] .lf-bg {
    background:
        radial-gradient(900px 520px at 82% 6%, rgba(255,176,104,.45), rgba(255,176,104,0) 70%),
        radial-gradient(700px 420px at 10% 30%, rgba(236,140,150,.16), rgba(236,140,150,0) 70%),
        linear-gradient(180deg, #F9D3C3 0%, #FCE3D2 30%, #FFF0E2 62%, #FFF5EA 100%);
}
.lf-day__layer { position: absolute; inset: -40px; will-change: transform; }
.lf-day__cloud { position: absolute; fill: #FFFFFF; opacity: .75; animation: lf-cloud ease-in-out infinite alternate; }
.lf-day__cloud--far { fill: #FFF1E6; opacity: .7; }
.lf-day__layer--dunes { inset: auto -60px -40px -60px; height: 34vh; }
.lf-day__dune { position: absolute; left: 0; bottom: 0; width: 100%; }
.lf-day__dune--far { height: 100%; fill: #F9DAC0; }
.lf-day__dune--near { height: 72%; fill: #F5C9A2; }
@keyframes lf-cloud { from { transform: translateX(0); } to { transform: translateX(90px); } }
html[data-theme="day"] .lf-film__headline { text-shadow: 0 6px 30px rgba(255,255,255,.6); }
html[data-theme="day"] .lf-film__sub { color: #3E3A55; }
html[data-theme="day"] .lf-film__cue { color: #4B4766; }
html[data-theme="day"] .lf-eyebrow--blue { color: #2F5FB8; }
html[data-theme="day"] .lf-cap { background: rgba(255,250,243,.9); border-color: #F0DCC6; box-shadow: 0 10px 30px rgba(120,70,30,.15); }
html[data-theme="day"] .lf-pill { background: #FFF5EA; }
html[data-theme="day"] .lf-pill--dark { background: rgba(255,255,255,.85); color: #2A1D18; }
html[data-theme="day"] .lf-card, html[data-theme="day"] .lf-about { box-shadow: 0 10px 30px rgba(150,90,40,.08); }
html[data-theme="day"] .lf-service__no, html[data-theme="day"] .lf-contact__icon { background: #FFE6D3; }
html[data-theme="day"] .lf-tags span { background: #E7F0FF; }
html[data-theme="day"] .lf-status { color: #C4610F; }
html[data-theme="day"] .lf-status--live { color: var(--blue); }
/* Gündüz: kartın kendi rengi açık bir tülle yumuşar (yüklenen görsellere dokunulmaz) */
html[data-theme="day"] .lf-game__art:not(.lf-game__art--img)::after { content: ""; position: absolute; inset: 0; background: rgba(255,247,238,.78); }
.lf-game__art > .lf-float { position: relative; z-index: 1; }
html[data-theme="day"] .lf-steps__no { color: #EBCDAE; }
html[data-theme="day"] .lf-contact__info { background: linear-gradient(160deg, #FFF0E2 0%, #FFFFFF 100%); }
html[data-theme="day"] .lf-contact__row { background: rgba(255,255,255,.8); }
html[data-theme="day"] .lf-field input, html[data-theme="day"] .lf-field textarea { background: #FFFBF6; }
html[data-theme="day"] .lf-field input::placeholder, html[data-theme="day"] .lf-field textarea::placeholder { color: #B09A8C; }
html[data-theme="day"] .lf-snooze__z { color: #B4652A; }
html[data-theme="day"] .lf-field__err, html[data-theme="day"] .lf-bad { color: #C93838; }
/* Dürbün göstergesi koyu maskenin üstünde: her iki modda da açık renk kalsın */
.lf-hud__top { color: #A39DB3; }
.lf-hud__top .lf-blue, .lf-hud__text { color: #9CC3FF; }
.lf-hud__top b { color: #FF9C59; }
.lf-hud__top i { background: #2B2738; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
    .lf-nav__inner { padding: 12px 18px; }
    .lf-nav__links { gap: 14px; font-size: 14px; }
    .lf-nav__links a:not(.lf-btn) { display: none; }
    .lf-section { padding: 70px 20px; }
    .lf-cap { max-width: 230px; padding: 14px 16px; }
    .lf-cap strong { font-size: 18px; }
    .lf-cap > span:last-child { font-size: 13px; }
    .lf-cap--bl { left: 14px; bottom: 14px; }
    .lf-cap--tr { right: 14px; top: 64px; }
    .lf-cap--hello { right: 14px; top: 12%; }
    .lf-hero__inner { padding: 80px 20px 24px; gap: 24px; }
    .lf-hero__card { width: min(300px, 34vh, 80vw); }
    .lf-hero__lead { font-size: 16px; }
    .lf-hud__top { gap: 10px; letter-spacing: .18em; }
    .lf-hud__text { font-size: 11px; letter-spacing: .14em; }
    .lf-contact__info { border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .lf-site > .lf-section { gap: 18px; padding-top: 18px; padding-bottom: 64px; }
    .lf-h2 { font-size: 34px; }
    .lf-section__intro { font-size: 14.5px; line-height: 1.55; }
    .lf-service { padding: 20px; gap: 10px; }
    .lf-service h3 { font-size: 20px; }
    .lf-service p { font-size: 14px; }
    .lf-service ul { gap: 6px; font-size: 13.5px; }
    .lf-game__body { padding: 18px 20px; gap: 10px; }
    .lf-game__body p { font-size: 14px; }
    /* Dil ve tema düğmeleri telefonda yan yana ve küçük */
    .lf-ctrl { flex-direction: row; right: 12px; bottom: 12px; gap: 8px; }
    .lf-lang { flex-direction: row; }
    .lf-lang a { width: 32px; height: 28px; font-size: 10.5px; }
    .lf-theme { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .lf-star, .lf-shoot, .lf-float, .lf-drift, .lf-drift2, .lf-contact__fox, .lf-bubble, .lf-snooze__z, .lf-day__cloud { animation: none; }
    html.lf-theming body, html.lf-theming body * { transition: none !important; }
    .lf-snooze__z { opacity: .6; }
    .lf-shoot { display: none; }
    .js .lf-rev { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Bakım sayfası (/bakim)
   ========================================================================== */
.lf-mt { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px 120px; overflow: hidden; position: relative; }
.lf-mt__sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #09080F 0%, #15111E 55%, #2A2233 100%); transition: background .6s ease; }
html[data-theme="day"] .lf-mt__sky { background: linear-gradient(180deg, #C9788A 0%, #F29A72 50%, #FFD49A 100%); }
.lf-mt__star { position: absolute; border-radius: 50%; background: #F4EFE6; animation: lf-tw 3.5s ease-in-out infinite; }
html[data-theme="day"] .lf-mt__star { display: none; }
.lf-mt__moon, .lf-mt__sun { position: absolute; right: 12%; top: 12%; width: 90px; height: 90px; border-radius: 50%; transition: opacity .6s ease; }
.lf-mt__moon { background: #FFD9BE; box-shadow: 0 0 80px 20px rgba(255,217,190,.18); }
.lf-mt__moon::after { content: ""; position: absolute; width: 82px; height: 82px; border-radius: 50%; left: 34px; top: -14px; background: #120F1A; }
.lf-mt__sun { opacity: 0; background: radial-gradient(circle, #FFD98F 0 58%, #FFB15C 60% 66%, rgba(255,177,92,0) 68%); box-shadow: 0 0 160px 70px rgba(255,170,100,.45); width: 120px; height: 120px; }
html[data-theme="day"] .lf-mt__moon { opacity: 0; }
html[data-theme="day"] .lf-mt__sun { opacity: 1; }
.lf-mt__dune { position: absolute; left: 0; bottom: 0; width: 100%; }
.lf-mt__dune--far { height: 34vh; fill: #241D2F; }
.lf-mt__dune--near { height: 24vh; fill: #33293D; }
html[data-theme="day"] .lf-mt__dune--far { fill: #F8DCB6; }
html[data-theme="day"] .lf-mt__dune--near { fill: #EDB67E; }
.lf-mt__card {
    position: relative; z-index: 1; max-width: 560px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    background: rgba(15,13,23,.72); border: 1px solid var(--line); border-radius: 36px; padding: 40px 36px 34px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
html[data-theme="day"] .lf-mt__card { background: rgba(255,250,243,.88); box-shadow: 0 20px 50px rgba(150,80,30,.18); }
.lf-mt__fox { margin: 0; align-self: center; padding-top: 30px; }
.lf-mt__fox .lf-snooze__z { left: 58px; top: 50px; font-size: 20px; }
.lf-mt__fox .lf-snooze__z:nth-child(2) { left: 76px; top: 34px; font-size: 26px; }
.lf-mt__fox .lf-snooze__z:nth-child(3) { left: 96px; top: 14px; font-size: 32px; }
.lf-mt__title { margin: 0; font: 800 clamp(30px, 5vw, 46px)/1.1 var(--display); letter-spacing: -.02em; }
.lf-mt__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--muted); }
.lf-mt__until { margin: 0; font: 13px var(--mono); color: var(--muted-2); }
.lf-mt__until b { color: var(--orange); font-weight: 600; }
.lf-mt__brand { margin-top: 8px; font: 12px var(--mono); letter-spacing: .14em; color: var(--muted-2); }
.lf-mt__admin {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 5;
    background: var(--orange); color: var(--orange-dark); font: 600 14px var(--body); padding: 10px 18px; border-radius: 999px;
    display: flex; gap: 14px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap;
}
.lf-mt__admin a { color: var(--orange-dark); text-decoration: underline; }
html[lang="fa"] .lf-mt__title { line-height: 1.4; }

/* Yönetici siteye bakarken bakım modu açıksa üstte görünen şerit */
.lf-adminbar {
    position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 45;
    background: var(--orange); color: var(--orange-dark); font: 600 13.5px var(--body);
    padding: 10px 18px; border-radius: 999px; display: flex; gap: 14px; align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap;
}
.lf-adminbar a { color: var(--orange-dark); }

/* Alt bilgi: oyunların gizlilik sayfaları bağlantısı */
.lf-footer__legal { color: inherit; opacity: .75; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,138,61,.5); }
.lf-footer__legal:hover { opacity: 1; color: var(--orange); }

/* Filmi atla düğmesi */
.lf-skip {
    position: absolute; top: 22px; right: 24px; z-index: 6;
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
    font: 600 12.5px var(--body); letter-spacing: .02em; color: #F4EFE6;
    background: rgba(15, 13, 23, .55); border: 1px solid rgba(244, 239, 230, .22);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    transition: opacity .35s ease, background .2s ease, border-color .2s ease;
}
.lf-skip:hover, .lf-skip:focus-visible { background: rgba(255, 138, 61, .9); border-color: transparent; color: #1A0F05; outline: none; }
.lf-skip.is-hidden { opacity: 0; pointer-events: none; }
html:not(.js) .lf-skip { display: none; }
html[lang=fa] .lf-skip { font-family: Vazirmatn, system-ui, sans-serif; letter-spacing: 0; }
@media (max-width: 640px) { .lf-skip { top: 14px; right: 14px; padding: 7px 14px; font-size: 12px; } }
html[dir=rtl] .lf-skip { right: auto; left: 24px; }
@media (max-width: 640px) { html[dir=rtl] .lf-skip { left: 14px; } }

/* Hakkımda: “Neden Lazy Fennec?” */
.lf-why { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 138, 61, .08); border: 1px solid rgba(255, 138, 61, .28); }
.lf-why__fox { flex: none; margin-top: 2px; }
.lf-why strong { display: block; margin-bottom: 4px; color: var(--orange); font-size: 15px; }
.lf-about__text .lf-why p { font-size: 15px; line-height: 1.6; }
@media (max-width: 640px) { .lf-why { padding: 12px 14px; gap: 12px; } .lf-why__fox { width: 46px; height: 35px; } .lf-about__text .lf-why p { font-size: 14px; } }
html[data-theme="day"] .lf-skip { background: rgba(255, 250, 243, .75); color: #3A2414; border-color: #E9CFB4; }
html[data-theme="day"] .lf-why { background: rgba(255, 138, 61, .1); }

/* Hafif mod (zayıf cihazlar): pahalı efektleri kapat */
html.lf-lite .lf-star, html.lf-lite .lf-drift, html.lf-lite .lf-drift2, html.lf-lite .lf-float,
html.lf-lite .lf-day__cloud, html.lf-lite .lf-mt__star, html.lf-lite .lf-bubble { animation: none; }
html.lf-lite .lf-shoot { display: none; }
html.lf-lite *, html.lf-lite *::before, html.lf-lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lf-lite .lf-skip { background: rgba(15, 13, 23, .85); }
html.lf-lite[data-theme="day"] .lf-skip { background: rgba(255, 250, 243, .92); }
