/* ═══════════════════════════════════════════════════════════════
   AçıkSMS — Tasarım Sistemi (tek dosya)
   1. Tokenlar  2. Temel  3. Bileşenler  4. Yerleşimler
   5. Landing   6. Auth   7. Panel sayfaları  8. Admin  9. Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Tokenlar ── */
:root {
  --bg: #060912;
  --bg-soft: #090e1b;
  --surface: #0d1324;
  --surface-2: #121a2f;
  --surface-hover: #172038;
  --border: rgba(148, 163, 184, .12);
  --border-strong: rgba(148, 163, 184, .22);
  --text: #e8edf7;
  --text-2: #9aa7c0;
  --text-3: #66738e;
  --overlay: rgba(3, 6, 14, .72);
  --header-bg: rgba(6, 9, 18, .78);

  --primary: #3b82f6;
  --primary-hover: #2f6fe0;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #22d3ee 0%, #3b82f6 52%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(59, 130, 246, .10) 50%, rgba(139, 92, 246, .12));
  --ring: 0 0 0 3px rgba(59, 130, 246, .28);

  --success: #10b981; --success-bg: rgba(16, 185, 129, .12);
  --warning: #f59e0b; --warning-bg: rgba(245, 158, 11, .12);
  --danger: #ef4444;  --danger-bg: rgba(239, 68, 68, .12);
  --info: #38bdf8;    --info-bg: rgba(56, 189, 248, .12);
  --neutral-bg: rgba(148, 163, 184, .12);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;

  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 22px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 8px 24px -8px rgba(0, 0, 0, .5);
  --shadow-lg: 0 24px 60px -16px rgba(0, 0, 0, .6);
  --glow: 0 8px 28px -6px rgba(59, 130, 246, .55);

  --header-h: 64px;
  --sidebar-w: 256px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --surface-hover: #f0f4fa;
  --border: rgba(15, 23, 42, .08);
  --border-strong: rgba(15, 23, 42, .16);
  --text: #0b1324;
  --text-2: #4a5873;
  --text-3: #8592a8;
  --overlay: rgba(15, 23, 42, .45);
  --header-bg: rgba(255, 255, 255, .82);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px -10px rgba(15, 23, 42, .14);
  --shadow-lg: 0 24px 60px -20px rgba(15, 23, 42, .22);
  --neutral-bg: rgba(100, 116, 139, .12);
  color-scheme: light;
}

/* ── 2. Temel ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--cyan); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(59, 130, 246, .35); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
svg.icon { display: inline-block; vertical-align: -.18em; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--text-2); }
.subtle { color: var(--text-3); }
.mono { font-family: var(--mono); }
.text-success { color: var(--success); } .text-danger { color: var(--danger); } .text-warning { color: var(--warning); }
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 16px; }
.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)); }
.split { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.hidden { display: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── 3. Bileşenler ── */

/* Butonlar */
.btn {
  --h: 42px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: var(--r);
  border: 1px solid transparent; background: transparent;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  color: var(--text); text-decoration: none; user-select: none;
  transition: transform .15s var(--ease), background-color .15s, border-color .15s, box-shadow .2s, color .15s, opacity .15s;
  position: relative;
}
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled, .btn.is-loading { opacity: .6; cursor: not-allowed; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); background-size: 140% 140%; background-position: 0 0; }
.btn-primary:hover:not(:disabled) { color: #fff; background-position: 100% 100%; box-shadow: 0 10px 34px -6px rgba(59, 130, 246, .7); }
.btn-secondary { background: var(--surface-2); border-color: var(--border-strong); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-hover); color: var(--text); border-color: var(--primary); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-hover); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #dc2626; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover:not(:disabled) { background: #059669; color: #fff; }
.btn-soft-danger { background: var(--danger-bg); color: var(--danger); }
.btn-soft-danger:hover:not(:disabled) { background: var(--danger); color: #fff; }
.btn-soft-success { background: var(--success-bg); color: var(--success); }
.btn-soft-success:hover:not(:disabled) { background: var(--success); color: #fff; }
.btn-sm { --h: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-xs { --h: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; gap: 6px; }
.btn-lg { --h: 48px; padding: 0 22px; font-size: 15px; }
.btn-xl { --h: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-icon { width: var(--h); padding: 0; }
.btn.is-loading { color: transparent !important; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: var(--border-strong); border-top-color: var(--primary); }

/* Kart */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card-flush { padding: 0; overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-title { font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 20px; }
.card-hover { transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.card-hover:hover { border-color: rgba(59, 130, 246, .45); transform: translateY(-2px); box-shadow: var(--shadow); }
.card-glow { position: relative; overflow: hidden; }
.card-glow::before {
  content: ''; position: absolute; inset: 0; background: var(--grad-soft); pointer-events: none;
}
.card-glow > * { position: relative; }

/* Rozet */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
  border-radius: var(--r-full); font-size: 12px; font-weight: 600; white-space: nowrap;
  background: var(--neutral-bg); color: var(--text-2);
}
.badge-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-primary { background: rgba(59, 130, 246, .14); color: var(--primary); }
.badge-neutral { background: var(--neutral-bg); color: var(--text-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--text-2); }

/* Form */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.hint { font-size: 12px; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r);
  font-size: 15px; color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
.textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.select { padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); background: var(--surface); }
.input:disabled, .input[readonly] { opacity: .7; }
.input-sm, .select.input-sm { height: 38px; font-size: 14px; }
.input-wrap { position: relative; }
.input-wrap > .icon:first-child { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.input-wrap > .input { padding-left: 42px; }
.input-wrap > .input-action {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--text-3);
  display: grid; place-items: center;
}
.input-wrap > .input-action:hover { color: var(--text); background: var(--surface-hover); }
.input-wrap:has(.input-action) > .input { padding-right: 46px; }
.checkbox { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.checkbox input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); flex-shrink: 0; }
.form-error {
  display: none; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r);
  background: var(--danger-bg); color: var(--danger); font-size: 14px; border: 1px solid rgba(239, 68, 68, .25);
}
.form-error.show { display: flex; }
.form-success { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--success-bg); color: var(--success); font-size: 14px; border: 1px solid rgba(16, 185, 129, .25); }

/* Şifre gücü */
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pw-meter span { height: 4px; border-radius: 4px; background: var(--border-strong); transition: background .2s; }
.pw-meter[data-level="1"] span:nth-child(-n+1) { background: var(--danger); }
.pw-meter[data-level="2"] span:nth-child(-n+2) { background: var(--warning); }
.pw-meter[data-level="3"] span:nth-child(-n+3) { background: var(--info); }
.pw-meter[data-level="4"] span { background: var(--success); }

/* Kod kutuları (6 hane) */
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input {
  height: 54px; width: 100%; text-align: center; font-size: 22px; font-weight: 700; font-family: var(--mono);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r); color: var(--text);
}
.otp input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }

/* Toggle */
.toggle { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle span { position: absolute; inset: 0; border-radius: 99px; background: var(--border-strong); transition: background .2s; cursor: pointer; }
.toggle span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: var(--shadow-sm); }
.toggle input:checked + span { background: var(--primary); }
.toggle input:checked + span::after { transform: translateX(18px); }
.toggle input:focus-visible + span { box-shadow: var(--ring); }

/* Sekmeler / filtre çipleri */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .tab.active, :root:not([data-theme="light"]) .tab.active { background: var(--surface-hover); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 34px; padding: 0 14px; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600; }
.chip:hover { color: var(--text); border-color: var(--primary); }
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Arama */
.search { position: relative; flex: 1; min-width: 200px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search .input { padding-left: 42px; }

/* Tablo */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; padding: 12px 16px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-3); background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: var(--surface-hover); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions .btn + .btn { margin-left: 4px; }
.table tr.clickable { cursor: pointer; }
.cell-user { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cell-user strong { display: block; font-weight: 600; }
.cell-user small { display: block; color: var(--text-3); font-size: 12px; }

/* Avatar / servis ikonu */
.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
}
.avatar-sm { width: 30px; height: 30px; font-size: 12px; }
.avatar-lg { width: 64px; height: 64px; font-size: 24px; }
.svc-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  font-weight: 800; font-size: 17px; background: color-mix(in srgb, var(--c, #3b82f6) 16%, transparent); color: var(--c, #3b82f6);
  border: 1px solid color-mix(in srgb, var(--c, #3b82f6) 30%, transparent);
}
.svc-icon-sm { width: 30px; height: 30px; border-radius: 9px; font-size: 13px; }
.svc-icon { position: relative; overflow: hidden; }
.svc-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.svc-icon-sm img { padding: 4px; }
.svc-logo { background: #fff; border-color: var(--border-strong); color: transparent; }
.flag { display: inline-block; border-radius: 3px; object-fit: cover; vertical-align: -.2em; box-shadow: 0 0 0 1px var(--border-strong); flex-shrink: 0; background: var(--surface-2); }
.flag-empty { display: inline-grid; place-items: center; color: var(--text-3); }

/* Boş durum / yükleme */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 20px; color: var(--text-2); }
.empty-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-3); margin-bottom: 4px; }
.empty h3 { font-size: 16px; }
.empty p { font-size: 14px; max-width: 380px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border-strong); border-top-color: var(--primary); animation: spin .8s linear infinite; }
.page-loader { display: grid; place-items: center; min-height: 40vh; }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-hover) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }

/* Uyarı kutusu */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r); font-size: 14px; border: 1px solid; align-items: flex-start; }
.alert-info { background: var(--info-bg); border-color: rgba(56, 189, 248, .25); color: var(--text); }
.alert-info .icon { color: var(--info); }
.alert-warning { background: var(--warning-bg); border-color: rgba(245, 158, 11, .3); color: var(--text); }
.alert-warning .icon { color: var(--warning); }
.alert-danger { background: var(--danger-bg); border-color: rgba(239, 68, 68, .3); color: var(--text); }
.alert-danger .icon { color: var(--danger); }

/* Sayfalama */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }

/* Toast */
.toast-stack { position: fixed; z-index: 1000; top: calc(var(--header-h) + 12px); right: 16px; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 14px 16px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  animation: toast-in .3s var(--ease); position: relative; overflow: hidden;
}
.toast::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tc, var(--primary)); }
.toast-success { --tc: var(--success); } .toast-error { --tc: var(--danger); } .toast-warning { --tc: var(--warning); } .toast-info { --tc: var(--info); }
.toast > .icon { color: var(--tc); margin-top: 1px; }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 650; font-size: 14px; }
.toast-msg { font-size: 13px; color: var(--text-2); margin-top: 2px; word-wrap: break-word; }
.toast-close { border: 0; background: transparent; color: var(--text-3); padding: 2px; border-radius: 6px; }
.toast-close:hover { color: var(--text); }
.toast.leaving { animation: toast-out .25s var(--ease) forwards; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 900; background: var(--overlay);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; transition: opacity .2s;
}
.modal-backdrop.open { opacity: 1; }
.modal {
  width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  transform: translateY(12px) scale(.98); transition: transform .25s var(--ease);
}
.modal-backdrop.open .modal { transform: none; }
.modal-sm { max-width: 400px; } .modal-lg { max-width: 640px; } .modal-xl { max-width: 860px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-title { font-size: 16px; font-weight: 700; }
.modal-close { width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-3); display: grid; place-items: center; }
.modal-close:hover { background: var(--surface-hover); color: var(--text); }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* AçıkSMS Captcha */
.acaptcha {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 66px; padding: 12px 14px;
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r);
  cursor: pointer; user-select: none; transition: border-color .15s, box-shadow .15s; text-align: left;
}
.acaptcha:hover { border-color: var(--primary); }
.acaptcha:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--primary); }
.acaptcha-box {
  width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--border-strong); background: var(--surface);
  display: grid; place-items: center; flex-shrink: 0; color: #fff; transition: all .2s var(--ease);
}
.acaptcha.verified .acaptcha-box { background: var(--success); border-color: var(--success); }
.acaptcha.loading .acaptcha-box { border-color: var(--border-strong); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
.acaptcha-text { flex: 1; font-size: 14.5px; font-weight: 600; color: var(--text); }
.acaptcha-text small { display: block; font-size: 12px; font-weight: 500; color: var(--text-3); margin-top: 1px; }
.acaptcha.verified .acaptcha-text small { color: var(--success); }
.acaptcha-brand { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; color: var(--text-3); text-align: center; line-height: 1.15; }
.acaptcha-brand svg { width: 26px; height: 26px; }
.acaptcha.error { border-color: var(--danger); }
.captcha-modal-img { position: relative; background: #f1f5f9; border-radius: var(--r); overflow: hidden; aspect-ratio: 220 / 76; display: grid; place-items: center; border: 1px solid var(--border-strong); }
.captcha-modal-img svg { width: 100%; height: 100%; }
.captcha-modal-row { display: flex; gap: 10px; margin-top: 14px; }
.captcha-modal-row .input { text-transform: uppercase; letter-spacing: .3em; font-family: var(--mono); font-weight: 700; text-align: center; font-size: 18px; }

/* Bildirim noktası / sayaç */
.count-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }

/* ── 4. Yerleşimler ── */

/* Marka */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand svg { width: 34px; height: 34px; }
.brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Kayan duyuru şeridi */
:root { --ticker-h: 0px; }
body.has-ticker { --ticker-h: 38px; }
.ticker {
  --tk: var(--primary);
  position: relative; z-index: 101; display: flex; align-items: center; height: 38px; overflow: hidden;
  background: color-mix(in srgb, var(--tk) 13%, var(--bg)); border-bottom: 1px solid color-mix(in srgb, var(--tk) 32%, transparent);
  color: var(--text); font-size: 13.5px; font-weight: 550;
}
.site-ticker { position: fixed; top: 0; left: 0; right: 0; }
.ticker-success { --tk: var(--success); } .ticker-warning { --tk: var(--warning); } .ticker-danger { --tk: var(--danger); }
.ticker-label { flex-shrink: 0; display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 12px; background: var(--tk); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ticker-viewport { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--dur, 24s) linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-run { display: flex; align-items: center; white-space: nowrap; padding-right: 80px; padding-left: 24px; }
.ticker-sep { margin: 0 22px; color: var(--tk); }
.ticker-close { flex-shrink: 0; width: 38px; height: 100%; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; }
.ticker-close:hover { color: var(--text); background: color-mix(in srgb, var(--tk) 18%, transparent); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Public header */
.site-header {
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 100; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: background .25s, border-color .25s;
}
.site-header.scrolled { background: var(--header-bg); border-bottom-color: var(--border); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-size: 14px; font-weight: 550; }
.site-nav a:hover, .site-nav a.active { color: var(--text); background: var(--surface-hover); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn.menu-btn { display: none; }
.mobile-drawer {
  position: fixed; inset: calc(var(--header-h) + var(--ticker-h)) 0 0 0; z-index: 99; background: var(--bg);
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.mobile-drawer.open { opacity: 1; transform: none; visibility: visible; }
.mobile-drawer a.nav-link { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 12px; color: var(--text); font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--border); }
.mobile-drawer .drawer-actions { display: grid; gap: 10px; margin-top: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--text-2); font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }

/* Çerez bandı */
.cookie-bar {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); font-size: 13.5px; color: var(--text-2); animation: toast-in .3s var(--ease);
}
.cookie-bar .row { flex-shrink: 0; }

/* Uygulama kabuğu (kullanıcı + admin): üstte sabit başlık + animasyonlu menü */
.shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.panel-header {
  position: sticky; top: 0; z-index: 90; background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.panel-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6, #22d3ee); background-size: 300% 100%;
  animation: grad-line 9s linear infinite; opacity: .9;
}
.panel-wrap { width: 100%; margin: 0; padding: 0 clamp(16px, 2.2vw, 40px); } /* başlık ekranın tamamını kaplar */
#shell-ticker:empty { display: none; }
.panel-bar { border-bottom: 1px solid var(--border); }
.panel-bar .panel-wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-actions { display: flex; align-items: center; gap: 6px; }
.panel-nav .panel-wrap { padding: 0 clamp(12px, 2.2vw, 40px); }
.panel-nav-scroll {
  display: flex; align-items: center; justify-content: safe center; gap: 6px; overflow-x: auto; padding: 10px 0 12px; scrollbar-width: none;
}
.panel-nav-scroll::-webkit-scrollbar { display: none; }
.pnav-link {
  position: relative; isolation: isolate; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 15px; border-radius: var(--r-full); border: 1px solid transparent; white-space: nowrap;
  color: var(--text-2); font-size: 13.5px; font-weight: 600;
  transition: color .2s, transform .2s var(--ease), border-color .2s, background-color .2s, box-shadow .25s;
}
.pnav-link::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad); background-size: 200% 200%;
  opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s var(--ease);
}
.pnav-link .icon { transition: transform .3s var(--ease); }
.pnav-link:hover { color: var(--text); background: var(--surface-hover); border-color: var(--border-strong); transform: translateY(-2px); }
.pnav-link:hover .icon { transform: scale(1.15) rotate(-8deg); }
.pnav-link:active { transform: translateY(0) scale(.96); }
.pnav-link.active { color: #fff; border-color: transparent; box-shadow: var(--glow); }
.pnav-link.active::before { opacity: 1; transform: none; animation: grad-shift 5s ease infinite alternate; }
.pnav-link .count-badge { margin-left: 2px; }
.pnav-sep { width: 1px; height: 22px; flex-shrink: 0; margin: 0 4px; background: var(--border-strong); }
.pnav-hot:not(.active) { color: var(--text); background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box, var(--grad) border-box; }
.pnav-hot:not(.active) .icon { color: var(--violet); animation: wiggle 2.8s ease-in-out infinite; }
.pnav-hot:not(.active):hover { background: linear-gradient(var(--surface-hover), var(--surface-hover)) padding-box, var(--grad) border-box; }

/* Admin ⇄ Kullanıcı paneli geçişi */
.panel-switch {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--text); border: 1px solid transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.panel-switch:hover { color: var(--text); transform: translateY(-1px); box-shadow: var(--glow); }
.panel-switch-admin .icon { color: var(--warning); }
.pnav-switch:not(.active) { color: var(--warning); border-color: rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .08); }
.pnav-switch:not(.active):hover { color: var(--warning); border-color: rgba(245, 158, 11, .6); background: rgba(245, 158, 11, .14); }

