/* MarkaSkor — main.css  */
/* Sora + DM Sans, dark/light tema, full responsive */

:root {
  --bg: #f5f6fa;
  --bg2: #ffffff;
  --bg3: #eef0f5;
  --text: #0f1117;
  --text2: #4a5568;
  --text3: #718096;
  --border: rgba(0,0,0,.08);
  --border2: rgba(0,0,0,.14);
  --accent: #1a56db;
  --accent-hover: #1644b8;
  --accent-bg: #eff4ff;
  --accent-text: #1e40af;
  --green: #057a55;
  --green-bg: #def7ec;
  --green-text: #046c4e;
  --red: #c81e1e;
  --red-bg: #fde8e8;
  --red-text: #9b1c1c;
  --amber: #b45309;
  --amber-bg: #fef3c7;
  --amber-text: #92400e;
  --card-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,.1);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: .18s ease;
  --trust-high: #057a55;
  --trust-mid: #b45309;
  --trust-low: #c81e1e;
}

[data-theme="dark"] {
  --bg: #0d0f14;
  --bg2: #161b26;
  --bg3: #1e2433;
  --text: #f0f2f5;
  --text2: #9aa5b4;
  --text3: #627385;
  --border: rgba(255,255,255,.07);
  --border2: rgba(255,255,255,.12);
  --accent: #4d8ef5;
  --accent-hover: #6ba3f7;
  --accent-bg: rgba(77,142,245,.12);
  --accent-text: #93c5fd;
  --green: #34d399;
  --green-bg: rgba(52,211,153,.1);
  --green-text: #6ee7b7;
  --red: #f87171;
  --red-bg: rgba(248,113,113,.1);
  --red-text: #fca5a5;
  --amber: #fbbf24;
  --amber-bg: rgba(251,191,36,.1);
  --amber-text: #fde68a;
  --card-shadow: 0 1px 3px rgba(0,0,0,.3);
  --card-shadow-hover: 0 4px 16px rgba(0,0,0,.4);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; height: auto; display: block }
a { color: var(--accent); text-decoration: none; transition: color var(--transition) }
a:hover { color: var(--accent-hover) }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.3; color: var(--text) }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700 }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600 }
h3 { font-size: 1.1rem; font-weight: 600 }
h4 { font-size: .95rem; font-weight: 600 }
p { color: var(--text2); line-height: 1.7 }
ul { list-style: none }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px }
.page-wrap { padding: 28px 0 60px }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 60px; width: 100%;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text); flex-shrink: 0;
}
.logo-icon { font-size: 22px; color: var(--accent) }
.logo-text { font-family: var(--font-head); font-size: 1.1rem; font-weight: 400 }
.logo-text strong { font-weight: 700; color: var(--accent) }
.main-nav { display: flex; gap: 2px; margin-left: 8px }
.nav-link {
  padding: 6px 12px; border-radius: var(--radius-sm);
  color: var(--text2); font-size: .9rem; font-weight: 500;
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { background: var(--bg3); color: var(--text) }
.header-search { flex: 1; max-width: 320px }
.search-wrap { position: relative }
.search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  color: var(--text3); font-size: 15px; pointer-events: none;
}
.search-input {
  width: 100%; padding: 8px 12px 8px 34px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; font-size: .875rem; color: var(--text);
  font-family: var(--font-body);
  transition: all var(--transition);
}
.search-input:focus { outline: none; border-color: var(--accent); background: var(--bg2); box-shadow: 0 0 0 3px var(--accent-bg) }
.search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); box-shadow: var(--card-shadow-hover);
  z-index: 200; overflow: hidden;
}
.sd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; cursor: pointer; transition: background var(--transition);
}
.sd-item:hover { background: var(--bg3) }
.sd-logo { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; background: var(--bg3); display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--accent) }
.sd-name { font-size: .9rem; font-weight: 500 }
.sd-cat { font-size: .8rem; color: var(--text3) }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-shrink: 0; min-width: 0; }
.theme-toggle {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text2); font-size: 16px;
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent) }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); font-size: 26px; padding: 8px; width: 40px; height: 40px; align-items: center; justify-content: center; line-height: 1; }

