:root {
  --brand: #3a97a6;        /* logo turkuazı */
  --brand-dark: #2c7a87;
  --brand-soft: #e9f5f6;
  --brand-2: #8fd070;      /* logo yeşili */
  --accent: #6cbf57;
  --accent-dark: #4f9f3d;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e9f0;
  --bg: #f6f8fb;
  --card: #ffffff;
  --radius: 14px;
  --brand-gradient: linear-gradient(135deg, #3a97a6 0%, #5fb58a 50%, #8fd070 100%);
}
/* ---------- Koyu tema ---------- */
[data-bs-theme="dark"] {
  --brand: #5fb8c6;
  --brand-dark: #8ad0da;
  --brand-soft: #16323a;
  --ink: #e5e9f0;
  --muted: #9aa8bb;
  --line: #2a3441;
  --bg: #0f151c;
  --card: #161d26;
  --bs-body-bg: #0f151c;
  --bs-body-color: #e5e9f0;
}
[data-bs-theme="dark"] body { background: var(--bg); color: var(--ink); }
[data-bs-theme="dark"] .site-header { background: #121a23; border-color: var(--line); box-shadow: none; }
[data-bs-theme="dark"] .main-menu .nav-link { color: #c9d3df; }
[data-bs-theme="dark"] .card, [data-bs-theme="dark"] .detail-head, [data-bs-theme="dark"] .task-card, [data-bs-theme="dark"] .ad-card, [data-bs-theme="dark"] .progress-strip, [data-bs-theme="dark"] .post-mini, [data-bs-theme="dark"] .platform-tile, [data-bs-theme="dark"] .panel-logo, [data-bs-theme="dark"] .mega-menu, [data-bs-theme="dark"] .stat-tile { background: var(--card); border-color: var(--line); }
[data-bs-theme="dark"] .panel-name, [data-bs-theme="dark"] .mega-item, [data-bs-theme="dark"] .post-mini, [data-bs-theme="dark"] .sponsored-list a, [data-bs-theme="dark"] .text-dark { color: var(--ink) !important; }
[data-bs-theme="dark"] .text-muted { color: var(--muted) !important; }
[data-bs-theme="dark"] .bg-light, [data-bs-theme="dark"] .btn-light { background-color: #1c2530 !important; color: var(--ink); border-color: var(--line); }
[data-bs-theme="dark"] .banner-slot.empty { background: #131b24; border-color: #2a3441; color: #7f8ea3; }
[data-bs-theme="dark"] .services-table tbody tr:hover { background: #1b2a30; }
[data-bs-theme="dark"] .campaign-tag { background: #3b2f0b; color: #fcd34d; }
[data-bs-theme="dark"] .score-pill.sv { background: #0f2e22; color: #6ee7b7; border-color: #1f5a3f; }
[data-bs-theme="dark"] .payment-chip { background: #17303a; color: #9bd7e0; }
[data-bs-theme="dark"] .list-tabs .nav-link { color: #c9d3df; }
[data-bs-theme="dark"] .hero-search { background: #161d26; }
[data-bs-theme="dark"] .hero-search select, [data-bs-theme="dark"] .hero-search input { color: var(--ink); }
[data-bs-theme="dark"] .rank-badge { background: #16323a; color: #8ad0da; }
[data-bs-theme="dark"] .skeleton { background: linear-gradient(90deg, #1c2530 25%, #222d3a 50%, #1c2530 75%); }
[data-bs-theme="dark"] .why-list p, [data-bs-theme="dark"] .section-sub { color: var(--muted); }
[data-bs-theme="dark"] .site-footer { background: #0a0f14; }
[data-bs-theme="dark"] .filter-card .card { background: var(--card); }
[data-bs-theme="dark"] .breadcrumb-item.active { color: var(--muted); }
[data-bs-theme="dark"] .banner-note { color: #7f8ea3; }
[data-bs-theme="dark"] .platform-tile { color: var(--pc-dark, var(--pc)); border-color: var(--pc-dark, var(--pc)); }
[data-bs-theme="dark"] .platform-tile:hover { color: var(--pc-dark, var(--pc)); }
[data-bs-theme="dark"] .mega-icon[data-dark] { background: var(--mi-dark) !important; color: #0f151c; }
[data-bs-theme="dark"] .price-ticker .pt-icon[data-dark] { background: var(--mi-dark) !important; color: #0f151c; }

/* ---------- Header: logo, tema, bildirim ---------- */
/* Şeffaf, slogansız logo: beyaz PNG maske olarak kullanılır, açık temada marka gradyanı, koyu temada beyaz dolgu */
.brand-logo { display: inline-block; width: 190px; height: 32px; background: var(--brand-gradient); -webkit-mask: url('/img/logo-white.png') no-repeat left center / contain; mask: url('/img/logo-white.png') no-repeat left center / contain; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.navbar-brand:hover .brand-logo { transform: scale(1.03); }
[data-bs-theme="dark"] .brand-logo { background: #ffffff; }
@supports not (mask: url('/img/logo-white.png')) { .brand-logo { background: var(--brand-gradient); border-radius: 8px; } }
@media (max-width: 575px) { .brand-logo { width: 150px; height: 26px; } }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: background-color .15s, color .15s, transform .15s; }
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); transform: translateY(-1px); }
.notif-dot { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5322d; color: #fff; font-size: .68rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.theme-light-icon { display: none; }
[data-bs-theme="dark"] .theme-light-icon { display: inline; }
[data-bs-theme="dark"] .theme-dark-icon { display: none; }
.banner-note { display: block; text-align: center; font-size: .72rem; color: #a0aabb; margin-top: .35rem; }
.banner-note:hover { color: var(--brand); }
.notif-item { display: flex; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread .notif-title { font-weight: 800; }
.notif-item .notif-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sv-item { display: block; padding: .6rem 0; border-top: 1px solid var(--line); color: var(--ink); }
.sv-item:hover .sv-title { color: #5551ff; }
/* Şikayetvar logosu: açık temada lacivert, koyu temada açık renkli sürüm; hover'da arka plan koyu kalır ki logo görünsün */
[data-bs-theme="dark"] img[src^="/img/sikayetvar.svg"] { content: url("/img/sikayetvar-light.svg?v=2"); }
[data-bs-theme="dark"] .score-pill.sv:hover { background: #154634; color: #86efac; }
/* Platform ikon rengi: koyu temada siyaha yakın marka renkleri (Threads, TikTok) açık renge döner */
.pc-icon { color: var(--pc, inherit); }
[data-bs-theme="dark"] .pc-icon { color: var(--pc-dark, var(--pc, inherit)); }
/* Platform logoları: SVG maske ile ikon fontu gibi davranır (rengi metinden alır) */
.pi-mask { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--pi) center / contain no-repeat; mask: var(--pi) center / contain no-repeat; vertical-align: -0.125em; }
.btn-add-panel { font-weight: 700; white-space: nowrap; }
.main-menu .nav-link, .header-actions .btn { white-space: nowrap; }
@media (min-width: 992px) { .header-actions { flex-wrap: nowrap !important; } }
/* Geniş masaüstünde menü + buton + giriş aynı satıra sığsın */
@media (min-width: 992px) and (max-width: 1399.98px) { .main-menu .nav-link { padding: .6rem .7rem; font-size: .93rem; } .navbar-brand { margin-right: 1rem; } .header-actions { margin-left: .75rem; gap: .4rem !important; } .header-actions .btn { padding: .45rem .75rem; font-size: .9rem; } }
@media (max-width: 991.98px) { .header-actions { padding: .75rem 0 .25rem; } .btn-add-panel { width: 100%; } }
/* Bildirim açılır kutusu */
.notif-menu { width: 360px; max-width: calc(100vw - 2rem); padding: 0; overflow: hidden; }
.notif-menu .notif-head { display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); font-weight: 800; }
.notif-menu .notif-list { max-height: 380px; overflow: auto; padding: 0 1rem; }
.notif-menu .notif-item { padding: .7rem 0; }
.notif-menu .notif-item .notif-ic { width: 32px; height: 32px; font-size: .85rem; }
.notif-menu .notif-foot { padding: .6rem 1rem; border-top: 1px solid var(--line); text-align: center; font-size: .85rem; }
/* Footer istatistik şeridi */
.stats-strip { background: #111a2e; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; display: flex; flex-wrap: wrap; gap: .5rem; padding: .6rem; margin-top: 2rem; }
.stats-strip .st { display: flex; align-items: center; gap: .7rem; padding: .45rem .9rem; border-radius: 8px; background: rgba(255,255,255,.04); flex: 1 1 150px; min-width: 0; }
.stats-strip .st i { width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #cbd5e1; flex-shrink: 0; }
.stats-strip .st.live i { background: #16a34a; color: #fff; }
.stats-strip .st small { display: block; color: rgba(255,255,255,.55); font-size: .72rem; }
.stats-strip .st strong { color: #fff; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Zengin metin editörü (admin) */
.rich-editor { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: .35rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.rich-toolbar button { border: 0; background: transparent; width: 32px; height: 30px; border-radius: 6px; color: var(--ink); }
.rich-toolbar button:hover { background: var(--brand-soft); color: var(--brand); }
.rich-box { min-height: 220px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.rich-box h3 { font-size: 1.15rem; font-weight: 800; }
/* Reklam paketi konum görseli */
.ad-card .ad-shot { border-radius: 8px; border: 1px solid var(--line); margin: .5rem 0; max-height: 160px; object-fit: cover; width: 100%; }
/* Papara wordmark'ı siyahtır; koyu temada beyaza çevrilir */
[data-bs-theme="dark"] img[src^="/img/pay/papara.svg"] { filter: invert(1); }
.sv-item .sv-title { font-weight: 700; font-size: .84rem; line-height: 1.3; }
.sv-item .sv-rate { color: #f59e0b; font-size: .8rem; white-space: nowrap; }
.sv-item .sv-excerpt { font-size: .78rem; color: var(--muted); margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-item .sv-meta { font-size: .72rem; color: #94a3b8; margin-top: .25rem; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: .85rem; transition: transform .15s, border-color .15s; }
.cat-chip:hover { transform: translateY(-1px); border-color: var(--brand); color: var(--brand); }
.cat-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.cat-chip img, .cat-chip .ic { width: 20px; height: 20px; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.pay-badge { display: inline-flex; align-items: center; margin: .2rem .35rem .2rem 0; }
.pay-badge img { height: 34px; width: auto; border-radius: 6px; }
.pay-badge .pay-fallback { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .82rem; padding: .45rem .7rem; border-radius: 8px; }
.platform-bar .btn { padding: .55rem .95rem; font-size: .95rem; font-weight: 600; border-radius: 10px; }
.platform-bar .btn i { font-size: 1.1rem; }

* { box-sizing: border-box; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.01em; }
.min-w-0 { min-width: 0; }
.line-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.btn-primary { background: var(--brand); border-color: var(--brand); font-weight: 600; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline-primary { color: var(--brand); border-color: var(--brand); font-weight: 600; }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); }
.btn-success { background: var(--accent); border-color: var(--accent); font-weight: 600; }
.btn-success:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.card { border: 1px solid var(--line); border-radius: var(--radius); }
.section-title { font-size: 1.5rem; margin-bottom: .25rem; }
.section-sub { color: var(--muted); margin-bottom: 1.5rem; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 1px 12px rgba(15, 23, 42, .04); }
.site-header .navbar { padding: .6rem 0; }
.navbar-brand { font-weight: 800; font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-gradient); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .95rem; }
.main-menu { gap: .35rem; }
.main-menu .nav-link { font-weight: 600; color: #334155; padding: .65rem 1.15rem; border-radius: 10px; transition: background-color .25s ease, color .25s ease; }
.navbar-brand { margin-right: 2.25rem; }
.header-actions { gap: .6rem !important; margin-left: 1.5rem; }
.header-actions .btn { padding: .5rem 1.05rem; }
@media (max-width: 991px) { .main-menu { gap: .1rem; padding: .5rem 0; } .navbar-brand { margin-right: auto; } .header-actions { margin-left: 0; } }
.main-menu .nav-link:hover, .main-menu .nav-link.active { color: var(--brand); background: var(--brand-soft); }
.navbar-toggler { border: 1px solid var(--line); }
.mega-menu { width: 100%; left: 0; right: 0; border: 0; border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem 0; margin-top: .5rem; }
.mega-title { font-weight: 800; font-size: 1.05rem; margin-bottom: .75rem; }
.mega-item { display: flex; align-items: center; gap: .65rem; padding: .35rem 0; color: var(--ink); }
.mega-item small { display: block; color: var(--muted); font-size: .72rem; line-height: 1; }
.mega-item strong { font-weight: 600; font-size: .92rem; }
.mega-item:hover strong { color: var(--brand); }
.mega-icon { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; }
@media (max-width: 991px) {
  .mega-menu { box-shadow: none !important; border-top: 1px solid var(--line); padding: 1rem; }
  .header-actions { padding: .75rem 0; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, #2f7f8c 0%, #3a97a6 35%, #5fb58a 70%, #8fd070 100%); color: #fff; padding: 4rem 0 3rem; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 20%, rgba(255,255,255,.12), transparent); }
.hero .container { position: relative; z-index: 1; }
/* Arama sonuç penceresi hero'nun altına taşabilsin: taşma kırpması yalnızca dekor katmanında */
.hero { overflow: visible; }
.hero .hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
.hero p.lead { color: rgba(255,255,255,.8); }
.hero-search { background: #fff; border-radius: 999px; padding: .4rem; display: flex; gap: .4rem; max-width: 640px; }
.hero-search select, .hero-search input { border: 0; background: transparent; padding: .55rem .9rem; color: var(--ink); outline: none; }
.hero-search select { font-weight: 600; max-width: 180px; }
.hero-search input { flex: 1; min-width: 0; }
.hero-search button { border-radius: 999px; }
/* Servis tablosu: ad sütunu daralmasın, diğer sütunlar sıkı dursun */
.services-table td, .services-table th { padding: .5rem .4rem; }
.services-table .svc-name { min-width: 190px; }
.services-table .panel-cell { min-width: 110px; }
.services-table .btn-sm { padding: .25rem .55rem; }
.services-table .badge-quality { font-size: .68rem; }
/* Panelin servis numarası rozeti (tabloda ve Satın Al'ın solunda) */
.svc-no { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; font-size: .8rem; color: var(--brand-dark); background: var(--brand-soft); border: 1px solid rgba(58,151,166,.25); border-radius: 6px; padding: .15rem .45rem; line-height: 1.2; white-space: nowrap; }
.svc-no.svc-no-sm { font-size: .7rem; padding: .05rem .35rem; }
[data-bs-theme="dark"] .svc-no { color: #8ad0da; background: #16323a; border-color: #1f4a54; }
.svc-focus { background: var(--brand-soft); border-radius: 10px; padding-left: .5rem !important; padding-right: .5rem !important; box-shadow: inset 3px 0 0 var(--brand); animation: pop .5s ease both; }
/* Canlı arama sonuçları: kutunun altında açılan animasyonlu pencere */
.hero-search-wrap { position: relative; max-width: 640px; }
.hero-results { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 60px rgba(15,23,42,.28); z-index: 30; overflow: hidden; transform-origin: top center; animation: resultsIn .28s cubic-bezier(.22,1,.36,1); }
@keyframes resultsIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.hero-results .hr-head { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1rem; font-size: .78rem; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--bg); }
.hero-results .hr-item { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); animation: fadeUp .35s cubic-bezier(.22,1,.36,1) both; transition: background-color .15s; }
.hero-results .hr-item:last-of-type { border-bottom: 0; }
.hero-results .hr-item:hover, .hero-results .hr-item.active { background: var(--brand-soft); }
.hero-results .hr-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; font-weight: 800; font-size: .75rem; color: var(--brand); }
.hero-results .hr-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero-results .hr-name { font-weight: 600; font-size: .88rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-results .hr-meta { font-size: .74rem; color: var(--muted); }
.hero-results .hr-price { font-weight: 800; color: var(--accent-dark, #15803d); white-space: nowrap; margin-left: auto; }
.hero-results .hr-foot { padding: .55rem 1rem; text-align: center; font-size: .82rem; background: var(--bg); }
.hero-results .hr-empty { padding: 1.1rem 1rem; color: var(--muted); font-size: .88rem; text-align: center; }
[data-bs-theme="dark"] .hero-results { background: #161d26; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
@media (max-width: 575.98px) { .hero-results .hr-meta { display: none; } }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stats strong { display: block; font-size: 1.6rem; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* ---------- Platform grid ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.platform-tile { background: #fff; border: 2px solid var(--pc, var(--brand)); border-radius: 6px; padding: 1.25rem .5rem; text-align: center; color: var(--pc, var(--brand)); transition: transform .15s, box-shadow .15s; display: block; }
.platform-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15,23,42,.08); color: var(--pc, var(--brand)); }
.platform-tile i, .platform-tile .pi-mask { font-size: 2.4rem; margin: 0 auto .6rem; display: block; }
.platform-tile strong { display: block; text-transform: uppercase; font-size: .95rem; letter-spacing: .02em; }
.platform-tile span { display: block; font-size: .8rem; opacity: .85; }
.platform-tile small { display: block; color: var(--muted); font-size: .72rem; margin-top: .25rem; }
.platform-tile.is-empty { opacity: .55; filter: grayscale(.4); }
.platform-tile.is-empty:hover { opacity: 1; filter: none; }

/* ---------- Panel card ---------- */
.panel-logo { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; font-weight: 800; color: var(--brand); }
.panel-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.panel-logo.lg { width: 96px; height: 96px; border-radius: 18px; font-size: 1.6rem; }
.panel-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; display: block; }
.panel-name:hover { color: var(--brand); }
.panel-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .8rem; color: var(--muted); }
.panel-meta i { color: var(--brand); margin-right: .2rem; }
.campaign-tag { margin-top: .6rem; background: #fef3c7; color: #92400e; font-size: .78rem; font-weight: 600; padding: .3rem .6rem; border-radius: 8px; display: inline-block; }
.stars { color: #f59e0b; font-size: .85rem; white-space: nowrap; }

/* ---------- Banner ---------- */
.banner-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.banner-slot { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 90px; border-radius: 10px; overflow: hidden; }
.banner-slot.empty { border: 1px dashed #d5dbe7; background: #fafbfd; color: #94a3b8; font-weight: 500; font-size: .8rem; }
.banner-slot.empty small { color: #b6bfcc; margin-left: .3rem; }
.banner-slot.empty:hover { background: #f3f5fa; color: #64748b; }
.banner-slot.filled img { width: 100%; height: auto; display: block; }
.banner-slot.side { max-width: 300px; min-height: 250px; }
@media (max-width: 767px) { .banner-pair { grid-template-columns: 1fr; } }

/* ---------- Services table ---------- */
.filter-card { position: sticky; top: 84px; }
.table-responsive { -webkit-overflow-scrolling: touch; overflow-x: auto; }
@media (max-width: 767px) { .table-responsive { position: relative; } .table-responsive::after { content: '← kaydır →'; position: sticky; left: 0; display: block; text-align: center; font-size: .7rem; color: var(--muted); padding: .3rem; opacity: .7; } }
.services-table { min-width: 680px; } /* mobilde sıkışmak yerine .table-responsive içinde yatay kayar */
.services-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; white-space: nowrap; }
.services-table td { vertical-align: middle; }
.services-table .price { font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.services-table .svc-name { font-weight: 600; }
.badge-quality { font-weight: 600; font-size: .72rem; }
.sponsored-list a { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.sponsored-list a:last-child { border-bottom: 0; }
.sponsored-list .panel-logo { width: 38px; height: 38px; border-radius: 9px; font-size: .8rem; }

/* ---------- Panel detail ---------- */
.detail-head { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.score-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; font-weight: 700; font-size: .85rem; }
.score-pill.sv { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.score-pill.sv:hover { background: #d1fae5; }
.payment-chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; font-size: .82rem; padding: .4rem .7rem; border-radius: 8px; margin: .2rem .3rem .2rem 0; }
.rating-big { font-size: 3rem; font-weight: 800; line-height: 1; }
.dist-row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; margin-bottom: .3rem; }
.dist-row .progress { flex: 1; height: 8px; }
.review-item { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.review-item:last-child { border-bottom: 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.6rem; color: #cbd5e1; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }

/* ---------- Free tools ---------- */
.tool-hero { background: linear-gradient(135deg, var(--tc, var(--brand)), #1f4d55); color: #fff; padding: 3rem 0; }
.tool-hero .icon { width: 72px; height: 72px; border-radius: 20px; background: rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; }
.tool-form-card { max-width: 640px; margin: -2.5rem auto 0; position: relative; z-index: 2; }
.task-card { border: 2px solid var(--accent); border-radius: 12px; background: #fff; padding: 1.25rem; display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1rem; transition: opacity .2s; }
.task-card.done { border-color: #cbd5e1; opacity: .75; }
.task-card .t-icon { width: 64px; height: 64px; color: #cbd5e1; font-size: 2.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.task-card .t-body { flex: 1; min-width: 0; }
.task-card .t-title { font-weight: 800; font-size: 1.05rem; margin-bottom: .2rem; }
.task-card .t-desc { color: var(--muted); font-size: .9rem; margin: 0; }
.task-card .t-reward { display: inline-block; margin-top: .4rem; background: #ecfdf5; color: #047857; font-weight: 700; font-size: .8rem; padding: .2rem .6rem; border-radius: 6px; }
.task-card .t-go { width: 96px; height: 80px; border-radius: 10px; background: var(--accent); color: #fff; border: 0; font-weight: 800; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; flex-shrink: 0; }
.task-card .t-go:hover { background: var(--accent-dark); }
.task-card .t-go:disabled { background: #94a3b8; }
.task-card .t-go.waiting { background: #f59e0b; }
.task-card .t-go.done { background: #cbd5e1; color: #475569; }
.progress-strip { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
@media (max-width: 575px) {
  .task-card { flex-wrap: wrap; }
  .task-card .t-icon { width: 48px; height: 48px; font-size: 2rem; }
  .task-card .t-go { width: 100%; height: 52px; flex-direction: row; }
}

/* ---------- Tabs (siteler) ---------- */
.list-tabs .nav-link { font-weight: 700; color: #334155; border-radius: 10px; padding: .7rem 1.1rem; display: flex; align-items: center; gap: .5rem; }
.list-tabs .nav-link.active { background: var(--brand); color: #fff; }
.rank-badge { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Ads page ---------- */
.ad-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.25rem; height: 100%; display: flex; flex-direction: column; }
.ad-card .price { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.ad-card .size { font-size: .78rem; color: var(--muted); font-weight: 600; }
.ad-group-title { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin: 2rem 0 1rem; }

/* ---------- Blog ---------- */
.post-card .cover { height: 180px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(135deg, var(--brand-soft), #ede9fe); }
.post-card .cover.placeholder { display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 2rem; }
.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; }
.page-body { line-height: 1.8; }

/* ---------- Auth ---------- */
.auth-card { max-width: 440px; margin: 3rem auto; }

/* ---------- Footer ---------- */
.site-footer { background: #0f172a; color: #fff; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer h6 { font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255,255,255,.85); font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }
/* ---------- Ana sayfa: anlık fiyat kartı & neden biz ---------- */
.price-ticker { list-style: none; margin: 0; padding: 0; }
.price-ticker li { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.price-ticker li:last-child { border-bottom: 0; }
.price-ticker .pt-icon { width: 34px; height: 34px; border-radius: 10px; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.price-ticker .pt-label { font-weight: 600; font-size: .9rem; line-height: 1.15; }
.price-ticker .pt-panel { font-size: .75rem; color: var(--muted); }
.price-ticker .pt-price { margin-left: auto; font-weight: 800; color: var(--accent-dark); white-space: nowrap; }
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li { margin-bottom: 1.25rem; }
.why-list .why-title { display: flex; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: .3rem; }
.why-list .why-title i { color: #f59e0b; }
.why-list p { color: var(--muted); margin: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.eyebrow b { color: var(--brand); }
.post-mini { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; color: var(--ink); height: 100%; }
.post-mini .cover { height: 130px; object-fit: cover; width: 100%; display: block; background: linear-gradient(135deg, var(--brand-soft), #ede9fe); }
.post-mini .cover.placeholder { display: flex; align-items: center; justify-content: center; color: var(--brand); font-size: 1.8rem; }
.post-mini .body { padding: .8rem .9rem; }
.post-mini .title { font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; }
.post-mini:hover { color: var(--brand); border-color: #c7d2fe; }

/* ---------- Animasyonlar ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.site-main { animation: fadeIn .5s cubic-bezier(.22,1,.36,1) both; }
body, .card, .site-header, .site-footer, .btn, .form-control, .form-select, .platform-tile, .task-card, .banner-slot { transition: background-color .35s ease, border-color .35s ease, color .25s ease; }
/* Gizleme yalnızca JS çalışıyorsa (html.js) uygulanır; JS yoksa/hata verirse içerik normal görünür */
.reveal, .reveal-stagger > * { transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
html.js .reveal:not(.in-view) { opacity: 0; transform: translateY(22px); }
html.js .reveal-stagger:not(.in-view) > * { opacity: 0; transform: translateY(18px); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .04s; } .reveal-stagger.in-view > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .16s; } .reveal-stagger.in-view > *:nth-child(4) { transition-delay: .22s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .28s; } .reveal-stagger.in-view > *:nth-child(6) { transition-delay: .34s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .4s; } .reveal-stagger.in-view > *:nth-child(8) { transition-delay: .46s; }
.reveal-stagger.in-view > *:nth-child(n+9) { transition-delay: .52s; }

.hero { background-size: 200% 200%; animation: gradientShift 14s ease infinite; }
.hero h1 { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) both; }
.hero p.lead { animation: fadeUp .9s .15s cubic-bezier(.22,1,.36,1) both; }
.hero-search { animation: fadeUp .9s .28s cubic-bezier(.22,1,.36,1) both; }
.hero-stats { animation: fadeUp .9s .4s cubic-bezier(.22,1,.36,1) both; }
.hero .card { animation: fadeUp 1s .3s cubic-bezier(.22,1,.36,1) both; }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; animation: float 9s ease-in-out infinite; }
.hero .blob.b1 { width: 320px; height: 320px; background: #bff5d0; top: -80px; right: 10%; }
.hero .blob.b2 { width: 260px; height: 260px; background: #7fd8e6; bottom: -100px; left: 5%; animation-delay: -4s; animation-duration: 11s; }
.hero .blob.b3 { width: 180px; height: 180px; background: #ffffff; top: 40%; left: 45%; animation-delay: -2s; animation-duration: 13s; }

.btn { transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background-color .25s ease, border-color .25s ease, color .25s ease; }
.btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15,23,42,.12); }
.btn:not(:disabled):active { transform: translateY(0) scale(.98); box-shadow: none; transition-duration: .1s; }
.card { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, border-color .3s ease, background-color .35s ease; }
.panel-card:hover, .post-card:hover, .ad-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15,23,42,.10); border-color: #bfe3e6; }
.panel-logo img { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.panel-card:hover .panel-logo img { transform: scale(1.07); }
.platform-tile { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease, background-color .35s ease; }
.platform-tile i, .platform-tile .pi-mask { transition: transform .45s cubic-bezier(.22,1,.36,1); }
.platform-tile:hover i, .platform-tile:hover .pi-mask { transform: scale(1.15) rotate(-6deg); }
.mega-item { transition: transform .3s cubic-bezier(.22,1,.36,1), color .2s ease; }
.mega-item:hover { transform: translateX(5px); }
.mega-icon { transition: transform .3s cubic-bezier(.22,1,.36,1); }
.mega-item:hover .mega-icon { transform: scale(1.1); }
/* Açılır menülerde animasyon yok: opacity animasyonu bazı tarayıcılarda menüyü yarı saydam bırakıyordu */
.icon-btn i { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.icon-btn:hover i { transform: rotate(-12deg) scale(1.1); }
.list-tabs .nav-link, .cat-chip, .pay-badge img, .sv-item { transition: all .3s cubic-bezier(.22,1,.36,1); }
.pay-badge img:hover { transform: translateY(-2px); }
.main-menu .nav-link { position: relative; }
.main-menu .nav-link::after { content: ''; position: absolute; left: 1.15rem; right: 1.15rem; bottom: .35rem; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); border-radius: 2px; }
.main-menu .nav-link:hover::after, .main-menu .nav-link.active::after { transform: scaleX(1); }
.services-table tbody tr { transition: background-color .15s ease; }
.services-table tbody tr:hover { background: var(--brand-soft); }
.list-tabs .nav-link { transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.list-tabs .nav-link:hover { transform: translateY(-1px); }
.tab-pane.fade.show { animation: fadeUp .35s ease both; }
.alert { animation: fadeUp .3s ease both; }
.stars i { transition: transform .15s ease; }
.star-input label { transition: transform .12s ease, color .12s ease; }
.star-input label:hover { transform: scale(1.2); }
.badge { transition: transform .15s ease; }
.campaign-tag { animation: fadeIn .5s ease both; }
.banner-slot.empty { transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
.banner-slot.empty:hover { border-color: #818cf8; transform: scale(1.01); }
.wa-float { animation: pulseRing 2.4s ease-out infinite; transition: transform .2s ease; }
.progress-bar { transition: width .8s cubic-bezier(.2,.7,.2,1); }
.rating-big { animation: pop .5s ease both; }
.task-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease; }
.task-card:not(.done):hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(16,185,129,.15); }
.task-card.just-done { animation: pop .45s ease both; }
.task-card .t-go { transition: background-color .2s ease, transform .15s ease; }
.task-card .t-go:not(:disabled):hover { transform: scale(1.04); }
.task-card .t-go.waiting i { animation: spinSlow 1.2s linear infinite; }
.earned-bump { animation: pop .45s ease both; display: inline-block; }
.detail-head { animation: fadeUp .5s ease both; }
.tool-hero .icon { animation: pop .6s ease both; }
.stat-tile { transition: transform .2s ease, box-shadow .2s ease; }
.stat-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,23,42,.08); }
.skeleton { background: linear-gradient(90deg, #eef1f5 25%, #f8fafc 50%, #eef1f5 75%); background-size: 800px 100%; animation: shimmer 1.4s infinite linear; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Admin ---------- */
.admin-body { background: #f1f5f9; }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-side { width: 240px; background: #0f172a; color: #fff; padding: 1.25rem 0; flex-shrink: 0; }
.admin-side .brand { padding: 0 1.25rem 1rem; font-weight: 800; font-size: 1.05rem; color: #fff; display: block; }
.admin-side a.item { display: flex; align-items: center; gap: .6rem; padding: .6rem 1.25rem; color: rgba(255,255,255,.75); font-weight: 500; font-size: .92rem; }
.admin-side a.item:hover, .admin-side a.item.active { background: rgba(255,255,255,.08); color: #fff; }
.admin-side a.item i { width: 18px; text-align: center; }
.admin-side .sep { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); padding: 1rem 1.25rem .3rem; }
.admin-main { flex: 1; min-width: 0; padding: 1.5rem; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; }
.stat-tile strong { font-size: 1.6rem; display: block; }
.stat-tile span { color: var(--muted); font-size: .82rem; }
.table-sm td, .table-sm th { font-size: .88rem; }
@media (max-width: 991px) {
  .admin-wrap { flex-direction: column; }
  .admin-side { width: 100%; display: flex; flex-wrap: wrap; padding: .5rem; }
  .admin-side .brand { width: 100%; padding: .5rem .75rem; }
  .admin-side .sep { display: none; }
  .admin-side a.item { padding: .45rem .7rem; font-size: .85rem; }
}
