/* =========================================================
   Faucet — temel stil. Renkler/fontlar temalardan gelir:
   public/themes/{tema}/theme.css içindeki CSS değişkenleri.
   ========================================================= */

:root {
  --bg: #0b0a08;
  --bg-2: #13110d;
  --surface: #17140f;
  --surface-2: #1f1b14;
  --border: rgba(255, 214, 120, .12);
  --border-strong: rgba(255, 214, 120, .28);
  --text: #f6f1e6;
  --muted: #a99f8b;
  --primary: #f5b301;
  --primary-2: #ffd970;
  --primary-ink: #1a1305;
  --accent: #ffcf4d;
  --success: #3ccf8e;
  --danger: #ff5d5d;
  --warning: #ffb547;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --glow: 0 0 0 1px var(--border), 0 10px 40px -12px color-mix(in srgb, var(--primary) 40%, transparent);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --hero-gradient: radial-gradient(1200px 500px at 70% -10%, rgba(245, 179, 1, .18), transparent 60%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image: var(--hero-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-2); text-decoration: none; }
a:hover { color: var(--primary); }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.hl { color: var(--primary); }
.gradient-text {
  background: linear-gradient(120deg, var(--primary-2), var(--primary) 50%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.4em; border-radius: 12px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  background: var(--surface-2); color: var(--text); text-decoration: none;
}
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: var(--primary-ink); box-shadow: 0 10px 30px -10px var(--primary);
}
.btn-primary:hover { color: var(--primary-ink); box-shadow: 0 14px 34px -10px var(--primary); }
.btn-outline { background: transparent; border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--primary); }
.btn-ghost { background: transparent; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-success { background: var(--success); color: #062015; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { padding: .5em .9em; font-size: .82rem; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Kartlar ---------- */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.card-title h3 { margin: 0; }
.card.glow { box-shadow: var(--glow); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.stat .value { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; }
.stat .sub { font-size: .85rem; color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: .4em; padding: .3em .75em; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.badge-primary { color: var(--primary-2); border-color: var(--border-strong); background: color-mix(in srgb, var(--primary) 10%, transparent); }
.badge-success { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, transparent); }
.badge-danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, transparent); }
.badge-warning { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 40%, transparent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; box-shadow: 0 0 0 0 var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ---------- Formlar ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; padding: .8em 1em; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg-2); color: var(--text); font: inherit; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
textarea.input { min-height: 110px; resize: vertical; font-family: var(--font-mono); font-size: .85rem; }
.input-group { display: flex; gap: 8px; }
.input-group .input { flex: 1; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.error-text { color: var(--danger); font-size: .82rem; }
.help { color: var(--muted); font-size: .8rem; }

/* ---------- Bildirimler ---------- */
.alert { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; background: var(--surface); }
.alert-success { border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 10%, var(--surface)); }
.alert-error { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 10%, var(--surface)); }
.alert-warning { border-color: color-mix(in srgb, var(--warning) 45%, transparent); background: color-mix(in srgb, var(--warning) 10%, var(--surface)); }
.announcement { background: linear-gradient(90deg, var(--primary), var(--accent)); color: var(--primary-ink); text-align: center; padding: 8px 16px; font-weight: 600; font-size: .88rem; }