/* User Menu */
.user-menu-wrap { position: relative }
.user-menu-btn {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 12px 4px 4px;
  cursor: pointer; color: var(--text); transition: all var(--transition);
}
.user-menu-btn:hover { border-color: var(--accent) }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover }
.user-initial {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.user-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); box-shadow: var(--card-shadow-hover);
  min-width: 220px; z-index: 9999; overflow: visible;
}
.user-dropdown-header { padding: 12px 16px; border-bottom: 1px solid var(--border) }
.ud-name { font-weight: 600; font-size: .95rem }
.ud-points { font-size: .8rem; color: var(--text3); margin-top: 2px }
.ud-points .ti { color: var(--amber) }
.ud-link {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; color: var(--text2); font-size: .9rem;
  transition: all var(--transition); border: none; background: none; width: 100%; cursor: pointer;
}
.ud-link:hover { background: var(--bg3); color: var(--text) }
.ud-admin { color: var(--accent) }
.ud-logout { color: var(--red) }

/* Mobile Nav */
.mobile-nav {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  display: none; flex-direction: column; padding: 8px 0;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 10px 20px; color: var(--text2); font-size: .95rem }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 20px; font-size: .875rem;
  font-family: var(--font-body); font-weight: 500;
  cursor: pointer; transition: all var(--transition); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent) }
.btn-primary:hover { background: var(--accent-hover); color: #fff }
.btn-ghost { background: var(--bg3); color: var(--text2); border-color: var(--border2) }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent) }
.btn-danger { background: var(--red-bg); color: var(--red-text); border-color: var(--red-bg) }
.btn-sm { padding: 5px 12px; font-size: .8rem }
.btn-full { width: 100%; justify-content: center }

/* ── Cards ── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--card-shadow);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--card-shadow-hover) }
.card-p { padding: 20px }

/* ── Badges ── */
.badge {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 8px; border-radius: 4px; font-size: .75rem; font-weight: 600;
}
.badge-trusted { background: var(--green-bg); color: var(--green-text) }
.badge-verified { background: var(--accent-bg); color: var(--accent-text) }
.badge-sponsored { background: var(--amber-bg); color: var(--amber-text) }
.badge-warning { background: var(--red-bg); color: var(--red-text) }
.badge-pending { background: var(--amber-bg); color: var(--amber-text) }
.badge-approved { background: var(--green-bg); color: var(--green-text) }
.badge-rejected { background: var(--red-bg); color: var(--red-text) }

/* ── Trust Score ── */
.trust-score-ring {
  width: 72px; height: 72px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.trust-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700 }
.trust-high { color: var(--green) }
.trust-mid { color: var(--amber) }
.trust-low { color: var(--red) }
.score-bar-wrap { display: flex; align-items: center; gap: 8px }
.score-bar { flex: 1; height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden }
.score-bar-fill { height: 100%; border-radius: 3px; transition: width .6s ease }
.score-bar-fill.high { background: var(--green) }
.score-bar-fill.mid { background: var(--amber) }
.score-bar-fill.low { background: var(--red) }

/* ── Brand Card ── */
.brand-card {
  display: flex; flex-direction: column;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px;
  transition: all var(--transition); text-decoration: none; color: var(--text);
  box-shadow: var(--card-shadow);
}
.brand-card:hover { border-color: var(--accent); box-shadow: var(--card-shadow-hover); transform: translateY(-2px) }
.brand-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px }
.brand-logo-wrap {
  width: 48px; height: 48px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--accent);
}
.brand-logo-wrap img { width: 100%; height: 100%; object-fit: cover }
.brand-card-info h3 { font-size: .95rem; margin-bottom: 2px }
.brand-cat { font-size: .78rem; color: var(--text3) }
.brand-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px }
.brand-meta { display: flex; gap: 14px; margin-top: 8px }
.bm-item { font-size: .8rem; color: var(--text3); display: flex; align-items: center; gap: 3px }