/* Kâr marjı */
.profit-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid var(--border-strong); }
.pct-input { position: relative; }
.pct-input .input { font-size: 22px; font-weight: 800; padding-right: 40px; height: 52px; }
.pct-input span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 800; color: var(--text-3); }
@media (max-width: 768px) { .profit-hero { grid-template-columns: 1fr; } }

/* Para birimi seçici (₺ / $ / €) */
.cur-switch { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border-strong); }
.cur-switch button { min-width: 30px; height: 30px; padding: 0 8px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--text-2); font-size: 13.5px; font-weight: 800; transition: background .2s, color .2s; }
.cur-switch button:hover { color: var(--text); }
.cur-switch button.active { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.um-cur { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-3); }

/* Kullanıcı menüsü */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 4px; border-radius: var(--r-full);
  border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); font-size: 13.5px; font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.user-menu-btn:hover, .user-menu.open .user-menu-btn { border-color: var(--primary); box-shadow: var(--ring); }
.user-menu-btn > .icon { color: var(--text-3); transition: transform .2s var(--ease); }
.user-menu.open .user-menu-btn > .icon { transform: rotate(180deg); }
.user-menu-pop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 130; width: 248px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.user-menu.open .user-menu-pop { opacity: 1; visibility: visible; transform: none; }
.um-head { padding: 8px 10px 10px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.um-head strong { display: block; font-size: 14px; }
.um-head small { display: block; font-size: 12px; color: var(--text-3); }
.user-menu-pop a, .user-menu-pop button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: transparent;
  color: var(--text-2); font-size: 14px; font-weight: 550; text-align: left; transition: background .15s, color .15s, padding-left .2s var(--ease);
}
.user-menu-pop a:hover, .user-menu-pop button:hover { background: var(--surface-hover); color: var(--text); padding-left: 14px; }
.user-menu-pop button { color: var(--danger); }
.admin-tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(245, 158, 11, .14); color: var(--warning); font-size: 11px; font-weight: 700; letter-spacing: .04em; }

.balance-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 6px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--text); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.balance-chip:hover { border-color: var(--primary); color: var(--text); transform: translateY(-1px); box-shadow: var(--ring); }
.balance-chip i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; transition: transform .3s var(--ease); }
.balance-chip:hover i { transform: rotate(90deg); }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--text-2); display: grid; place-items: center; transition: background .15s, color .15s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--surface-hover); color: var(--text); transform: translateY(-1px); }
.icon-btn .count-badge { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; font-size: 10px; border: 2px solid var(--bg); box-sizing: content-box; }
.content { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 28px 48px; }
.shell .sticky-side { position: sticky; top: 140px; } /* .card-glow'un position:relative'ini ezer */

/* Animasyonlu buton parıltısı / kart kalkışı */
.btn-shine { overflow: hidden; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg);
  animation: shine 3.4s ease-in-out infinite;
}
.card-lift { transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.card-lift:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, .4); box-shadow: var(--shadow); }

