/* ==========================================================================
   Betwinner Giriş - betwinnergir.com
   Tema renkleri: koyu yeşil #0E7A4F, sarı #FFD400
   ========================================================================== */

:root {
  --yesil: #0E7A4F;
  --yesil-koyu: #0a5c3b;
  --yesil-acik: #16a06a;
  --sari: #FFD400;
  --sari-koyu: #e6bf00;
  --metin: #1d2327;
  --metin-soft: #4a5258;
  --gri: #f4f6f5;
  --gri-cizgi: #e2e6e4;
  --beyaz: #ffffff;
  --radius: 10px;
  --golge: 0 2px 12px rgba(14, 122, 79, .08);
  --golge-hover: 0 6px 22px rgba(14, 122, 79, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.75;
  color: var(--metin);
  background: var(--beyaz);
  word-wrap: break-word;
}

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

a { color: var(--yesil); text-decoration: none; transition: color .15s; }
a:hover { color: var(--yesil-acik); }

.kapsayici { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* --- Üst uyarı barı --- */
.ust-bar {
  background: var(--yesil-koyu);
  color: #d9f3e7;
  font-size: 13.5px;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: .2px;
}
.ust-bar strong { color: var(--sari); }

/* --- Header / Nav --- */
.site-header {
  background: var(--yesil);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.12);
}
.header-ic {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.logo img { height: 46px; width: auto; border-radius: 7px; display: block; }
.footer-logo img { border-radius: 6px; }
.ana-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.ana-menu a {
  color: #eafff5; font-weight: 600; font-size: 14.5px;
  padding: 9px 13px; border-radius: 8px; display: block; white-space: nowrap;
}
.ana-menu a:hover, .ana-menu a.aktif { background: rgba(255,255,255,.13); color: #fff; }

.menu-buton {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 11px; flex-direction: column; gap: 5px;
  width: 48px; height: 48px; align-items: center; justify-content: center;
}
.menu-buton span { width: 26px; height: 3px; background: #fff; border-radius: 3px; }

/* --- Açılır (dropdown) menü --- */
.acilir { position: relative; }
.alt-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none;
  background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 6px; display: none; z-index: 200;
}
.acilir:hover > .alt-menu { display: block; }
.alt-menu li { width: 100%; }
.alt-menu a {
  color: #1d2327 !important; font-weight: 600; font-size: 14px;
  padding: 9px 12px !important; border-radius: 7px;
}
.alt-menu a:hover { background: var(--gri); color: var(--yesil) !important; }

/* --- Giriş CTA butonu --- */
.giris-btn {
  background: var(--sari) !important; color: #1d2327 !important;
  font-weight: 800 !important; padding: 9px 18px !important;
  border-radius: 8px !important; box-shadow: 0 2px 0 var(--sari-koyu);
}
.giris-btn:hover { background: #ffdf33 !important; transform: translateY(-1px); }

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--yesil) 0%, var(--yesil-koyu) 100%);
  color: #fff; padding: 40px 0 46px;
}
.hero h1 { font-size: 33px; line-height: 1.25; margin-bottom: 14px; font-weight: 800; }
.hero h1 span { color: var(--sari); }
.hero p { font-size: 18px; color: #e3f5ec; max-width: 760px; }
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--sari); color: #1d2327; font-weight: 800; font-size: 18px;
  padding: 14px 30px; border-radius: 10px; margin-top: 22px;
  box-shadow: 0 4px 0 var(--sari-koyu); transition: transform .12s;
}
.hero-cta:hover { transform: translateY(-2px); color: #1d2327; box-shadow: 0 6px 0 var(--sari-koyu); }

/* --- Yapı: içerik + sidebar --- */
.govde { display: grid; grid-template-columns: 1fr 320px; gap: 34px; padding: 34px 0 10px; }
.icerik { min-width: 0; }
.yan-panel { min-width: 0; }

/* --- Tipografi (makale içi) --- */
.icerik h2 {
  font-size: 25px; line-height: 1.3; margin: 34px 0 14px; color: var(--yesil-koyu);
  padding-bottom: 8px; border-bottom: 2px solid var(--gri-cizgi); font-weight: 800;
}
.icerik h3 { font-size: 20px; margin: 26px 0 11px; color: var(--metin); font-weight: 700; }
.icerik p { margin-bottom: 16px; color: var(--metin-soft); }
.icerik ul, .icerik ol { margin: 0 0 18px 22px; }
.icerik li { margin-bottom: 9px; color: var(--metin-soft); }
.icerik strong { color: var(--metin); }
.icerik a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(14,122,79,.35); }

.makale-gorsel { border-radius: var(--radius); margin: 6px 0 24px; box-shadow: var(--golge); width: 100%; height: auto; display: block; }
.ust-banner { width: 100%; height: auto; border-radius: var(--radius); margin: 6px 0 24px; box-shadow: var(--golge); display: block; aspect-ratio: 3 / 1; object-fit: cover; }