/* ---------- Tablolar ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.amount-pos { color: var(--success); font-weight: 600; }
.amount-neg { color: var(--danger); font-weight: 600; }

/* ---------- Üst menü ---------- */
.topbar { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--text); }
.brand:hover { color: var(--text); }
/* Luna Faucet logosu */
.brand-mark.lf-mark { background: none !important; box-shadow: 0 8px 20px -10px var(--primary) !important; border-radius: 11px !important; padding: 0; overflow: hidden; }
.brand-mark.lf-mark svg { display: block; }
.brand-word { letter-spacing: -.03em; font-weight: 800; color: var(--heading, var(--text)); }
.brand-accent { background: linear-gradient(90deg, var(--logo-1, var(--primary)), var(--logo-2, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: var(--primary-ink); background: radial-gradient(circle at 35% 30%, var(--primary-2), var(--primary) 60%, color-mix(in srgb, var(--primary) 70%, #000)); box-shadow: inset 0 -3px 6px rgba(0,0,0,.25), 0 6px 18px -6px var(--primary); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; font-size: .92rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--primary-ink); background: linear-gradient(180deg, var(--primary-2), var(--primary)); padding: .5em .9em; }
.ticker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .8rem; color: var(--primary-2); background: color-mix(in srgb, var(--primary) 6%, transparent); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); z-index: 50; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--text); font: inherit; font-size: .9rem; background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown-menu a:hover, .dropdown-menu button:hover, .dropdown-menu .active { background: var(--surface-2); color: var(--primary-2); }
.menu-toggle { display: none; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .ticker.hide-sm { display: none; }
}

/* ---------- Üye alanı (sidebar) ---------- */
.shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.sidebar { border-right: 1px solid var(--border); padding: 22px 14px; position: sticky; top: 70px; height: calc(100vh - 70px); overflow-y: auto; background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.sidebar .balance-card { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 22%, var(--surface)), var(--surface)); border: 1px solid var(--border-strong); margin-bottom: 18px; }
.sidebar .balance-card .value { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav .group { font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding: 14px 12px 6px; font-weight: 700; }
.side-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; }
.side-nav a:hover { color: var(--text); background: var(--surface-2); }
.side-nav a.active { color: var(--primary-2); background: color-mix(in srgb, var(--primary) 12%, transparent); box-shadow: inset 2px 0 0 var(--primary); }
.side-nav a .badge { margin-left: auto; }
.main { padding: 28px; min-width: 0; display: flex; flex-direction: column; }
/* Sıralama: bildirim → sayfa başlığı → üst reklam → içerik. Reklam başlığı aşağı itmez, başlık her sayfada aynı yerde kalır */
.main > * { order: 3; }
.main > .flash-wrap { order: 0; }
.main > .page-head { order: 1; }
.main > .ad-slot.ad-top, .main > .ad-slot.ad-page-top { order: 2; margin-top: 0; }
.main > .card, .main > .grid { flex-shrink: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 1.8rem; margin: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 45; left: 0; top: 70px; width: 270px; transform: translateX(-100%); transition: transform .25s ease; background: var(--bg-2); }
  .sidebar.open { transform: none; box-shadow: var(--shadow); }
  .main { padding: 18px 16px; }
}

/* ---------- Ana sayfa ---------- */
.hero { padding: 70px 0 40px; }
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.checks { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.checks span { display: inline-flex; gap: 6px; align-items: center; }
.checks .icon { color: var(--primary); }
.hero-art { position: relative; min-height: 220px; }
.coin-stack { position: relative; height: 200px; margin-bottom: -20px; }
.coin { position: absolute; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--primary-ink); font-size: 1.4rem;
  background: radial-gradient(circle at 35% 30%, var(--primary-2), var(--primary) 55%, color-mix(in srgb, var(--primary) 60%, #000));
  box-shadow: inset 0 -8px 16px rgba(0,0,0,.3), inset 0 6px 10px rgba(255,255,255,.35), 0 25px 50px -15px var(--primary);
  animation: float 6s ease-in-out infinite; }
.coin::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--primary-ink) 30%, transparent); }
.coin.c1 { left: 10%; top: 30px; }
.coin.c2 { left: 42%; top: 0; width: 150px; height: 150px; font-size: 1.8rem; animation-delay: -2s; }
.coin.c3 { right: 6%; top: 55px; width: 95px; height: 95px; font-size: 1.1rem; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.payout-list { display: flex; flex-direction: column; }
.payout-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }
.payout-row:last-child { border-bottom: 0; }
.payout-row .amt { font-family: var(--font-mono); font-weight: 600; text-align: right; }
.payout-row .time { font-size: .75rem; color: var(--muted); }
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.stats-band .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-band .item { padding: 34px 10px; text-align: center; border-right: 1px solid var(--border); }
.stats-band .item:last-child { border-right: 0; }
.stats-band .num { font-family: var(--font-head); font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; }
.stats-band .lbl { color: var(--muted); font-size: .85rem; }
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.feature { padding: 26px; }
.feature .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); margin-bottom: 16px; border: 1px solid var(--border-strong); }
.feature .ic .icon { width: 24px; height: 24px; }
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: linear-gradient(180deg, var(--primary-2), var(--primary)); color: var(--primary-ink); }
.coins-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.coins-row .badge { font-size: .85rem; padding: .5em 1em; }
.cta { text-align: center; padding: 60px 30px; background: radial-gradient(600px 200px at 50% 0%, color-mix(in srgb, var(--primary) 25%, transparent), transparent), var(--surface); }
details.faq { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; background: var(--surface); margin-bottom: 10px; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
details.faq summary::after { content: "+"; color: var(--primary); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 12px 0 0; color: var(--muted); }
footer.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: .88rem; }
footer.site-footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 40px; }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .stats-band .item:nth-child(2) { border-right: 0; }
  .stats-band .item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 70px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 1.8rem; }

