/* FarmEarn giris sayfalari: oyunun "cozy farm" dili (game/src/style.css degiskenleri). Harici kaynak yok. */
/* Nunito: Türkçe tam kapsam (ğ Ğ İ ş Ş); oyunla aynı yazı tipi. */
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunito-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 200 1000; font-display: swap;
  src: url("fonts/nunito-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --ink: #4a2c17; --wood: #b7743d; --wood-dark: #6e3f1b; --wood-light: #d9965a;
  --paper: #f8ebcd; --paper-dark: #ead3a5; --accent: #72b043; --accent-dark: #4f8a2c;
  --danger: #c4492f; --sky: #bfe4ef; --cream: var(--paper-light); --focus: #fff3b0;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --paper-light: #fffaf0;
  --brand-sh: #a0632f;
  --btn-top: #8ccb59;
  --btn-aa: #538031;
  --btn-aa-bot: #4a722c;
  --edge-pl: #e3c995;
  --grass: #9fd17a;
  --paper-end: #f3e0b8;
  --paper-fade: #f7e8c9;
  --accent-bot: #4f8a2c;
  --alt-bd: #8a4f10;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--sky); }
body.auth { margin: 0; min-height: 100vh; min-height: 100dvh; font: 500 17px/1.4 var(--font); color: var(--ink);
  background: radial-gradient(130% 80% at 50% 108%, var(--grass) 0 30%, transparent 30.5%), linear-gradient(var(--sky), var(--paper-fade) 72%);
  background-attachment: fixed; display: flex; flex-direction: column; align-items: center;
  padding: max(14px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.auth-top { width: 100%; max-width: 440px; display: flex; justify-content: flex-end; gap: 6px; min-height: 44px; align-items: center; }
.auth-top a, .auth-link { color: var(--wood-dark); font-weight: 600; text-decoration: none; }
.auth-top a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; }
.auth-top a.on { background: var(--paper); box-shadow: 0 2px 0 var(--wood-dark); border: 2px solid var(--wood-dark); }
.auth-link:hover, .auth-top a:hover { text-decoration: underline; }
.auth-main { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; margin: auto 0; padding: 8px 0 16px; }
.brand { margin: 4px 0 2px; text-align: center; font-size: clamp(34px, 11vw, 50px); font-weight: 700; letter-spacing: 1px; line-height: 1.1; color: #fff8e7;
  text-shadow: 0 3px 0 var(--brand-sh), 0 6px 0 var(--wood-dark), 0 10px 18px rgba(80, 40, 10, .35); overflow-wrap: anywhere; }
.brand img { display: block; max-height: 72px; max-width: 80%; margin: 0 auto 6px; filter: drop-shadow(0 4px 0 rgba(110, 63, 27, .5)); }
.brand .brand-logo { height: auto; max-width: min(80%, 360px); max-height: none; filter: none; /* duz lockup; koyu varyant kendi ekstruzyonunu tasir, cift golge olmasin */ }
.brand .brand-mark { height: auto; width: auto; max-height: 72px; max-width: 80%; object-fit: contain; /* kare olmayan ozel logo esnemesin */ }
.tagline { margin: 0 0 18px; text-align: center; font-weight: 500; opacity: .85; }
.panel { width: 100%; padding: 22px 20px 20px; border-radius: 24px; background: linear-gradient(var(--paper), var(--paper-end));
  border: 4px solid var(--wood-dark); box-shadow: 0 5px 0 var(--wood-dark), 0 14px 28px rgba(60, 30, 10, .28); position: relative; }
.panel::before { content: ""; position: absolute; inset: 4px; border-radius: 18px; border: 2px dashed rgba(183, 116, 61, .45); pointer-events: none; }
.panel > * { position: relative; }
.panel h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.15; }
.panel .lead { margin: 0 0 16px; opacity: .8; font-size: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin: 0 0 4px 4px; font-size: 15px; font-weight: 600; }
.field .hint { margin: 4px 0 0 4px; font-size: 13px; opacity: .7; }
.input { display: flex; align-items: center; border: 3px solid var(--wood-dark); border-radius: 16px; background: var(--paper-light);
  box-shadow: inset 0 3px 0 rgba(110, 63, 27, .12); transition: box-shadow .15s, border-color .15s; }
.input:focus-within { border-color: var(--accent-bot); box-shadow: 0 0 0 4px rgba(114, 176, 67, .35); }
.input input, .input select { flex: 1; min-width: 0; min-height: 50px; padding: 0 14px; border: 0; background: none; font: 500 17px var(--font); color: var(--ink); outline: none; }
.input input::placeholder { color: rgba(74, 44, 23, .4); }
.input .eye { flex: none; min-width: 52px; min-height: 50px; padding: 0 10px; border: 0; background: none; color: var(--wood-dark); font: 600 14px var(--font); cursor: pointer; border-radius: 0 12px 12px 0; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--accent-bot); flex: none; }
.btn-farm { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 0 20px; margin-top: 8px; border: 3px solid var(--accent-bot); border-radius: 18px;
  background: linear-gradient(var(--btn-aa), var(--btn-aa-bot)); color: #fff; font: 700 19px var(--font); letter-spacing: .3px; text-shadow: 0 2px 0 rgba(40, 80, 20, .55);
  box-shadow: 0 5px 0 var(--accent-bot), 0 10px 16px rgba(60, 30, 10, .22); cursor: pointer; text-decoration: none; transition: transform .1s, box-shadow .1s; }
