/* yuksekoran — ön yüz stilleri (açık tema) */
:root {
  --ink: #2b2d42;
  --ink-soft: #4a4e69;
  --muted: #8a7d89;
  --line: #e7e3ea;
  --bg: #f6f4f8;
  --card: #ffffff;
  --brand: #4a4e69;
  --plum: #6d597a;
  --wine: #723d46;
  --accent: #e76f51;
  --accent-dark: #d65f42;
  --best: #005f73;
  --best-bg: #e3f1f3;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
}
a { color: var(--best); }
img { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700;
  padding: 11px 16px; border-radius: 10px; transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { display: block; max-height: 36px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #4a4e69, #6d597a); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.brand-text { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.top-nav { display: flex; gap: 4px; }
.top-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.top-nav a:hover, .top-nav a.is-active { background: #f1eef4; color: var(--ink); }
.menu-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card);
  color: var(--ink-soft); font: 700 15px "Plus Jakarta Sans", sans-serif; padding: 8px 12px; border-radius: 10px; cursor: pointer;
}

/* ---------- Yan menü (drawer) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(43,45,66,.38); z-index: 40; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: var(--card); z-index: 50;
  transform: translateX(100%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 30px rgba(43,45,66,.12);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .22s ease; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-close { border: 0; background: #f1eef4; color: var(--ink-soft); border-radius: 9px; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.drawer-nav { display: flex; flex-direction: column; padding: 10px; }
.drawer-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 12px; border-radius: 10px; font-size: 16px; }
.drawer-nav a:hover, .drawer-nav a.is-active { background: #f1eef4; }
.drawer-nav a.is-active { color: var(--plum); }
.drawer-help { margin: auto 14px 18px; background: #faf6f2; border: 1px solid #f0dfd6; border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.drawer-help strong { color: var(--wine); }
body.drawer-open { overflow: hidden; }

.help-call {
  display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; padding: 9px 14px;
  border-radius: 10px; background: var(--wine); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 15px;
}

/* ---------- Anasayfa giriş ---------- */
.home { padding-top: 22px; padding-bottom: 40px; }
.intro h1 { font-size: clamp(24px, 4.2vw, 34px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 8px; color: var(--ink); }
.intro p { margin: 0 0 16px; color: var(--ink-soft); max-width: 760px; }

.match {
  background: linear-gradient(135deg, #4a4e69 0%, #6d597a 100%);
  color: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px;
}
.match-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.meta-line { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.16); padding: 4px 12px; border-radius: 999px; white-space: nowrap; max-width: 100%; overflow: hidden; }
.meta-league { overflow: hidden; text-overflow: ellipsis; }
.meta-sep { opacity: .6; }
.meta-line time { flex: none; }
.d-short { display: none; }
.pill { background: rgba(255,255,255,.16); padding: 4px 10px; border-radius: 999px; }
.pill-warn { background: #f4d6cd; color: var(--wine); }
.pill-live { background: #e76f51; }
.teams { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.teams .team { font-size: clamp(22px, 4vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.teams .vs { font-size: 14px; font-weight: 700; opacity: .7; }
.match-note { margin: 0; font-size: 14px; opacity: .88; }

.alert { display: flex; gap: 12px; align-items: flex-start; border-radius: var(--radius); padding: 14px 16px; margin: 14px 0 0; }
.alert p { margin: 0; font-weight: 600; font-size: 15px; }
.alert svg { flex: none; margin-top: 1px; }
.alert-past { background: #fbf0ea; border: 1px solid #f0cfc2; color: var(--wine); }

/* ---------- En yüksek oran özeti ---------- */
.best-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0 22px; }
.best-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; border-top: 4px solid var(--best); min-width: 0;
}
.best-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.best-odd { font-size: 28px; font-weight: 800; color: var(--best); line-height: 1.15; }
.best-owner { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.ad-slot { margin: 0 0 20px; text-align: center; }
.ad-slot img { height: auto; }

/* ---------- Oran tablosu ---------- */
.table-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.table-head h2 { font-size: 19px; margin: 0; color: var(--ink-soft); }
.sort-hint { font-size: 13px; color: var(--muted); }
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.odds-table { width: 100%; border-collapse: collapse; }
.odds-table thead th {
  background: #faf9fb; font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line);
}
.odds-table thead th:first-child { text-align: left; padding-left: 18px; }
.odds-table thead button {
  font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; cursor: pointer;
  padding: 4px 8px; border-radius: 8px; display: inline-flex; flex-direction: column; align-items: center; gap: 1px;
}
.odds-table thead button:hover { background: #f1eef4; color: var(--ink); }
.odds-table thead button.is-sorted { background: var(--best-bg); color: var(--best); }
.odds-table thead button.is-sorted::after { content: "▼"; font-size: 8px; line-height: 1; }
.odds-table thead th small { display: block; font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink-soft); }
.odds-table tbody tr { border-bottom: 1px solid var(--line); }
.odds-table tbody tr:last-child { border-bottom: 0; }
.odds-table tbody tr:hover { background: #fcfbfd; }
.odds-table td { padding: 12px 10px; text-align: center; vertical-align: middle; }
.odds-table td.site { text-align: left; padding-left: 18px; }
.logo-box { display: block; width: 150px; height: 40px; border-radius: 8px; overflow: hidden; background: #f3f1f5; }
.logo-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.m-payout { display: none; }

.odd-box {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 78px; padding: 8px 10px; border-radius: 10px; background: #f3f1f5; border: 1px solid transparent;
}
.odd-box b { font-size: 18px; font-weight: 700; color: var(--ink); }
.odd-box em {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-style: normal; font-size: 9.5px; font-weight: 800; color: #fff; background: var(--best);
  text-transform: uppercase; letter-spacing: .04em; padding: 1px 7px; border-radius: 999px; line-height: 1.5;
}
.is-best .odd-box { background: var(--best-bg); border-color: #9cc9d1; box-shadow: 0 2px 8px rgba(0,95,115,.12); }
.is-best .odd-box b { color: var(--best); font-weight: 800; }
td.payout span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
td.payout.is-best span { color: var(--best); font-weight: 800; }

.cta a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 10px 14px; border-radius: 10px; transition: background .15s, transform .15s;
}
.cta a:hover { background: var(--accent-dark); transform: translateY(-1px); }
.note { font-size: 13px; color: var(--muted); margin: 12px 2px 26px; }
.note b { color: var(--ink-soft); }

/* ---------- Makale / içerik ---------- */
.prose { color: var(--ink); font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.3; letter-spacing: -.015em; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 1.4em 0 .4em; color: var(--ink-soft); }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.2em 0; padding: 12px 16px; border-left: 4px solid var(--plum); background: #f8f6fa; border-radius: 0 10px 10px 0; color: var(--ink-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: #faf9fb; font-weight: 700; color: var(--ink-soft); }
.prose .box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 1.2em; }
.prose .box-info { border-left: 4px solid var(--best); }
.prose .box-warn { border-left: 4px solid var(--accent); background: #fffaf7; }
.prose .formula { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; background: #f3f1f5; padding: 10px 12px; border-radius: 9px; display: block; margin: 0 0 1em; overflow-x: auto; }
.home-article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 26px 14px; }
.home-article > h2:first-child { margin-top: .9em; }

/* Samimi uyarı */
.sincere {
  display: flex; gap: 14px; margin: 22px 0; padding: 20px 22px; border-radius: var(--radius);
  background: #fbf3ef; border: 1px solid #f0d6ca;
}
.sincere-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; }
.sincere-body h2 { margin: 0 0 8px; font-size: 20px; color: var(--wine); }
.sincere-body p { margin: 0 0 .8em; font-size: 16px; line-height: 1.7; }
.sincere-body p:last-child { margin-bottom: 0; }
.sincere-body a { color: var(--wine); font-weight: 700; }

/* SSS */
.faq { margin: 26px 0; }
.faq h2, .guides h2 { font-size: 22px; margin: 0 0 12px; letter-spacing: -.015em; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--plum); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 16px 14px; color: var(--ink-soft); }
.faq-a p { margin: 0; }

/* Rehber kartları */
.guides { margin-top: 26px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide-card {
  display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s;
}
.guide-card:hover { border-color: #c9bfd0; transform: translateY(-2px); }
.guide-card strong { font-size: 16px; line-height: 1.35; }
.guide-card span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.guide-card em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--plum); margin-top: auto; }

/* ---------- Alt sayfa ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; padding-top: 24px; padding-bottom: 44px; align-items: start; }
.page-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 28px 18px; min-width: 0; }
.page-main h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.2; letter-spacing: -.025em; margin: 6px 0 4px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.updated { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.page-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.side-kicker { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 6px; }
.side-match { display: block; font-size: 17px; margin-bottom: 10px; }
.side-odds ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.side-odds li { display: grid; grid-template-columns: 26px 52px 1fr; align-items: center; gap: 6px; background: var(--best-bg); border-radius: 9px; padding: 7px 10px; }
.side-odds li span { font-weight: 800; color: var(--muted); font-size: 13px; }
.side-odds li b { color: var(--best); font-size: 17px; }
.side-odds li small { font-size: 12px; color: var(--ink-soft); font-weight: 600; text-align: right; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.side-links li:last-child a { border-bottom: 0; }
.side-help { background: #fbf3ef; border-color: #f0d6ca; }
.side-help p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.page-404 { padding-top: 40px; padding-bottom: 60px; }

/* Bahis sözlüğü */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.az a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 8px; background: #f1eef4; color: var(--ink-soft); text-decoration: none; font-weight: 800; font-size: 14px; }
.az a:hover { background: var(--best-bg); color: var(--best); }
.glossary dt { font-weight: 800; color: var(--ink); margin-top: 14px; font-size: 17px; scroll-margin-top: 84px; }
.glossary dd { margin: 2px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.glossary h2 { scroll-margin-top: 84px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--card); border-top: 1px solid var(--line); margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; padding-top: 34px; padding-bottom: 24px; }
.f-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 12px; }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 7px; }
.f-col a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.f-col a:hover { color: var(--ink); }
.f-col p { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.brand-footer { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 22px; font-size: 13px; color: var(--muted); }
.footer-bottom .age { font-weight: 700; color: var(--wine); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1000px) {
  .top-nav { display: none; }
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-side { position: static; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .header-in { min-height: 58px; }
  .home { padding-top: 16px; }
  .intro p { font-size: 15px; line-height: 1.55; }
  .match { padding: 14px 16px 16px; gap: 10px; }
  .match-meta { font-size: 12.5px; gap: 6px; }
  .meta-line { padding: 4px 10px; gap: 6px; }
  .d-full { display: none; }
  .d-short { display: inline; }
  .match .pill { font-size: 12px; padding: 3px 9px; }
  .best-grid { gap: 8px; margin: 12px 0 18px; }
  .best-card { padding: 10px; }
  .best-odd { font-size: 22px; }
  .best-label { font-size: 11px; text-transform: none; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .best-owner { font-size: 12px; }
  .sort-hint { font-size: 12px; }
  .odds-table thead th { padding: 8px 2px; font-size: 13px; }
  .odds-table thead th:first-child { padding-left: 10px; }
  .odds-table thead th small { display: none; }
  .odds-table thead button { padding: 4px 6px; }
  .th-payout, td.payout { display: none; }
  .odds-table td { padding: 9px 3px; }
  .odds-table td.site { padding-left: 10px; width: 92px; }
  .logo-box { width: 84px; height: 22.4px; border-radius: 5px; }
  .m-payout { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-top: 3px; white-space: nowrap; }
  .m-payout.is-best { color: var(--best); font-weight: 800; }
  .odd-box { min-width: 0; width: 100%; padding: 7px 2px; border-radius: 8px; }
  .odd-box b { font-size: 15px; }
  .odd-box em { display: none; }
  .is-best .odd-box { border-width: 1.5px; border-color: var(--best); }
  .odds-table td.cta { padding-right: 10px; width: 1%; }
  .cta a { padding: 8px 9px; font-size: 12.5px; border-radius: 8px; gap: 0; }
  .cta a svg { display: none; }
  .prose { font-size: 16px; }
  .home-article { padding: 4px 16px 10px; }
  .page-main { padding: 16px 16px 12px; }
  .sincere { flex-direction: column; padding: 18px 16px; }
  .guide-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 360px) {
  .odds-table td.site { width: 76px; }
  .logo-box { width: 70px; height: 18.7px; }
  .odd-box b { font-size: 14px; }
  .cta a { font-size: 11.5px; padding: 7px 7px; }
}
