/* ============================================================
   Bahis İfşa — ANASAYFA v8.0 "Refined Premium"
   main.css + premium.css üzerine binen son katman.
   Amaç: dengeli tipografi (kocaman yazı yok), ortalı & modern
   bloklar, premium tablo stili, mobil/masaüstü kusursuz uyum.
   ============================================================ */

/* ── 0. Ölçek belirteçleri ─────────────────────────────────── */
:root {
  --fs-display: clamp(2rem, 4.2vw, 3.05rem);   /* hero başlık */
  --fs-h2:      clamp(1.5rem, 2.6vw, 2.05rem); /* bölüm başlığı */
  --fs-h3:      clamp(1.05rem, 1.4vw, 1.18rem);/* kart başlığı */
  --fs-body:    .95rem;
  --fs-sm:      .86rem;
  --fs-xs:      .78rem;

  --stack: 4px; --stack-2: 8px; --stack-3: 12px; --stack-4: 16px;
  --stack-5: 24px; --stack-6: 32px; --stack-7: 48px; --stack-8: 64px;

  --line-soft: rgba(10, 15, 28, .08);
}

/* Tarayıcı zoom'una göre değil, tek bir okunur temele göre ölçekle */
html { font-size: 16px; }
body { font-size: var(--fs-body); line-height: 1.6; }

/* ── 1. Hero — daha sakin, daha dengeli ────────────────────── */
.hero { padding: 72px 0 60px; }

.hero-inner { max-width: 780px; }

.hero-eyebrow {
  font-size: var(--fs-xs);
  padding: 7px 16px;
  margin-bottom: var(--stack-5);
  gap: 8px;
  max-width: 100%;
}
.he-main { font-size: var(--fs-xs); }
.he-sub  { font-size: var(--fs-xs); }

.hero-title {
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: var(--stack-4);
  text-wrap: balance;
}
.hero-gradient { padding-bottom: .08em; }

.hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 56ch;
  margin: 0 auto var(--stack-6);
  text-wrap: pretty;
}

.hero-cta { gap: var(--stack-3); margin-bottom: var(--stack-7); }
.hero-cta .btn-lg { padding: 12px 24px; font-size: .9rem; border-radius: 12px; }