.btn-farm:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-bot); }
.btn-farm.alt { border-color: var(--wood-dark); background: linear-gradient(var(--wood-light), var(--wood)); box-shadow: 0 5px 0 var(--wood-dark), 0 10px 16px rgba(60, 30, 10, .22); text-shadow: 0 2px 0 rgba(80, 40, 10, .5); }
.btn-farm.alt:active { box-shadow: 0 1px 0 var(--wood-dark); }
.btn-farm.ghost { background: var(--paper); color: var(--wood-dark); text-shadow: none; border-color: var(--wood-dark); box-shadow: 0 5px 0 var(--wood-dark); }
.btn-farm:focus-visible, .auth-link:focus-visible, .auth-top a:focus-visible, .eye:focus-visible { outline: 4px solid #fff3b0; outline-offset: 2px; }
/* Demo girisi (yalniz farmearn.demo = 1): ayracli ayri blok, not en altta */
.demo { display: grid; gap: 14px; margin: 26px 0 0; }
.demo form { margin: 0; }
.demo .btn-farm { margin-top: 0; }
.demo-or { display: flex; align-items: center; gap: 12px; margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--wood-dark); }
.demo-or::before, .demo-or::after { content: ""; flex: 1; border-top: 2px dashed var(--wood-light); }
.demo-note { margin: 4px 0 0; text-align: center; font-size: 14px; opacity: .75; }
.links { margin: 16px 0 0; text-align: center; display: flex; flex-direction: column; gap: 2px; font-size: 16px; }
button.auth-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.hello form { margin: 0; }
.links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; border: 3px solid; font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }
.alert.err { background: #fde3dc; border-color: var(--danger); color: #7a2412; }
.alert.ok { background: #e4f3d4; border-color: var(--accent-bot); color: #2d5416; }
.alert p { margin: 0; } .alert p + p { margin-top: 4px; }
.foot { margin: 14px 0 0; font-size: 13px; text-align: center; opacity: .6; }
.code input { text-align: center; letter-spacing: 8px; font-size: 26px; font-weight: 700; }
.hello { display: flex; flex-direction: column; gap: 12px; }
.how { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.how li { display: grid; justify-items: center; gap: 2px; padding: 10px 6px 8px; border-radius: 14px; background: var(--paper-light); border: 2px solid var(--edge-pl); box-shadow: 0 3px 0 var(--edge-pl); text-align: center; }
.how .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-aa); color: #fff; font-weight: 800; font-size: 14px; box-shadow: 0 2px 0 var(--accent-bot); }
.how b { font-size: 14px; line-height: 1.2; }
.how small { font-size: 12px; opacity: .75; line-height: 1.25; }
@media (max-width: 380px) { .how { grid-template-columns: 1fr; } .how li { grid-template-columns: auto 1fr; justify-items: start; column-gap: 10px; text-align: left; } .how .n { grid-row: span 2; } }
@media (max-width: 380px) { .panel { padding: 18px 14px 16px; border-radius: 20px; } .panel h2 { font-size: 23px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- acilis sayfasi (body.auth.landing; auth/landing.php misafir dali) — yalniz tema degiskenleri ---------- */
body.landing { display: block; padding: 0; background: var(--paper); background-attachment: scroll; }
.col { width: 100%; max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.land-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 60px;
  padding: max(6px, env(safe-area-inset-top)) max(16px, calc((100% - 1240px) / 2 + 16px)) 6px;
  background: var(--sky); border-bottom: 3px solid var(--wood-dark); box-shadow: 0 3px 0 rgba(0, 0, 0, .18); }
.land-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 26px; font-weight: 800; letter-spacing: .5px; color: #fff8e7; text-decoration: none; /* .brand ile ayni */
  text-shadow: 0 2px 0 var(--brand-sh), 0 4px 0 var(--wood-dark), 0 6px 10px rgba(0, 0, 0, .28); }
.land-brand img { height: 40px; width: auto; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .25)); }
.land-brand .brand-logo { filter: none; }
.land-nav { display: flex; align-items: center; gap: 4px; }
.land-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; font-weight: 700; color: var(--wood-dark); text-decoration: none; }
.land-nav a.on { background: var(--paper); border: 2px solid var(--wood-dark); box-shadow: 0 2px 0 var(--wood-dark); }
.land-nav .land-login { margin-left: 6px; padding: 0 16px; white-space: nowrap; background: var(--paper); border: 2px solid var(--wood-dark); box-shadow: 0 3px 0 var(--wood-dark); }
@media (max-width: 420px) { .land-brand img { height: 30px; } }
.land-nav a:hover { text-decoration: underline; }
@media (max-width: 380px) { .land-brand { min-width: 0; flex: 0 1 auto; } .land-brand img { min-width: 0; max-width: 100%; object-fit: contain; } .land-nav { gap: 2px; flex: none; } .land-nav .land-login { margin-left: 2px; padding: 0 12px; } } /* 360 px'te üst çubuk 1 px taşıp yatay kaydırma çıkarıyordu */
.land h2 { margin: 0 0 14px; font-size: clamp(24px, 3.6vw, 32px); line-height: 1.15; font-weight: 800; color: var(--wood-dark); }
/* ahsap tabela baslik */
.land h2.sign { display: inline-block; padding: 8px 22px 9px; border-radius: 14px; color: #fff8e7; background: linear-gradient(var(--wood), var(--alt-bd)); /* alt-bd: sunucu turetilmis koyu ahsap */
  border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark), 0 10px 18px rgba(0, 0, 0, .2); text-shadow: 0 2px 0 var(--wood-dark); position: relative; }
