/* Arrow Due — tanıtım sitesi. Oyunun renk paletiyle (AppColors) aynı. */
:root {
  --bg-top: #0e1330;
  --bg: #05071a;
  --panel: #161c3f;
  --panel-hi: #212a5c;
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-hi: rgba(255, 255, 255, 0.16);
  --text: #f2f4ff;
  --dim: #9aa3d0;
  --cyan: #3fe0ff;
  --pink: #ff4d9d;
  --gold: #ffc94d;
  --green: #4dffa0;
  --violet: #8a6cff;
  --orange: #ff8a3d;
  --radius: 20px;
  --font: ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial,
    'PingFang SC', 'Hiragino Sans', 'Noto Sans CJK SC', 'Noto Sans Arabic', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: radial-gradient(1200px 700px at 70% -10%, #1b2260 0%, transparent 60%), linear-gradient(180deg, var(--bg-top), var(--bg) 60%);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }
.glow { position: fixed; z-index: -1; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: 0.22; pointer-events: none; }
.g1 { background: var(--cyan); top: -220px; inset-inline-start: -180px; }
.g2 { background: var(--pink); bottom: -260px; inset-inline-end: -200px; opacity: 0.16; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- üst menü ---------- */
.nav { position: sticky; top: 0; z-index: 20; transition: background 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 7, 26, 0.78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--stroke); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 32px; height: 32px; }
.brand b { background: linear-gradient(90deg, var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 4px; margin-inline-start: auto; }
.links a { text-decoration: none; color: var(--dim); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.links a:hover, .links a[aria-current] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-end { display: flex; align-items: center; gap: 10px; }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--stroke); color: var(--dim); font-weight: 700; font-size: 13px; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--stroke-hi); }
.lang summary svg { width: 16px; height: 16px; }
.lang summary svg:last-child { width: 14px; height: 14px; transition: transform 0.2s; }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; background: rgba(22, 28, 63, 0.97); border: 1px solid var(--stroke-hi); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); display: grid; }
.lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--dim); }
.lang-list a:hover { background: var(--panel-hi); color: var(--text); }
.lang-list a[aria-current] { color: var(--cyan); }
.lang-list svg { width: 16px; height: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none; font: inherit; font-weight: 800; color: #05071a; background: linear-gradient(90deg, var(--cyan), #5b8cff); padding: 12px 20px; border-radius: 14px; box-shadow: 0 8px 26px rgba(63, 224, 255, 0.28); transition: transform 0.15s, box-shadow 0.2s, filter 0.2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(63, 224, 255, 0.4); }
.btn:active { transform: translateY(0); }
.btn[disabled] { filter: grayscale(0.6) brightness(0.8); cursor: progress; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 11px; box-shadow: none; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 56px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--cyan); background: rgba(63, 224, 255, 0.08); border: 1px solid rgba(63, 224, 255, 0.25); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); font-weight: 900; margin: 18px 0 16px; }
.grad { background: linear-gradient(90deg, var(--cyan) 0%, var(--pink) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir='rtl'] .grad { background: linear-gradient(-90deg, var(--cyan) 0%, var(--pink) 55%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; }
.lead { color: var(--dim); font-size: clamp(16px, 1.6vw, 18px); max-width: 560px; }

.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 14px; background: #0b0f26; border: 1px solid var(--stroke-hi); text-decoration: none; min-width: 164px; transition: border-color 0.2s, transform 0.15s, background 0.2s; }
.store:hover { border-color: rgba(63, 224, 255, 0.55); transform: translateY(-1px); background: #10163a; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 11px; color: var(--dim); font-weight: 600; }
.store b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.store.soon { opacity: 0.6; cursor: default; }
.store.soon small { color: var(--gold); }
.store.big { min-width: 190px; padding-block: 11px; }

.stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--dim); font-size: 14px; font-weight: 600; }
.stats li { display: inline-flex; align-items: center; gap: 7px; }
.stats svg { width: 17px; height: 17px; color: var(--cyan); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone { position: relative; width: 280px; height: 560px; border-radius: 44px; padding: 14px; background: linear-gradient(160deg, #2a3370, #0d1130 40%, #1b1f4e); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.12) inset, 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 80px rgba(63, 224, 255, 0.18); transform: rotate(-4deg); display: flex; flex-direction: column; }
[dir='rtl'] .phone { transform: rotate(4deg); }
.phone::before { content: ''; position: absolute; inset: 14px; border-radius: 32px; background: linear-gradient(180deg, var(--bg-top), var(--bg)); }
.phone > * { position: relative; }
.phone-notch { width: 92px; height: 26px; border-radius: 14px; background: #000; margin: 6px auto 8px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 6px; font-size: 11.5px; font-weight: 800; }
.phone-top .chip { background: var(--panel-hi); padding: 3px 8px; border-radius: 999px; color: var(--gold); }
.phone-top .lv { color: var(--cyan); letter-spacing: 0.08em; }
.phone-top .hearts { color: var(--pink); letter-spacing: 1px; }
#board { flex: 1; width: 100%; min-height: 0; border-radius: 20px; }
.phone-bar { display: flex; gap: 8px; padding: 10px 12px 6px; }
.phone-bar span { flex: 1; height: 30px; border-radius: 10px; background: var(--panel-hi); }
.phone-bar span:first-child { background: linear-gradient(90deg, rgba(255, 201, 77, 0.3), rgba(255, 201, 77, 0.1)); }
.float { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 16px; background: rgba(22, 28, 63, 0.85); border: 1px solid var(--stroke-hi); backdrop-filter: blur(8px); font-weight: 900; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); animation: bob 5s ease-in-out infinite; }
.float svg { width: 20px; height: 20px; }
.f-a { top: 70px; inset-inline-end: 4%; color: var(--gold); }
.f-b { bottom: 90px; inset-inline-start: 4%; color: var(--pink); animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- bölümler ---------- */
.sec { padding: 56px 0 8px; }
.sec-head { display: grid; gap: 8px; margin-bottom: 22px; }
.sec-head h2, .cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }
.sec-head p { color: var(--dim); max-width: 620px; }
.card { background: linear-gradient(180deg, rgba(33, 42, 92, 0.55), rgba(22, 28, 63, 0.75)); border: 1px solid var(--stroke); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { padding: 20px; transition: transform 0.2s, border-color 0.2s; }
.feat:hover { transform: translateY(-3px); border-color: var(--stroke-hi); }
.feat h3 { font-size: 17.5px; font-weight: 800; margin: 14px 0 6px; }
.feat p, .mode p, .step p { color: var(--dim); font-size: 14.5px; }
.ic { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex: none; }
.ic svg { width: 22px; height: 22px; }
.c-cyan .ic { color: var(--cyan); background: rgba(63, 224, 255, 0.12); }
.c-pink .ic { color: var(--pink); background: rgba(255, 77, 157, 0.12); }
.c-gold .ic { color: var(--gold); background: rgba(255, 201, 77, 0.12); }
.c-green .ic { color: var(--green); background: rgba(77, 255, 160, 0.1); }
.c-violet .ic { color: #a995ff; background: rgba(138, 108, 255, 0.15); }
.c-orange .ic { color: var(--orange); background: rgba(255, 138, 61, 0.12); }

.mode { display: flex; gap: 14px; align-items: flex-start; padding: 18px; position: relative; overflow: hidden; }
.mode h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.mode .ic { color: #05071a; }
.mode::after { content: ''; position: absolute; inset-inline-end: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; opacity: 0.18; filter: blur(20px); }
.mode-race .ic { background: linear-gradient(135deg, var(--cyan), #5b8cff); }
.mode-race::after { background: var(--cyan); }
.mode-turn .ic { background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; }
.mode-turn::after { background: var(--pink); }
.mode-shared .ic { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.mode-shared::after { background: var(--gold); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { padding: 20px; }
.step h3 { font-size: 17px; font-weight: 800; margin: 12px 0 6px; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; font-weight: 900; background: var(--panel-hi); color: var(--cyan); border: 1px solid rgba(63, 224, 255, 0.35); }

.cta { margin: 56px 0 24px; padding: 30px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; background: radial-gradient(600px 200px at 0% 0%, rgba(63, 224, 255, 0.2), transparent), radial-gradient(500px 200px at 100% 100%, rgba(255, 77, 157, 0.2), transparent), var(--panel); border: 1px solid var(--stroke-hi); }
.cta p { color: var(--dim); margin-top: 6px; }
.cta .stores { margin-top: 0; }

/* ---------- alt bilgi ---------- */
.foot { margin-top: 40px; border-top: 1px solid var(--stroke); background: rgba(5, 7, 26, 0.6); }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 28px; padding: 34px 0 20px; }
.foot-brand p { color: var(--dim); font-size: 14px; margin: 10px 0; }
.mail { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 700; font-size: 14px; text-decoration: none; }
.mail svg { width: 17px; height: 17px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a, .foot-langs a { color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 600; }
.foot-links a:hover, .foot-langs a:hover, .foot-langs a[aria-current] { color: var(--text); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 14px; align-content: start; }
.copy { color: #6b73a3; font-size: 13px; padding: 14px 0 28px; border-top: 1px solid var(--stroke); }

/* ---------- iç sayfalar ---------- */
.page-head { padding: 52px 0 22px; }
.page-head h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 900; margin-bottom: 10px; }
.meta { color: var(--dim); font-size: 14px; font-weight: 600; }
.notice { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 201, 77, 0.1); border: 1px solid rgba(255, 201, 77, 0.3); color: var(--gold); font-size: 14px; font-weight: 600; }
.notice svg { width: 17px; height: 17px; }

.doc { padding: 30px clamp(20px, 4vw, 44px); }
.doc h2 { font-size: 20px; font-weight: 800; margin: 30px 0 10px; scroll-margin-top: 80px; }
.doc h2:first-of-type { margin-top: 6px; }
.doc h3 { font-size: 17px; margin: 22px 0 8px; }
.doc p, .doc li { color: #c9cff0; font-size: 15.5px; }
.doc p { margin: 10px 0; }
.doc ul, .doc ol { padding-inline-start: 22px; margin: 10px 0; display: grid; gap: 6px; }
.doc strong { color: var(--text); }
.doc a { color: var(--cyan); }
.toc { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--stroke); }
.toc a { font-size: 13px; font-weight: 700; color: var(--dim); text-decoration: none; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--stroke); }
.toc a:hover { color: var(--text); border-color: var(--stroke-hi); }

.support { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; align-items: start; }
.form { padding: 24px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 700; color: var(--dim); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: rgba(5, 7, 26, 0.55); border: 1px solid var(--stroke-hi); border-radius: 12px; padding: 11px 13px; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(63, 224, 255, 0.15); }
.field .invalid { border-color: var(--pink); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: 0.15em; text-transform: uppercase; }
.form-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-status { font-size: 14px; font-weight: 600; color: var(--dim); }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--pink); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.side { display: grid; gap: 16px; }
.contact { display: flex; gap: 14px; align-items: center; padding: 18px; }
.contact .ic { color: var(--cyan); background: rgba(63, 224, 255, 0.12); }
.contact small { display: block; color: var(--dim); font-size: 13px; font-weight: 600; }
.contact a { color: var(--text); font-weight: 800; text-decoration: none; word-break: break-all; }
.faq { padding: 20px; }
.faq h2 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--stroke); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; font-weight: 700; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 16px; height: 16px; flex: none; color: var(--dim); transition: transform 0.2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { color: var(--dim); font-size: 14.5px; padding-bottom: 12px; }

.nf { text-align: center; display: grid; justify-items: center; gap: 16px; padding: 90px 0 60px; }
.big404 { font-size: 110px; font-weight: 900; line-height: 1; background: linear-gradient(90deg, var(--cyan), var(--pink), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- duyarlı ---------- */
@media (max-width: 920px) {
  .links { display: none; }
  .nav-end { margin-inline-start: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 10px; }
  .hero-art { min-height: 480px; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-langs { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .brand span { display: none; }
  .grid3, .steps { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .phone { width: 240px; height: 480px; }
  .hero-art { min-height: 420px; }
  .float { display: none; }
  .store { flex: 1; min-width: 0; }
  .cta { padding: 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .sec { padding-top: 40px; }
  .grid3, .steps { gap: 10px; }
  .feat, .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 16px; }
  .feat .ic, .step .num { grid-row: span 2; }
  .feat h3, .step h3 { margin: 2px 0 4px; font-size: 16px; }
  .feat p, .mode p, .step p { font-size: 14px; }
  .mode { padding: 16px; }
  .hero h1 { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float, .eyebrow i { animation: none; }
}