/* --- Bilgi kutusu --- */
.kutu {
  background: var(--gri); border-left: 4px solid var(--yesil);
  border-radius: 8px; padding: 16px 20px; margin: 22px 0;
}
.kutu.sari { border-left-color: var(--sari); background: #fffbe6; }
.kutu p:last-child { margin-bottom: 0; }

/* --- Tablo --- */
.tablo-sar { overflow-x: auto; margin: 22px 0; }
table.veri {
  width: 100%; border-collapse: collapse; font-size: 15.5px;
  border: 1px solid var(--gri-cizgi); border-radius: 8px; overflow: hidden;
}
table.veri th { background: var(--yesil); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
table.veri td { padding: 11px 14px; border-top: 1px solid var(--gri-cizgi); color: var(--metin-soft); }
table.veri tr:nth-child(even) td { background: var(--gri); }

/* --- Buton blok (metin içi CTA) --- */
.metin-cta {
  display: block; text-align: center; background: var(--yesil); color: #fff !important;
  font-weight: 800; font-size: 18px; padding: 16px; border-radius: 10px; margin: 26px 0;
  text-decoration: none !important; box-shadow: var(--golge); transition: background .15s, transform .12s;
}
.metin-cta:hover { background: var(--yesil-acik); transform: translateY(-2px); color: #fff !important; }
.metin-cta.sari { background: var(--sari); color: #1d2327 !important; box-shadow: 0 3px 0 var(--sari-koyu); }
.metin-cta.sari:hover { background: #ffdf33; }

/* --- Artı / Eksi (Pros / Cons) kutuları --- */
.arti-eksi { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 26px 0; }
.ae-kart { border-radius: 12px; padding: 18px 20px; border: 1px solid var(--gri-cizgi); background: #fff; }
.ae-kart.arti { border-top: 4px solid var(--yesil); }
.ae-kart.eksi { border-top: 4px solid #c0392b; }
.ae-baslik { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 12px; color: var(--metin); }
.ae-ikon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 15px; flex-shrink: 0; }
.ae-kart.arti .ae-ikon { background: var(--yesil); }
.ae-kart.eksi .ae-ikon { background: #c0392b; }
.ae-kart ul { list-style: none; margin: 0; }
.ae-kart li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15px; color: var(--metin-soft); }
.ae-kart li::before { position: absolute; left: 0; top: 1px; font-weight: 800; }
.ae-kart.arti li::before { content: "✚"; color: var(--yesil); }
.ae-kart.eksi li::before { content: "✕"; color: #c0392b; }

/* --- Bilgi tablosu (hakkında stili) --- */
.bilgi-tablo { width: 100%; border-collapse: collapse; margin: 22px 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--gri-cizgi); }
.bilgi-tablo th { text-align: left; background: var(--gri); color: var(--metin); font-weight: 700; padding: 12px 16px; width: 42%; border-bottom: 1px solid var(--gri-cizgi); }
.bilgi-tablo td { padding: 12px 16px; color: var(--metin-soft); border-bottom: 1px solid var(--gri-cizgi); }
.bilgi-tablo tr:last-child th, .bilgi-tablo tr:last-child td { border-bottom: 0; }

/* --- Adım listesi --- */
.adimlar { counter-reset: adim; list-style: none; margin: 22px 0 !important; }
.adimlar li { counter-increment: adim; position: relative; padding: 4px 0 4px 46px; margin-bottom: 14px; min-height: 34px; }
.adimlar li::before { content: counter(adim); position: absolute; left: 0; top: 0; width: 32px; height: 32px; background: var(--yesil); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }

/* --- Yazar / E-E-A-T kutusu --- */
.yazar-kutu { display: flex; gap: 14px; align-items: center; background: var(--gri); border-radius: 10px; padding: 14px 16px; margin: 26px 0; }
.yazar-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--yesil); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.yazar-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yazar-bilgi { font-size: 14px; color: var(--metin-soft); }
.yazar-bilgi strong { display: block; color: var(--metin); font-size: 15px; }
.yazar-kutu .yazar-ad { display: block; color: var(--metin); font-size: 15px; font-weight: 700; }
.yazar-kutu .yazar-unvan { display: inline-block; font-size: 12.5px; color: var(--yesil); font-weight: 600; margin: 1px 0 4px; }
.yazar-kutu .yazar-ad a { color: var(--metin); text-decoration: none; }
.yazar-kutu .yazar-ad a:hover { color: var(--yesil); text-decoration: underline; }

/* --- Yazar profil sayfası --- */
.yazar-profil { display: flex; gap: 20px; align-items: center; background: var(--gri); border-radius: 14px; padding: 22px; margin: 18px 0 8px; flex-wrap: wrap; }
.yazar-profil .foto { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 3px solid var(--yesil); }
.yazar-profil .foto img { width: 100%; height: 100%; object-fit: cover; }
.yazar-profil .bilgi h1 { margin: 0 0 4px; font-size: 26px; color: #0a5c3b; }
.yazar-profil .unvan { color: var(--yesil); font-weight: 600; font-size: 15px; }
.yazar-profil .sosyal { margin-top: 8px; }
.yazar-profil .sosyal a { display: inline-block; font-size: 13.5px; color: #0a66c2; text-decoration: none; font-weight: 600; }
.yazar-profil .sosyal a:hover { text-decoration: underline; }

/* --- FAQ --- */
.sss { margin: 28px 0; }
.sss details {
  border: 1px solid var(--gri-cizgi); border-radius: 8px; margin-bottom: 12px;
  background: #fff; overflow: hidden;
}
.sss summary {
  cursor: pointer; padding: 15px 18px; font-weight: 700; color: var(--yesil-koyu);
  list-style: none; position: relative; padding-right: 44px; font-size: 16.5px;
}
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--yesil); font-weight: 400;
}
.sss details[open] summary::after { content: "\2212"; }
.sss details[open] summary { background: var(--gri); }
.sss .sss-cevap { padding: 4px 18px 18px; color: var(--metin-soft); }

/* --- Sidebar --- */
.yan-kart { background: #fff; border: 1px solid var(--gri-cizgi); border-radius: var(--radius); margin-bottom: 22px; overflow: hidden; }
.yan-kart-baslik { background: var(--yesil); color: #fff; font-weight: 700; padding: 12px 16px; font-size: 16px; }
.yan-kart-ic { padding: 14px 16px; }
.yan-kart-ic ul { list-style: none; }
.yan-kart-ic li { border-bottom: 1px solid var(--gri-cizgi); }
.yan-kart-ic li:last-child { border-bottom: 0; }
.yan-kart-ic li a { display: block; padding: 9px 0; font-size: 15px; color: var(--metin-soft); font-weight: 500; }
.yan-kart-ic li a:hover { color: var(--yesil); padding-left: 5px; transition: padding .15s; }

.yan-cta { position: sticky; top: 86px; }

/* --- İçindekiler (TOC) --- */
.toc ol { margin-left: 18px; }
.toc li { margin-bottom: 7px; }
.toc a { font-size: 14.5px; color: var(--metin-soft); }

/* --- Footer --- */
.site-footer { background: #11201a; color: #b7c5bd; margin-top: 40px; padding: 38px 0 22px; font-size: 14.5px; }
.footer-ust { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid #25372e; }
.footer-ust h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-ust ul { list-style: none; }
.footer-ust li { margin-bottom: 8px; }
.footer-ust a { color: #b7c5bd; }
.footer-ust a:hover { color: var(--sari); }
.footer-logo img { height: 42px; margin-bottom: 14px; }
.footer-aciklama { line-height: 1.7; }
.sorumlu-oyun { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.yas-rozet { background: #c0392b; color: #fff; font-weight: 800; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.footer-yasal { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.footer-yasal a { color: #cdd8d1; font-size: 13.5px; margin: 0 10px; display: inline-block; padding: 3px 0; text-decoration: none; }
.footer-yasal a:hover { color: #FFD400; text-decoration: underline; }
.footer-alt { padding-top: 16px; text-align: center; font-size: 13px; color: #829a8c; line-height: 1.8; }
.footer-alt a { color: #FFD400; }
@media (max-width: 600px){ .footer-yasal a { margin: 0 6px; font-size: 12.5px; } }

/* --- Breadcrumb --- */
.breadcrumb { font-size: 13.5px; color: var(--metin-soft); padding: 14px 0 0; }
.breadcrumb a { color: var(--yesil); }
.breadcrumb span { color: #aeb6b1; margin: 0 6px; }

/* --- Yardımcı --- */
.metin-merkez { text-align: center; }
.guncel-tarih { font-size: 13.5px; color: #8a938d; margin-bottom: 4px; }

/* --- Responsive --- */
@media (max-width: 920px) {
  .govde { grid-template-columns: 1fr; }
  .yan-cta { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-buton { display: flex; }
  .ana-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--yesil-koyu); padding: 8px; gap: 2px; display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
  }
  .ana-menu.acik { display: flex; }
  .ana-menu a { padding: 12px 14px; }
  .alt-menu {
    position: static; display: block; box-shadow: none; background: transparent;
    padding: 0 0 0 14px; min-width: 0; border-radius: 0;
  }
  .alt-menu a { color: #cdeede !important; font-size: 13.5px; padding: 8px 12px !important; }
  .alt-menu a:hover { background: rgba(255,255,255,.08); color: #fff !important; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 16px; }
  .icerik h2 { font-size: 22px; }
  .footer-ust { grid-template-columns: 1fr; gap: 24px; }
  .arti-eksi { grid-template-columns: 1fr; }
}