.land h2.sign::before, .land h2.sign::after { content: ""; position: absolute; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--wood-dark); box-shadow: inset 0 1px 0 var(--wood-light); }
.land h2.sign::before { left: 8px; } .land h2.sign::after { right: 8px; }
.land .lead { margin: 0 0 18px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.5; max-width: 62ch; }
.band { padding-top: 40px; padding-bottom: 16px; }
.band.dark { background: var(--paper-dark); margin-top: 28px; padding: 40px 0 36px; /* band kendisi kolon degil: iceride .col */ border-top: 3px solid var(--edge-pl); border-bottom: 3px solid var(--edge-pl); }
.band.dark + .band { padding-top: 36px; }

/* hero: gok + yesil tepe (giris sayfasiyla ayni dil) */
.hero-wrap { position: relative; overflow: hidden; padding: 24px 0 56px; background: var(--sky);
  background: radial-gradient(190% 60% at 50% 112%, var(--grass) 0 32%, transparent 32.5%), linear-gradient(var(--sky), var(--paper-fade) 85%); }
.hero { position: relative; z-index: 1; display: grid; gap: 22px; align-items: center; }
.hero h1 { margin: 0 0 12px; font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; font-weight: 900; letter-spacing: -.3px; color: var(--wood-dark); text-wrap: balance; }
.hero .lead { margin-bottom: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-farm { width: auto; min-width: 160px; margin: 0; padding: 0 26px; }
.cta .btn-farm.big { min-height: 60px; font-size: 21px; }
.cta.center { justify-content: center; }
.hero .note { margin: 14px 0 0; font-size: 14px; font-weight: 600; opacity: .85; }
.cloud { position: absolute; z-index: 0; width: 220px; height: 70px; border-radius: 999px; background: var(--paper-light); filter: blur(2px); opacity: .75; pointer-events: none; }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 12px; border-radius: 50%; background: inherit; }
.cloud::before { left: 36px; width: 90px; height: 90px; } .cloud::after { left: 110px; width: 70px; height: 70px; }
.c1 { top: 6px; right: 8%; animation: drift 46s linear infinite; }
.c2 { top: 90px; left: 30%; width: 150px; height: 50px; opacity: .6; animation: drift 70s linear infinite reverse; }
@keyframes drift { from { transform: translateX(-40px) } to { transform: translateX(40px) } }

/* oyundan ekran goruntuleri: ahsap cerceve */
.shot { position: relative; margin: 0; border-radius: 22px; border: 4px solid var(--wood-dark); background: var(--wood-dark); overflow: hidden;
  box-shadow: 0 6px 0 var(--wood-dark), 0 18px 32px rgba(0, 0, 0, .25); aspect-ratio: 16 / 9; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art { transform: rotate(-1.2deg); }

/* adimlar */
.steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; align-content: start; padding: 14px 16px; border-radius: 18px; background: var(--cream); border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark); }
.steps .n { grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-dark); color: var(--cream); font-weight: 900; font-size: 20px; box-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.steps b { font-size: 17px; line-height: 1.2; } .steps small { font-size: 14px; line-height: 1.3; }

