:root {
  --navy: #0B1324;
  --panel: #111D36;
  --line: #1C2945;
  --gold: #E8B04A;
  --green: #2FD08A;
  --text: #F2F4F8;
  --muted: #8C9AB8;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #16284d 0%, transparent 60%), var(--navy);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* üst menü */
header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 22px; letter-spacing: -0.3px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand .r { color: var(--gold); }
nav.links { display: flex; gap: 22px; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--text); text-decoration: none; }

/* ana sayfa */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 72px 0 56px; }
.eyebrow { color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
h1 { font-size: 50px; line-height: 1.08; letter-spacing: -1.2px; margin: 14px 0 18px; }
h1 .r { color: var(--gold); }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font-weight: 700; font-size: 16px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.primary { background: var(--gold); color: var(--navy); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); background: var(--panel); }
.shot { border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); width: 100%; height: auto; display: block; }

.cmd { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; font-size: 15px; color: var(--text); }

section.block { padding: 48px 0; border-top: 1px solid var(--line); }
section.block h2 { font-size: 30px; letter-spacing: -0.5px; margin: 0 0 8px; }
section.block > .wrap > p.sub { color: var(--muted); margin: 0 0 28px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.card .num { color: var(--gold); font-weight: 800; font-size: 14px; letter-spacing: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { background: #0E1830; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--muted); }

.notice { background: rgba(232,176,74,.08); border: 1px solid rgba(232,176,74,.35); border-radius: 14px; padding: 16px 20px; color: var(--text); font-size: 15.5px; }

/* yazı sayfaları */
article.doc { max-width: 780px; padding: 56px 0 72px; }
article.doc h1 { font-size: 38px; margin-bottom: 6px; }
article.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
article.doc h2 { font-size: 22px; margin: 36px 0 8px; }
article.doc p, article.doc li { color: #D5DBE7; }
article.doc ul { padding-left: 22px; }
article.doc li { margin: 6px 0; }

footer.bottom { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14.5px; }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer.bottom a { color: var(--muted); }
footer.bottom a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 44px 0 36px; gap: 32px; }
  h1 { font-size: 36px; }
  .grid3 { grid-template-columns: 1fr; }
  nav.links { display: none; }
  article.doc h1 { font-size: 30px; }
}

/* kayan fiyat şeridi (assets/ticker.js) */
.ticker { height: 0; overflow: hidden; background: #08101F; border-bottom: 1px solid var(--line); transition: height .3s; }
.ticker.ready { height: 40px; }
.ticker-track { display: flex; width: max-content; animation: tick 120s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker .tr { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
.ticker .tg { color: var(--navy); background: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; border-radius: 6px; padding: 2px 8px; margin: 0 10px 0 18px; white-space: nowrap; }
.ticker .ti { display: inline-flex; align-items: baseline; gap: 7px; padding: 0 14px; font-size: 14px; white-space: nowrap; color: var(--text); border-radius: 6px; transition: background .6s; }
.ticker .ti:hover { text-decoration: none; background: var(--panel); }
.ticker .ts { font-weight: 700; }
.ticker .tp { font-variant-numeric: tabular-nums; color: #D5DBE7; }
.ticker .tc { font-size: 12.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticker .tc.up { color: var(--green); }
.ticker .tc.down { color: #E5566B; }
.ticker .tc.flat { color: var(--muted); }
.ticker .ti.flash-up { animation: fu 1.2s; }
.ticker .ti.flash-down { animation: fd 1.2s; }
.ticker .tn { color: var(--muted); font-size: 12px; padding: 0 28px; white-space: nowrap; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fu { from { background: rgba(47,208,138,.28); } to { background: transparent; } }
@keyframes fd { from { background: rgba(229,86,107,.28); } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
}
