/* BahisLink v2 — açık, sıcak tonlu tema + otomatik koyu mod. Sistem fontu, tek vurgu rengi. */
:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #16181d;
  --ink-2: #353a45;
  --muted: #5b616e;
  --line: #e5e1d8;
  --line-2: #d6d1c5;
  --accent: #d4421a;
  --accent-ink: #b8360f;
  --accent-soft: #fbeee9;
  --focus: #1d6fe0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 4px 16px rgba(22, 24, 29, .05);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b21;
    --surface-2: #1d2128;
    --ink: #eef0f3;
    --ink-2: #cdd2da;
    --muted: #9aa1ad;
    --line: #2a2f38;
    --line-2: #363c47;
    --accent: #d4421a;
    --accent-ink: #ff7a52;
    --accent-soft: #2a1a14;
    --focus: #6aa8ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 760px; }
.meta { font-size: .86rem; color: var(--muted); margin: 0; }
.ic { flex: none; vertical-align: middle; }

/* Butonlar: tek vurgu yalnızca birincil butonda */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 10px; font: 600 .95rem/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn-go { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-go:hover { background: #bd3812; border-color: #bd3812; }
.btn-go:active { transform: translateY(1px); }
.btn-ghost { background: transparent; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 1.02rem; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .85rem; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.28rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand-t b { color: var(--accent-ink); font-weight: 800; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: .93rem; font-weight: 550; color: var(--ink-2); }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.hdr-tg { min-height: 38px; font-size: .88rem; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Breadcrumb + sayfa başlığı */
.crumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 18px 0 0; padding: 0; font-size: .85rem; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.phead { padding: 22px 0 8px; }
.phead h1 { margin-bottom: .35em; }

/* Hero */
.hero { padding: 48px 0 30px; }
.hero h1 { max-width: 820px; }
.hero h1 span { display: block; color: var(--muted); font-weight: 700; }
.search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 22px 0 18px; padding: 6px 6px 6px 16px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); color: var(--muted); }
.search:focus-within { border-color: var(--focus); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); padding: 8px 0; }
.search input::placeholder { color: var(--muted); }
.search-inline { box-shadow: none; margin: 16px 0 6px; padding-right: 16px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.hero-facts b { color: var(--ink); }

/* Bloklar */
.block { margin: 26px 0 34px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sec-head .sec-h { margin: 0; }
.sec-h { font-size: 1.3rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-bottom: 18px; }
.card > h2:first-child { margin-top: 0; }

/* Sponsor listesi (tek parça) */
.slist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.srow { display: grid; grid-template-columns: 34px 108px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.srow:first-child { border-top: 0; }
.srow:hover { background: var(--surface-2); }
.srow.is-featured { background: var(--accent-soft); }
.srow.is-featured .srank { color: var(--accent-ink); }
.srank { font-weight: 750; font-size: .95rem; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.slogo { display: flex; align-items: center; justify-content: center; width: 108px; height: 50px; border-radius: 10px; background: #15171c; overflow: hidden; }
.slogo img { width: 96px; height: 44px; object-fit: contain; }
.slogo.sm { width: 76px; height: 38px; }
.slogo.sm img { width: 72px; height: 33px; }
.lg-fallback { font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.sbody { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sname { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font-weight: 700; font-size: 1.02rem; }
.sname a { text-decoration: none; }
.sname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stag { font-size: .76rem; font-weight: 600; color: var(--muted); }
.stag::before { content: "· "; }
.sbonus { font-size: .92rem; color: var(--ink-2); }
.snote { font-size: .82rem; color: var(--muted); margin: 10px 2px 0; }

/* Kutucuklar ve etiket linkleri */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 650; transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.tile .ic { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-block; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); text-decoration: none; font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.chips a:hover { border-color: var(--ink-2); color: var(--ink); }
.card .chips a { background: var(--surface-2); }

/* Yerleşim */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; margin: 18px 0 40px; }
.layout.narrow { grid-template-columns: minmax(0, 820px); }
.col-side { position: sticky; top: 84px; }

/* Okuma metni */
.prose { color: var(--ink-2); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose strong { color: var(--ink); }
.checks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.checks li { padding: 10px 12px 10px 34px; border: 1px solid var(--line); border-radius: 10px; position: relative; margin: 0; }
.checks li::before { content: ""; position: absolute; left: 13px; top: 17px; width: 10px; height: 6px; border: solid var(--ink-2); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Marka sayfası */
.bhero { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: start; }
.bhero-logo { display: flex; align-items: center; justify-content: center; width: 150px; height: 96px; border-radius: 12px; background: #15171c; padding: 12px; }
.bhero-logo img { max-height: 72px; width: auto; object-fit: contain; }
.bhero-logo .lg-fallback { font-size: 1.6rem; }
.bhero h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); }
.bhero .lead { font-size: 1rem; }
.campaign { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 10px 10px 0; font-weight: 650; }
.campaign span { font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bhero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; }
.tabs { position: sticky; top: 64px; z-index: 50; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; padding: 8px 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 14px; border-radius: 8px; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.tabs a:hover { background: var(--surface); color: var(--ink); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.prevnext a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 650; }
.prevnext a:last-child { justify-content: flex-end; text-align: right; }
.prevnext a:hover { border-color: var(--ink-2); }
.prevnext small { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s; }
.sticky-cta.show { transform: none; }
.sticky-cta b { display: block; font-size: .98rem; }
.sticky-cta small { color: var(--muted); font-size: .8rem; }

/* Kenar kutusu */
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-h { font-size: 1rem; margin-bottom: 10px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.side-list li:first-child { border-top: 0; }
.side-t b { display: block; font-size: .9rem; }
.side-t small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.side-more { display: flex; align-items: center; gap: 4px; margin-top: 10px; font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--accent-ink); }

/* SSS */
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; font-weight: 500; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq-a { color: var(--ink-2); padding-bottom: 6px; }

/* Sorumlu oyun notu */
.rg-note { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin: 0 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); font-size: .9rem; color: var(--ink-2); }
.rg-note p { margin: 0; }
.rg-note strong, .age { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink-2); font-weight: 800; font-size: .85rem; color: var(--ink); }
.rg-note a { color: var(--accent-ink); }

/* A–Z dizini */
.az-letters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 20px; }
.az-letters a { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); text-decoration: none; font-weight: 650; font-size: .9rem; }
.az-letters a:hover { border-color: var(--ink-2); }
.az { columns: 4 220px; column-gap: 24px; margin-bottom: 40px; }
.az-group { break-inside: avoid; margin-bottom: 18px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.az-group h2 { font-size: 1.1rem; margin-bottom: 6px; color: var(--accent-ink); }
.az-group ul { list-style: none; padding: 0; margin: 0; }
.az-group a { display: block; padding: 3px 0; text-decoration: none; font-size: .93rem; }
.az-group a:hover { text-decoration: underline; }

/* İletişim */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 1.4em; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none !important; color: var(--ink) !important; background: var(--surface-2); }
.contact-card:hover { border-color: var(--ink-2); }
.contact-card small { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.contact-card b { font-size: 1.1rem; }
.contact-card span { font-size: .88rem; color: var(--muted); }

/* 404 */
.err { text-align: center; padding: 40px 0 10px; }
.err .lead { margin: 0 auto 10px; }
.err .search { margin: 18px auto; }
.err-code { font-size: 4.5rem; font-weight: 850; letter-spacing: -.05em; line-height: 1; color: var(--accent-ink); margin: 0 0 8px; }

/* Footer */
.ftr { margin-top: 50px; border-top: 1px solid var(--line); background: var(--surface); padding: 36px 0 24px; font-size: .92rem; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 32px; }
.ftr-brand p { color: var(--muted); margin-top: 12px; max-width: 380px; }
.ftr-brand a:not(.brand) { color: var(--ink-2); }
.ftr-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ftr h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin: 6px 0; }
.ftr-cols a { text-decoration: none; color: var(--ink-2); }
.ftr-cols a:hover { color: var(--ink); text-decoration: underline; }
.ftr-warn { display: flex; gap: 14px; align-items: center; margin: 28px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: .86rem; }
.ftr-warn p { margin: 0; }
.ftr-warn a { color: var(--ink-2); }
.ftr-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .84rem; }
.ftr-bar a { color: var(--muted); }

/* Popup */
.pop { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; background: rgba(10, 11, 14, .6); }
.pop-box { position: relative; width: min(460px, 100%); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.pop-box img { display: block; width: 100%; height: auto; }
.pop-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #16181d; font-size: 26px; line-height: 1; cursor: pointer; }

/* Duyarlı */
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .col-side { position: static; }
  .ftr-top { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; margin-left: auto; }
  .hdr-tg { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; padding: 8px 12px 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
  .nav-open .nav { display: flex; }
  .nav a { padding: 12px; font-size: 1rem; }
}
@media (max-width: 700px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 18px; }
  .srow { grid-template-columns: 20px 76px minmax(0, 1fr); grid-template-areas: "r l b" "g g g"; gap: 8px 12px; padding: 12px 14px; }
  .srank { grid-area: r; font-size: .85rem; }
  .slogo { grid-area: l; width: 76px; height: 38px; }
  .slogo img { width: 70px; height: 32px; }
  .sbody { grid-area: b; }
  .sname { font-size: .98rem; }
  .sbonus { font-size: .86rem; line-height: 1.4; }
  .srow > .btn-go { grid-area: g; width: 100%; min-height: 40px; }
  .bhero { grid-template-columns: 1fr; gap: 16px; }
  .bhero-logo { width: 130px; height: 80px; }
  .bhero-cta .btn { width: 100%; }
  .page-brand .sticky-cta { display: flex; }
  .page-brand .ftr { padding-bottom: 90px; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:last-child { justify-content: space-between; text-align: left; }
  .az { columns: 2 150px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
