/* helperbasvuru.arkney-roleplay.com: Helper başvuru sayfası (public/helper-basvuru.html + js/hb.js).
   Palet site/oyun arayüzüyle aynı: zemin #08090B, kart #15181C, turuncu #FF3C00; ikinci vurgu Helper sarısı #FFD23F.
   Tatlı katman (v2): yuvarlak köşeler, sıcak gradyanlar, yumuşak gölgeler, küçük yıldız süsleri.
   Hareket yalnız transform/opacity ve 150-300 ms; prefers-reduced-motion'da kapalı. Metin/zemin kontrastı en az 4.5:1. */

:root {
  --bg: #08090B; --bg-2: #0E1013; --card: #16191E; --menu: #1F242B; --line: #343a43; --line-soft: rgb(255 255 255 / .08);
  --or: #FF6A1A; --or-rgb: 255 106 26; --hy: #FFD23F; --hy-hi: #FFE17A; --hy-rgb: 255 210 63;
  --tx: #fff; --tx-2: #C9CDD4; --tx-3: #A2A8B1; --tx-4: #8F96A0; --bad: #FF8080; --ok: #3DDC84;
  --head: "Plus Jakarta Sans", "Inter", "Segoe UI", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1); --pop: cubic-bezier(.34, 1.56, .64, 1);
  --r: 26px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 16px/1.65 var(--body); overflow-x: hidden;
  background-image: radial-gradient(ellipse 60% 38% at 88% 0%, rgb(var(--hy-rgb) / .13), transparent 70%), radial-gradient(ellipse 50% 40% at 0% 26%, rgb(var(--or-rgb) / .12), transparent 70%), radial-gradient(ellipse 60% 30% at 50% 100%, rgb(var(--hy-rgb) / .06), transparent 70%); }
