/* Modern Reset & Design Tokens — Ashes of Fallen World */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Atmosferik Sahne & HUD İki Katmanlı Kontrast Paleti */
  --bg-night: #0F131A;
  --bg-abyss: #080B10;
  --accent-gold: #E5A93C;
  --accent-gold-soft: rgba(229, 169, 60, 0.16);
  --accent-ember: #D95D39;
  --hud-surface: rgba(24, 29, 38, 0.92);
  --hud-surface-solid: #181D26;
  --hud-border: #333D4D;
  --hud-border-gold: rgba(229, 169, 60, 0.38);

  /* Tipografi */
  --text-primary: #F3F5F8;
  --text-muted: #A3AEBF;
  --font-display: 'Cinzel', Georgia, serif;
  --font-pixel: 'Press Start 2P', monospace;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Boyutlar */
  --topbar-height: 56px;
  --hud-height: 68px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Standart Scrollbar */
  scrollbar-color: var(--accent-gold) rgba(15, 19, 26, 0.7);
  scrollbar-width: thin;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-night);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

a {
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 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;
}
