/* ElixirDeck ortak temel stil: renkler, üst menü, mobil menü, düğmeler, alt bilgi.
   Tüm sayfalar önce bunu, sonra sayfaya özel stili (app.css veya legal.css) yükler. */
:root {
  --bg: #0b1120;
  --bg2: #0f1729;
  --panel: #151f36;
  --panel2: #1c2945;
  --line: #273657;
  --text: #eaf0fc;
  --muted: #95a4c4;
  --accent: #f6b73c;
  --accent-ink: #1d1400;
  --accent2: #5aa8ff;
  --elixir: #c847d6;
  --elixir2: #ff6fd8;
  --ok: #3fd07a; --warn: #f6b73c; --bad: #ff5d6c;
  --c: #8fa7c9; --r: #f39c3d; --e: #b45cf0; --l: #3ee6d0; --ch: #ffd24a;
  --radius: 14px;
  --topbar: 60px;
  --shadow: 0 10px 30px -12px #0009;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--topbar); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); min-height: 100vh;
  background:
    radial-gradient(900px 480px at 85% -120px, #c847d622, transparent 70%),
    radial-gradient(700px 420px at -10% -80px, #5aa8ff1c, transparent 70%),
    var(--bg);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent2); }
img { max-width: 100%; }

/* ---------- Üst menü ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  background: #0b1120d9; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid #ffffff10;
}
.topbar-in { max-width: 1200px; height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.3px; flex: none; }
.logo svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 6px #c847d680); }
.logo b { color: var(--accent); font-weight: inherit; }
.mainnav { display: flex; gap: 4px; margin-left: 8px; }
.mainnav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.mainnav a:hover { color: var(--text); background: #ffffff0a; }
.mainnav a.active { color: var(--text); background: #ffffff12; }
.topbar .spacer { flex: 1; }
.langsw {
  display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 13px;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #ffffff08;
}
.langsw:hover { border-color: var(--accent2); }
.menubtn { display: none; }
#nav-toggle { display: none; }

@media (max-width: 760px) {
  .menubtn {
    display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-right: -6px;
    border-radius: 10px; cursor: pointer; color: var(--text); font-size: 22px;
  }
  .menubtn:hover { background: #ffffff0f; }
  .mainnav {
    position: fixed; top: var(--topbar); left: 0; right: 0; margin: 0; flex-direction: column; gap: 2px; padding: 10px 12px 16px;
    background: #0d1426f7; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s ease;
  }
  .mainnav a { font-size: 16px; padding: 13px 14px; }
  #nav-toggle:checked ~ .mainnav { transform: none; opacity: 1; pointer-events: auto; }
  .langsw { padding: 6px 10px; }
}

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 14px; cursor: pointer; font: inherit; font-weight: 650; font-size: 14px; text-decoration: none; white-space: nowrap;
  transition: border-color .15s, transform .08s, background .15s;
}
.btn:hover { border-color: var(--accent2); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, #ffc95a, var(--accent)); color: var(--accent-ink); border-color: #ffcf6a;
  box-shadow: 0 6px 18px -8px #f6b73caa;
}
.btn.primary:hover { filter: brightness(1.05); }
.btn.small { min-height: 34px; padding: 5px 11px; font-size: 13px; }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Alt bilgi ---------- */
.sitefoot { border-top: 1px solid #ffffff10; margin-top: 48px; background: #0a0f1ccc; }
.sitefoot-in { max-width: 1200px; margin: 0 auto; padding: 28px 16px 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.sitefoot .logo { font-size: 18px; margin-bottom: 8px; }
.sitefoot p { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 460px; }
.footlinks { display: flex; flex-wrap: wrap; gap: 6px 18px; align-content: flex-start; }
.footlinks a { color: var(--text); text-decoration: none; font-size: 14px; opacity: .85; }
.footlinks a:hover { opacity: 1; color: var(--accent); }
.disclaimer { grid-column: 1 / -1; border-top: 1px solid #ffffff0d; padding-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.disclaimer a { color: var(--muted); }
@media (max-width: 640px) { .sitefoot-in { grid-template-columns: 1fr; } }
