/* Velaris Labs: one stylesheet for every page on this site (home, game page, privacy policies, 404).
   Language visibility: html[data-ui] decides which of lang="en" / lang="tr" is shown (see site.js). */
:root {
  --night: #070a1c;
  --night-2: #0d1230;
  --indigo: #1c2366;
  --gold: #d8b45f;
  --gold-2: #f1d995;
  --gold-ink: #2a2006;
  --text: #eceeff;
  --muted: #a6acd6;
  --faint: #737aac;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.075);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-2: rgba(255, 255, 255, 0.18);
  --live: #8ff0b8;
  --paper: #fbfaf6;
  --paper-2: #f2efe6;
  --ink: #171a2e;
  --ink-2: #444a68;
  --ink-3: #7a7f99;
  --rule: #e6e2d6;
  --link-paper: #2f43c4;
  --radius: 22px;
  --wrap: 1080px;
}

html[data-ui="tr"] [lang="en"],
html[data-ui="en"] [lang="tr"] { display: none !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(92, 84, 220, 0.30), transparent 62%),
    radial-gradient(760px 480px at 0% 12%, rgba(216, 180, 95, 0.10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #121845 100%) fixed;
  background-color: var(--night);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 6% 12%, #fffa, transparent),
    radial-gradient(1px 1px at 18% 38%, #fff7, transparent),
    radial-gradient(1.4px 1.4px at 31% 8%, #fff9, transparent),
    radial-gradient(1px 1px at 44% 27%, #fff6, transparent),
    radial-gradient(1.3px 1.3px at 57% 64%, #fff6, transparent),
    radial-gradient(1px 1px at 66% 18%, #fff8, transparent),
    radial-gradient(1.5px 1.5px at 79% 44%, #fff9, transparent),
    radial-gradient(1px 1px at 88% 9%, #fff7, transparent),
    radial-gradient(1.2px 1.2px at 94% 72%, #fff6, transparent),
    radial-gradient(1px 1px at 12% 86%, #fff6, transparent),
    radial-gradient(1.3px 1.3px at 37% 93%, #fff5, transparent),
    radial-gradient(1px 1px at 72% 88%, #fff6, transparent);
}
body > * { position: relative; z-index: 1; }

a { color: var(--gold-2); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--gold); color: var(--gold-ink); font-weight: 800; padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Top bar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 28, 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--stroke); margin-left: auto; flex: none; }
.nav-links + .lang { margin-left: 8px; }
.lang button {
  border: 0; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  cursor: pointer; background: transparent; color: var(--muted);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--night); }
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links + .lang { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1;
  padding: 13px 20px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--stroke-2); background: var(--glass-2); color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn.gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--gold-ink); border-color: transparent; box-shadow: 0 8px 24px rgba(216, 180, 95, 0.25); }
.btn.gold:hover { box-shadow: 0 10px 30px rgba(216, 180, 95, 0.38); }
.btn.small { padding: 10px 16px; font-size: 14px; }
.btn .when-copied { display: none; }
.btn.copied .when-idle { display: none; }
.btn.copied .when-copied { display: inline; }
.btn.copied { border-color: rgba(143, 240, 184, 0.5); color: var(--live); }

/* ---------- Home: hero ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-2);
  padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(216, 180, 95, 0.32); background: rgba(216, 180, 95, 0.08);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.hero h1 { font-size: clamp(38px, 6.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin: 0; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-2) 10%, var(--gold) 60%, #c59a3f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { color: var(--muted); font-size: clamp(16.5px, 1.9vw, 19px); max-width: 540px; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.orbit { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 1; margin: 0 auto; }
.orbit .rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 22%; transform: translate(-50%, -50%); filter: drop-shadow(0 0 22px rgba(216, 180, 95, 0.55)); }
.orbit .core svg { display: block; width: 100%; height: auto; }
.orbit img {
  position: absolute; width: 21%; height: auto; aspect-ratio: 1 / 1; border-radius: 24%;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translate(-50%, -50%);
  animation: drift 7s ease-in-out infinite;
}
.orbit .p1 { left: 22%; top: 24%; }
.orbit .p2 { left: 80%; top: 19%; animation-delay: -2s; }
.orbit .p3 { left: 84%; top: 72%; animation-delay: -4s; }
.orbit .p4 { left: 25%; top: 80%; animation-delay: -5.5s; }
@keyframes drift {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 8px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit img { animation: none; }
  .btn, .app { transition: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 28px; text-align: left; }
  .orbit { max-width: 300px; }
}
@media (max-width: 420px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.06em; padding: 6px 11px; }
}

/* ---------- Home: sections ---------- */
.block { padding-top: 56px; padding-bottom: 8px; }
.block-head { max-width: 640px; margin-bottom: 26px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.block h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 10px; font-weight: 800; }
.block-head p { color: var(--muted); margin: 0; font-size: 16.5px; }

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }
.app {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.app:hover { transform: translateY(-3px); border-color: var(--stroke-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); }
.app-head { display: flex; gap: 16px; align-items: center; }
.app-head img { width: 68px; height: 68px; border-radius: 17px; flex: none; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.app h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.tag { font-size: 13px; font-weight: 600; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.live { color: var(--live); background: rgba(143, 240, 184, 0.1); border: 1px solid rgba(143, 240, 184, 0.28); }
.badge.soon { color: var(--gold-2); background: rgba(216, 180, 95, 0.1); border: 1px solid rgba(216, 180, 95, 0.3); }
.app-desc { color: var(--muted); margin: 0; flex: 1; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.app-actions:empty { display: none; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 14px; border-top: 1px solid var(--stroke); font-size: 14px; }
.legal a { color: var(--muted); text-decoration: none; font-weight: 600; }
.legal a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { padding: 22px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--stroke); }
.value .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 180, 95, 0.12); color: var(--gold-2); margin-bottom: 14px; }
.value .ico svg { width: 22px; height: 22px; }
.value h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 28px;
  background:
    radial-gradient(600px 240px at 100% 0%, rgba(216, 180, 95, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(216, 180, 95, 0.28);
}
.contact h2 { margin: 0 0 8px; }
.contact p { margin: 0; color: var(--muted); max-width: 520px; }
.contact .mail { display: inline-block; margin-top: 14px; font-size: clamp(18px, 2.6vw, 22px); font-weight: 800; color: var(--text); text-decoration: none; word-break: break-all; }
.contact .mail:hover { color: var(--gold-2); }
.contact .cta { justify-content: flex-end; }
@media (max-width: 760px) {
  .contact { grid-template-columns: 1fr; }
  .contact .cta { justify-content: flex-start; }
}

/* ---------- Footer ---------- */
.foot { max-width: var(--wrap); margin: 72px auto 0; padding: 28px 16px 40px; border-top: 1px solid var(--stroke); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; color: var(--faint); font-size: 14px; }
.foot .brand { font-size: 16px; }
.foot .brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot a:not(.brand) { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot a:not(.brand):hover { color: var(--text); }

/* ---------- Document pages (privacy policies, game page) ---------- */
.doc-head { max-width: 880px; margin: 0 auto; padding: 52px 16px 6px; text-align: center; }
.doc-head img.icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.doc-head img.logo { width: min(500px, 100%); height: auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.5)); }
.doc-head h1 { margin: 14px 0 4px; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.doc-head .sub { margin: 0; color: var(--gold-2); font-weight: 700; font-size: 17px; }
.doc-head .lede { margin: 14px auto 0; color: var(--muted); max-width: 580px; font-size: 17px; }
.doc-head .badge { margin-top: 16px; }
.doc-head .play-cta { margin: 18px 0 0; }

.paper {
  max-width: 880px; margin: 28px auto 0;
  background: var(--paper); color: var(--ink);
  border-radius: 26px; padding: clamp(22px, 5vw, 52px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.page-pad { padding-left: 16px; padding-right: 16px; }
.paper h2 { margin: 0 0 12px; font-size: 26px; letter-spacing: -0.02em; }
.paper h3 { margin: 34px 0 8px; font-size: 19px; line-height: 1.3; color: #1d2363; letter-spacing: -0.01em; }
.paper p, .paper li { color: var(--ink-2); }
.paper ul { padding-left: 22px; }
.paper li + li { margin-top: 6px; }
.paper a { color: var(--link-paper); text-underline-offset: 2px; }
.paper strong { color: var(--ink); }
.paper .muted { color: var(--ink-3); font-size: 14px; margin-top: 0; }
.paper ul.summary { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 16px; padding: 16px 20px 16px 38px; }
.paper .table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; margin: 12px 0; }
.paper table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 14.5px; }
.paper th, .paper td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.paper tr:last-child td { border-bottom: 0; }
.paper th { color: #1d2363; background: var(--paper-2); font-weight: 800; }
.paper .btn { color: var(--ink); background: var(--paper-2); border-color: var(--rule); }
.paper .btn:hover { background: #ebe7da; }
.paper .btn.gold { color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: transparent; }

/* ---------- 404 ---------- */
.lost { max-width: 560px; margin: 0 auto; padding: 96px 16px 24px; text-align: center; }
.lost .big { font-size: clamp(80px, 18vw, 140px); line-height: 1; font-weight: 800; letter-spacing: -0.05em; margin: 0; background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost h1 { margin: 10px 0 8px; font-size: 26px; }
.lost p { color: var(--muted); margin: 0 0 26px; }
