/* Act Rush — tasarım token'ları + temel stiller (PoE koyu/altın dünya) */

@font-face {
  font-family: "Cinzel";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/cinzel-latin-ext.woff2") format("woff2");
  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: "Cinzel";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/cinzel-latin.woff2") format("woff2");
  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 {
  color-scheme: dark;
  /* Yüzeyler — sıcak koyu */
  --bg: #0b0906;
  --bg-raise: #100d09;
  --surface: #16120c;
  --surface-2: #1d1811;
  --surface-3: #272017;
  /* Çizgiler */
  --line: #2f2619;
  --line-2: #443723;
  --line-3: #65512f;
  /* Metin */
  --text: #ece2cb;
  --text-2: #bcae8f;
  --text-3: #978867;
  /* Altın */
  --gold: #c9a24c;
  --gold-2: #e5c36b;
  --gold-3: #f4dea0;
  --gold-ink: #1b1407;
  /* Anlamsal */
  --green: #8cc760;
  --blue: #78b8e0;
  --purple: #b98fe4;
  --red: #e2644f;
  --amber: #f0b840;
  /* Rota adımı renkleri (lejant ile aynı) */
  --tone-req: var(--green);
  --tone-choice: var(--blue);
  --tone-skip: var(--purple);
  --tone-xp: var(--red);
  --tone-opt: #8f8163;
  --tone-step: #7a6640;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-pop: 0 24px 60px -18px rgb(0 0 0 / .85), 0 2px 8px rgb(0 0 0 / .45);
  --ring: 0 0 0 2px var(--bg), 0 0 0 4px rgb(229 195 107 / .8);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-ui: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, "SF Mono", monospace;

  --header-h: 116px;

  /* PoE altın imleç */
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23f4d889'/%3E%3Cstop offset='.5' stop-color='%23c8a44d'/%3E%3Cstop offset='1' stop-color='%238c6f2e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 3 L5 24 L11 18.5 L15 27 L19 25 L15 17 L23 17 Z' fill='url(%23g)' stroke='%23241c0c' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
  --cur-pointer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='gp' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff0c4'/%3E%3Cstop offset='.5' stop-color='%23e3c266'/%3E%3Cstop offset='1' stop-color='%23a07f34'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M5 3 L5 24 L11 18.5 L15 27 L19 25 L15 17 L23 17 Z' fill='url(%23gp)' stroke='%23241c0c' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, pointer;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 15px/1.55 var(--font-ui);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 480px at 50% -160px, rgb(201 162 76 / .11), transparent 70%),
    radial-gradient(800px 560px at 100% 0%, rgb(140 80 24 / .06), transparent 70%);
  background-attachment: fixed;
  cursor: var(--cur);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

a, button, summary, select, label:has(> input[type="checkbox"]), [role="tab"] { cursor: var(--cur-pointer); }
input:not([type]), input[type="text"], input[type="password"], input[type="number"], textarea { cursor: text; }
button:disabled, input:disabled { cursor: not-allowed; }

h1, h2, h3, p, ul { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
img, svg { display: block; }
a { color: var(--gold-2); }

::selection { background: rgb(229 195 107 / .32); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); }

* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.6em;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid var(--line-3);
  border-bottom-width: 2px;
  background: var(--surface-2);
  color: var(--text);
  font: 700 11px/1.3 var(--font-mono);
}

.ico { width: 1.15em; height: 1.15em; flex: none; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-3);
  line-height: 1.1;
  text-wrap: balance;
}
.muted { color: var(--text-3); }
.mono { font-family: var(--font-mono); }
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.div-ico { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.28em; margin-left: 2px; }

.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-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  padding: 10px 14px; border-radius: 10px;
  background: var(--gold-2); color: var(--gold-ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.noscript { padding: 40px; text-align: center; color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