/* Referans */
.gradient-border { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.ref-banner {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r-xl);
  border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
}
.ref-banner::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px 160px at 0% 50%, rgba(139, 92, 246, .16), transparent 70%), radial-gradient(360px 160px at 100% 50%, rgba(34, 211, 238, .12), transparent 70%); }
.ref-banner > * { position: relative; }
.ref-banner strong { display: block; font-size: 16px; font-weight: 750; }
.ref-banner small { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.ref-banner small b { color: var(--text); }
.ref-banner-ico, .invite-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--glow); animation: float 4s ease-in-out infinite; }
.ref-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.tg-banner { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r-xl); background: linear-gradient(135deg, rgba(42, 171, 238, .14), rgba(59, 130, 246, .06)); border: 1px solid rgba(42, 171, 238, .35); }
.tg-banner strong { display: flex; align-items: center; gap: 8px; font-size: 15.5px; }
.tg-banner small { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.sup-ch { display: flex; align-items: center; gap: 12px; color: var(--text); padding: 14px 16px; }
.sup-ch:hover { color: var(--text); }
.sup-ch strong { display: block; font-size: 14.5px; }
.sup-ch small { display: block; font-size: 12.5px; color: var(--text-3); }
.sup-ch-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; background: var(--c); box-shadow: 0 6px 18px -6px var(--c); }
.seo-text h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; margin-bottom: 14px; }
.seo-text h3 { font-size: 17px; font-weight: 700; margin: 22px 0 6px; }
.seo-text p { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.seo-text strong { color: var(--text); }
.btn-tg { background: #2AABEE; color: #fff; box-shadow: 0 8px 24px -8px rgba(42, 171, 238, .7); }
.btn-tg:hover { color: #fff; background: #229ED9; }
.tg-ico { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #2AABEE; color: #fff; box-shadow: 0 8px 24px -6px rgba(42, 171, 238, .6); }
.tg-ico .icon { transform: translateX(-1px) rotate(-8deg); }
@media (max-width: 768px) { .tg-banner { flex-wrap: wrap; } .tg-banner .btn { width: 100%; } }
.ref-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center;
  padding: 32px; border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: var(--surface);
}
.ref-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(480px 260px at 0% 0%, rgba(139, 92, 246, .18), transparent 70%), radial-gradient(480px 260px at 100% 100%, rgba(34, 211, 238, .14), transparent 70%); }
.ref-hero > * { position: relative; }
.ref-hero h1 { font-size: 30px; font-weight: 800; margin: 14px 0 12px; letter-spacing: -.03em; }
.ref-hero p { color: var(--text-2); font-size: 15px; max-width: 520px; }
.ref-hero p strong { color: var(--text); }
.ref-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--r-full); font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--violet); background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .3); }
.ref-link-card { padding: 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.ref-link-row { display: flex; gap: 8px; margin-top: 8px; }
.ref-link-row .input { flex: 1 1 auto; min-width: 0; font-size: 13.5px; }
.custom-ref { padding-top: 16px; border-top: 1px dashed var(--border-strong); }
.ref-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ref-step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .25s var(--ease), border-color .25s; }
.ref-step:hover { transform: translateY(-3px); border-color: rgba(139, 92, 246, .45); }
.ref-step strong { font-size: 15px; margin-top: 6px; }
.ref-step small { font-size: 13.5px; color: var(--text-2); }
.ref-step-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--primary); border: 1px solid var(--border); }
.ref-step-no { position: absolute; top: 14px; right: 16px; font-size: 34px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.rules-list { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.rules-list strong { color: var(--text); }
.invite-banner {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 22px; border-radius: var(--r-lg);
  border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
}
.invite-banner .invite-ico { width: 44px; height: 44px; border-radius: 13px; }
.invite-banner strong { display: block; font-size: 16px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invite-banner small { display: block; font-size: 13px; color: var(--text-2); margin-top: 2px; }
.invite-banner small b { color: var(--text); }

/* Bakiye yükleme: yöntem / kupon / ödeme bilgileri */
.method-grid { display: grid; gap: 10px; }
.pm-head { display: flex; align-items: flex-start; gap: 14px; }
.pm-head strong { display: block; font-size: 15.5px; }
.pm-head small { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.pm-save { position: sticky; bottom: 12px; z-index: 5; box-shadow: var(--shadow-lg); }
.method-tag { height: 22px; padding: 0 8px; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: .06em; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-2); }
.step-no { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.coupon-info { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--success-bg); border: 1px dashed rgba(16, 185, 129, .45); font-size: 13.5px; color: var(--text-2); line-height: 1.5; }
.coupon-info .icon { color: var(--success); margin-top: 1px; }
.coupon-info strong { color: var(--text); }
.pay-amount { text-align: center; padding: 6px 0 16px; }
.pay-amount small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); }
.pay-amount strong { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-card { border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); overflow: hidden; }
.pay-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 32px; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.pay-row:last-child { border-bottom: 0; }
.pay-row > span { color: var(--text-3); font-size: 13px; }
.pay-row strong { word-break: break-all; }

@keyframes grad-line { to { background-position: 300% 0; } }
@keyframes grad-shift { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes wiggle { 0%, 78%, 100% { transform: none; } 84% { transform: rotate(-14deg) scale(1.15); } 90% { transform: rotate(10deg) scale(1.15); } 95% { transform: rotate(-5deg); } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 26px; font-weight: 750; }
.page-head p { color: var(--text-2); margin-top: 6px; font-size: 14.5px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }

.enter { animation: enter .35s var(--ease) both; }

/* ── 5. Landing ── */
.hero { position: relative; padding: calc(var(--header-h) + var(--ticker-h) + 72px) 0 72px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background: radial-gradient(600px 340px at 20% 30%, rgba(34, 211, 238, .16), transparent 60%),
              radial-gradient(560px 360px at 80% 20%, rgba(139, 92, 246, .18), transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px 0 10px; border-radius: var(--r-full); border: 1px solid var(--border-strong); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--text-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; line-height: 1.05; }
.hero-lead { font-size: 18px; color: var(--text-2); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 30px; color: var(--text-2); font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--success); }

.hero-visual { position: relative; }
.device {
  position: relative; border-radius: 26px; padding: 20px; background: var(--surface); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.device::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.device-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.device-num { font-family: var(--mono); font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.device-code { display: flex; gap: 8px; margin: 18px 0; }
.device-code span { flex: 1; height: 56px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 26px; font-weight: 800; background: var(--surface-2); border: 1px solid var(--border-strong); }
.device-code span:nth-child(-n+3) { border-color: rgba(59, 130, 246, .5); color: var(--primary); }
.device-list { display: grid; gap: 8px; }
.device-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13.5px; }
.device-row .grow small { display: block; color: var(--text-3); font-size: 12px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 13px; font-weight: 600;
}
.float-card .icon { color: var(--success); }
.float-a { left: -28px; bottom: -22px; animation: float 6s ease-in-out infinite; }
.float-b { right: -18px; top: -18px; animation: float 7s ease-in-out infinite reverse; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.stats-strip > div { background: var(--surface); padding: 22px; text-align: center; }
.stats-strip strong { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.stats-strip span { font-size: 13px; color: var(--text-3); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 14px; color: var(--text-2); font-size: 16.5px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; }
.step-num { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; box-shadow: var(--glow); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 130, 246, .12); color: var(--primary); margin-bottom: 16px; border: 1px solid rgba(59, 130, 246, .2); }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 14px; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.svc-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; cursor: pointer; text-align: left; color: var(--text); width: 100%; }
.svc-card-top { display: flex; align-items: center; gap: 12px; }
.svc-card-name { font-weight: 700; font-size: 15px; }
.svc-card-sub { font-size: 12.5px; color: var(--text-3); }
.svc-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.svc-price { font-size: 19px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.svc-card.disabled { opacity: .55; cursor: not-allowed; }

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 650; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform .2s var(--ease); color: var(--text-3); }
.faq-item[open] summary .icon { transform: rotate(180deg); color: var(--primary); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item p { padding: 0 20px 18px; color: var(--text-2); font-size: 14.5px; }

.cta-band { position: relative; overflow: hidden; text-align: center; padding: 56px 24px; border-radius: 28px; border: 1px solid var(--border-strong); background: var(--surface); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 220px at 50% 0%, rgba(59, 130, 246, .25), transparent 70%), radial-gradient(400px 200px at 80% 100%, rgba(139, 92, 246, .2), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.cta-band p { color: var(--text-2); margin: 12px auto 28px; max-width: 520px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.public-page { padding: calc(var(--header-h) + var(--ticker-h) + 48px) 0 72px; min-height: 70vh; }
.prose { color: var(--text-2); font-size: 15px; line-height: 1.75; }
.prose h3 { color: var(--text); font-size: 17px; margin: 22px 0 8px; }
.prose p + p { margin-top: 12px; }
.prose h3:first-child { margin-top: 0; }
.prose ul { margin: 10px 0; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-2); color: var(--text); font-weight: 650; }
.prose code { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); }

/* ── 6. Auth ── */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside {
  position: relative; overflow: hidden; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-soft); border-right: 1px solid var(--border);
}
.auth-aside::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 360px at 20% 20%, rgba(34, 211, 238, .16), transparent 65%), radial-gradient(520px 380px at 90% 90%, rgba(139, 92, 246, .2), transparent 65%); pointer-events: none; }
.auth-aside > * { position: relative; }
.auth-aside h2 { font-size: 34px; font-weight: 800; letter-spacing: -.03em; max-width: 440px; }
.auth-aside ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-aside li { display: flex; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.auth-aside li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 130, 246, .12); color: var(--primary); border: 1px solid rgba(59, 130, 246, .2); }
.auth-main { display: flex; flex-direction: column; padding: 24px; }
.auth-top { display: flex; justify-content: space-between; align-items: center; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 32px 0; }
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.auth-card .lead { color: var(--text-2); margin: 8px 0 28px; }
.auth-foot { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-2); }
.steps-dots { display: flex; gap: 6px; margin-bottom: 20px; }
.steps-dots span { height: 4px; flex: 1; border-radius: 4px; background: var(--border-strong); }
.steps-dots span.on { background: var(--grad); }