/* ── Review Card ── */
.review-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px; margin-bottom: 12px;
}
.review-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px }
.reviewer-info { display: flex; align-items: center; gap: 10px }
.reviewer-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.reviewer-name { font-weight: 600; font-size: .9rem }
.reviewer-meta { font-size: .78rem; color: var(--text3) }
.review-stars { color: #f59e0b; font-size: 15px; letter-spacing: 1px }
.review-body { font-size: .9rem; color: var(--text2); line-height: 1.65; margin-bottom: 10px }
.review-screenshot { margin-bottom: 10px }
.review-screenshot img { border-radius: var(--radius-sm); max-height: 200px; object-fit: cover }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap }
.vote-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 5px; font-size: .8rem;
  background: var(--bg3); border: 1px solid var(--border);
  cursor: pointer; color: var(--text2); transition: all var(--transition);
}
.vote-btn:hover.up { border-color: var(--green); color: var(--green); background: var(--green-bg) }
.vote-btn:hover.down { border-color: var(--red); color: var(--red); background: var(--red-bg) }
.report-btn { background: none; border: none; font-size: .78rem; color: var(--text3); cursor: pointer; padding: 4px 8px }
.brand-reply {
  margin-top: 10px; background: var(--bg3);
  border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 10px 14px; font-size: .875rem; color: var(--text2);
}
.brand-reply-label { font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 3px }

/* ── Forms ── */
.form-group { margin-bottom: 16px }
.form-label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 5px; color: var(--text2) }
.form-control {
  width: 100%; padding: 9px 13px;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); font-size: .9rem;
  color: var(--text); font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg) }
textarea.form-control { resize: vertical; min-height: 90px }
select.form-control { cursor: pointer }
.form-error { font-size: .8rem; color: var(--red); margin-top: 4px }
.form-hint { font-size: .8rem; color: var(--text3); margin-top: 3px }

/* Star rating input */
.star-rating { display: flex; gap: 4px; margin-bottom: 14px }
.star-rating input { display: none }
.star-rating label {
  font-size: 28px; cursor: pointer; color: var(--border2);
  transition: color var(--transition); line-height: 1;
}
.star-rating label.active,
.star-rating label.hovered { color: #f59e0b }

/* Upload area */
.upload-area {
  border: 2px dashed var(--border2); border-radius: var(--radius);
  padding: 24px; text-align: center; cursor: pointer;
  transition: all var(--transition); margin-bottom: 14px;
}
.upload-area:hover { border-color: var(--accent); background: var(--accent-bg) }
.upload-area .ti { font-size: 28px; color: var(--text3); display: block; margin-bottom: 6px }
.upload-text { font-size: .875rem; color: var(--text3) }

/* ── Sections ── */
.section { margin-bottom: 36px }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px }
.section-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; display: flex; align-items: center; gap: 7px }
.section-icon { font-size: 18px }
.see-all { font-size: .85rem; color: var(--accent); font-weight: 500 }

/* Grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px }
.layout-main { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start }

/* ── Hero ── */
.hero {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 48px 0 40px; text-align: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-bg); color: var(--accent-text);
  padding: 4px 14px; border-radius: 20px; font-size: .8rem; font-weight: 600;
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: 12px }
.hero p { max-width: 580px; margin: 0 auto 24px; color: var(--text2) }
.hero-search-box { max-width: 540px; margin: 0 auto }
.hero-search {
  display: flex; background: var(--bg2);
  border: 2px solid var(--accent); border-radius: 26px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(26,86,219,.15);
}
.hero-search input {
  flex: 1; padding: 13px 18px; background: none; border: none;
  font-size: .95rem; color: var(--text); font-family: var(--font-body);
}
.hero-search input:focus { outline: none }
.hero-search button {
  padding: 13px 24px; background: var(--accent); color: #fff;
  border: none; cursor: pointer; font-size: .95rem; font-weight: 600;
  font-family: var(--font-body); transition: background var(--transition);
}
.hero-search button:hover { background: var(--accent-hover) }