/* İstatistik şeridi — ortalı, eşit sütun, kart hissi */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(10,15,28,.04), 0 16px 40px rgba(10,15,28,.08);
}
.hero-stat { padding: 0 10px; position: relative; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 34px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
}
.hero-stat-sep { display: none; }          /* grid ayırıcı kullanıyoruz */
.hero-stat-num {
  font-size: 1.55rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -.03em; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.hero-stat:nth-child(1) .hero-stat-num { color: var(--primary); }
.hero-stat-label {
  font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}

/* ── 2. Alıntı barı ────────────────────────────────────────── */
.quote-bar { padding: 10px 0; }
.quote-line { font-size: var(--fs-xs); line-height: 1.5; }

/* ── 3. Bölüm başlıkları — ortalı ve ölçülü ────────────────── */
.addiction-section { padding: 72px 0; }
.addiction-head { margin-bottom: var(--stack-7); }
.addiction-tag { font-size: .68rem; padding: 6px 14px; margin-bottom: var(--stack-3); }
.addiction-title {
  font-size: var(--fs-h2);
  font-weight: 800; line-height: 1.18; letter-spacing: -.03em;
  margin-bottom: var(--stack-3); text-wrap: balance;
}
.addiction-desc {
  font-size: var(--fs-sm); line-height: 1.7;
  max-width: 60ch; margin: 0 auto; text-wrap: pretty;
}

/* ── 4. Aşama kartları — eşit yükseklik, ortalı, modern ───── */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--stack-4);
  margin-bottom: var(--stack-7);
  align-items: stretch;
}
.stage-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  height: 100%;
  padding: 26px 22px 24px;
  border-radius: 18px;
  background: #fff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 1px 2px rgba(10,15,28,.04);
}
/* soldaki renk şeridi yerine üstte ince aksan */
.stage-card::after {
  left: 50%; top: 0; bottom: auto;
  transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-l));
}
.stage-card:nth-child(1)::after { background: linear-gradient(90deg, #2563EB, #60A5FA); }
.stage-card:nth-child(2)::after { background: linear-gradient(90deg, #D97706, #FBBF24); }
.stage-card:nth-child(3)::after { background: linear-gradient(90deg, #EA580C, #FB923C); }
.stage-card:nth-child(4)::after { background: linear-gradient(90deg, #DC2626, #F87171); }
.stage-card:nth-child(5)::after { background: linear-gradient(90deg, #7C3AED, #A78BFA); }
.stage-card:nth-child(6)::after { background: linear-gradient(90deg, #16A34A, #4ADE80); }
/* dev filigran ikon yerine net bir ikon rozeti */
.stage-card::before {
  position: static;
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  font-size: 1.35rem; opacity: 1;
  background: var(--bg4); border-radius: 14px;
  border: 1px solid var(--border);
}
.stage-num {
  font-size: .62rem; letter-spacing: .16em; font-weight: 800;
  color: var(--muted) !important; margin-bottom: 6px;
}
.stage-title {
  justify-content: center;
  font-size: .98rem; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 8px; line-height: 1.35;
}
/* başlıktaki emoji tekrarını gizle (ikon rozeti zaten var) */
.stage-desc {
  font-size: .845rem; line-height: 1.7; color: var(--text2);
  max-width: 34ch; margin: 0 auto; text-wrap: pretty;
}

/* ── 5. Test CTA — koyu panel, ölçülü tipografi ────────────── */
.test-cta-box {
  padding: 48px 40px;
  border-radius: 24px;
  max-width: 980px; margin-inline: auto;
}
.test-cta-icon { font-size: 2.1rem; margin-bottom: 12px; }
.test-cta-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.test-cta-desc { font-size: .92rem; line-height: 1.7; max-width: 54ch; margin: 0 auto var(--stack-5); }
.test-cta-btns { gap: var(--stack-3); }
.test-cta-help { font-size: var(--fs-xs); margin-top: var(--stack-5); padding: 12px 20px; }

/* ── 6. Hızlı kartlar — simetrik, ortalı ───────────────────── */
.quick-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--stack-4);
  align-items: stretch;
  max-width: 980px; margin-inline: auto;
}
.quick-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: 100%; padding: 30px 26px; border-radius: 18px;
}
.quick-card-icon { width: 52px; height: 52px; border-radius: 16px; font-size: 1.4rem; margin-bottom: 14px; }
.quick-card-title { font-size: var(--fs-h3); font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.quick-card-desc { font-size: var(--fs-sm); line-height: 1.65; max-width: 40ch; margin: 0 auto var(--stack-4); }
.quick-card .badge { margin-top: auto; }

/* ── 7. İçerik bölümü başlıkları ───────────────────────────── */
.section { padding: 48px 0; }
.section-head {
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--stack-5);
}
.section-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; padding-left: 12px; }
.section-title::before { height: 17px; width: 3px; }

/* ── 8. Hikaye / şikayet kartları ──────────────────────────── */
.story-card { padding: 18px; border-radius: 16px; gap: 16px; }
.story-title { font-size: .95rem; font-weight: 750; line-height: 1.45; }
.story-excerpt { font-size: .845rem; line-height: 1.65; }
.story-meta { font-size: .74rem; }
.story-cover { width: 116px; height: 92px; border-radius: 12px; }
.story-badges .badge { font-size: .68rem; padding: 3px 9px; }

/* ── 9. Sidebar ────────────────────────────────────────────── */
.sidebar-card { padding: 18px; border-radius: 16px; }
.sidebar-card-title { font-size: .72rem; letter-spacing: .1em; }
.trending-item a { font-size: .8rem; }

/* ── 10. PREMIUM TABLO STİLİ (tüm tablolar) ────────────────── */
/* Ortalı, yuvarlatılmış, taşmayan, mobilde yatay kaydırılabilir */
.table-wrap,
.legal-content table,
main table {
  width: 100%;
  max-width: 100%;
  margin: var(--stack-5) auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,15,28,.04);
  font-size: var(--fs-sm);
}
main table thead th {
  background: var(--bg3);
  color: var(--muted);
  font-size: .7rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
main table td {
  padding: 12px 16px;
  color: var(--text2);
  line-height: 1.6;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
main table tbody tr:last-child td { border-bottom: none; }
main table tbody tr { transition: background .15s ease; }
main table tbody tr:hover { background: var(--bg3); }
/* sayısal sütunlar sağa, ortalı isteniyorsa .t-center */
main table td.num, main table th.num { text-align: right; font-variant-numeric: tabular-nums; }
main table td.t-center, main table th.t-center { text-align: center; }
/* Dar ekranda tabloyu sarmalayıp kaydır */
@media (max-width: 720px) {
  main table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  main table thead th, main table td { padding: 10px 12px; font-size: .82rem; }
}

/* İstatistik kartları — ortalı grid */
.stat-hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--stack-4);
  justify-content: center;
}
.stat-hero-num { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.stat-hero-label { font-size: .7rem; }

/* ── 11. FOOTER — logo her zaman net görünsün ──────────────── */
.site-footer { color: rgba(255,255,255,.72); }
.ft-body { padding: 56px 0 0; }
.ft-grid { gap: 40px; margin-bottom: 40px; }

.ft-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.05rem; font-weight: 800; color: #fff;
  margin-bottom: var(--stack-3);
}
/* Koyu zeminde kaybolmasın: beyaz "chip" arka plan + filtre yok */
.ft-logo img {
  width: 34px; height: 34px;
  padding: 5px;
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  filter: none !important;   /* premium.css'teki brightness(0) invert(1) iptal */
  opacity: 1 !important;
  flex-shrink: 0;
}
.ft-logo strong { color: #FB4A66; }
.ft-brand p { font-size: var(--fs-xs); line-height: 1.75; color: rgba(255,255,255,.6); }
.ft-test-link { font-size: var(--fs-xs); }
.ft-col h5 { font-size: .68rem; letter-spacing: .12em; }
.ft-col a { font-size: .82rem; }
.ft-band-row { font-size: var(--fs-xs); }
.ft-bottom { font-size: .73rem; }

/* ── 12. MOBİL (≤900px) ────────────────────────────────────── */
@media (max-width: 900px) {
  .stages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--stack-3); }
}

@media (max-width: 768px) {
  :root { --fs-body: .94rem; }
  .container { padding-inline: 18px; }
  .hero { padding: 44px 0 40px; }
  .hero-title { font-size: clamp(1.8rem, 7.2vw, 2.35rem); line-height: 1.16; }
  .hero-desc { font-size: .94rem; margin-bottom: var(--stack-5); }
  .hero-cta { margin-bottom: var(--stack-6); }
  .hero-stats { padding: 16px 8px; border-radius: 18px; }
  .hero-stat { padding: 0 6px; }
  .hero-stat-num { font-size: 1.3rem; }
  .hero-stat-label { font-size: .6rem; letter-spacing: .07em; }
  .section, .addiction-section { padding: 40px 0; }
  .addiction-head { margin-bottom: var(--stack-5); }
  .test-cta-box { padding: 32px 22px; border-radius: 20px; }
  .test-cta-title { font-size: 1.22rem; }
  .quick-card { padding: 24px 20px; }
  .story-cover { width: 100px; height: 84px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 16px; }
  .hero { padding: 34px 0 32px; }
  .hero-eyebrow { margin-bottom: var(--stack-4); padding: 8px 14px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.1rem); }
  .hero-desc { font-size: .9rem; line-height: 1.65; }
  .hero-cta .btn-lg { width: 100%; padding: 13px 20px; }

  /* İstatistikler: 2x2 ızgara — dikey uzun liste yerine dengeli blok */
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 0;
    max-width: 100%;
    padding: 14px 6px;
  }
  .hero-stat { padding: 12px 6px; }
  .hero-stat + .hero-stat::before { display: none; }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hero-stat:nth-child(even) { border-left: 1px solid var(--border); }
  .hero-stat-num { font-size: 1.42rem; }

  .stages-grid { grid-template-columns: 1fr; gap: var(--stack-3); }
  .stage-card { padding: 22px 18px; }
  .stage-desc { max-width: 100%; }

  .quick-cards { grid-template-columns: 1fr; gap: var(--stack-3); }
  .quick-card-desc { max-width: 100%; }

  .section-head { flex-wrap: nowrap; gap: 10px; }
  .section-title { font-size: 1rem; }
  .section-head .btn-sm { padding: 6px 12px; font-size: .75rem; flex-shrink: 0; }

  /* Kart görseli üstte değil yanda kalsın ama taşmasın */
  .story-card { padding: 14px; gap: 12px; border-radius: 14px; }
  .story-cover { width: 84px; height: 76px; border-radius: 10px; }
  .story-title { font-size: .9rem; }
  .story-excerpt { font-size: .82rem; -webkit-line-clamp: 3; }

  .test-cta-box { padding: 28px 18px; }
  .test-cta-icon { font-size: 1.9rem; }
  .test-cta-title { font-size: 1.15rem; }
  .test-cta-desc { font-size: .88rem; }

  .ft-logo { font-size: 1rem; }
  .ft-logo img { width: 30px; height: 30px; }
}

@media (max-width: 380px) {
  .hero-stat-num { font-size: 1.25rem; }
  .story-cover { width: 74px; height: 70px; }
}

/* ── 13. Erişilebilirlik & hareket ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .stage-card:hover, .quick-card:hover, .story-card:hover { transform: none; }
}