/* ── 7. Panel sayfaları ── */
.welcome {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--border-strong); background: var(--surface); margin-bottom: 20px;
}
.welcome::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 220px at 0% 0%, rgba(34, 211, 238, .14), transparent 70%), radial-gradient(420px 240px at 100% 100%, rgba(139, 92, 246, .16), transparent 70%); pointer-events: none; }
.welcome > * { position: relative; }
.welcome h1 { font-size: 24px; font-weight: 750; }
.welcome p { color: var(--text-2); margin: 6px 0 18px; }
.welcome-balance { text-align: right; }
.welcome-balance small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); font-weight: 700; }
.welcome-balance strong { display: block; font-size: 36px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 4px; }

.stat { padding: 18px 20px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: var(--text-3); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.stat-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--sc, var(--primary)); border: 1px solid var(--border); }
.stat-val { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12.5px; color: var(--text-3); margin-top: 2px; }

.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
.list-item:hover { background: var(--surface-hover); }
.list-item .grow strong { display: block; font-size: 14px; font-weight: 600; }
.list-item .grow small { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 2px; }
.amount { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount.pos { color: var(--success); }

.code-pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 6px 0 12px; border-radius: 9px; font-family: var(--mono); font-weight: 800; font-size: 15px; letter-spacing: .08em; background: rgba(59, 130, 246, .12); color: var(--primary); border: 1px solid rgba(59, 130, 246, .25); }
.code-pill button { border: 0; background: transparent; color: inherit; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; }
.code-pill button:hover { background: rgba(59, 130, 246, .2); }

.amount-input { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border-strong); }
.amount-input span { font-size: 32px; font-weight: 800; color: var(--text-3); }
.amount-input input { width: 100%; max-width: 240px; border: 0; background: transparent; font-size: 44px; font-weight: 800; letter-spacing: -.03em; text-align: center; color: var(--text); outline: none; font-variant-numeric: tabular-nums; }
.method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--border-strong); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s, transform .2s var(--ease); }
.method:hover { border-color: var(--primary); transform: translateY(-1px); }
.method:has(input:checked) { border-color: var(--primary); background: rgba(59, 130, 246, .08); box-shadow: var(--ring); }
.method input { accent-color: var(--primary); width: 18px; height: 18px; }
.method strong { display: block; font-size: 14px; }
.method small { display: block; font-size: 12px; color: var(--text-3); }
.method-static { cursor: default; border-color: var(--primary); background: rgba(59, 130, 246, .08); box-shadow: var(--ring); }
.card-brands { display: flex; gap: 6px; flex-shrink: 0; }
.card-brands span { height: 22px; padding: 0 7px; border-radius: 5px; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; background: var(--surface); border: 1px solid var(--border-strong); color: var(--text-2); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pkg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 12px; border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: var(--surface-2); cursor: pointer; transition: border-color .15s, transform .15s, background .15s; }
.pkg:hover { border-color: var(--primary); transform: translateY(-2px); }
.pkg:has(input:checked) { border-color: var(--primary); background: rgba(59, 130, 246, .1); box-shadow: var(--ring); }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pkg small { font-size: 12px; color: var(--text-3); }
.pkg .pkg-bonus { color: var(--success); font-weight: 700; }
.ref-box { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px dashed var(--primary); font-family: var(--mono); font-size: 22px; font-weight: 800; letter-spacing: .06em; color: var(--primary); }
.ref-box.ref-email { font-size: 15px; letter-spacing: 0; word-break: break-all; margin-top: 8px; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); line-height: 1.55; }
.steps-list strong { color: var(--text); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--text-2); border-bottom: 1px dashed var(--border); }
.summary-row:last-child { border-bottom: 0; }
.summary-row strong { color: var(--text); font-variant-numeric: tabular-nums; }
.summary-total { font-size: 17px; }
.summary-total strong { font-size: 22px; }