img, svg { display: block; max-width: 100%; }
h1, h2 { margin: 0; line-height: 1.12; font-family: var(--head); color: #fff; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--hy); outline-offset: 3px; border-radius: 10px; }

/* üst şerit: bağlantısız, yalnız imza */
.top { position: sticky; top: 0; z-index: 20; background: rgb(8 9 11 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.top-in { width: min(1200px, 100% - 2rem); margin-inline: auto; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-logo { height: 42px; width: auto; }
.top-tag { padding: .5rem 1rem; border-radius: 99px; background: linear-gradient(135deg, rgb(var(--hy-rgb) / .2), rgb(var(--or-rgb) / .16)); border: 1px solid rgb(var(--hy-rgb) / .4); color: var(--hy); font: 800 .72rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; }

/* düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 99px; border: 1px solid transparent; font: 800 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--pop), box-shadow .2s var(--ease), background .15s, opacity .15s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--pop); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateY(2px) rotate(-8deg) scale(1.1); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.02rem; }
.btn-sun { color: #1a1405; background: linear-gradient(180deg, #ffe27a, var(--hy) 60%, #ffbf1f); box-shadow: 0 16px 34px -14px rgb(var(--hy-rgb) / .9), inset 0 -4px 0 rgb(0 0 0 / .13), inset 0 2px 0 rgb(255 255 255 / .55); }
.btn-sun:hover { box-shadow: 0 22px 40px -14px rgb(var(--hy-rgb) / 1), 0 0 0 5px rgb(var(--hy-rgb) / .18), inset 0 -4px 0 rgb(0 0 0 / .13), inset 0 2px 0 rgb(255 255 255 / .55); }
.btn[disabled] { opacity: .8; cursor: progress; transform: none; }
.btn[disabled] svg { animation: fly .9s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -3px) rotate(10deg); } }

/* giriş */
.hero { position: relative; padding: clamp(1.8rem, 5vw, 3.6rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; padding: .45rem .9rem .45rem .7rem; border-radius: 99px; background: rgb(var(--hy-rgb) / .12); border: 1px solid rgb(var(--hy-rgb) / .35); font: 800 .74rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--hy); }
.eyebrow svg { width: 16px; height: 16px; animation: twinkle 2.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(25deg); opacity: .7; } }
.hero h1 { font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.025em; margin-bottom: 1.1rem; }
.hero h1 em { display: inline-block; font-style: normal; color: #1a1405; background: linear-gradient(180deg, #ffe27a, var(--hy)); padding: .02em .22em .06em; border-radius: .3em; transform: rotate(-1.6deg); box-shadow: 0 12px 30px -12px rgb(var(--hy-rgb) / .8); }
.lead { max-width: 540px; color: var(--tx-2); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.facts { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.3rem 0 1.8rem; }
.facts p { display: inline-flex; align-items: center; gap: .45rem; margin: 0; padding: .4rem .8rem; border-radius: 99px; background: var(--card); border: 1px solid var(--line-soft); color: var(--tx-2); font-weight: 600; font-size: .88rem; }
.facts svg { width: 16px; height: 16px; color: var(--hy); }
.scene { width: 100%; height: auto; aspect-ratio: 640 / 520; filter: drop-shadow(0 30px 44px rgb(255 106 26 / .22)) drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
.js .scene { animation: rise .8s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* bilgi kartları */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-block: 1rem clamp(2rem, 5vw, 3.4rem); }
.card { position: relative; padding: 1.5rem 1.4rem; border-radius: var(--r); background: linear-gradient(160deg, #1b1f26, var(--card)); border: 1px solid var(--line-soft); box-shadow: 0 24px 40px -30px rgb(var(--or-rgb) / .5); transition: transform .25s var(--pop), border-color .2s; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); border-color: rgb(var(--hy-rgb) / .4); }
.card .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 18px 18px 18px 6px; background: linear-gradient(135deg, var(--hy), #ffb02e); color: #2a1a05; box-shadow: 0 10px 20px -10px rgb(var(--hy-rgb) / .9); }
.card .ic svg { width: 26px; height: 26px; }
.card h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.card p { margin: 0; color: var(--tx-3); font-size: .95rem; }

/* form alanı */
.apply { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 1.4rem; align-items: start; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 80px; }
.side { position: sticky; top: 84px; }
.side-card { overflow: hidden; padding: 1.5rem 1.3rem 0; border-radius: var(--r); background: linear-gradient(170deg, #1d222a, var(--card)); border: 1px solid var(--line-soft); box-shadow: 0 30px 50px -36px rgb(var(--hy-rgb) / .5); }
.side-card h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.side-sub { margin: 0 0 .7rem; color: var(--tx-3); font-size: .92rem; }
.side-sub b { color: var(--hy); font-size: 1.1rem; }
.bar { position: relative; height: 14px; border-radius: 99px; background: var(--menu); box-shadow: inset 0 2px 4px rgb(0 0 0 / .4); margin-bottom: 1.3rem; }
.bar i { position: relative; display: block; height: 100%; width: 0; min-width: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--or), var(--hy)); transition: width .4s var(--ease); box-shadow: 0 0 16px rgb(var(--hy-rgb) / .55); }
.bar i::after { content: ''; position: absolute; right: -4px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: #fff3b8; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px rgb(var(--hy-rgb))); animation: twinkle 2s ease-in-out infinite; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.steps li { display: flex; align-items: center; gap: .8rem; padding: .6rem .6rem; border-radius: 18px; transition: background .2s; }
.steps li.is-on { background: rgb(var(--hy-rgb) / .1); }
.steps .n, legend .n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 13px 13px 13px 5px; background: var(--menu); border: 1px solid var(--line); color: var(--tx-2); font: 800 .95rem/1 var(--head); transition: background .2s, color .2s, border-color .2s; }
.steps li.is-done .n { background: var(--hy); border-color: var(--hy); color: #1a1405; font-size: 0; animation: pop .45s var(--pop); }
.steps li.is-done .n::before { content: ''; width: 14px; height: 8px; border: solid #1a1405; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -2px); }
@keyframes pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
.steps b { display: block; font: 700 .95rem/1.25 var(--head); }
.steps small { color: var(--tx-3); font-size: .8rem; }
.side-note { margin: 1.1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--tx-3); font-size: .85rem; }
.peek { width: 96%; height: auto; margin: .2rem auto 0; aspect-ratio: 240 / 150; }

.panel { border-radius: 30px; background: linear-gradient(180deg, #1a1e25, var(--card) 220px); border: 1px solid var(--line-soft); box-shadow: 0 50px 80px -50px #000, 0 0 0 1px rgb(255 255 255 / .02); overflow: hidden; }
form { padding: clamp(1.2rem, 3vw, 2.1rem); }
fieldset { border: 0; margin: 0 0 1.7rem; padding: 0 0 1.7rem; min-width: 0; border-bottom: 2px dotted var(--line); }
legend { display: flex; align-items: center; gap: .8rem; padding: 0; margin-bottom: 1.2rem; font: 800 1.25rem/1.2 var(--head); }
legend .n { background: linear-gradient(135deg, var(--hy), #ffb02e); border-color: transparent; color: #1a1405; transform: rotate(-5deg); box-shadow: 0 8px 16px -8px rgb(var(--hy-rgb) / .9); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.1rem; }
.fld { margin-bottom: 1.15rem; min-width: 0; }
label { display: block; margin-bottom: .5rem; font: 700 .9rem/1.3 var(--body); color: #fff; transition: color .15s; }
.fld:focus-within > label { color: var(--hy); }
input[type="text"], input[type="number"], textarea { width: 100%; padding: .9rem 1.1rem; border-radius: 18px; border: 2px solid var(--line); background: var(--bg-2); color: #fff; font: 500 1rem/1.4 var(--body); transition: border-color .15s, box-shadow .2s, transform .2s var(--ease), background .15s; }
textarea { resize: vertical; min-height: 124px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #8c939d; }
input:hover, textarea:hover { border-color: #4b525d; }
input:focus, textarea:focus { outline: none; border-color: var(--hy); background: #11141a; box-shadow: 0 0 0 5px rgb(var(--hy-rgb) / .17), 0 12px 24px -16px rgb(var(--hy-rgb) / .7); transform: translateY(-1px); }
.fld.bad input, .fld.bad textarea { border-color: var(--bad); animation: shake .32s ease-in-out; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.err { margin: .45rem 0 0; color: var(--bad); font-size: .85rem; font-weight: 600; }
.err:empty { display: none; }
.cnt { margin: .4rem .3rem 0; text-align: right; color: var(--tx-4); font-size: .78rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.chk { display: flex; align-items: flex-start; gap: .8rem; margin: 0; font-weight: 600; color: var(--tx-2); cursor: pointer; }
.chk input { appearance: none; flex: none; width: 28px; height: 28px; margin: 0; border-radius: 10px; border: 2px solid var(--line); background: var(--bg-2); display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s, transform .25s var(--pop); }
.chk input:hover { border-color: var(--hy); }
.chk input:checked { background: var(--hy); border-color: var(--hy); transform: scale(1.08) rotate(-6deg); }
.chk input:checked::after { content: ''; width: 13px; height: 7px; border: solid #1a1405; border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px); }
.form-err { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: 18px; background: rgb(255 128 128 / .12); border: 1px solid rgb(255 128 128 / .45); color: #ffc2c2; font-weight: 600; }
.submit { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.hint { margin: 0; color: var(--tx-3); font-size: .88rem; }

/* teşekkür ekranı: kutlama */
.thanks { position: relative; padding: clamp(1.4rem, 4vw, 2.6rem); text-align: center; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 50% 0%, rgb(var(--hy-rgb) / .16), transparent 70%); outline: none; }
.thanks[hidden] { display: none; }
.party { position: relative; width: min(300px, 70%); margin: 0 auto 1rem; }
.cheer { position: relative; width: 100%; height: auto; aspect-ratio: 240 / 300; filter: drop-shadow(0 18px 22px rgb(0 0 0 / .45)); animation: hop 1.4s var(--pop) 2; }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-14px) rotate(-2deg); } }
.confetti { position: absolute; inset: -30px -60px 0; width: calc(100% + 120px); height: calc(100% + 30px); overflow: visible; pointer-events: none; }
.confetti .pc { transform-box: fill-box; transform-origin: center; animation: fall var(--d, 2.4s) ease-in var(--dl, 0s) both; }
@keyframes fall { 0% { transform: translate(0, -40px) rotate(0); opacity: 0; } 10% { opacity: 1; } 100% { transform: translate(var(--x, 0), 320px) rotate(var(--r, 360deg)); opacity: 0; } }
.thanks h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .7rem; }
.thanks .no { display: inline-block; padding: .55rem 1.2rem; border-radius: 99px; background: rgb(var(--hy-rgb) / .14); border: 1px solid rgb(var(--hy-rgb) / .45); color: var(--hy); font-weight: 700; }
.thanks p:last-child { max-width: 520px; margin: 1rem auto 0; color: var(--tx-2); }

.foot { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 1.6rem 0; }
.foot p { margin: 0; color: var(--tx-4); font-size: .78rem; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .scene { max-width: 640px; margin-inline: auto; }
  .apply { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 68px; z-index: 10; margin-inline: -1rem; }
  .side-card { padding: .7rem 1rem .8rem; border-radius: 0 0 22px 22px; border-width: 0 0 1px; background: rgb(24 28 34 / .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 30px -20px rgb(0 0 0 / .8); }
  .side-card h2, .side-note, .steps small, .peek { display: none; }
  .side-sub { margin: 0 0 .5rem; }
  .bar { margin-bottom: .6rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .3rem; }
  .steps li { flex-direction: column; text-align: center; gap: .3rem; padding: .3rem; }
  .steps b { font-size: .74rem; }
  .info { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2rem, 10.5vw, 2.8rem); }
  .btn-lg { width: 100%; }
  .submit .btn { width: 100%; }
  .top-tag { font-size: .66rem; padding: .45rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .confetti { display: none; }
}