/* Stats Row */
.stats-strip {
  background: var(--bg3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.stats-strip-inner { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap }
.stat-item { text-align: center }
.stat-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--accent) }
.stat-label { font-size: .8rem; color: var(--text3) }

/* Category pills */
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px }
.cat-pill {
  padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 500;
  border: 1px solid var(--border2); background: var(--bg2); color: var(--text2);
  cursor: pointer; transition: all var(--transition); text-decoration: none;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* Activity Feed */
.activity-feed { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden }
.feed-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  font-size: .875rem;
}
.feed-item:last-child { border-bottom: none }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px }
.feed-text { flex: 1; color: var(--text2) }
.feed-text strong { color: var(--text); font-weight: 600 }
.feed-time { font-size: .75rem; color: var(--text3); flex-shrink: 0 }

/* Trusted Box */
.trusted-box {
  background: var(--green-bg); border: 1px solid rgba(5,122,85,.2);
  border-radius: var(--radius); padding: 14px 16px;
}
.trusted-box-title { font-size: .9rem; font-weight: 700; color: var(--green-text); margin-bottom: 4px }
.trusted-box p { font-size: .85rem; color: var(--green-text) }
.warning-box {
  background: var(--red-bg); border: 1px solid rgba(200,30,30,.15);
  border-radius: var(--radius); padding: 14px 16px; margin-top: 10px;
}
.warning-box-title { font-size: .9rem; font-weight: 700; color: var(--red-text); margin-bottom: 4px }
.warning-box p { font-size: .85rem; color: var(--red-text) }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0 }
.faq-item:last-child { border-bottom: none }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: .9rem; cursor: pointer; gap: 10px;
}
.faq-q .ti { color: var(--text3); transition: transform var(--transition); flex-shrink: 0 }
.faq-item.open .faq-q .ti { transform: rotate(180deg) }
.faq-a { font-size: .875rem; color: var(--text2); padding-top: 8px; display: none }
.faq-item.open .faq-a { display: block }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .83rem; color: var(--text3); margin-bottom: 18px }
.breadcrumb a { color: var(--text3) }
.breadcrumb a:hover { color: var(--accent) }
.breadcrumb .sep { color: var(--border2) }