/* Destek */
.support { display: grid; grid-template-columns: 340px 1fr; min-height: 560px; }
.support-list { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.support-list-items { overflow-y: auto; flex: 1; max-height: 640px; }
.ticket { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text); }
.ticket:hover { background: var(--surface-hover); }
.ticket.active { background: rgba(59, 130, 246, .1); box-shadow: inset 3px 0 0 var(--primary); }
.ticket-subject { font-weight: 650; font-size: 14px; }
.ticket-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-3); }
.ticket-preview { font-size: 12.5px; color: var(--text-3); margin-top: 4px; }
.chat { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 560px; min-height: 320px; background: var(--bg-soft); }
.msg { max-width: 78%; display: flex; flex-direction: column; gap: 4px; }
.msg-bubble { padding: 11px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; background: var(--surface); border: 1px solid var(--border); }
.msg small { font-size: 11.5px; color: var(--text-3); padding: 0 4px; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .msg-bubble { background: var(--primary); color: #fff; border-color: transparent; border-bottom-right-radius: 4px; }
.msg.them .msg-bubble { border-bottom-left-radius: 4px; }
.msg.note .msg-bubble { background: var(--warning-bg); border-color: rgba(245, 158, 11, .35); }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); align-items: flex-end; }
.chat-input .textarea { min-height: 46px; height: 46px; max-height: 160px; resize: none; }

/* Bildirimler */
.notif { display: flex; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.notif:last-child { border-bottom: 0; }
.notif.unread { background: rgba(59, 130, 246, .06); }
.notif-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary); }
.notif strong { font-size: 14px; }
.notif p { font-size: 13.5px; color: var(--text-2); margin-top: 3px; }
.notif small { font-size: 12px; color: var(--text-3); }

/* Profil */
.profile-head { display: flex; align-items: center; gap: 18px; }
.profile-head h2 { font-size: 20px; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.setting-row:last-child { border-bottom: 0; }
.setting-row strong { display: block; font-size: 14.5px; }
.setting-row small { display: block; font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* ── 8. Admin ── */
.chart { display: flex; align-items: flex-end; gap: 6px; height: 200px; padding-top: 10px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; min-width: 0; }
.chart-bar { width: 100%; max-width: 32px; border-radius: 6px 6px 2px 2px; background: var(--grad); min-height: 3px; opacity: .9; transition: opacity .15s; position: relative; }
.chart-bar:hover { opacity: 1; }
.chart-reg { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 800; color: var(--success); white-space: nowrap; }
.chart-col small { font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.dist { display: grid; gap: 14px; }
.dist-row .row-between { font-size: 13px; margin-bottom: 6px; }
.bar-track { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; font-weight: 550; text-align: right; word-break: break-word; }
.log-meta { font-family: var(--mono); font-size: 12px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; white-space: pre-wrap; word-break: break-word; max-width: 420px; }
.coupon-code { font-family: var(--mono); font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px; background: rgba(139, 92, 246, .12); color: var(--violet); border: 1px dashed rgba(139, 92, 246, .45); }

/* ── SMS servisleri (5SIM) ── */
.svc-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.svc-toolbar .search { flex: 1; min-width: 240px; max-width: 520px; }
.svc-count { font-size: 13px; font-weight: 600; color: var(--text-3); }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent); }
.chips-scroll::-webkit-scrollbar { display: none; }
.chips-scroll .chip { flex-shrink: 0; }
.svc-card { position: relative; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.svc-card:hover:not(.disabled) .svc-go { background: var(--grad); color: #fff; transform: translateX(2px); }
.svc-hot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(245, 158, 11, .14); color: var(--warning); flex-shrink: 0; align-self: flex-start; }
.svc-from { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em; }
.svc-go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); transition: background .2s, color .2s, transform .2s var(--ease); }
.rate { display: inline-block; padding: 2px 7px; border-radius: 6px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rate-good { background: var(--success-bg); color: var(--success); }
.rate-mid { background: var(--warning-bg); color: var(--warning); }
.rate-low { background: var(--danger-bg); color: var(--danger); }

/* Ülke / operatör seçimi */
.cp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cp-head strong { display: block; font-size: 16px; }
.cp-head small { display: block; font-size: 12.5px; }
.cp-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.cp-tools .search { min-width: 180px; }
.cp-list { max-height: min(46vh, 420px); overflow-y: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); }
.cp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text); text-align: left; transition: background .12s; }
.cp-row:last-child { border-bottom: 0; }
.cp-row:hover { background: var(--surface-hover); }
.cp-row.active { background: rgba(59, 130, 246, .12); box-shadow: inset 3px 0 0 var(--primary); }
.cp-row strong { display: block; font-size: 14px; }
.cp-row small { display: block; font-size: 12px; color: var(--text-3); }
.cp-stat { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 58px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cp-stat small { font-size: 10.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.cp-price { font-size: 16px; font-weight: 800; min-width: 84px; text-align: right; font-variant-numeric: tabular-nums; }
.cp-buy { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; animation: enter .25s var(--ease) both; }
.cp-buy-top { display: flex; align-items: center; gap: 12px; }
.cp-buy-top strong { display: block; font-size: 15px; }
.cp-buy-top .cp-price { font-size: 22px; }

/* Aktif numaralar */
.sms-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sms-how > div { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.sms-how span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.active-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.active-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.order-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-strong); animation: enter .3s var(--ease) both; }
.order-card.is-waiting { border-color: rgba(245, 158, 11, .4); }
.order-card.is-done { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #10b981, #22d3ee) border-box; }
.order-card-top { display: flex; align-items: center; gap: 12px; }
.order-card-top strong { display: block; font-size: 15px; }
.order-card-top small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); }
.order-phone { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--r); background: var(--surface-2); font-size: 20px; font-weight: 800; letter-spacing: .02em; }
.order-wait { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); }
.order-code { text-align: center; padding: 12px; border-radius: var(--r); background: var(--success-bg); border: 1px dashed rgba(16, 185, 129, .5); }
.order-code small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 4px; }
.order-code strong { font-size: 30px; letter-spacing: .12em; color: var(--success); }
.order-sms { margin-top: 8px; font-size: 12.5px; color: var(--text-2); text-align: left; word-break: break-word; }
.order-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.countdown { font-family: var(--mono); font-weight: 800; font-size: 15px; padding: 4px 10px; border-radius: 8px; background: var(--warning-bg); color: var(--warning); font-variant-numeric: tabular-nums; }
.countdown.low { background: var(--danger-bg); color: var(--danger); animation: blink 1s steps(2) infinite; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warning); flex-shrink: 0; box-shadow: 0 0 0 0 rgba(245, 158, 11, .6); animation: pulse-ring 1.6s ease-out infinite; }
.sms-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.sms-item:last-child { border-bottom: 0; }
.sms-item p { font-size: 14px; color: var(--text-2); margin: 6px 0; word-break: break-word; }
@keyframes pulse-ring { to { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); } }
@keyframes blink { 50% { opacity: .55; } }