/* ozellikler: gorsel-metin zig-zag */
.feature { display: grid; gap: 16px; align-items: center; margin: 8px 0 30px; }
.feature-copy h3 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 28px); line-height: 1.15; color: var(--wood-dark); }
.feature-copy p { margin: 0; font-size: clamp(16px, 2vw, 18px); line-height: 1.5; max-width: 46ch; }

/* gorev pazari (koyu kagit bandi) */
.market { display: grid; gap: 22px; align-items: center; }
.two { display: grid; gap: 14px; }
.list { padding: 14px 16px; border-radius: 18px; background: var(--cream); border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark); }
.list h3 { margin: 0 0 6px; font-size: 19px; color: var(--wood-dark); }
.list ul { margin: 0; padding: 0; list-style: none; }
.list li { position: relative; padding: 4px 0 4px 26px; font-size: 15.5px; line-height: 1.4; }
.list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 -2px 0 var(--accent-dark); }

/* her cihazda: telefon cercevesi */
.devices { display: grid; gap: 24px; align-items: center; justify-items: center; }
.devices-copy { width: 100%; }
.phone { margin: 0; width: min(250px, 70vw); border-radius: 38px; border: 8px solid var(--wood-dark); background: var(--wood-dark); overflow: hidden;
  box-shadow: 0 8px 0 rgba(0, 0, 0, .35), 0 20px 36px rgba(0, 0, 0, .3); transform: rotate(2deg); aspect-ratio: 390 / 844; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; }

/* odeme kartlari */
.tiles { display: grid; gap: 12px; margin: 0; grid-template-columns: repeat(2, 1fr); }
.tiles > div { display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark); min-width: 0; }
.tiles dt { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--wood-dark); }
.tiles dd { margin: 4px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 900; color: var(--wood-dark); line-height: 1.15; overflow-wrap: anywhere; }
.tiles dd.small { font-size: clamp(16px, 1.6vw, 18px); white-space: normal; }

/* canli sayac */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 28px; text-align: center; }
.stats div { padding: 14px 6px; border-radius: 18px; background: linear-gradient(var(--paper), var(--paper-dark)); border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark); }
.stats b { display: block; font-size: clamp(22px, 4vw, 34px); font-weight: 900; color: var(--wood-dark); line-height: 1.1; overflow-wrap: anywhere; }
.stats span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }

/* sss */
.faq details { margin: 0 0 10px; border-radius: 16px; background: var(--cream); border: 3px solid var(--wood-dark); box-shadow: 0 4px 0 var(--wood-dark); }
.faq summary { cursor: pointer; padding: 12px 16px; min-height: 44px; font-weight: 800; font-size: 17px; color: var(--wood-dark); list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-dark); color: var(--cream); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 16px 14px; font-size: 16px; line-height: 1.5; }
.last { text-align: center; padding-bottom: 40px; }
.last .lead { margin-left: auto; margin-right: auto; }
.land-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding-top: 18px; padding-bottom: max(24px, env(safe-area-inset-bottom)); font-size: 14px; border-top: 3px solid var(--wood-dark); }
.land-foot p { margin: 0; }
.land-foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.land-foot a { color: var(--wood-dark); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.land a:focus-visible, .land-nav a:focus-visible, .land-brand:focus-visible, .land-foot a:focus-visible, .faq summary:focus-visible { outline: 3px solid var(--wood-dark); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }

@media (max-width: 639px) { .tiles > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } .two { grid-template-columns: 1fr 1fr; } .tiles { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .tiles dd { white-space: nowrap; } }
@media (min-width: 900px) {
  .hero-wrap { padding: 48px 0 72px; background-image: radial-gradient(130% 70% at 50% 112%, var(--grass) 0 32%, transparent 32.5%), linear-gradient(var(--sky), var(--paper-fade) 85%); }
  .hero { grid-template-columns: 5fr 7fr; gap: 40px; }
  .band { padding-top: 52px; }
  .steps { grid-template-columns: repeat(4, 1fr); } .steps li { grid-template-columns: 1fr; justify-items: start; row-gap: 6px; } .steps .n { grid-row: auto; }
  .feature { grid-template-columns: 1.15fr 1fr; gap: 40px; margin-bottom: 40px; }
  .feature:nth-child(odd) { grid-template-columns: 1fr 1.15fr; } .feature:nth-child(odd) .shot { order: 2; } /* zig-zag: 2. ozellikte gorsel sagda (h2 ilk cocuk), kare genisligi ayni */
  .market { grid-template-columns: 1fr 1fr; gap: 44px; }
  .devices { grid-template-columns: 1fr auto; gap: 60px; }
  .devices .phone { margin-right: 40px; }
}
@media (min-width: 1600px) { .hero-wrap { background-image: radial-gradient(220% 70% at 50% 112%, var(--grass) 0 32%, transparent 32.5%), linear-gradient(var(--sky), var(--paper-fade) 85%); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none !important; } }
