/* ============================================================
   Bahis İfşa — PREMIUM SKIN v7.0
   main.css üzerine binen tasarım katmanı (override layer).
   Şablon (EJS) dosyalarına dokunmadan tüm siteyi yeniler.
   ============================================================ */

/* ── 1. Tokens ─────────────────────────────────────────────── */
:root {
  /* Marka */
  --primary:    #E11D48;
  --primary-h:  #A5122F;
  --primary-l:  #FB4A66;
  --primary-xl: #FFF1F3;
  --accent:     #1E4EDB;
  --accent-l:   #4C7DF0;
  --gold:       #C08B2E;
  --gold-soft:  #FBF3E2;

  /* Nötrler — sıcak, editoryal */
  --ink:    #0A0F1C;
  --text:   #14192A;
  --text2:  #4B5566;
  --muted:  #8B94A6;

  --bg:   #F4F5F8;
  --bg2:  #FFFFFF;
  --bg3:  #FAFAFC;
  --bg4:  #F1F2F6;
  --bg5:  #E8EAF0;

  --border:   #E6E8EF;
  --border-h: #D3D7E2;

  /* Katmanlı, yumuşak gölgeler */
  --shadow-xs: 0 1px 2px rgba(10,15,28,.04);
  --shadow:    0 1px 2px rgba(10,15,28,.05), 0 4px 12px rgba(10,15,28,.045);
  --shadow-lg: 0 2px 4px rgba(10,15,28,.04), 0 12px 32px rgba(10,15,28,.09);
  --shadow-xl: 0 4px 8px rgba(10,15,28,.05), 0 24px 64px rgba(10,15,28,.13);
  --ring:      0 0 0 4px rgba(225,29,72,.14);

  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-2xl:26px;
  --tr:   .2s cubic-bezier(.2,.7,.3,1);

  --container: 1220px;
  --sidebar-w: 320px;
}

html { scroll-padding-top: 90px; }

body {
  background:
    radial-gradient(900px 480px at 8% -10%, rgba(225,29,72,.055), transparent 60%),
    radial-gradient(760px 420px at 96% 4%, rgba(30,78,219,.05), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  letter-spacing: -.005em;
  font-feature-settings: "cv05" 1, "ss01" 1;
}

/* İnce dokulu grain — dijital düzlüğü kırar */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .3; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

::selection { background: rgba(225,29,72,.16); color: var(--primary-h); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ── 2. Tipografi ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 { letter-spacing: -.025em; }
.container { max-width: var(--container); padding: 0 28px; }
.section { padding: 56px 0; }

/* ── 3. Header ─────────────────────────────────────────────── */
.site-header {
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(230,232,239,.9);
}
.site-header::after {
  height: 1px; opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(225,29,72,.5) 25%, rgba(192,139,46,.45) 50%, rgba(30,78,219,.4) 75%, transparent);
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 1px 0 rgba(10,15,28,.05), 0 8px 28px rgba(10,15,28,.07);
}
.navbar { height: 74px; gap: 16px; }

.brand { gap: 11px; font-family: var(--font); letter-spacing: -.03em; }
.brand-icon {
  width: 38px; height: 38px; border-radius: 11px; padding: 5px;
  background: linear-gradient(150deg, #FFF1F3, #FFE1E7);
  border: 1px solid rgba(225,29,72,.16);
  box-shadow: 0 4px 14px rgba(225,29,72,.16), inset 0 1px 0 #fff;
  filter: none;
}
.brand-line { font-size: 1.06rem; font-weight: 800; color: var(--text); }
.brand-text small { color: var(--muted); font-size: .56rem; letter-spacing: .16em; }

.nav-menu { gap: 2px; }
.nav-item {
  color: var(--text2); font-weight: 600; font-size: .855rem;
  border-radius: 9px; padding: 8px 12px;
}
.nav-item:hover { color: var(--text); background: rgba(10,15,28,.04); }
.nav-item.active { color: var(--primary-h); background: var(--primary-xl); }
.nav-item.active::after {
  bottom: 3px; width: 16px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-l));
  border-radius: 2px;
}