/* ── Animasyonlar ── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(16px); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── 9. Responsive ── */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support { grid-template-columns: 280px 1fr; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .sticky-side, .shell .sticky-side { position: relative; top: 0; }
}

@media (max-width: 1024px) {
  .icon-btn.menu-btn { display: grid; }
  .panel-wrap { padding: 0 16px; }
  .panel-nav .panel-wrap { padding: 0 6px; }
  .panel-nav-scroll { padding: 10px 10px 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
  .content { padding: 20px 16px 32px; }
  .ref-hero { grid-template-columns: 1fr; padding: 24px; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .site-nav, .header-actions .hide-mobile { display: none; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 64px 0; }
  .hero { padding: calc(var(--header-h) + var(--ticker-h) + 40px) 0 48px; }
  .hero-lead { font-size: 16px; }
  .float-a { left: -6px; } .float-b { right: -6px; }
  .welcome { grid-template-columns: 1fr; padding: 22px; }
  .welcome-balance { text-align: left; }
  .page-head h1 { font-size: 22px; }
  .support { grid-template-columns: 1fr; }
  .support-list { border-right: 0; }
  .support.has-active .support-list { display: none; }
  .support:not(.has-active) .chat { display: none; }
  .msg { max-width: 90%; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .ticker { font-size: 13px; }
  .ticker-label span { display: none; }
  .modal { max-width: none !important; border-radius: 22px 22px 0 0; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .modal-footer .btn { flex: 1; }
  .toast-stack { top: auto; bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; left: 16px; width: auto; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; }
  .cookie-bar .row, .cookie-bar .btn { width: 100%; }

  /* Panel: üst menü mobilde */
  .panel-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .panel-bar .panel-wrap { height: 58px; gap: 10px; }
  .pnav-link { height: 36px; padding: 0 13px; font-size: 13px; }
  .pnav-link:hover { transform: none; }
  .um-name { display: none; }
  .user-menu-btn { padding-right: 6px; }
  .content { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .balance-chip { padding-right: 10px; font-size: 13px; }
  .ref-banner { flex-wrap: wrap; padding: 18px; }
  .ref-banner .grow { flex-basis: calc(100% - 70px); }
  .ref-banner-actions { width: 100%; }
  .ref-banner-actions .btn { flex: 1; }
  .ref-hero h1 { font-size: 24px; }
  .ref-steps { grid-template-columns: 1fr; }
  .ref-link-row { flex-direction: column; }
  .pay-row { grid-template-columns: 92px minmax(0, 1fr) 32px; padding: 10px 12px; }
  .sms-how { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .active-grid { grid-template-columns: 1fr; }
  .cp-row { flex-wrap: wrap; gap: 8px 12px; }
  .cp-row .grow { flex-basis: calc(100% - 140px); }
  .cp-stat { min-width: 0; align-items: flex-start; }
  .cp-price { margin-left: auto; }
  .cp-list { max-height: 40vh; }

  /* Mobilde tablolar karta dönüşür */
  .table-stack thead { display: none; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 12px 16px; border-bottom: 1px solid var(--border); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
  .table-stack td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--text-3); text-align: left; flex-shrink: 0; }
  .table-stack td[data-label=""]::before { display: none; }
  .table-stack td.actions { justify-content: flex-end; padding-top: 10px; }
  .table-stack .cell-user { justify-content: flex-end; text-align: right; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-cta .btn { flex: 1; }
  .float-card { display: none; }
  .device { padding: 16px; }
  .device-code span { height: 48px; font-size: 22px; }
  .otp { gap: 6px; }
  .otp input { height: 50px; font-size: 20px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 14px; }
  .stat-val { font-size: 21px; }
  .amount-input input { font-size: 36px; }
  .panel-bar .brand span { display: none; }
  .panel-bar .admin-tag { display: none; }
  .hide-sm { display: none !important; }
  .panel-switch { width: 38px; padding: 0; justify-content: center; }
  .panel-switch span { display: none; }
  .panel-actions { gap: 2px; }
}

@media (hover: none) {
  .card-hover:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none !important; transform: none !important; }
  .ticker-run[aria-hidden] { display: none; }
}
