/* Bölüm Sonu — bolumsonu.com
   Dark editorial theme. Single committed look (dark), not theme-switching. */

:root {
  --bg: #0b0b12;
  --bg-deep: #07070d;
  --surface: #14141f;
  --surface-2: #1b1b2a;
  --line: #2a2a3d;
  --line-soft: #1f1f30;
  --text: #e8e8f2;
  --muted: #9a9ab4;
  --muted-dim: #6f6f8a;
  --accent: #7c5cff;
  --accent-soft: #9f88ff;
  --accent-2: #24e0c5;
  --warn: #ffb648;
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --maxw-narrow: 720px;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(700px 420px at 12% -8%, rgba(124, 92, 255, .16), transparent 62%),
    radial-gradient(620px 380px at 92% 2%, rgba(36, 224, 197, .09), transparent 60%);
  background-repeat: no-repeat;
}

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

a { color: var(--accent-soft); text-decoration-color: rgba(159, 136, 255, .4); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.wrap-narrow { max-width: var(--maxw-narrow); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 18, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.head-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); margin-right: auto; }
.brand-mark {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px;
  background: linear-gradient(145deg, var(--accent) 0%, #4b2fd6 55%, var(--accent-2) 190%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09) inset, 0 4px 16px rgba(124, 92, 255, .4);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 8px 7px;
  background: var(--bg-deep);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.16; }
.brand-text strong { font-family: var(--display); font-size: 1.12rem; letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-size: .7rem; color: var(--muted-dim); letter-spacing: .02em; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--muted); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav a.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 2px; padding: 10px 20px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 14px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(20px, 3vw, 40px); }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero h1 span { color: var(--accent-soft); }
.hero-art img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent;
  box-shadow: 0 8px 26px -10px rgba(124, 92, 255, .9);
}
.btn:hover { background: var(--accent-soft); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); color: #fff; }

.lede { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.note { font-size: .88rem; color: var(--muted-dim); }

.tag {
  display: inline-block; font-family: var(--display); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2);
  background: rgba(36, 224, 197, .09); border: 1px solid rgba(36, 224, 197, .24);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- grids / cards ---------- */
.home-sec { margin: clamp(40px, 6vw, 76px) 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
.sec-head h2 { margin: 0; }
.more { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }

.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-feature { grid-template-columns: 2fr 1fr; grid-auto-rows: min-content; }
.grid-feature .card-featured { grid-row: span 2; }

@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-feature { grid-template-columns: 1fr; } .grid-feature .card-featured { grid-row: auto; } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s, transform .18s;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card-media { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-featured .card-media { aspect-ratio: 16 / 10; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body .tag { margin-bottom: 10px; }
.card h3 { font-size: 1.08rem; margin-bottom: .45em; }
.card-featured h3 { font-size: 1.5rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent-soft); }
.card p { font-size: .93rem; color: var(--muted); margin-bottom: 14px; }
.card-meta { margin-top: auto; font-size: .8rem; color: var(--muted-dim); }
.card-score {
  position: absolute; right: 12px; bottom: 12px;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff;
  background: rgba(11, 11, 18, .84); border: 1px solid var(--accent);
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(4px);
}
.card-score small { font-size: .62rem; color: var(--muted); font-weight: 500; }

/* ---------- trust strip ---------- */
.trust-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.trust-item h3 { color: var(--text); }
.trust-item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- breadcrumbs / page heads ---------- */
.crumbs { font-size: .83rem; color: var(--muted-dim); padding: 22px 0 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.crumbs span[aria-hidden] { padding: 0 4px; }

.page-head { padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); margin-bottom: 34px; }
.page-head h1 { margin-bottom: .35em; }

/* ---------- post ---------- */
.post .crumbs { padding-top: 22px; }
.post h1 { margin-bottom: .3em; }

.byline { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; }
.byline img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.byline span { display: block; font-size: .92rem; }
.byline a { text-decoration: none; }
.byline-meta { color: var(--muted-dim); font-size: .82rem !important; }

.hero-figure { margin: 28px auto 34px; }
.hero-figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; }
.hero-figure figcaption { font-size: .8rem; color: var(--muted-dim); margin-top: 10px; text-align: center; }

.scorecard {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 20px 24px; margin: 0 0 34px;
}
.scorecard .score { font-family: var(--display); line-height: 1; }
.scorecard .score strong { font-size: 3rem; color: #fff; }
.scorecard .score small { font-size: 1rem; color: var(--muted); }
.score-meta p { margin: 0 0 4px; font-size: .9rem; color: var(--muted); }
.score-meta strong { color: var(--text); font-weight: 600; }

/* ---------- prose ---------- */
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 1.9em; padding-top: .35em; border-top: 1px solid var(--line-soft); }
.prose h3 { margin-top: 1.7em; color: var(--accent-soft); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: #fff; font-weight: 600; }
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); }
.prose figcaption { font-size: .8rem; color: var(--muted-dim); margin-top: 8px; text-align: center; }

.prose blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent);
  color: var(--text); font-size: 1.1rem;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.callout {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { color: var(--accent-2); }

.prose table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose th { font-family: var(--display); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.prose tbody tr:hover { background: var(--surface); }
.table-scroll { overflow-x: auto; }

details.faq {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 10px; background: var(--surface);
}
details.faq summary { cursor: pointer; font-weight: 600; font-family: var(--display); color: var(--text); }
details.faq summary::marker { color: var(--accent); }
details.faq[open] summary { margin-bottom: 10px; }
details.faq p:last-child { margin-bottom: 0; }

.sources { font-size: .88rem; color: var(--muted); }
.sources li { margin-bottom: .35em; }

/* ---------- author box / related ---------- */
.authorbox {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px; margin: 46px 0 0;
}
.authorbox img { width: 96px; height: 96px; flex: 0 0 96px; border-radius: 50%; border: 1px solid var(--line); object-fit: cover; }
.authorbox h2 { font-size: 1.2rem; margin-bottom: .2em; }
.authorbox p { font-size: .93rem; color: var(--muted); margin-bottom: .7em; }
.authorbox-role { color: var(--accent-2) !important; font-size: .82rem !important; font-weight: 600; }
.authorbox-links { font-size: .85rem !important; margin-bottom: 0 !important; }

@media (max-width: 560px) {
  .authorbox { flex-direction: column; }
  .authorbox img { width: 72px; height: 72px; flex-basis: 72px; }
}

.related { margin: 56px 0 20px; }
.related h2 { border-top: 1px solid var(--line-soft); padding-top: 26px; }

/* ---------- footer ---------- */
.site-foot {
  margin-top: clamp(56px, 8vw, 96px);
  background: var(--bg-deep); border-top: 1px solid var(--line-soft);
  padding: 44px 0 30px; font-size: .9rem;
}
.foot-top { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; padding-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.foot-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 46ch; }
.foot-brand p { color: var(--muted); margin: 0; }
.foot-brand strong { color: var(--text); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--text); text-decoration: underline; }
.foot-bot { padding-top: 22px; color: var(--muted-dim); font-size: .84rem; }
.foot-bot p { margin: 0 0 4px; }

/* free-to-play money disclaimer strip in the footer */
.foot-money { padding: 18px 0 0; }
.foot-money p {
  margin: 0; font-size: .85rem; color: var(--muted);
  background: color-mix(in srgb, var(--accent-2) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-2) 22%, var(--line));
  border-radius: var(--radius-sm); padding: 12px 16px;
}
.foot-money strong { color: var(--accent-2); }
.prose .note { font-style: normal; font-size: .82rem; color: var(--muted-dim); }