.nav-search-btn, .hamburger {
  border-radius: 10px; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  color: var(--text2);
}
.nav-search-btn:hover, .hamburger:hover { border-color: var(--border-h); box-shadow: var(--shadow); transform: translateY(-1px); }
.nav-search-btn { width: 38px; height: 38px; }

.user-trigger { background: #fff; border-radius: 10px; box-shadow: var(--shadow-xs); padding: 6px 12px 6px 7px; }
.user-trigger:hover { box-shadow: var(--shadow); }
.user-avatar { width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(150deg, var(--primary-l), var(--primary-h)); box-shadow: 0 3px 10px rgba(225,29,72,.28); }
.user-dropdown { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); border-color: var(--border); padding: 7px; }
.user-dropdown a { border-radius: 9px; font-weight: 600; }
.user-dropdown a:hover { background: var(--bg4); }

/* ── 4. Butonlar ───────────────────────────────────────────── */
.btn {
  border-radius: 11px; font-weight: 650; letter-spacing: -.01em;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr), border-color var(--tr), color var(--tr);
}
.btn-primary {
  background: linear-gradient(180deg, #F2325B 0%, var(--primary) 45%, #C7143A 100%);
  border-color: rgba(150,10,45,.35);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 6px 18px rgba(225,29,72,.28);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #F5476C 0%, #DA1B44 45%, #A5122F 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 26px rgba(225,29,72,.34);
  transform: translateY(-2px);
}
.btn-outline {
  background: #fff; color: var(--text); border-color: var(--border-h);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { background: #fff; border-color: var(--primary); color: var(--primary-h); box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-lg { padding: 14px 30px; font-size: .95rem; border-radius: 13px; }
.nav-cta { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 4px 14px rgba(225,29,72,.26); }

/* ── 5. Quote bar ──────────────────────────────────────────── */
.quote-bar {
  background: linear-gradient(90deg, var(--ink), #16203A 55%, var(--ink));
  border-bottom: none; padding: 11px 0;
}
.quote-line { color: rgba(255,255,255,.82); font-size: .81rem; font-weight: 500; }
.quote-line::before { content: '❝ '; color: var(--gold); }

/* ── 6. Hero ───────────────────────────────────────────────── */
.hero { padding: 92px 0 80px; }
.hero::before {
  background:
    radial-gradient(ellipse 55% 60% at 50% -10%, rgba(225,29,72,.13), transparent 70%),
    radial-gradient(ellipse 40% 45% at 88% 15%, rgba(30,78,219,.09), transparent 70%),
    linear-gradient(rgba(10,15,28,.045) 1px, transparent 1px) 0 0/100% 34px,
    linear-gradient(90deg, rgba(10,15,28,.045) 1px, transparent 1px) 0 0/34px 100%;
  mask-image: radial-gradient(ellipse 75% 85% at 50% 30%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 30%, #000 35%, transparent 78%);
}
.hero-inner { max-width: 830px; }
.hero-eyebrow {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(225,29,72,.16);
  box-shadow: 0 6px 22px rgba(10,15,28,.07), inset 0 1px 0 #fff;
  color: var(--text2); font-weight: 600; font-size: .78rem;
  padding: 8px 18px; margin-bottom: 28px;
}
.he-main { color: var(--primary-h); font-weight: 800; letter-spacing: .01em; }
.he-sub { color: var(--muted); font-weight: 500; }

.hero-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.045em;
  margin-bottom: 22px; color: var(--text);
}
.hero-gradient {
  background: linear-gradient(100deg, #FB4A66 0%, #E11D48 42%, #9F1239 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-bottom: .06em;
}
.hero-desc { font-size: clamp(1rem, 1.6vw, 1.14rem); color: var(--text2); max-width: 600px; margin-bottom: 40px; }
.hero-cta { gap: 14px; margin-bottom: 56px; }

.hero-stats {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-xl), inset 0 1px 0 #fff;
  border-radius: var(--r-2xl);
  padding: 26px 34px; max-width: 620px;
}
.hero-stat-num {
  font-family: var(--mono); font-size: 2.05rem; font-weight: 700;
  color: var(--text); letter-spacing: -.04em;
}
.hero-stat:nth-child(1) .hero-stat-num { color: var(--primary); }
.hero-stat-label { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .12em; }
.hero-stat-sep { background: linear-gradient(180deg, transparent, var(--border), transparent); }

/* ── 7. Farkındalık / aşamalar ─────────────────────────────── */
.addiction-section {
  background: #fff;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 84px 0;
}
.addiction-tag {
  background: var(--gold-soft); border: 1px solid rgba(192,139,46,.24);
  color: #8A6318; font-weight: 700; letter-spacing: .04em;
  padding: 6px 16px; text-transform: uppercase; font-size: .7rem;
}
.addiction-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; }
.addiction-desc { font-size: .98rem; max-width: 580px; color: var(--text2); }
.stages-grid { gap: 18px; }
.stage-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--r-xl); padding: 26px 24px 28px;
  box-shadow: var(--shadow-xs);
}
.stage-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--primary), rgba(225,29,72,.15));
  opacity: .85;
}
.stage-card:nth-child(1)::after { background: linear-gradient(180deg, #2563EB, rgba(37,99,235,.12)); }
.stage-card:nth-child(2)::after { background: linear-gradient(180deg, #D97706, rgba(217,119,6,.12)); }
.stage-card:nth-child(3)::after { background: linear-gradient(180deg, #EA580C, rgba(234,88,12,.12)); }
.stage-card:nth-child(4)::after { background: linear-gradient(180deg, #DC2626, rgba(220,38,38,.12)); }
.stage-card:nth-child(5)::after { background: linear-gradient(180deg, #7C3AED, rgba(124,58,237,.12)); }
.stage-card:nth-child(6)::after { background: linear-gradient(180deg, #16A34A, rgba(22,163,74,.12)); }
.stage-card::before { font-size: 2.6rem; opacity: .08; right: 18px; top: 18px; }
.stage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-h) !important; }
.stage-num { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; }
.stage-title { font-size: 1.02rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -.02em; }
.stage-desc { font-size: .855rem; color: var(--text2); line-height: 1.72; }

/* Test CTA — koyu premium panel */
.test-cta-box {
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(225,29,72,.28), transparent 65%),
    radial-gradient(600px 300px at 90% 100%, rgba(30,78,219,.22), transparent 65%),
    linear-gradient(160deg, #101728, var(--ink));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: var(--shadow-xl);
  padding: 58px 44px;
}
.test-cta-box::before {
  width: 320px; height: 320px; top: -110px; right: -90px;
  background: radial-gradient(circle, rgba(255,255,255,.09), transparent 70%);
}
.test-cta-icon { font-size: 2.6rem; margin-bottom: 18px; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.test-cta-title { color: #fff; font-size: 1.75rem; font-weight: 800; letter-spacing: -.035em; }
.test-cta-desc { color: rgba(255,255,255,.72); font-size: .96rem; max-width: 520px; }
.test-cta-box .btn-outline {
  background: rgba(255,255,255,.07); color: #fff;
  border-color: rgba(255,255,255,.22); box-shadow: none;
}
.test-cta-box .btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.test-cta-help {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); margin-top: 26px; border-radius: 14px; padding: 13px 22px;
}
.test-cta-help .help-q { color: rgba(255,255,255,.6); }
.test-cta-help a { color: #FFD9E0; }

/* ── 8. Quick cards ────────────────────────────────────────── */
.quick-cards { gap: 20px; }
.quick-card {
  background: #fff; border-color: var(--border);
  border-radius: var(--r-xl); padding: 32px;
  box-shadow: var(--shadow-xs);
}
.quick-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 180px at 100% 0%, rgba(225,29,72,.07), transparent 70%);
  opacity: 0; transition: opacity var(--tr);
}
.quick-card-purple::after { background: radial-gradient(420px 180px at 100% 0%, rgba(30,78,219,.07), transparent 70%); }
.quick-card:hover::after { opacity: 1; }
.quick-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quick-card-icon {
  width: 54px; height: 54px; border-radius: 15px; font-size: 1.55rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-xl); border: 1px solid rgba(225,29,72,.14);
  margin-bottom: 18px;
}
.quick-card-purple .quick-card-icon { background: #EEF3FE; border-color: rgba(30,78,219,.14); }
.quick-card-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; }
.quick-card-desc { font-size: .91rem; color: var(--text2); }

/* ── 9. Bölüm başlıkları ───────────────────────────────────── */
.section-head { margin-bottom: 24px; }
.section-title {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.035em;
  position: relative; padding-left: 14px;
}
.section-title::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-l));
}

/* ── 10. İçerik kartları ───────────────────────────────────── */
.card, .sidebar-card, .related-card, .filter-bar, .auth-card, .ua-card {
  border-radius: var(--r-lg);
}
.card { box-shadow: var(--shadow-xs); border-radius: var(--r-xl); padding: 26px; }

.story-card {
  padding: 20px; border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs); margin-bottom: 14px;
  gap: 18px; overflow: hidden;
}
.story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(225,29,72,.35);
  box-shadow: var(--shadow-lg);
}
.story-title { font-size: 1.03rem; font-weight: 750; letter-spacing: -.02em; margin-bottom: 8px; }
.story-excerpt { font-size: .87rem; color: var(--text2); }
.story-meta { font-size: .77rem; padding-top: 10px; border-top: 1px solid var(--border); margin-top: 12px; }
.story-cover {
  width: 132px; height: 104px; border-radius: 12px;
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.story-card:hover .story-cover { transform: scale(1.05); }
.story-card a[style*="flex-shrink"] { overflow: hidden; border-radius: 12px; display: block; }

/* ── 11. Badge / etiket ────────────────────────────────────── */
.badge { padding: 4px 11px; font-size: .705rem; font-weight: 700; letter-spacing: .01em; border-radius: 8px; }
.badge-primary { background: var(--primary-xl); color: var(--primary-h); border-color: rgba(225,29,72,.18); }
.badge-danger  { background: #FFF1F2; color: #B4132F; border-color: rgba(225,29,72,.2); }
.badge-success { background: #ECFAF1; color: #0F7A44; border-color: rgba(22,163,74,.2); }
.badge-warning { background: var(--gold-soft); color: #8A6318; border-color: rgba(192,139,46,.22); }
.badge-info    { background: #EEF3FE; color: #1A3FAE; border-color: rgba(30,78,219,.18); }
.badge-muted   { background: var(--bg4); color: var(--text2); border-color: var(--border); }
.tag-pill { background: #fff; box-shadow: var(--shadow-xs); color: var(--text2); font-weight: 600; }

/* ── 12. Sidebar ───────────────────────────────────────────── */
.main-grid { gap: 36px; }
.main-grid aside { position: sticky; top: 96px; }
.sidebar-card { padding: 20px; box-shadow: var(--shadow-xs); margin-bottom: 18px; }
.sidebar-card:hover { box-shadow: var(--shadow); }
.sidebar-card-title {
  font-size: .74rem; letter-spacing: .1em; color: var(--text);
  border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 14px;
  position: relative;
}
.sidebar-card-title::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-l)); border-radius: 2px;
}
.trending-item { padding: 11px 0; gap: 12px; }
.trending-num {
  width: 22px; height: 22px; border-radius: 7px; min-width: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg4); color: var(--text2); font-size: .68rem; padding: 0;
}
.trending-item:nth-child(2) .trending-num { background: var(--primary); color: #fff; }
.trending-item:nth-child(3) .trending-num { background: rgba(225,29,72,.16); color: var(--primary-h); }
.trending-item a { color: var(--text); }
.trending-item a:hover { color: var(--primary); }
.site-row { padding: 9px 0; }

/* ── 13. Form ──────────────────────────────────────────────── */
.form-control {
  background: #fff; border-color: var(--border-h);
  border-radius: 11px; padding: 12px 15px; font-size: .92rem;
  box-shadow: var(--shadow-xs);
}
.form-control:focus { border-color: var(--primary); box-shadow: var(--ring); }
.form-label { font-size: .8rem; letter-spacing: .01em; color: var(--text); font-weight: 700; }
.filter-bar { background: #fff; box-shadow: var(--shadow-xs); padding: 14px 18px; }
.filter-btn { background: #fff; box-shadow: var(--shadow-xs); border-radius: 9px; font-weight: 600; }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(225,29,72,.26); }
.page-btn { background: #fff; border-radius: 10px; box-shadow: var(--shadow-xs); color: var(--text2); }
.page-btn.active { box-shadow: 0 4px 14px rgba(225,29,72,.28); }

/* ── 14. Arama / modal ─────────────────────────────────────── */
.search-overlay { background: rgba(10,15,28,.55); backdrop-filter: blur(10px); }
.search-modal { background: #fff; border-color: rgba(255,255,255,.6); box-shadow: var(--shadow-xl); border-radius: var(--r-xl); }
.search-result-item { border-radius: 10px; }

/* ── 15. Yorum / paylaşım ──────────────────────────────────── */
.comment-avatar { border-radius: 11px; }
.share-circle { border-radius: 11px; box-shadow: var(--shadow-xs); }

/* ── 16. Footer — koyu premium ─────────────────────────────── */
.site-footer { background: var(--ink); border-top: none; margin-top: 72px; color: rgba(255,255,255,.7); }
.site-footer::before { height: 2px; background: linear-gradient(90deg, var(--primary), var(--gold) 50%, var(--accent)); }
.ft-band { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); padding: 15px 0; }
.ft-band-row { color: rgba(255,255,255,.72); }
.ft-band-row strong { color: #FFC9D3; }
.ft-band-btn {
  background: linear-gradient(180deg, #F2325B, #C7143A); color: #fff;
  border-color: rgba(255,255,255,.16); border-radius: 11px; padding: 9px 20px;
  box-shadow: 0 6px 18px rgba(225,29,72,.32);
}
.ft-band-btn:hover { background: linear-gradient(180deg, #F5476C, #A5122F); transform: translateY(-1px); }
.ft-body { padding: 60px 0 0; }
.ft-grid { gap: 52px; margin-bottom: 48px; }
.ft-logo { color: #fff; font-weight: 800; letter-spacing: -.03em; }
.ft-logo strong, .ft-logo-text strong { color: var(--primary-l); }
.ft-brand p { color: rgba(255,255,255,.55); }
.ft-test-link { color: var(--gold); }
.ft-col h5 { color: rgba(255,255,255,.95); border-bottom-color: rgba(255,255,255,.1); letter-spacing: .12em; }
.ft-col a, .ft-col .ft-text { color: rgba(255,255,255,.58); }
.ft-col a:hover { color: #fff; }
.ft-col a::before { color: var(--primary-l); }
.ft-bottom { border-top-color: rgba(255,255,255,.09); color: rgba(255,255,255,.42); padding: 26px 0; }

/* ── 17. Yardımcılar / mikro etkileşim ─────────────────────── */
#loader { background: var(--bg); }
.loader-spinner { border-color: var(--bg5); border-top-color: var(--primary); }
#scrollTop {
  width: 46px; height: 46px; border-radius: 14px; background: #fff;
  border-color: var(--border); box-shadow: var(--shadow-lg);
}
.flash-message, .toast { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-xl); }
.ua-notice { border-radius: var(--r-lg); }
.ua-iban { font-family: var(--mono); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg4); }
::-webkit-scrollbar-thumb { background: #C4C9D6; border: 3px solid var(--bg4); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── 18. Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .main-grid aside { position: static; }
  .navbar { height: 66px; }
  .nav-menu { background: rgba(255,255,255,.98); backdrop-filter: blur(16px); padding: 10px 18px 18px; box-shadow: var(--shadow-xl); }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.9rem); }
  .hero-stats { padding: 20px 16px; }
  .hero-stat-num { font-size: 1.6rem; }
  .section, .addiction-section { padding: 48px 0; }
  .test-cta-box { padding: 36px 22px; }
  .test-cta-title { font-size: 1.4rem; }
  .quick-card { padding: 24px; }
  .story-cover { width: 104px; height: 92px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 36px; }
  .hero-cta { margin-bottom: 34px; }
  .story-card { padding: 16px; gap: 14px; }
  .story-cover { width: 92px; height: 84px; }
  .section-title { font-size: 1.1rem; }
  .addiction-title { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover, .story-card:hover, .stage-card:hover, .quick-card:hover { transform: none; }
}

/* ============================================================
   PREMIUM v7.2 — TAMAMLAYICI KATMAN
   Skip link, print, PWA geri dönüş, scroll-to-top
   ============================================================ */

/* Skip-to-content erisilebilirlik */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 9999;
  padding: 10px 18px; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem;
  transition: top .15s ease; text-decoration: none;
}
.skip-link:focus { top: 16px; outline: 2px solid #fff; outline-offset: 2px; }

/* --------------------------------------------------
   "Yukarı Çık" düğmesi (premium uyum)
-------------------------------------------------- */
#scrollTop {
  position: fixed; bottom: 88px; right: 22px; z-index: 999;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(145deg, rgba(30,40,65,.92), rgba(20,28,50,.95));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  color: rgba(255,255,255,.75); font-size: .9rem;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; backdrop-filter: blur(12px);
  transition: transform .25s cubic-bezier(.22,1,.36,1), opacity .25s ease, box-shadow .25s ease;
}
#scrollTop:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow: 0 14px 32px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
  color: #fff;
}
#scrollTop.visible { display: flex; }

/* --------------------------------------------------
   Baskı stilleri
-------------------------------------------------- */
@media print {
  .site-header, .site-footer, #scrollTop,
  .skip-link, .share-bar, .article-actions, .nav-actions,
  .vote-btn, .flash-message, #searchOverlay, .impact-band,
  .ad-slot, #loader, .related-section { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .article-body { max-width: 100% !important; font-size: 11pt; line-height: 1.6; }
  .article-title { font-size: 20pt; color: #000 !important; }
  .article-head { text-align: left; }
  .article-evidence img { max-height: 300px; page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
  .legal-content { page-break-inside: auto; }
  .badge { border: 1px solid #ccc !important; background: none !important; color: #333 !important; }
}

/* --------------------------------------------------
   Arama sayfası sonuç kartı iyileştirmesi
-------------------------------------------------- */
.search-result-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 20px 22px;
  box-shadow: var(--shadow-xs); margin-bottom: 14px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.search-result-card:hover {
  box-shadow: var(--shadow); transform: translateY(-2px);
}
.search-result-type {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.search-result-title {
  font-size: 1.04rem; font-weight: 800; color: var(--ink, #0A0F1C);
  margin-bottom: 6px; letter-spacing: -.025em;
}
.search-result-title a { color: inherit; text-decoration: none; }
.search-result-title a:hover { color: var(--primary); }
.search-result-snippet { font-size: .88rem; color: var(--text2); line-height: 1.65; }
.search-result-snippet mark {
  background: rgba(251,74,102,.14); color: var(--primary);
  border-radius: 3px; padding: 0 2px; font-weight: 600;
}
.search-result-meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 10px; font-size: .77rem; color: var(--muted);
}

/* --------------------------------------------------
   Profil sayfası iyileştirmesi
-------------------------------------------------- */
.profile-hero {
  padding: 44px 0 36px; margin-bottom: 28px;
  background: linear-gradient(160deg, #121A2E 0%, #0A0F1C 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.profile-avatar-lg {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 900; color: #fff;
  background: linear-gradient(150deg, #FB4A66, #B3123A);
  box-shadow: 0 12px 36px rgba(225,29,72,.35), 0 0 0 4px rgba(251,74,102,.2);
  margin: 0 auto 14px; flex-shrink: 0;
}
.profile-display-name {
  font-size: 1.5rem; font-weight: 900; color: #fff; text-align: center;
  letter-spacing: -.04em;
}
.profile-joined {
  font-size: .8rem; color: rgba(255,255,255,.5); text-align: center; margin-top: 5px;
}
.profile-stats-bar {
  display: flex; justify-content: center; gap: 0;
  margin-top: 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  overflow: hidden; background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px); max-width: 420px; margin-inline: auto;
}
.profile-stat {
  flex: 1; padding: 12px 8px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.profile-stat:last-child { border-right: none; }
.profile-stat-num { font-size: 1.3rem; font-weight: 900; color: #fff; line-height: 1; }
.profile-stat-label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 4px; }
.profile-tabs {
  display: flex; gap: 0; margin-bottom: 22px;
  border-bottom: 1px solid var(--border); overflow-x: auto;
}
.profile-tab {
  padding: 10px 18px; font-size: .88rem; font-weight: 700;
  color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s; white-space: nowrap;
}
.profile-tab.active, .profile-tab:hover { color: var(--primary); border-color: var(--primary); }

/* --------------------------------------------------
   Form düzenleyici (Tiptap / zengin metin) alanı border iyileştirmesi
-------------------------------------------------- */
.ql-toolbar, .ProseMirror, [contenteditable] {
  border-radius: 12px !important;
  font-family: inherit !important;
}

/* --------------------------------------------------
   Tablo — kullanılan-hesaplar sayfa iyileştirmesi
-------------------------------------------------- */
.iban-table-wrap {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.iban-table {
  width: 100%; border-collapse: collapse;
  font-size: .88rem;
}
.iban-table thead th {
  background: #F7F8FB; padding: 11px 14px;
  font-weight: 700; letter-spacing: .05em; font-size: .74rem;
  text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--border); text-align: left;
}
.iban-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}
.iban-table tbody tr:last-child { border-bottom: none; }
.iban-table tbody tr:hover { background: #F7F8FB; }
.iban-table td { padding: 10px 14px; color: var(--text2); vertical-align: middle; }
.iban-table .iban-code {
  font-family: 'JetBrains Mono', monospace; font-size: .81rem;
  color: var(--ink, #0A0F1C); letter-spacing: .03em;
}
.iban-table .iban-copy {
  padding: 3px 8px; border-radius: 6px; font-size: .73rem; font-weight: 700;
  background: transparent; border: 1px solid var(--border); color: var(--muted);
  cursor: pointer; transition: all .15s ease;
}
.iban-table .iban-copy:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --------------------------------------------------
   Footer logo-light güncellemesi
-------------------------------------------------- */
.ft-logo img { filter: brightness(0) invert(1); opacity: .82; }

/* --------------------------------------------------
   Navigation improvements
-------------------------------------------------- */
.nav-item {
  position: relative; padding-bottom: 3px;
}
.nav-item::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, #FB4A66, #B3123A);
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.nav-item.active::after, .nav-item:hover::after { transform: scaleX(1); }

/* --------------------------------------------------
   Bildirim / işaretleme (flash)
-------------------------------------------------- */
.flash-message {
  border-radius: 14px !important;
  backdrop-filter: blur(10px);
}

/* ============================================================
   PREMIUM v7.3 — SON KATMAN
   Statistics kartı, auth gelişimi, hero banner link animasyonu
   ============================================================ */

/* ── İstatistik Satır kartı ─────────────────────────────────── */
.stat-hero-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px; margin-bottom: 24px;
}
.stat-hero-card {
  padding: 22px 18px; border-radius: 18px; text-align: center;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.stat-hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-hero-num {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900;
  letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(135deg, #FB4A66, #B3123A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-hero-num.gold {
  background: linear-gradient(135deg, #E3B45C, #C08B2E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-hero-num.green {
  background: linear-gradient(135deg, #34D399, #059669);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-hero-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--muted); margin-top: 7px;
}

.stat-bar-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--border);
}
.stat-bar-row:last-child { border-bottom: none; }
.stat-bar-label { flex: 0 0 auto; min-width: 120px; max-width: 200px; font-size: .87rem; font-weight: 650; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-bar-track { flex: 1; height: 7px; border-radius: 99px; background: #ECEEF2; overflow: hidden; }
.stat-bar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FB4A66, #B3123A); }
.stat-bar-fill.gold { background: linear-gradient(90deg, #E3B45C, #C08B2E); }
.stat-bar-count { flex: 0 0 auto; font-size: .84rem; font-weight: 800; color: var(--ink, #0A0F1C); min-width: 36px; text-align: right; }

.monthly-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 90px;
  padding: 0 4px;
}
.monthly-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.monthly-bar {
  width: 100%; border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #FB4A66, #B3123A);
  min-height: 4px; transition: opacity .2s;
}
.monthly-bar:hover { opacity: .75; }
.monthly-label { font-size: .64rem; color: var(--muted); font-weight: 700; }

/* ── Auth sayfaları (giriş/kayıt) ────────────────────────────── */
.auth-wrap {
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(700px 600px at 20% 0%, rgba(225,29,72,.16), transparent 60%),
    radial-gradient(600px 500px at 80% 100%, rgba(192,139,46,.12), transparent 60%),
    #F7F8FB;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: #fff; border-radius: 26px;
  padding: 44px 40px;
  box-shadow: 0 28px 80px rgba(10,15,28,.14), 0 0 0 1px rgba(10,15,28,.05);
  animation: fadeUp .45s cubic-bezier(.22,1,.36,1) both;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.auth-logo {
  display: flex; align-items: center; gap: 9px; justify-content: center;
  margin-bottom: 24px; text-decoration: none;
}
.auth-logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(150deg, #FB4A66, #B3123A);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(225,29,72,.35);
}
.auth-logo-icon svg { filter: brightness(0) invert(1); }
.auth-logo-text {
  font-size: 1.2rem; font-weight: 900; color: var(--ink, #0A0F1C);
  letter-spacing: -.04em; line-height: 1.1;
}
.auth-logo-text small { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.auth-title {
  font-size: 1.45rem; font-weight: 900; text-align: center;
  letter-spacing: -.04em; color: var(--ink, #0A0F1C); margin-bottom: 6px;
}
.auth-sub {
  text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 28px;
}
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0; color: var(--muted); font-size: .8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.auth-footer {
  text-align: center; margin-top: 20px; font-size: .875rem; color: var(--muted);
}
.auth-footer a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }
.trust-badges {
  display: flex; justify-content: center; gap: 14px; margin-top: 24px; flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: .73rem; font-weight: 650; color: var(--muted);
}

/* ── Genel kart hover anim ────────────────────────────────── */
.card-hover {
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease !important;
}
.card-hover:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 50px rgba(10,15,28,.12) !important;
}

/* ── Haber teyit (alert/bilgi) bloğu ──────────────────────────── */
.info-callout {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: 14px; margin: 20px 0;
  background: rgba(76,125,240,.08); border: 1px solid rgba(76,125,240,.2);
}
.info-callout.warn {
  background: rgba(225,29,72,.07); border-color: rgba(225,29,72,.2);
}
.info-callout.ok {
  background: rgba(22,163,74,.07); border-color: rgba(22,163,74,.2);
}
.info-callout-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.info-callout-body { font-size: .875rem; line-height: 1.65; color: var(--text2); }
.info-callout-body strong { color: var(--ink, #0A0F1C); }

/* ── Pagination iyileştirmesi ──────────────────────────────── */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; padding: 0; list-style: none; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
  font-size: .87rem; font-weight: 700; text-decoration: none;
  border: 1px solid var(--border); color: var(--text); background: #fff;
  transition: all .18s ease;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); background: rgba(225,29,72,.05); }
.pagination .active span, .pagination .active a {
  background: linear-gradient(135deg, #FB4A66, #B3123A); color: #fff;
  border-color: transparent; box-shadow: 0 4px 12px rgba(225,29,72,.35);
}
.pagination .disabled a, .pagination .disabled span { opacity: .4; pointer-events: none; }

/* ── Hero buton animasyonu ────────────────────────────────── */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.18) 50%, transparent 75%);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.btn-primary:hover::after { transform: translateX(120%) skewX(-20deg); }