/* Brand page header */
.brand-hero {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px;
}
.brand-hero-top { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 20px }
.brand-hero-logo {
  width: 80px; height: 80px; border-radius: 14px;
  border: 1px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 24px; font-weight: 700;
  color: var(--accent); background: var(--accent-bg); overflow: hidden;
}
.brand-hero-logo img { width: 100%; height: 100%; object-fit: contain }
.brand-hero-info { flex: 1 }
.brand-hero-info h1 { font-size: 1.4rem; margin-bottom: 4px }
.brand-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px }
.brand-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px }
.bm-box { text-align: center; background: var(--bg3); border-radius: var(--radius); padding: 12px }
.bm-val { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700 }
.bm-lbl { font-size: .78rem; color: var(--text3); margin-top: 2px }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 20px }
.tab-btn {
  padding: 10px 18px; font-size: .875rem; font-weight: 500;
  border: none; background: none; cursor: pointer; color: var(--text3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: all var(--transition); font-family: var(--font-body);
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent) }
.tab-btn:hover:not(.active) { color: var(--text) }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 28px; flex-wrap: wrap }
.page-btn {
  padding: 7px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border2); background: var(--bg2);
  color: var(--text2); font-size: .875rem; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.page-btn:hover, .page-btn.active { background: var(--accent); color: #fff; border-color: var(--accent) }

/* Ads */
.ad-slot { text-align: center; padding: 8px 0 }
.ad-slot .ad-label { font-size: .7rem; color: var(--text3); margin-bottom: 4px }
.ad-image { max-width: 100%; height: auto; border-radius: var(--radius-sm) }
.sidebar-ad { border: 1px dashed var(--border2); border-radius: var(--radius); padding: 12px; text-align: center; color: var(--text3); font-size: .8rem }
.sticky-ad-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 8px 20px; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 -4px 12px rgba(0,0,0,.1);
}
.sticky-close { background: none; border: none; cursor: pointer; color: var(--text3); font-size: 18px; padding: 2px }
.popup-ad-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center; z-index: 999;
}
.popup-ad-box {
  position: relative; background: var(--bg2); border-radius: var(--radius-lg);
  padding: 20px; max-width: 480px; width: 90%;
}
.popup-close {
  position: absolute; top: 10px; right: 10px;
  background: var(--bg3); border: none; border-radius: 50%;
  width: 28px; height: 28px; cursor: pointer; color: var(--text2); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* Admin */
.admin-layout { display: flex; min-height: calc(100vh - 60px) }
.admin-sidebar { width: 220px; background: var(--bg2); border-right: 1px solid var(--border); flex-shrink: 0; padding: 16px 0 }
.admin-main { flex: 1; padding: 24px; overflow: auto }
.admin-nav-section { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--text3); padding: 8px 16px 4px; margin-top: 8px }
.admin-nav-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px; font-size: .875rem; cursor: pointer;
  color: var(--text2); border-left: 2px solid transparent;
  transition: all var(--transition); text-decoration: none;
}
.admin-nav-item:hover { background: var(--bg3); color: var(--text) }
.admin-nav-item.active { color: var(--accent); background: var(--accent-bg); border-left-color: var(--accent); font-weight: 500 }
.admin-badge { background: var(--red); color: #fff; font-size: .7rem; padding: 1px 6px; border-radius: 10px; margin-left: auto }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px }
.admin-stat { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px }
.admin-stat-label { font-size: .8rem; color: var(--text3); margin-bottom: 4px }
.admin-stat-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700 }
.admin-stat-change { font-size: .78rem; margin-top: 4px }
.change-up { color: var(--green) }
.change-down { color: var(--red) }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem }
.data-table th { background: var(--bg3); padding: 10px 14px; text-align: left; font-weight: 600; font-size: .8rem; color: var(--text3); border-bottom: 1px solid var(--border) }
.data-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle }
.data-table tr:hover td { background: var(--bg3) }
.data-table tr:last-child td { border-bottom: none }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .875rem; display: flex; align-items: flex-start; gap: 8px }
.alert-success { background: var(--green-bg); color: var(--green-text) }
.alert-error { background: var(--red-bg); color: var(--red-text) }
.alert-info { background: var(--accent-bg); color: var(--accent-text) }

/* SEO Preview */
.seo-preview { background: var(--bg3); border-radius: var(--radius); padding: 14px 16px }
.seo-url { font-size: .8rem; color: var(--green); margin-bottom: 3px }
.seo-title { font-size: 1rem; color: var(--accent); font-weight: 600; margin-bottom: 3px }
.seo-desc { font-size: .85rem; color: var(--text2); line-height: 1.5 }
.seo-rating { font-size: .8rem; color: #f59e0b; margin-top: 3px }

/* Footer */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 0 20px; margin-top: 60px }
.footer-inner { }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 30px }
.footer-brand .footer-logo { margin-bottom: 12px; display: inline-flex }
.footer-desc { font-size: .875rem; color: var(--text3); line-height: 1.65; margin-bottom: 16px }
.footer-stats { display: flex; gap: 20px }
.fs .fn { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--accent) }
.fs .fl { font-size: .75rem; color: var(--text3) }
.footer-col h4 { font-size: .85rem; font-weight: 700; margin-bottom: 12px; color: var(--text) }
.footer-col a { display: block; font-size: .85rem; color: var(--text3); margin-bottom: 7px; transition: color var(--transition) }
.footer-col a:hover { color: var(--accent) }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px }
.footer-bottom p { font-size: .8rem; color: var(--text3) }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr) }
  .brand-metrics { grid-template-columns: repeat(2, 1fr) }
  .footer-grid { grid-template-columns: 1fr 1fr }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr) }
}

