/* ==========================================================================
   Oynatiyo.com - Ana stil dosyasi (Light mode only)
   Marka renkleri: #1f2024 (koyu) / #5ebda9 (yesil) / #ffffff (arka plan)
   ========================================================================== */

:root {
  --dark: #1f2024;
  --brand: #5ebda9;
  --brand-dark: #4aa48f;
  --brand-light: #eaf7f3;
  --bg: #ffffff;
  --text: #1f2024;
  --text-muted: #6b6f76;
  --border: #e7e8ea;
  --card-bg: #ffffff;
  --shadow: 0 2px 10px rgba(31, 32, 36, 0.06);
  --shadow-hover: 0 10px 24px rgba(31, 32, 36, 0.12);
  --radius: 14px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.icon svg { width: 18px; height: 18px; display: block; }

/* ---------- Piyasa ticker'i ---------- */
.market-ticker { background: #16171a; color: #d7dade; font-size: 12.5px; overflow: hidden; }
.market-ticker-inner {
  display: flex; align-items: center; height: 30px;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.market-ticker-inner::-webkit-scrollbar { display: none; }
.ticker-marquee { display: flex; align-items: center; }
.ticker-track { display: flex; align-items: center; gap: 26px; flex-shrink: 0; white-space: nowrap; padding-right: 26px; }
.ticker-track-dup { display: none; }
.ticker-item { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ticker-label { font-weight: 700; color: #9a9ea5; letter-spacing: .3px; }
.ticker-value { font-weight: 700; color: #fff; }
.ticker-trend { font-size: 10px; }
.ticker-trend-up { color: #4ade80; }
.ticker-trend-down { color: #f87171; }
.ticker-trend-flat { color: #9a9ea5; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-contact { display: flex; align-items: center; gap: 18px; }
.topbar-link { display: flex; align-items: center; gap: 6px; color: #d7dade; transition: color .15s; }
.topbar-link:hover { color: var(--brand); }
.topbar-link .icon svg { width: 14px; height: 14px; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { color: #d7dade; transition: color .15s, transform .15s; }
.topbar-social a:hover { color: var(--brand); transform: translateY(-1px); }
.topbar-social .icon svg, .topbar-social svg { width: 16px; height: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 400;
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; max-width: none; flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--dark);
  padding: 6px;
}

/* Kategori satiri (navbarin altindaki ikinci sira) */
.navbar-categories {
  background: #fafbfb;
  border-top: 1px solid var(--border);
}
.navbar-categories-inner { display: flex; align-items: center; gap: 16px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.navbar-auth { flex-shrink: 0; margin-left: auto; padding: 8px 0; }
.navbar-auth-mobile { display: none; }
.main-nav::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--dark);
  transition: background .15s, color .15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.nav-link:hover { background: var(--brand-light); color: var(--brand-dark); }
.nav-close-btn { display: none; }
.nav-home-link { display: none; }

.search-form {
  display: flex;
  align-items: center;
  background: #f4f5f6;
  border-radius: 999px;
  padding: 6px 6px 6px 16px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  margin-left: auto;
}
.search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 180px;
  font-size: 14px;
}
.search-btn {
  background: var(--brand);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-btn .icon svg { width: 15px; height: 15px; }

/* Google ile giris / kullanici menusu */
.google-signin-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--dark);
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px 9px 10px;
  font-weight: 700; font-size: 13.5px; cursor: pointer; flex-shrink: 0; transition: box-shadow .15s, border-color .15s;
}
.google-signin-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); border-color: #d5d7da; }
.google-signin-icon { width: 18px; height: 18px; }
.google-signin-btn:disabled { opacity: .6; cursor: default; }

.user-menu { position: relative; flex-shrink: 0; }
.user-menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer;
}
.user-menu-toggle:hover { border-color: #d5d7da; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.user-avatar-fallback { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 12px; }
.user-name { font-size: 13.5px; font-weight: 700; color: var(--dark); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-hover); min-width: 150px; overflow: hidden; z-index: 200;
}
.user-menu.open .user-menu-dropdown { display: block; }
.user-menu-dropdown a { display: block; padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: var(--dark); }
.user-menu-dropdown a:hover { background: var(--brand-light); color: var(--brand-dark); }

.nav-overlay { display: none; }

/* ---------- Layout / Cards ---------- */
.site-main { min-height: 60vh; padding: 28px 0 50px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 18px;
  font-size: 22px;
  font-weight: 800;
}
.section-title .bar { width: 6px; height: 22px; background: var(--brand); border-radius: 4px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Kategori kutucuklari (anasayfa) */
.grid-cat { grid-template-columns: repeat(8, 1fr); }
.cat-tile {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 10px;
  text-align: center;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--brand); }
.cat-tile-name { font-size: 14.5px; font-weight: 700; color: var(--dark); }

/* Anasayfa: "Reklam Verin" CTA banner */
.ad-cta-banner {
  margin: 40px 0;
  background: linear-gradient(120deg, var(--dark), #2c2d33);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ad-cta-text h2 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.ad-cta-text p { color: #b7bbc2; font-size: 14px; margin: 0; max-width: 520px; line-height: 1.5; }
.btn-sponsor-lg { padding: 14px 24px; font-size: 15px; flex-shrink: 0; }
.btn-sponsor-lg .icon svg { width: 18px; height: 18px; }

/* Anasayfa: "Bizi Takip Edin" renkli sosyal medya butonlari */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 10px;
}
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 12px; color: #fff; font-weight: 700; font-size: 14.5px;
  transition: transform .18s, box-shadow .18s; box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.social-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.16); }
.social-btn-icon { display: inline-flex; }
.social-btn-icon svg { width: 20px; height: 20px; }
.social-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn-tiktok { background: #000000; }
.social-btn-facebook { background: #1877f2; }
.social-btn-x { background: #000000; }
.social-btn-youtube { background: #ff0000; }
.social-btn-whatsapp { background: #25d366; }
.social-btn-whatsapp-channel { background: #128c7e; }
.social-btn-telegram { background: #26a5e4; }
.social-btn-telegram-channel { background: #0088cc; }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-img-wrap { position: relative; aspect-ratio: 16/10; background: #f1f2f3; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-cat { color: var(--brand-dark); font-size: 12.5px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.card-title { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: var(--dark); }
.card-summary { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }

/* Video karti oynat ikonu (kapak/miniatur uzerinde, her baglamda gorunur) */
.card-play-icon {
  position: absolute; inset: 0; margin: auto; width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)); transition: transform .18s;
}
.card-play-icon svg { width: 100%; height: 100%; color: rgba(20,20,22,.62); }
.card:hover .card-play-icon { transform: scale(1.08); }

/* Ana sayfa "Öne Çıkan Videolar": yatay, gradyanli metin paneli olan profesyonel video kartlari */
.video-list { display: flex; flex-direction: column; gap: 14px; }
.video-list .card { flex-direction: row; align-items: stretch; }
.video-list .card-img-wrap { width: 38%; aspect-ratio: 16/9; flex-shrink: 0; }
.video-list .card-body {
  width: 62%; justify-content: center; position: relative;
  background: linear-gradient(135deg, #1b1c20 0%, #2c2e34 65%, var(--brand-dark) 160%);
}
.video-list .card-cat { color: #8fe0c8; }
.video-list .card-title { color: #fff; font-size: 17px; }
.video-list .card-summary { color: #c7c9ce; }
.video-list .card-meta { border-top-color: rgba(255,255,255,.14); color: #9a9ea5; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}
.hero-main { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; background: #eee; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-overlay {
  position: relative; z-index: 2; height: 100%;
  background: linear-gradient(180deg, rgba(31,32,36,0) 30%, rgba(31,32,36,.85) 100%);
  display: flex; align-items: flex-end; padding: 26px;
}
.hero-overlay .card-title { color: #fff; font-size: 26px; margin-bottom: 6px; }
.hero-overlay .card-cat { color: var(--brand); }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hero-side .card { flex-direction: row; height: 100%; }
.hero-side .card-img-wrap { width: 40%; aspect-ratio: auto; }
.hero-side .card-body { width: 60%; justify-content: center; }

/* Post detail */
.post-header { max-width: var(--max-width); margin: 0 auto 18px; }
.post-title { font-size: 34px; font-weight: 800; margin: 12px 0 10px; line-height: 1.28; letter-spacing: -.3px; color: var(--dark); }
.post-meta { color: var(--text-muted); font-size: 13.5px; }
.post-cover { max-width: var(--max-width); margin: 0 auto 24px; border-radius: var(--radius); overflow: hidden; }
.post-video-frame { position: relative; width: 100%; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.post-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Video + baslik/metin yan yana karti (icerik detayinda video solda, kucuk) */
.post-header-video {
  max-width: var(--max-width); margin: 0 auto 20px;
  display: flex; align-items: flex-start; gap: 22px;
}
.post-video-frame-sm { width: 260px; flex-shrink: 0; }
.post-header-video-info { flex: 1; min-width: 0; padding-top: 2px; }
.post-header-video-info .card-cat { margin-bottom: 6px; }
.post-title-sm { font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.2px; }
.post-header-video-info .post-meta { margin-bottom: 10px; }
.post-header-summary { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.post-byline { max-width: var(--max-width); margin: 0 auto 20px; display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.post-byline-avatar {
  width: 38px; height: 38px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.post-byline-info { display: flex; flex-direction: column; line-height: 1.3; }
.post-byline-name { font-size: 14px; font-weight: 700; color: var(--dark); }
.post-byline-role { font-size: 12.5px; color: var(--text-muted); }
.post-content { max-width: var(--max-width); margin: 0 auto; font-size: 17px; line-height: 1.85; color: #2b2c30; }
.post-content p { margin: 0 0 20px; }
.post-content h2 { font-size: 23px; margin: 34px 0 14px; color: var(--dark); font-weight: 800; line-height: 1.35; }
.post-content h3 { font-size: 19px; margin: 28px 0 12px; color: var(--dark); font-weight: 700; line-height: 1.35; }
.post-content ul, .post-content ol { margin: 0 0 20px; padding-left: 22px; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  margin: 24px 0; padding: 14px 20px; border-left: 3px solid var(--brand); background: var(--brand-light);
  border-radius: 0 8px 8px 0; font-style: italic; color: #3a3b40;
}
.post-content img { border-radius: 10px; margin: 24px 0; max-width: 100%; height: auto; }
.post-content a { color: var(--brand-dark); text-decoration: underline; }
.post-content strong { color: var(--dark); }
.post-sponsor-cta {
  max-width: var(--max-width); margin: 36px auto; padding: 20px 24px;
  background: var(--brand-light); border: 1px solid #cdeee4; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-sponsor-cta p { margin: 0; font-weight: 600; color: var(--dark); }
.btn-sponsor {
  background: var(--brand); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s;
}
.btn-sponsor:hover { background: var(--brand-dark); }

.ad-slot {
  max-width: var(--max-width); margin: 22px auto; text-align: center; color: #b4b7bc; font-size: 11px;
  min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fbfbfb; border: 1px solid var(--border); border-radius: 8px; padding: 6px;
}
.ad-slot-label { letter-spacing: .5px; text-transform: uppercase; }
.ad-slot ins.adsbygoogle { width: 100%; }

/* Grid icine yerlestirilen "in-feed" reklam kutusu, kart boyutuyla uyumlu */
.ad-slot-infeed {
  grid-column: span 1; max-width: none; margin: 0; min-height: 100%;
  border-radius: var(--radius); border: 1px dashed var(--brand);
  background: var(--brand-light);
}

/* Icerik etkilesim cubugu: begen + paylas */
.post-engagement {
  max-width: var(--max-width); margin: 0 auto 40px; padding: 16px 20px;
  border: 1px solid var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.post-like-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #f4f5f6; border: none;
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--dark);
  cursor: pointer; transition: background .15s, color .15s;
}
.post-like-btn .icon svg { width: 18px; height: 18px; color: #b9bcc2; transition: color .15s; }
.post-like-btn:hover { background: #ffe4e6; }
.post-like-btn.is-liked, .post-like-btn:hover .icon svg { color: #e0455c; }
.post-like-btn.is-liked .icon svg { color: #e0455c; }
.post-like-btn .like-count { color: var(--text-muted); font-weight: 700; }

.share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-bar-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-right: 4px; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; border: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.share-btn svg { width: 17px; height: 17px; }
.share-btn-whatsapp { background: #25d366; }
.share-btn-facebook { background: #1877f2; }
.share-btn-x { background: #000; }
.share-btn-telegram { background: #26a5e4; }
.share-btn-copy {
  background: #f4f5f6; color: var(--dark); border: 1px solid var(--border);
  width: auto; height: 38px; border-radius: 999px; padding: 0 16px; gap: 7px; font-size: 13px; font-weight: 700;
}
.share-btn-copy:hover { background: #eceeef; }
.share-btn-copy svg { color: var(--text-muted); }

/* Yorumlar */
.comments-section { max-width: var(--max-width); margin: 0 auto 40px; }
.comments-count { color: var(--text-muted); font-weight: 600; font-size: 16px; }
.comment-notice { background: var(--brand-light); color: var(--brand-dark); padding: 12px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; }
.comment-sort-tabs { display: flex; gap: 6px; margin-bottom: 18px; }
.comment-sort-tabs a { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); border: 1px solid var(--border); }
.comment-sort-tabs a.active { background: var(--dark); color: #fff; border-color: var(--dark); }

.comment-form { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 26px; }
.comment-form .comment-name-input { margin-bottom: 10px; }
.comment-form input[type=text], .comment-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: inherit; resize: vertical;
}
.comment-form textarea { margin-bottom: 12px; }
.comment-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.comment-submit-btn {
  border: none; cursor: pointer; background: var(--brand); color: #fff; font-weight: 700;
  font-size: 14px; padding: 11px 20px; border-radius: 999px; transition: background .15s;
}
.comment-submit-btn:hover { background: var(--brand-dark); }
.comments-empty { color: var(--text-muted); font-size: 14.5px; text-align: center; padding: 20px 0; }
.comments-load-more { text-align: center; margin-top: 20px; }
.comment-load-more-btn {
  display: inline-block; border: 1px solid var(--border); color: var(--dark); font-weight: 700;
  font-size: 14px; padding: 10px 22px; border-radius: 999px; transition: background .15s, border-color .15s;
}
.comment-load-more-btn:hover { background: var(--brand-light); border-color: var(--brand); }

.comments-list { display: flex; flex-direction: column; gap: 22px; }
.comment { display: flex; gap: 12px; }
.comment-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.comment-avatar-sm { width: 34px; height: 34px; font-size: 12px; }
.comment-avatar-photo { object-fit: cover; }
.comment-as {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-muted);
  background: var(--brand-light); padding: 10px 14px; border-radius: 8px; margin-bottom: 12px;
}
.comment-as img, .comment-as span { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-as span { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 11px; }
.comment-as b { color: var(--dark); }

.comment-login-prompt {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 26px; text-align: center;
}
.comment-login-prompt p { margin: 0 0 12px; font-size: 14px; color: var(--text-muted); }
.comment-reply-form .comment-login-prompt { padding: 12px; margin-bottom: 0; }
.comment-reply-form .comment-login-prompt p { margin-bottom: 8px; font-size: 13px; }
.comment-body { flex: 1; min-width: 0; }
.comment-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.comment-author { font-size: 14.5px; color: var(--dark); }
.comment-date { font-size: 12.5px; color: var(--text-muted); }
.comment-text { font-size: 14.5px; line-height: 1.6; color: #2b2c30; margin: 0 0 8px; word-wrap: break-word; }
.comment-actions { display: flex; gap: 16px; }
.comment-like-btn, .comment-reply-btn {
  display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--text-muted); padding: 0;
}
.comment-like-btn .icon svg { width: 15px; height: 15px; color: #c3c6cc; }
.comment-like-btn.is-liked .icon svg, .comment-like-btn:hover .icon svg { color: #e0455c; }
.comment-reply-btn:hover { color: var(--brand-dark); }
.comment-reply-form { display: none; margin-top: 12px; }
.comment-reply-form.open { display: block; }
.comment-reply-form input[type=text], .comment-reply-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 13.5px; font-family: inherit; margin-bottom: 8px; resize: vertical;
}
.comment-replies { margin-top: 16px; padding-left: 20px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 16px; }

/* Breadcrumb */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--brand-dark); font-weight: 600; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pagination a, .pagination span {
  padding: 9px 15px; border-radius: 8px; border: 1px solid var(--border); font-weight: 600; font-size: 14px;
}
.pagination a:hover { background: var(--brand-light); }
.pagination .active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #d7dade; padding-top: 44px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 30px; }
.footer-logo { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13.5px; line-height: 1.6; color: #a7abb1; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: #2c2d32;
  display: flex; align-items: center; justify-content: center; color: #d7dade;
  transition: background .15s, color .15s;
}
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13.5px; color: #a7abb1; transition: color .15s; }
.footer-col ul a:hover { color: var(--brand); }
.footer-contact li a { display: flex; align-items: center; gap: 8px; }
.footer-contact .icon svg { width: 15px; height: 15px; color: var(--brand); }
.footer-bottom { border-top: 1px solid #33343a; margin-top: 10px; }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 16px 0; font-size: 12.5px; color: #8b8f96; flex-wrap: wrap; gap: 6px; }

/* ---------- Hesabim sayfasi ---------- */
.account-header { display: flex; align-items: center; gap: 18px; margin: 10px 0 24px; }
.account-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.account-avatar-fallback { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 24px; }
.account-name { font-size: 24px; font-weight: 800; margin: 0 0 4px; }
.account-email, .account-joined { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.account-stats { display: flex; gap: 14px; margin-bottom: 30px; }
.account-stat {
  flex: 1; background: var(--brand-light); border-radius: 12px; padding: 16px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.account-stat-num { font-size: 24px; font-weight: 800; color: var(--brand-dark); }
.account-stat span:last-child { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.account-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.account-list-item {
  display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px; transition: border-color .15s, background .15s;
}
.account-list-item:hover { border-color: var(--brand); background: var(--brand-light); }
.account-list-text { margin: 0 0 6px; font-size: 14.5px; color: #2b2c30; line-height: 1.5; }
.account-list-meta { font-size: 12.5px; color: var(--text-muted); }
.account-danger-zone { margin: 44px 0 20px; padding: 22px; border: 1px solid #f3caca; background: #fff8f8; border-radius: var(--radius); }
.account-danger-zone p { font-size: 13.5px; color: #6b6f76; line-height: 1.6; max-width: 640px; }
.account-delete-btn {
  background: #fff; color: #c0392b; border: 1px solid #e05353; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s;
}
.account-delete-btn:hover { background: #e05353; color: #fff; }

/* ---------- Cerez izni banner'i ---------- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--dark); color: #d7dade; box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.consent-banner[hidden] { display: none; }
.consent-banner-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.consent-text { flex: 1; min-width: 260px; }
.consent-text strong { color: #fff; font-size: 14.5px; }
.consent-text p { margin: 4px 0 0; font-size: 13px; line-height: 1.6; color: #aeb2b8; }
.consent-text a { color: var(--brand); text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn { border: none; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.consent-btn-ghost { background: #33343a; color: #d7dade; }
.consent-btn-ghost:hover { background: #3d3e45; }
.consent-btn-accept { background: var(--brand); color: #fff; }
.consent-btn-accept:hover { background: var(--brand-dark); }
.consent-settings { max-width: 1200px; margin: 0 auto; padding: 0 24px 18px; }
.consent-settings[hidden] { display: none; }
.consent-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #34353a; font-size: 12.5px; color: #aeb2b8; }
.consent-toggle-row strong { color: #fff; font-size: 13px; }
.consent-toggle-row input { width: 18px; height: 18px; }
#consentSaveBtn { margin-top: 10px; }

/* ---------- Bildirim izni istemi ---------- */
.notify-prompt {
  position: fixed; right: 20px; bottom: 20px; z-index: 900; max-width: 320px;
  background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,.2); padding: 22px 20px 20px;
}
.notify-prompt[hidden] { display: none; }
.notify-prompt-close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #9a9ea5; font-size: 14px; cursor: pointer; }
.notify-prompt-icon { font-size: 30px; margin-bottom: 8px; }
.notify-prompt-text { font-size: 13.5px; line-height: 1.55; color: #2b2c30; margin: 0 0 16px; }
.notify-prompt-actions { display: flex; gap: 8px; }
.notify-prompt-actions .consent-btn { flex: 1; }
.notify-prompt-actions .consent-btn-ghost { background: #f4f5f6; color: var(--dark); }
.notify-prompt-actions .consent-btn-ghost:hover { background: #eceeef; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-cat { grid-template-columns: repeat(4, 1fr); }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-text { display: none; }
  .topbar-link-hide-mobile { display: none; }
  .nav-toggle { display: flex; }
  .search-input { width: 110px; }
  .navbar-auth-desktop { display: none; }
  .navbar-auth-mobile {
    display: block; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border);
  }
  .navbar-auth-mobile .google-signin-btn { width: 100%; justify-content: center; padding: 11px 16px; }
  .mobile-account { display: flex; flex-direction: column; gap: 2px; }
  .mobile-account-id { display: flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 4px; }
  .mobile-account-id .user-name { font-size: 14.5px; font-weight: 700; color: var(--dark); max-width: none; }
  .navbar-categories { border-top: none; }
  .main-nav {
    position: fixed; top: 0; left: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: stretch; padding: 20px;
    overflow-x: visible; min-width: 0;
    transition: left .25s ease; z-index: 300; box-shadow: 8px 0 24px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .main-nav.open { left: 0; }
  .nav-home-link { display: inline-flex; }
  .nav-close-btn { display: flex; justify-content: flex-end; padding: 6px; margin-bottom: 10px; color: var(--dark); }
  .nav-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 250;
  }
  .nav-overlay.open { display: block; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid-cat { grid-template-columns: repeat(3, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .ad-cta-banner { flex-direction: column; text-align: center; padding: 26px 22px; }
  .ad-cta-text p { max-width: none; }
  .hero-side .card { flex-direction: column; }
  .hero-side .card-img-wrap { width: 100%; aspect-ratio: 16/10; }
  .hero-side .card-body { width: 100%; }
  .video-list .card { flex-direction: column; }
  .video-list .card-img-wrap { width: 100%; aspect-ratio: 16/9; }
  .video-list .card-body { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .post-title { font-size: 24px; }
  .post-content { font-size: 16px; }
  .account-stats { flex-wrap: wrap; }
  .account-stat { min-width: 45%; }
  .post-header-video { flex-direction: column; }
  .post-video-frame-sm { width: 100%; max-width: 380px; margin: 0 auto; }
  .post-title-sm { font-size: 20px; }
  .market-ticker-inner { overflow: hidden; }
  .ticker-track-dup { display: flex; }
  .ticker-marquee { animation: ticker-scroll 22s linear infinite; width: max-content; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .grid-cat { grid-template-columns: repeat(2, 1fr); }
  .brand-logo { height: 36px; }
  .consent-actions { width: 100%; }
  .consent-actions .consent-btn { flex: 1; }
  .notify-prompt { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
