/* ==========================================================================
   BE HERO — design tokens (site + panel + admin)
   Russo One for headings, Montserrat for text. Near-black navy, gold accent.
   ========================================================================== */
:root {
  --bg: #03060F;
  --bg-2: #070C1C;
  --surface: #0B1226;
  --surface-2: #111A33;
  --card: linear-gradient(160deg, #0F172F 0%, #0A0F22 100%);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text: #EDEDED;
  --muted: #9AA0B4;
  --faint: #636B86;

  --gold: #C8A050;
  --gold-hi: #E0BC6E;
  --ink: #03060F;

  --ok: #4FB286;
  --err: #E0675F;
  --info: #7C9CF0;

  --c-beden: #E3895B;
  --c-zihin: #7C9CF0;
  --c-karakter: #C8A050;
  --c-arinma: #4DB6A6;
  --c-iyilik: #E0788F;

  --f: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Russo One", "Montserrat", system-ui, sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  /* legacy aliases (admin.css and older views) */
  --navy-950: var(--bg); --navy-900: var(--bg-2); --navy-850: var(--surface); --navy-800: var(--surface); --navy-700: var(--surface-2);
  --ivory: var(--text); --paper: #EDEAE2; --muted-2: var(--faint);
  --gold-2: var(--gold-hi); --gold-light: var(--gold-hi); --gold-pale: #F1E3BE; --gold-deep: #9C7A33; --gold-grad: var(--gold);
  --line-soft: var(--line); --radius: var(--r); --radius-sm: var(--r-sm);
  --f-serif: var(--f-display); --f-sans: var(--f);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.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; }
.icon { flex: none; }

/* Type */
.display, .h-display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .005em; line-height: 1; margin: 0;
}
.eyebrow, .label-sm {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
}
.gold-text { color: var(--gold); }
.muted { color: var(--muted); }

/* EXP badge */
.exp { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1; }
.exp__icon { width: 12px; height: 12px; }
.exp b { font-weight: 700; }
.exp small { font-size: .72em; font-weight: 600; letter-spacing: .06em; opacity: .8; }
.exp--neg { color: var(--err); }
.exp--lg b { font-size: 22px; }
.exp--lg .exp__icon { width: 16px; height: 16px; }

/* Buttons: rounded pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: 0 1.4em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, .03); color: var(--text);
  font-family: var(--f); font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--light { background: #F2F2F2; border-color: #F2F2F2; color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-gold { border-color: var(--gold); color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--ink); }
.btn--sm { min-height: 38px; padding: 0 1.1em; font-size: 12px; }
.btn--xs { min-height: 30px; padding: 0 .9em; font-size: 11px; }
.btn--block { width: 100%; }
.btn--danger { border-color: rgba(224, 103, 95, .5); color: #F0A39D; }
.btn--danger:hover { background: var(--err); border-color: var(--err); color: #fff; }
.btn--ghost { border-color: transparent; background: transparent; }
.btn[disabled], .btn.is-disabled { opacity: .4; pointer-events: none; }

/* Ronin-style call to action: light pill with a gold arrow disc */
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 5px 5px 5px 20px; min-height: 46px;
  border-radius: 999px; background: #F2F2F2; color: var(--ink);
  font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  transition: background .25s, transform .25s var(--ease);
}
.cta i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--ink); transition: transform .45s var(--ease), background .25s;
}
.cta:hover { background: #fff; }
.cta:hover i { transform: rotate(45deg); background: var(--gold-hi); }
.cta--dark { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-strong); }
.cta--dark:hover { background: rgba(255, 255, 255, .12); }
.cta--sm { min-height: 40px; padding-left: 16px; font-size: 12px; }
.cta--sm i { width: 30px; height: 30px; }

/* Flash */
.flash { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 18px; border: 1px solid; font-size: 14.5px; }
.flash ul { margin: 0; padding-left: 18px; }
.flash--ok { background: rgba(79, 178, 134, .08); border-color: rgba(79, 178, 134, .35); color: #BDE7D2; }
.flash--err { background: rgba(224, 103, 95, .08); border-color: rgba(224, 103, 95, .4); color: #F6C6C2; }
.flash--info { background: rgba(200, 160, 80, .08); border-color: rgba(200, 160, 80, .4); color: #F1E3BE; }

/* Forms */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); border-radius: 14px;
  color: var(--text); font-size: 15px; transition: border-color .2s, background .2s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%239AA0B4' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 38px; }
.select option { background: var(--bg-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .05); }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.help { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }

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