@media (max-width: 768px) {
  .main-nav, .header-search { display: none }
  .hamburger { display: flex }
  .layout-main { grid-template-columns: 1fr }
  .grid-3 { grid-template-columns: repeat(2, 1fr) }
  .grid-2 { grid-template-columns: 1fr }
  .brand-hero-top { flex-direction: column }
  .brand-metrics { grid-template-columns: repeat(2, 1fr) }
  .footer-grid { grid-template-columns: 1fr }
  .stats-strip-inner { gap: 20px }
  .admin-layout { flex-direction: column }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border) }
}

@media (max-width: 480px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr }
  h1 { font-size: 1.4rem }
  .hero { padding: 32px 0 28px }
  .brand-metrics { grid-template-columns: repeat(2, 1fr) }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px) }
  to { opacity: 1; transform: translateY(0) }
}
.animate-in { animation: fadeInUp .3s ease forwards }

@keyframes spin { to { transform: rotate(360deg) } }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--border2); border-top-color: var(--accent); border-radius: 50%; animation: spin .6s linear infinite }

/* Lazy load */
img[loading="lazy"] { opacity: 0; transition: opacity .3s }
img.loaded { opacity: 1 }

/* mobile-nav hover */
.mobile-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; color: var(--text2);
  font-size: .95rem; text-decoration: none;
  transition: background var(--transition);
}
.mobile-nav a:hover { background: var(--bg3); color: var(--text) }

/* ── Puan Butonları ── */
.rating-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 10px 14px; border-radius: var(--radius);
  border: 2px solid var(--border2); background: var(--bg3);
  cursor: pointer; transition: all var(--transition); min-width: 68px;
  font-family: var(--font-body);
}
.rating-btn:hover {
  border-color: var(--accent); background: var(--accent-bg); transform: translateY(-2px);
}
.rating-btn--active {
  border-color: var(--accent); background: var(--accent);
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.rating-btn__num  { font-size: 1.15rem; font-weight: 700; line-height: 1; }
.rating-btn__emoji { font-size: 1.3rem; line-height: 1; }
.rating-btn__label { font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.rating-btn--active .rating-btn__label { opacity: 1; }

/* ── Reklam Alanları (düzeltilmiş) ── */
.ad-slot { display:inline-block; max-width:100%; text-align:center }
.ad-slot img { max-width:100%; height:auto; border-radius:var(--radius-sm); display:inline-block }
.ad-slot .ad-label { font-size:.65rem; color:var(--text3); text-transform:uppercase; letter-spacing:.05em; margin-bottom:3px; display:block }
.sticky-ad-bar { position:fixed; bottom:0; left:0; right:0; z-index:90; background:var(--bg2); border-top:1px solid var(--border); padding:6px 16px; display:flex; align-items:center; justify-content:center; gap:12px; box-shadow:0 -2px 8px rgba(0,0,0,.08) }
.sticky-ad-bar .ad-slot { flex:1; max-width:728px }
.sticky-close { background:none; border:none; cursor:pointer; color:var(--text3); font-size:20px; padding:4px; flex-shrink:0; line-height:1 }
.sticky-close:hover { color:var(--text) }

/* ── HTML içerik taşma koruması ── */
html, body { overflow-x: hidden; max-width: 100%; }
/* container overflow removed - kesmesin */
.brand-description, .post-content, .review-card { overflow-x: auto; word-break: break-word; }
.brand-description img, .post-content img { max-width: 100% !important; height: auto !important; }
.brand-description table, .post-content table { max-width: 100%; display: block; overflow-x: auto; }
.brand-description iframe, .post-content iframe { max-width: 100% !important; }
/* Marka sayfası genel overflow koruması */
.page-wrap { overflow-x: hidden; }

/* ── Taşma Koruması ── */

.brand-description { overflow-x: auto; word-break: break-word; }
.brand-description img { max-width: 100% !important; height: auto !important; }
.brand-description table { display: block; overflow-x: auto; max-width: 100%; }
.brand-description iframe { max-width: 100% !important; }
.brand-description pre { overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
