/* ── Butonlar ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #fff; font-weight: 600; font-size: 14px;
  white-space: nowrap;
  transition: transform 0.15s var(--ease), filter 0.15s, background 0.2s;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.ghost:hover { background: var(--surface-3); }
.btn.outline { background: transparent; border: 1px solid var(--line-strong); color: var(--text); }
.btn.yes { background: var(--yes); color: #052e16; }
.btn.no { background: var(--no); color: #fff; }
.btn.gold { background: var(--gold); color: #3b2404; }
.btn.white { background: #fff; color: var(--bg0); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn.block { width: 100%; }
.btn.icon { width: 42px; padding: 0; }

/* ── Rozetler ── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--surface-2); color: var(--text);
}
.badge.yes { background: var(--yes); color: #052e16; }
.badge.no { background: var(--no); color: #fff; }
.badge.live { background: var(--live); color: #fff; }
.badge.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.badge.soon { background: rgba(255, 255, 255, 0.85); color: var(--bg0); }
.badge.gold { background: var(--gold); color: #3b2404; }
.badge.info { background: var(--info); color: #082f49; }
.badge.muted { background: var(--surface); color: var(--muted); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── Çipler (filtre) ── */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  height: 34px; padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font-size: 13px; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.chip:hover { background: var(--surface-2); color: var(--text); }
.chip.active { background: #fff; color: var(--bg0); border-color: #fff; font-weight: 600; }

/* ── Sekmeler ── */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: var(--radius-md); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab { white-space: nowrap; flex: 1 0 auto; }
.tab {
  flex: 1; height: 38px; border-radius: 10px;
  color: var(--muted); font-weight: 600; font-size: 14px;
  transition: background 0.15s, color 0.15s;
}
.tab.active { background: var(--accent); color: #fff; }

/* ── Form ── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, textarea.input, select.input {
  width: 100%; height: 46px; padding: 0 14px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(192, 132, 252, 0.2); }
.input::placeholder { color: var(--muted-2); }
select.input option { background: var(--bg0); }
.hint { font-size: 12px; color: var(--muted-2); }
.error-text { font-size: 13px; color: #fca5a5; }

/* ── Panel / liste ── */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.panel + .panel { margin-top: 14px; }
.panel-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.list-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.list-item:last-child { border-bottom: 0; }
.list-item.link { cursor: pointer; }
.list-item.link:hover { background: var(--surface); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 10px; }

/* ── Sheet / modal ── */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(8, 2, 16, 0.7);
  backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fade-in 0.2s;
}
@keyframes fade-in { from { opacity: 0; } }
.sheet {
  width: 100%; max-height: 90vh; overflow: auto;
  background: linear-gradient(180deg, #2b1350, #1d0d38);
  border: 1px solid var(--line-strong);
  border-radius: 24px 24px 0 0;
  padding: 14px 20px calc(24px + var(--safe-bottom));
  box-shadow: var(--shadow-sheet);
  animation: sheet-up 0.3s var(--ease);
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto 14px; }
.sheet-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.sheet-actions { display: flex; gap: 10px; margin-top: 18px; }
.sheet-actions .btn { flex: 1; }
@media (min-width: 900px) {
  .sheet-backdrop { align-items: center; }
  .sheet { width: min(520px, 92vw); border-radius: 24px; padding: 22px 26px; }
  .sheet-grip { display: none; }
}

/* ── Toast ── */
.toasts {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + 16px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 60; display: flex; flex-direction: column; gap: 8px; align-items: center;
  width: min(420px, calc(100vw - 32px)); pointer-events: none;
}
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast {
  background: #fff; color: var(--bg0);
  padding: 10px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: toast-in 0.25s var(--ease);
}
.toast.err { background: var(--no); color: #fff; }
.toast.ok { background: var(--yes); color: #052e16; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ── Skeleton / boş durum ── */
.skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.3s infinite;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.empty {
  padding: 36px 20px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.empty strong { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* ── Sayfa başlığı ── */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 8px 0 18px; flex-wrap: wrap; }
.page-head > * { min-width: 0; }
.page-head .row { flex-wrap: wrap; }
/* Türkçe büyük harflerdeki nokta/şapka (İ, Ğ, Ü, Ö) üst etikete değmesin diye satır yüksekliği geniş tutulur */
.page-head .display { font-size: 38px; color: #fff; line-height: 1.18; padding-top: 2px; }
.page-head .eyebrow { display: block; margin-bottom: 2px; line-height: 1.3; }
.page-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); }
@media (min-width: 900px) { .page-head .display { font-size: 52px; } }