/* ---------- Faucet / sayaç ---------- */
.claim-box { text-align: center; padding: 34px 22px; }
.auto-box { width: 100%; max-width: 640px; margin: 0 auto; }
/* Faucet: geniş ekranda 300x250 reklam talep kutusunun yanında, dar ekranda üstünde */
.claim-layout { display: grid; grid-template-columns: minmax(0, 640px); justify-content: center; gap: 22px; align-items: start; }
.claim-layout.has-side-ad { grid-template-columns: 300px minmax(0, 640px); }
.claim-layout .claim-side-ad { margin: 0; min-height: 250px; position: sticky; top: 90px; }
@media (max-width: 1180px) {
  .claim-layout.has-side-ad { grid-template-columns: minmax(0, 640px); }
  .claim-layout .claim-side-ad { position: relative; top: 0; min-height: 0; }
}
.auto-earn { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 16px; }
.auto-earn .btn { flex: 1 1 160px; }
@media (max-width: 480px) { .claim-box { padding: 24px 14px; } .timer-ring { width: 150px; height: 150px; } .page-head { gap: 10px; } }
.reward-big { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.timer-ring { --p: 0; width: 180px; height: 180px; border-radius: 50%; margin: 10px auto 20px; display: grid; place-items: center;
  background: conic-gradient(var(--primary) calc(var(--p) * 1%), var(--surface-2) 0); position: relative; }
.timer-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.timer-ring span { position: relative; font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-radius: inherit; }
.captcha-box { display: flex; justify-content: center; margin: 14px 0; }
.antibot { margin: 14px auto; text-align: center; max-width: 360px; }
.antibot-instruction { color: var(--primary-2); margin: 6px 0 10px; }
.antibot-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 44px; }
.antibot-link { background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 10px; padding: 4px 6px; color: var(--text); cursor: pointer; }
.antibot-link:hover { border-color: var(--primary); }
.energy-pill { display: inline-flex; align-items: center; gap: 4px; color: #0ea5e9; }
/* Üst bar enerji göstergesi */
.energy-top { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: .88rem; white-space: nowrap;
  background: color-mix(in srgb, #f59e0b 14%, transparent); border: 1px solid color-mix(in srgb, #f59e0b 45%, transparent); color: var(--text); }
.energy-top:hover { color: var(--text); border-color: #f59e0b; }
.energy-top b { font-weight: 700; }
.energy-top-lbl { color: var(--muted); font-size: .8rem; }
.energy-top.is-low { background: color-mix(in srgb, var(--danger) 10%, transparent); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.energy-top.is-low .energy-top-ic { animation: pulse-e 1.6s ease-in-out infinite; }
@keyframes pulse-e { 50% { opacity: .35; } }
@media (max-width: 480px) { .energy-top { padding: 3px 8px; font-size: .8rem; } .energy-top-lbl { display: none; } }
.ad-slot { margin: 16px 0; text-align: center; overflow: hidden; }
.ad-slot:empty { display: none; }
.ad-slot { max-width: 100%; position: relative; z-index: 0; isolation: isolate; }
/* Sabit genişlikli banner'lar küçük ekranda taşmasın: orantılı küçült */
@media (max-width: 760px) { .ad-slot [style*="width:728px"] { zoom: .62; } }
@media (max-width: 480px) { .ad-slot [style*="width:728px"] { zoom: .46; } .ad-slot [style*="width:468px"] { zoom: .72; } }
/* Reklam ağının alta sabitlenen (sticky) reklamı: telefonda ekrana sığacak kadar küçült, içerik altında kalmasın */
body:has([class*="cc-fixed-"]) { padding-bottom: 96px; }
body:has([class*="cc-fixed-"]) .mode-toggle { bottom: 104px; }
@media (max-width: 760px) {
  [class*="cc-fixed-"] { zoom: .62; }
  body:has([class*="cc-fixed-"]) { padding-bottom: 64px; }
  body:has([class*="cc-fixed-"]) .mode-toggle { bottom: 72px; }
}
@media (max-width: 480px) {
  [class*="cc-fixed-"] { zoom: .48; }
  body:has([class*="cc-fixed-"]) { padding-bottom: 50px; }
  body:has([class*="cc-fixed-"]) .mode-toggle { bottom: 58px; }
}
@media (max-width: 360px) { [class*="cc-fixed-"] { zoom: .44; } }
/* Sayfa hiçbir durumda yatay kaymasın */
html, body { max-width: 100%; overflow-x: clip; }
.ad-floating { position: fixed; right: 16px; bottom: 16px; z-index: 60; max-width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 8px; box-shadow: var(--shadow); }
.ad-floating-x { position: absolute; top: -10px; left: -10px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--danger); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.mode-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; font-size: 1.2rem; display: grid; place-items: center; }
.ad-floating ~ .mode-toggle, .mode-toggle:has(~ .ad-floating) { bottom: 18px; left: 18px; right: auto; }
.mode-sun { display: none; }
html[data-mode="dark"] .mode-sun { display: inline; }
html[data-mode="dark"] .mode-moon { display: none; }

/* ---------- Çark ---------- */
.wheel-wrap { position: relative; width: min(380px, 85vw); aspect-ratio: 1; margin: 10px auto 24px; }
.wheel-wrap svg { width: 100%; height: 100%; transition: transform 5s cubic-bezier(.17, .67, .12, 1); filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.wheel-pointer { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 30px solid var(--primary-2); z-index: 2; filter: drop-shadow(0 4px 6px rgba(0,0,0,.5)); }
.wheel-center { position: absolute; inset: 41%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--primary-2), var(--primary)); box-shadow: 0 0 0 6px var(--surface), 0 8px 20px rgba(0,0,0,.5); }

/* ---------- Dice / coinflip ---------- */
.game-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
@media (max-width: 960px) { .game-grid { grid-template-columns: 1fr; } }
.roll-display { font-family: var(--font-mono); font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; text-align: center; padding: 20px 0; transition: color .2s; }
.roll-display.win { color: var(--success); }
.roll-display.lose { color: var(--danger); }
.range { width: 100%; accent-color: var(--primary); }
.seg { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 9px; font: 600 .9rem var(--font-body); cursor: pointer; }
.seg button.on { background: var(--primary); color: var(--primary-ink); }
.coin-flip { width: 160px; height: 160px; margin: 20px auto; perspective: 800px; }
.coin-flip .inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.3, 1.4, .5, 1); }
.coin-flip .face { position: absolute; inset: 0; border-radius: 50%; backface-visibility: hidden; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--primary-ink);
  background: radial-gradient(circle at 35% 30%, var(--primary-2), var(--primary) 60%, color-mix(in srgb, var(--primary) 60%, #000)); box-shadow: inset 0 -8px 16px rgba(0,0,0,.3), 0 20px 40px -15px var(--primary); }
.coin-flip .face.back { transform: rotateY(180deg); filter: hue-rotate(-20deg) saturate(.8); }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .88rem; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.break { word-break: break-all; }

/* ---------- Yardımcılar ---------- */
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 8px; } .gap-3 { gap: 14px; } .wrap { flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 10px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 28px; } .mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 18px; }
.text-center { text-align: center; } .text-right { text-align: right; } .small { font-size: .82rem; } .w-full { width: 100%; }
.pagination-wrap nav { display: flex; justify-content: center; margin-top: 18px; }
.pagination-wrap svg { width: 18px; }
.pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.pager a, .pager span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.pager .current { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
[x-cloak] { display: none !important; }
.fade-in { animation: fadeIn .4s ease both; }
/* Şeffaflık yok: içerik ilk karede görünür (Core Web Vitals / LCP için) */
@keyframes fadeIn { from { transform: translateY(6px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Blog (tüm temalar) ---------- */
.blog-wrap { padding-top: 46px; }
.blog-head { max-width: 720px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.blog-cover { aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--primary), var(--primary-2, var(--accent))) center / cover no-repeat; display: grid; place-items: center; }
.blog-cover span { font: 800 3rem/1 var(--font-head, inherit); color: rgba(255, 255, 255, .9); }
.blog-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-body h2, .blog-body h3 { font-size: 1.15rem; margin: 0; line-height: 1.35; }
.blog-body p { margin: 0; font-size: .93rem; }
.blog-meta { font-size: .8rem; color: var(--muted); }
.blog-more { margin-top: auto; font-weight: 700; color: var(--primary); font-size: .9rem; }
.blog-article { max-width: 820px; }
.blog-crumbs a { color: inherit; }
.blog-title h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.18; margin: 12px 0 8px; }
.blog-answer { margin: 22px 0; padding: 16px 20px; border-radius: var(--radius-sm, 12px); background: var(--surface-2); border-left: 4px solid var(--primary); }
.blog-answer p { margin-top: 6px; }
.blog-toc { margin: 0 0 22px; padding: 14px 20px; border: 1px solid var(--border); border-radius: var(--radius-sm, 12px); background: var(--surface); }
.blog-toc summary { font-weight: 700; cursor: pointer; }
.blog-toc ol { margin: 10px 0 0; padding-left: 20px; }
.blog-toc a { color: var(--text); }
.blog-content { font-size: 1.04rem; line-height: 1.75; }
.blog-content h2 { margin-top: 1.8em; scroll-margin-top: 90px; }
.blog-content h3 { margin-top: 1.4em; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.blog-content th, .blog-content td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.blog-content th { background: var(--surface-2); }
.blog-content blockquote { margin: 1em 0; padding: 10px 18px; border-left: 3px solid var(--primary); color: var(--muted); }
.blog-faq { margin-top: 34px; }
.blog-cta { margin: 34px 0; text-align: center; }
