/* =====================================================================
   OyunMagaza — app.css
   Koyu yeşil + turuncu tema. Varsayılan görünüm koyu (body.dark-mode),
   açık tema :root token'larından gelir. Tüm sayfalar token'lar üzerinden boyanır.

   Bölümler:
     1) Design Tokens
     2) Koyu tema
     3) Font (Outfit başlık / DM Sans gövde)
     4) Reset & Temel
     5) Yardımcılar (container, section-head, btn)
     6) Header
     7) Navigasyon
     8) Mobil header + menü + alt nav
     9) Ana sayfa — hero + avantaj şeridi
    10) Ana sayfa — bölümler (keşif radarı / oyuncu alanı / adımlar / SSS)
    10b+) Sayfa bazlı bloklar (oyunlar, guard, doğrula, auth, profil, admin, ödüller)
    11) Footer
    12) Animasyonlar
    13) Responsive
   ===================================================================== */

/* ---------- 1) DESIGN TOKENS ---------- */
:root {
  /* Border radius */
  --radius-ui: 10px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-2xl: 16px;
  --radius-3xl: 16px;
  --radius-4xl: 16px;
  --radius-card: var(--radius-4xl);
  --radius-panel: var(--radius-3xl);
  --radius-surface: var(--radius-2xl);

  /* Tipografi */
  --font-display: 'Bricolage Grotesque', 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Durum renkleri */
  --primary-blue: #3f6fe0;
  --success-green: #1f9d6b;
  --warning-orange: #c98a1e;
  --danger-red: #e0483a;

  /* Marka aksanı — asit limon. Zemin olarak kullanıldığında üstündeki metin --on-brand. */
  --brand: #b9e812;
  --brand-strong: #4f6400;              /* açık zeminde okunur metin tonu */
  --brand-grad: linear-gradient(135deg, #dcff5a 0%, #c8f52e 100%);
  --on-brand: #151a00;
  --brand-soft: rgba(120, 150, 0, 0.10);
  --brand-soft-border: rgba(120, 150, 0, 0.32);
  --brand-shadow: rgba(150, 190, 0, 0.22);

  /* Arka plan (açık tema) */
  --bg-body: #f2f3ee;
  --bg-header: #ffffff;
  --bg-top: #f7f8f3;
  --bg-light: #e7e9e1;

  /* Kenarlık & metin */
  --border-color: #d6d9ce;
  --dark-text: #12141a;
  --gray-text: #646a78;

  /* Gölge */
  --box-shadow: 0 10px 40px rgba(18, 20, 26, 0.08);
  --card-shadow: 0 1px 2px rgba(18, 20, 26, 0.04);
  --card-shadow-hover: 0 14px 34px rgba(18, 20, 26, 0.10);
  --dropdown-shadow: 0 16px 40px rgba(18, 20, 26, 0.10);

  /* Dropdown / input */
  --dropdown-bg: #ffffff;
  --input-bg: #f2f3ee;

  /* Sabit gece yüzeyleri (footer / üst şerit / koyu kartlar) */
  --ink-900: #0c0e13;
  --ink-800: #14171f;
  --ink-border: #262b38;
  --lime: #d6ff3f;

  /* Geçişler */
  --transition: color 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease,
    transform 0.2s ease;
  --header-transition: box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- 2) KOYU TEMA (varsayılan görünüm) ---------- */
body.dark-mode {
  color-scheme: dark;
  --success-green: #3ddc97;
  --warning-orange: #f0b548;
  --danger-red: #ff6b5c;
  --primary-blue: #7ea6f5;
  --brand: #d6ff3f;
  --brand-strong: #d6ff3f;
  --brand-soft: rgba(214, 255, 63, 0.10);
  --brand-soft-border: rgba(214, 255, 63, 0.30);
  --brand-shadow: rgba(214, 255, 63, 0.16);
  --bg-body: #0c0e13;
  --bg-header: #14171f;
  --bg-top: #10131a;
  --bg-light: #1c2029;
  --border-color: #262b38;
  --dark-text: #eef0f4;
  --gray-text: #8b91a1;
  --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 14px 34px rgba(0, 0, 0, 0.5);
  --dropdown-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  --dropdown-bg: #14171f;
  --input-bg: #0c0e13;
}

body.theme-switching-no-anim,
body.theme-switching-no-anim *,
body.theme-switching-no-anim *::before,
body.theme-switching-no-anim *::after {
  transition: none !important;
  animation: none !important;
}

/* ---------- 3) FONT ----------
   Başlıklar Bricolage Grotesque, gövde Instrument Sans, etiket/kod JetBrains Mono
   (header.php'de Google Fonts'tan yüklenir). */

/* ---------- 4) RESET & TEMEL ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--dark-text);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* Kısa sayfalarda footer ekranın altına yapışsın */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; width: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--dark-text); line-height: 1.1; font-family: var(--font-display); letter-spacing: -0.03em; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--lime); color: #151a00; }

/* ---------- 5) YARDIMCILAR ---------- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 1460px; }
.section { padding: 56px 0; }
.section-sm { padding: 48px 0; }

/* section-head — bolum-basliklari.md */
.section-head { margin-bottom: 28px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }
/* Mono bölüm etiketi + küçük limon kare */
.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 400; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 6px; height: 6px; flex-shrink: 0;
  background: var(--brand);
}
.section-label i { font-size: 13px; letter-spacing: 0; }
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; }
.section-subtitle { color: var(--gray-text); font-size: 13.5px; margin-top: 12px; max-width: 560px; }

/* ---------- Hukuki sayfalar (Gizlilik / Kullanım Şartları) ---------- */
.legal-page { padding: 56px 0 80px; }
.legal-wrap { max-width: 880px; margin: 0 auto; }
.legal-head { margin-bottom: 28px; }
.legal-updated { color: var(--gray-text); font-size: 13px; font-weight: 600; margin-top: 12px; }
.legal-toc {
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: 18px; padding: 22px 24px; margin-bottom: 40px;
}
.legal-toc-title {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--gray-text); margin-bottom: 16px;
}
.legal-toc-title::before {
  content: ""; width: 16px; height: 3px; border-radius: 3px; background: var(--brand-grad);
}
.legal-toc ol {
  list-style: none; counter-reset: toc; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px;
}
.legal-toc li { counter-increment: toc; }
.legal-toc a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: 11px;
  color: var(--dark-text); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: var(--transition);
}
.legal-toc a::before {
  content: counter(toc); flex-shrink: 0;
  width: 25px; height: 25px; border-radius: 8px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  background: var(--bg-header); color: var(--brand-strong);
  border: 1px solid var(--border-color); transition: var(--transition);
}
.legal-toc a:hover {
  background: var(--bg-header); border-color: var(--brand-soft-border); color: var(--brand-strong);
}
.legal-toc a:hover::before { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.legal-card {
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: 18px; padding: 38px 44px; box-shadow: var(--card-shadow);
}
.legal-body h2 { font-size: 21px; font-weight: 800; margin: 36px 0 12px; scroll-margin-top: 90px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.legal-body p { color: var(--gray-text); margin: 0 0 14px; line-height: 1.8; }
.legal-body ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.legal-body ul li { color: var(--gray-text); margin-bottom: 8px; line-height: 1.7; }
.legal-body a { color: var(--brand-strong); font-weight: 600; }
.legal-body strong { color: var(--dark-text); font-weight: 700; }
.legal-body hr { border: none; border-top: 1px solid var(--border-color); margin: 28px 0; }
@media (max-width: 640px) {
  .legal-card { padding: 26px 22px; }
  .legal-toc ol { grid-template-columns: 1fr; }
}

/* Butonlar */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-ui);
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
  overflow: hidden; white-space: nowrap;
}
.btn i { font-size: 17px; }
.btn-sm { height: 38px; padding: 0 15px; font-size: 13px; }

.btn--shimmer::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}
.btn--shimmer:hover::before { left: 200%; }

.btn-brand {
  background: var(--brand-grad);
  color: var(--on-brand);
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 10px 24px var(--brand-shadow); }

.btn-outline {
  background: transparent;
  color: var(--dark-text);
  border-color: var(--border-color);
}
.btn-outline:hover { border-color: var(--gray-text); color: var(--dark-text); }

.btn-dark { background: var(--ink-800); color: #fff; border-color: var(--ink-border); }
.btn-dark:hover { background: var(--ink-900); transform: translateY(-1px); }

/* Altı çizgili ok linki */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--dark-text);
  padding-bottom: 4px; border-bottom: 1px solid var(--border-color);
  white-space: nowrap; transition: var(--transition);
}
.arrow-link i { font-size: 16px; }
.arrow-link:hover { color: var(--brand-strong); border-color: var(--brand-strong); }

/* Mono etiket */
.mono-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-text);
}
.mono-label b { color: var(--brand-strong); font-weight: 500; }

/* ---------- 6) HEADER ---------- */
/* Üst duyuru şeridi (iki temada da gece zemini) */
.top-strip { background: var(--ink-800); color: #b9bfcc; border-bottom: 1px solid var(--ink-border); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.top-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 34px; }
.top-strip .ts-left { display: inline-flex; align-items: center; gap: 9px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-strip .ts-left i { font-size: 13px; color: var(--lime); flex-shrink: 0; }
.top-strip .ts-right { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; max-width: 60%; white-space: nowrap; color: #b9bfcc; transition: var(--transition); }
.top-strip .ts-right b { font-weight: 500; color: #fff; overflow: hidden; text-overflow: ellipsis; }
.top-strip .ts-right i { font-size: 13px; margin-left: 4px; }
.top-strip .ts-right:hover, .top-strip .ts-right:hover b { color: var(--lime); }
@media (max-width: 767px) {
  .top-strip .ts-left { display: none; }
  .top-strip-inner { justify-content: center; }
  .top-strip .ts-right { max-width: 100%; }
}

.site-header {
  position: sticky; top: 0; z-index: 222;
  background: var(--bg-body);
  transition: var(--header-transition);
}
.header-sticky-bar {
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  transition: var(--header-transition);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: transparent; }
  .header-sticky-bar {
    background: color-mix(in srgb, var(--bg-body) 82%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
}
.header-sticky-bar.is-stuck { box-shadow: var(--box-shadow); }
.header-middle { display: flex; align-items: center; height: 68px; gap: 24px; }

/* Kelime markası:  /siteadı_  */
.logo {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--font-mono);
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em; flex-shrink: 0;
  text-transform: lowercase;
  color: var(--dark-text);
}
.logo .logo-dot { display: inline-block; }
.logo .logo-dot::before { content: '/'; color: var(--brand-strong); margin-right: 1px; }
.logo::after { content: '_'; color: var(--gray-text); font-weight: 400; margin-left: 1px; }
/* Yüklenen görsel logo (Genel Ayarlar) */
.logo--img { align-items: center; text-transform: none; }
.logo--img::after { content: none; }
.logo-img { display: block; height: 40px; width: auto; max-width: 240px; object-fit: contain; }
.footer-brand .logo-img { height: 44px; max-width: 260px; }
.auth-head .logo--img { display: flex; justify-content: center; }
.auth-head .logo-img { height: 48px; max-width: 260px; }

/* ---------- 7) NAVİGASYON ---------- */
.main-nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.header-nav-item {
  position: relative;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 13px;
  font-size: 14px; font-weight: 500;
  color: var(--gray-text);
  background: transparent; border: none;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition);
}
.header-nav-item:hover { color: var(--dark-text); background: var(--bg-light); }
.header-nav-item.active { color: var(--dark-text); background: var(--bg-light); }
.nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-sep { width: 1px; height: 22px; background: var(--border-color); margin: 0 8px; }

/* İkon butonlar (tema / arama / admin / çıkış) */
.theme-btn,
.header-icon-btn {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--radius-ui);
  background: transparent;
  color: var(--gray-text);
  border: 1px solid transparent;
  font-size: 18px;
  transition: var(--transition);
}
.theme-btn:hover,
.header-icon-btn:hover { background: var(--bg-light); color: var(--dark-text); }
.header-icon-btn--out:hover { color: var(--danger-red); }

/* Bayi bakiye göstergesi (header) */
.dealer-balance-pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 36px; padding: 0 13px; border-radius: var(--radius-ui);
  background: rgba(61,220,151,0.1); border: 1px solid rgba(61,220,151,0.28);
  color: var(--success-green); font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  white-space: nowrap; transition: var(--transition);
}
.dealer-balance-pill i { font-size: 16px; }
.dealer-balance-pill:hover { background: rgba(61,220,151,0.18); }

.admin-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: 13.5px; color: var(--brand-strong);
}
.admin-link i { font-size: 18px; }
.admin-link:hover { color: var(--dark-text); }

.nav-register-btn { background: var(--brand-grad); color: var(--on-brand); }

/* Kullanıcı hapı */
.user-profile-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  transition: var(--transition);
}
.user-profile-pill:hover { background: var(--bg-light); }
.avatar-wrapper {
  position: relative;
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-grad); color: var(--on-brand);
  font-family: var(--font-mono); font-weight: 700; font-size: 12px; text-transform: uppercase;
}
.avatar-wrapper .lvl {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--success-green); color: #fff;
  font-size: 9px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid var(--bg-body);
}
.user-name { font-size: 13.5px; font-weight: 600; color: var(--dark-text); }
.user-lvl {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 5px;
  border: 1px solid var(--border-color); color: var(--gray-text);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- 8) MOBİL HEADER / MENÜ / ALT NAV (mobil-*.md) ---------- */
.header-hamburger-btn {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-ui);
  background: var(--bg-light);
  border: none; color: var(--dark-text);
  font-size: 22px; place-items: center;
}

/* Tam ekran mobil menü */
.mobile-menu-offcanvas {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg-body);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  padding: 18px 16px;
  overflow-y: auto;
}
.mobile-menu-offcanvas.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.close-menu-btn {
  width: 44px; height: 44px; border-radius: var(--radius-ui);
  background: var(--bg-light); border: none; color: var(--dark-text);
  font-size: 24px; display: grid; place-items: center;
  transition: background 0.3s;
}
.close-menu-btn:hover { background: var(--danger-red); color: #fff; }
.cat-list-card {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-light);
  padding: 14px 15px; margin-bottom: 8px;
  border-radius: var(--radius-ui);
  border-left: 4px solid transparent;
  color: var(--dark-text);
  font-size: 15px; font-weight: 700;
  transition: var(--transition);
}
.cat-list-card:hover { border-left-color: var(--brand); }
.cat-list-card.active { border-left-color: var(--brand); color: var(--brand-strong); }

/* Mobil menü kullanıcı kartı + hızlı erişim */
.mm-user { display: flex; align-items: center; gap: 12px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 12px 14px; margin-bottom: 12px; }
.mm-user .avatar-wrapper { width: 44px; height: 44px; border-radius: 12px; font-size: 17px; }
.mm-user-name { font-size: 16px; font-weight: 800; color: var(--dark-text); }
.mm-user-sub { font-size: 12px; color: var(--gray-text); font-weight: 600; }
.mm-user-bal { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--success-green); margin-top: 2px; }
.mm-quick { display: flex; gap: 10px; margin-bottom: 14px; }
.mm-quick .theme-btn.mm-theme { background: var(--bg-light); border-color: var(--border-color); color: var(--dark-text); width: auto; flex: 1; height: 46px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; }
.mm-quick-btn { flex: 1; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-ui); font-size: 14px; font-weight: 700; background: var(--bg-light); border: 1px solid var(--border-color); color: var(--dark-text); }
.mm-quick-btn.admin { background: var(--brand-soft); border-color: var(--brand-soft-border); color: var(--brand-strong); }

/* Mobil alt navigasyon (mobil-menu.md) */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0;
  width: 100%; height: 72px; z-index: 999;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius-ui) var(--radius-ui) 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
  display: none;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bottom-nav::before {
  content: ""; position: absolute; inset: 0;
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 0;
}
body.dark-mode .mobile-bottom-nav { background: rgba(12,14,19,0.92); border-top-color: var(--border-color); }
.mobile-bottom-nav .nav-list {
  position: relative; z-index: 1;
  display: flex; justify-content: space-around; align-items: center;
  height: 68px; padding: 0 6px;
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--gray-text); font-size: 11px; font-weight: 600;
  min-width: 56px;
}
.mobile-nav-item i { font-size: 22px; }
.mobile-nav-item.active { color: var(--brand-strong); }
.mobile-nav-center-btn .center-icon-wrap {
  width: 46px; height: 46px; margin-top: -14px;
  display: grid; place-items: center;
  background: var(--brand-grad);
  border-radius: var(--radius-ui);
  color: var(--on-brand); font-size: 22px;
  box-shadow: 0 6px 16px var(--brand-shadow);
  border: 3px solid var(--bg-body);
}

/* ---------- 9) ANA SAYFA — HERO ("Anahtar" konsepti) ---------- */
.home-hero { position: relative; padding: 72px 0 60px; }
/* Zemin dokusu: ince ızgara + sağ üstte limon ışıma */
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 80% 0%, var(--brand-soft), transparent 70%),
    linear-gradient(var(--border-color) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px) 0 0 / 64px 100%;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(#000, transparent 92%); mask-image: linear-gradient(#000, transparent 92%);
}
.home-hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-title {
  font-size: clamp(44px, 6.6vw, 96px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.0; margin: 22px 0 26px;
}
.hero-title em { font-style: normal; color: var(--brand-strong); }
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--gray-text); }
.hero-lead { max-width: 440px; color: var(--gray-text); font-size: 16px; margin: 0 0 32px; }

/* Anahtar girişi — bilet koçanı */
.keybox {
  position: relative; max-width: 520px; padding: 18px;
  background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 16px;
}
.keybox::before, .keybox::after {
  content: ''; position: absolute; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border-radius: 50%; background: var(--bg-body); border: 1px solid var(--border-color);
}
.keybox::before { left: -11px; clip-path: inset(0 0 0 50%); }
.keybox::after { right: -11px; clip-path: inset(0 50% 0 0); }
.keybox-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.keybox-row { display: flex; gap: 10px; }
.keybox-row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 16px;
  background: var(--input-bg); border: 1px dashed var(--gray-text); border-radius: 10px;
  color: var(--dark-text); font-family: var(--font-mono); font-size: 15px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: var(--transition);
}
.keybox-row input::placeholder { color: var(--gray-text); opacity: 0.6; }
.keybox-row input:focus { outline: none; border-style: solid; border-color: var(--brand-strong); box-shadow: 0 0 0 4px var(--brand-soft); }
.keybox-row .btn { height: 52px; }
.keybox-note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.keybox-note span { display: inline-flex; align-items: center; gap: 7px; }
.keybox-note i { color: var(--brand-strong); font-size: 14px; }

/* Yelpaze kapaklar */
.fan { position: relative; height: 440px; }
.fan-card {
  position: absolute; left: 50%; top: 50%; width: 226px; aspect-ratio: 2 / 3; margin: -170px 0 0 -113px;
  border-radius: 14px; overflow: hidden;
  background: linear-gradient(140deg, #2a3040, #12151c);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  display: grid; place-items: center;
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.fan-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-card .ph { font-size: 46px; color: rgba(255,255,255,0.2); }
.fan-tag {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; justify-content: space-between; gap: 8px;
  padding: 7px 9px; border-radius: 7px;
  background: rgba(12,14,19,0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #eef0f4;
}
.fan-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fan-tag b { color: var(--lime); font-weight: 500; flex-shrink: 0; }
.fan-card.c1 { transform: translateX(-112px) rotate(-11deg); }
.fan-card.c2 { transform: translateY(-14px); z-index: 2; }
.fan-card.c3 { transform: translateX(112px) rotate(11deg); }
.fan:hover .fan-card.c1 { transform: translateX(-160px) rotate(-15deg); }
.fan:hover .fan-card.c2 { transform: translateY(-26px) scale(1.03); }
.fan:hover .fan-card.c3 { transform: translateX(160px) rotate(15deg); }
.fan-stamp {
  position: absolute; right: 0; top: 14px; z-index: 3;
  width: 104px; height: 104px; border-radius: 50%;
  background: var(--brand-grad); color: var(--on-brand);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; line-height: 1.35; letter-spacing: 0.06em; text-transform: uppercase;
  transform: rotate(12deg);
}
.fan-stamp strong { display: block; font-family: var(--font-display); font-size: 30px; letter-spacing: -0.04em; line-height: 1; }

/* Kayan platform şeridi */
.marquee { overflow: hidden; padding: 18px 0; background: var(--bg-header); border-block: 1px solid var(--border-color); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marqueeSlide 32s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em;
  white-space: nowrap; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px var(--gray-text);
}
.marquee span.star { color: var(--brand-strong); -webkit-text-stroke: 0; }
@keyframes marqueeSlide { to { transform: translateX(-50%); } }

/* ---------- 10) ANA SAYFA — BÖLÜMLER ---------- */
.home-section { padding: 84px 0; }
.home-section.tight { padding-top: 0; }
.sec-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.sec-title { font-size: clamp(30px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.04em; margin-top: 12px; }
.sec-title em { font-style: normal; color: var(--brand-strong); }

/* Raf — oyun kartları */
.shelf { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.shelf-game { display: block; min-width: 0; }
.shelf-cover {
  position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden;
  background: linear-gradient(140deg, #2a3040, #12151c);
  border: 1px solid var(--border-color);
  display: grid; place-items: center;
}
.shelf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, filter 0.3s; }
.shelf-cover .ph { font-size: 40px; color: rgba(255,255,255,0.2); }
.shelf-game:hover .shelf-cover img { transform: scale(1.05); filter: brightness(0.5); }
.shelf-go { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity 0.3s; }
.shelf-go b {
  background: var(--brand-grad); color: var(--on-brand);
  font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 8px;
  transform: translateY(8px); transition: transform 0.3s;
}
.shelf-game:hover .shelf-go { opacity: 1; }
.shelf-game:hover .shelf-go b { transform: none; }
.shelf-meta { margin-top: 12px; }
.shelf-meta h3 {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* Katalogda ara */
.home-search {
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 8px 0 18px;
  background: var(--bg-header);
  border: 1px solid var(--border-color); border-radius: 12px;
  transition: var(--transition);
}
.home-search + .shelf { margin-top: 28px; }
.home-search:focus-within { border-color: var(--brand-strong); box-shadow: 0 0 0 4px var(--brand-soft); }
.home-search > i { font-size: 19px; color: var(--gray-text); }
.home-search input {
  flex: 1; min-width: 0; height: 100%;
  background: transparent; border: none; outline: none;
  font-family: inherit; font-size: 14.5px; color: var(--dark-text);
}
.home-search input::placeholder { color: var(--gray-text); }
.home-search button {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  height: 40px; padding: 0 16px; border: none; border-radius: 9px;
  background: var(--bg-light); color: var(--dark-text);
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.home-search button i { font-size: 16px; }
.home-search button:hover { background: var(--brand-grad); color: var(--on-brand); }
@media (max-width: 480px) {
  .home-search { padding-left: 14px; }
  .home-search button span { display: none; }
  .home-search button { padding: 0 13px; }
}

/* Üç adım — tek bilet, üç koçan */
.ticket { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--brand-grad); color: var(--on-brand); border-radius: 20px; }
.stub { position: relative; padding: 34px 32px 30px; }
.stub + .stub { border-left: 2px dashed rgba(21,26,0,0.35); }
.stub + .stub::before, .stub + .stub::after {
  content: ''; position: absolute; left: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-body);
}
.stub + .stub::before { top: -12px; }
.stub + .stub::after { bottom: -12px; }
.stub-no { font-family: var(--font-display); font-weight: 800; font-size: 72px; letter-spacing: -0.05em; line-height: 0.9; }
.stub h3 { font-size: 23px; font-weight: 700; color: var(--on-brand); margin: 20px 0 8px; }
.stub p { margin: 0; font-size: 14px; color: rgba(21,26,0,0.74); max-width: 280px; }
.stub .mono-label { display: block; margin-top: 26px; color: rgba(21,26,0,0.62); }
.stub-bar {
  height: 24px; margin-top: 10px; max-width: 170px; opacity: 0.75;
  background: repeating-linear-gradient(90deg, #151a00 0 2px, transparent 2px 5px, #151a00 5px 6px, transparent 6px 10px);
}

/* Guard — canlı kod gösterimi */
.guard-band { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border-color); border-radius: 20px; overflow: hidden; background: var(--bg-header); }
.guard-copy { padding: 46px 44px; }
.guard-copy h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.04em; margin: 14px 0 16px; }
.guard-copy p { color: var(--gray-text); max-width: 400px; margin: 0 0 28px; }
.guard-live { background: var(--bg-body); border-left: 1px solid var(--border-color); padding: 44px; display: grid; place-items: center; }
.code-card { width: 100%; max-width: 380px; text-align: center; }
.code-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.code-live { display: inline-flex; align-items: center; gap: 8px; }
.code-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.code-digits { display: flex; gap: 8px; justify-content: center; }
.code-digits b {
  flex: 1; max-width: 62px; aspect-ratio: 4 / 5; display: grid; place-items: center;
  background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 10px;
  font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--brand-strong);
}
.code-timer { height: 4px; margin: 22px 0 12px; background: var(--border-color); border-radius: 4px; overflow: hidden; }
.code-timer i { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; transition: transform 1s linear; }
.code-foot { display: flex; justify-content: space-between; }

/* Rütbeler */
.rank-strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; }
.rank-cell { position: relative; padding: 24px 22px; background: var(--bg-header); }
.rank-cell + .rank-cell { border-left: 1px solid var(--border-color); }
.rank-cell strong { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.03em; margin: 10px 0 4px; }
.rank-cell small { color: var(--gray-text); font-size: 13px; }
.rank-cell:first-child::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }

/* SSS */
.faq-list { max-width: 860px; border-top: 1px solid var(--border-color); }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item summary {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark-text);
  transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-strong); }
.faq-plus { margin-left: auto; font-size: 20px; color: var(--gray-text); transition: transform 0.25s ease, color 0.25s ease; }
.faq-item[open] .faq-plus { transform: rotate(45deg); color: var(--brand-strong); }
.faq-body { padding: 0 0 24px 44px; max-width: 660px; font-size: 14.5px; line-height: 1.75; color: var(--gray-text); }

/* ---------- 10b) OYUNLAR SAYFASI (urun-listesi-saas.md) ---------- */
.section-label.muted { color: var(--gray-text); }

/* Arama (saas-search türevi, geniş) */
.game-toolbar { margin: 22px 0 16px; }
.game-search { position: relative; }
.game-search > i {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-size: 18px; color: var(--gray-text);
}
.game-search input {
  width: 100%; height: 46px;
  background: var(--bg-header);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-ui);
  padding: 0 18px 0 46px;
  font-size: 14px; font-weight: 500;
  color: var(--dark-text);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}
.game-search input::placeholder { color: var(--gray-text); }
.game-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* Filtre pill'leri (sct-btn türevi, aktif = koyu) */
.game-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.gf-btn {
  padding: 7px 14px;
  border-radius: var(--radius-ui);
  background: transparent;
  border: 1px solid transparent;
  color: var(--gray-text);
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.gf-btn:hover { color: var(--dark-text); background: var(--bg-light); }
.gf-btn.active { background: var(--ink-800); color: #fff; }
body.dark-mode .gf-btn.active { background: #eef0f4; color: var(--ink-900); }

/* Oyun grid + kart */
.game-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.game-card {
  display: flex; flex-direction: column;
  background: var(--bg-header);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.game-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); border-color: var(--brand-soft-border); }
.game-card.featured { border-color: var(--brand); box-shadow: 0 6px 20px var(--brand-soft); }

.gc-media {
  position: relative;
  aspect-ratio: 3 / 4;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2f3a, #161a22);
}
.gc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-media .ph { font-size: 42px; color: rgba(255,255,255,0.25); }
/* Placeholder renk varyasyonları */
.game-card:nth-child(6n+1) .gc-media { background: linear-gradient(135deg, #3a2418, #1a120c); }
.game-card:nth-child(6n+2) .gc-media { background: linear-gradient(135deg, #1c2c44, #0e1622); }
.game-card:nth-child(6n+3) .gc-media { background: linear-gradient(135deg, #2c2140, #150f20); }
.game-card:nth-child(6n+4) .gc-media { background: linear-gradient(135deg, #173329, #0c1a14); }
.game-card:nth-child(6n+5) .gc-media { background: linear-gradient(135deg, #3a1f2a, #1c0f15); }
.game-card:nth-child(6n+6) .gc-media { background: linear-gradient(135deg, #2a2f3a, #161a22); }

.gc-highlight {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--brand-grad);
  color: var(--on-brand); font-size: 9px; font-weight: 900;
  padding: 5px 9px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.3px;
  box-shadow: 0 4px 10px var(--brand-shadow);
}
.gc-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.gc-title {
  font-size: 15px; font-weight: 800; color: var(--dark-text);
  line-height: 1.35; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.gc-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  padding: 4px 9px; border-radius: 8px;
}
.gc-badge.platform { background: var(--bg-light); color: var(--gray-text); }
.gc-badge.ozel {
  background: rgba(255,179,0,0.12); color: #b07d10;
  border: 1px solid rgba(255,179,0,0.25);
}
body.dark-mode .gc-badge.ozel { color: #ffcf5c; }

/* Boş durum (saas-empty-state) */
.saas-empty-state {
  grid-column: 1 / -1;
  padding: 64px 20px; text-align: center;
  background: var(--bg-header);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-ui);
  color: var(--gray-text);
}
.saas-empty-state i { font-size: 44px; color: var(--gray-text); opacity: 0.5; }
.saas-empty-state h3 { margin: 14px 0 4px; font-size: 18px; color: var(--dark-text); }

/* Oyun detay offcanvas (sağdan kayar) */
.offcanvas-backdrop {
  position: fixed; inset: 0; z-index: 1090;
  background: rgba(10, 12, 16, 0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.offcanvas-backdrop.show { opacity: 1; visibility: visible; }

.game-offcanvas {
  position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(92vw, 420px); z-index: 1100;
  background: var(--bg-header);
  border-left: 1px solid var(--border-color);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex; flex-direction: column; overflow-y: auto;
}
.game-offcanvas.open { transform: translateX(0); }
.goc-header {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
}
.goc-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--brand-strong); }
.goc-close {
  width: 38px; height: 38px; border-radius: var(--radius-ui);
  background: var(--bg-light); border: none; color: var(--dark-text);
  font-size: 22px; display: grid; place-items: center; transition: var(--transition);
}
.goc-close:hover { background: var(--danger-red); color: #fff; }
.goc-cover {
  position: relative; margin: 20px; border-radius: var(--radius-card);
  aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #2a2f3a, #161a22);
}
.goc-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.goc-cover .ph { font-size: 54px; color: rgba(255, 255, 255, 0.25); }
.goc-content { padding: 0 20px 28px; }
.goc-title { font-size: 22px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 12px; }
.goc-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.goc-meta { margin: 22px 0; }
.goc-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px solid var(--border-color); font-size: 14px;
}
.goc-meta-row:first-child { border-top: 1px solid var(--border-color); }
.goc-meta-row span { color: var(--gray-text); font-weight: 600; }
.goc-meta-row b { font-weight: 800; color: var(--dark-text); }
.goc-meta-row b.ok { color: var(--success-green); }
.goc-add { width: 100%; }

/* Satın alma toast'ı (sosyal kanıt) */
.buy-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 9000;
  width: min(92vw, 330px);
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-header);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-ui);
  box-shadow: 0 12px 34px rgba(0,0,0,0.14);
  padding: 12px 38px 12px 12px;
  transform: translateY(24px); opacity: 0; pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.buy-toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.bt-thumb {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: var(--bg-light);
  display: grid; place-items: center; color: var(--gray-text); font-size: 20px;
}
.bt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bt-body { min-width: 0; }
.bt-action { font-size: 12px; font-weight: 700; color: var(--gray-text); }
.bt-title { font-size: 13px; font-weight: 800; color: var(--dark-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-time { font-size: 11px; font-weight: 600; color: var(--gray-text); margin-top: 2px; }
.bt-close {
  position: absolute; top: 8px; right: 8px;
  width: 24px; height: 24px; border: none; background: transparent;
  color: var(--gray-text); font-size: 18px; display: grid; place-items: center;
  border-radius: 6px;
}
.bt-close:hover { background: var(--bg-light); color: var(--dark-text); }

/* Oyunlar responsive */
@media (max-width: 1200px) { .game-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991px)  { .game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  {
  .game-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .game-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .game-filters::-webkit-scrollbar { display: none; }
  .buy-toast { bottom: 84px; left: 12px; }
}
@media (max-width: 560px)  { .game-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 10h) OYUN SEÇİMİ ---------- */
.sel-hero { text-align: center; margin-bottom: 34px; }
.sel-hero .sel-icon {
  width: 60px; height: 60px; margin: 0 auto 18px;
  border-radius: var(--radius-lg); display: grid; place-items: center;
  background: rgba(17,211,119,0.12); color: var(--success-green); font-size: 28px;
}
.sel-hero h1 { font-size: 34px; font-weight: 900; letter-spacing: -1px; }
.sel-hero p { color: var(--gray-text); font-size: 16px; margin-top: 10px; }
.sel-hero p b { color: var(--brand-strong); }

.sel-panel {
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 18px 20px; margin-bottom: 14px;
}
.sel-panel-label { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-text); margin-bottom: 12px; }
.sel-active-row { display: flex; align-items: center; gap: 10px; }
.sel-active-select {
  flex: 1; height: 46px; padding: 0 16px;
  background: var(--input-bg); border: 1px solid var(--border-color); border-radius: var(--radius-ui);
  font-size: 14px; font-weight: 700; color: var(--dark-text);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2385909e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.sel-key-tail { font-size: 11px; font-weight: 700; color: var(--gray-text); background: var(--bg-light); border-radius: 6px; padding: 4px 8px; }

.sel-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sel-search { position: relative; flex: 1; min-width: 220px; }
.sel-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-text); font-size: 19px; }
.sel-search input { width: 100%; height: 46px; padding: 0 18px 0 48px; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: var(--radius-ui); font-size: 14px; font-weight: 500; color: var(--dark-text); }
.sel-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.sel-filters { display: flex; gap: 8px; flex-wrap: wrap; }

.sel-status { display: flex; align-items: center; gap: 18px; }
.sel-status-info { flex-shrink: 0; }
.sel-status-info h3 { font-size: 17px; font-weight: 800; }
.sel-status-info p { font-size: 13px; color: var(--gray-text); margin-top: 2px; }
.sel-progress { flex: 1; height: 8px; border-radius: 999px; background: var(--bg-light); overflow: hidden; min-width: 80px; }
.sel-progress i { display: block; height: 100%; width: 0; background: var(--brand-grad); border-radius: 999px; transition: width 0.3s ease; }
.sel-confirm { flex-shrink: 0; height: 44px; }

/* Seçim kartı (game-card üzerine) */
.game-card.selectable { cursor: pointer; position: relative; }
.game-card.selectable .gc-check {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.85); border: 2px solid var(--border-color);
  display: grid; place-items: center; color: transparent; font-size: 16px; transition: var(--transition);
}
.game-card.selected { border-color: var(--success-green); box-shadow: 0 0 0 2px var(--success-green) inset, var(--card-shadow-hover); }
.game-card.selected .gc-check { background: var(--success-green); border-color: var(--success-green); color: #fff; }
.game-card.locked { opacity: 0.5; filter: grayscale(0.6); cursor: not-allowed; }
.game-card.locked .gc-lock { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; color: #fff; font-size: 30px; }
.game-card.locked .gc-media::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
/* Özel oyun: listede görünür ama genel hakla seçilemez */
.game-card.special-locked { cursor: not-allowed; }
.game-card.special-locked:hover { transform: none; box-shadow: none; border-color: var(--border-color); }
.game-card.special-locked .gc-media img { filter: grayscale(0.5) brightness(0.45); }
.game-card.special-locked .gc-media .ph { display: none; }
.game-card.special-locked .gc-media::after { content: ''; position: absolute; inset: 0; background: rgba(12,14,19,0.45); }
.gc-special {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 10px; text-align: center; color: #fff;
}
.gc-special i { font-size: 26px; color: var(--lime); }
.gc-special b { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.gc-special small { font-size: 11px; line-height: 1.3; color: rgba(255,255,255,0.78); }

/* ---------- 10c) KOD AL / GUARD SAYFASI ---------- */
.guard-page { max-width: 600px; margin: 0 auto; }
.section-label.success { color: var(--success-green); }
.section-label.success::before { background: var(--success-green); }

.guard-alert {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255, 179, 0, 0.08);
  border: 1px solid rgba(255, 179, 0, 0.28);
  color: #9a7400; border-radius: var(--radius-ui);
  padding: 11px 14px; font-size: 13px; font-weight: 600;
  margin: 20px 0 22px;
}
.guard-alert i { color: var(--warning-orange); font-size: 18px; margin-top: 1px; flex-shrink: 0; }
body.dark-mode .guard-alert { color: #ffcf5c; }

.field { margin-bottom: 18px; }
.field-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--gray-text); margin-bottom: 8px;
}
.select-wrap { position: relative; }
.select-wrap > i {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 20px; color: var(--gray-text); pointer-events: none;
}
.guard-select {
  width: 100%; height: 48px; padding: 0 44px 0 16px;
  background: var(--bg-header);
  border: 1px solid var(--border-color); border-radius: var(--radius-ui);
  font-size: 14px; font-weight: 600; color: var(--dark-text);
  appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: var(--transition);
}
.guard-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* Doğrulama widget (Cloudflare yerine basit) */
.guard-verify-box {
  border: 1px solid var(--border-color); border-radius: var(--radius-ui);
  background: var(--bg-light); padding: 18px; display: flex; justify-content: center;
}
.verify-widget {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); padding: 14px 18px;
  width: 300px; max-width: 100%; cursor: pointer; transition: var(--transition);
}
.verify-widget:hover { border-color: var(--brand-soft-border); }
.verify-check {
  width: 26px; height: 26px; border-radius: 6px;
  border: 2px solid var(--gray-text);
  display: grid; place-items: center; flex-shrink: 0;
  color: #fff; font-size: 16px; transition: var(--transition);
}
.verify-check i { opacity: 0; transition: opacity 0.2s; }
.verify-widget.loading { cursor: default; }
.verify-widget.loading .verify-check {
  border-color: var(--brand); border-top-color: transparent;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
.verify-widget.done { border-color: rgba(17,211,119,0.4); }
.verify-widget.done .verify-check { background: var(--success-green); border-color: var(--success-green); }
.verify-widget.done .verify-check i { opacity: 1; }
.verify-label { font-size: 14px; font-weight: 600; color: var(--dark-text); }
.verify-widget.done .verify-label { color: var(--success-green); font-weight: 700; }

.verify-done {
  display: none; align-items: center; gap: 7px;
  color: var(--success-green); font-size: 14px; font-weight: 700; margin-top: 14px;
}
.verify-done.show { display: inline-flex; }

.guard-actions { display: flex; gap: 10px; margin-top: 22px; }
.guard-actions .btn { flex: 1; height: 46px; }
.guard-refresh {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--radius-ui);
  background: var(--bg-header); border: 1px solid var(--border-color);
  color: var(--gray-text); font-size: 18px;
  display: grid; place-items: center; transition: var(--transition);
}
.guard-refresh:hover { border-color: var(--brand); color: var(--brand-strong); }
.guard-refresh.spin i { animation: spin 0.6s ease; }

.btn:disabled, .btn.is-disabled {
  background: var(--bg-light) !important; color: var(--gray-text) !important;
  box-shadow: none !important; cursor: not-allowed; transform: none !important;
}
.btn:disabled::before { display: none; }

/* Üretilen kod */
.guard-result {
  display: none; margin-top: 26px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 28px; text-align: center;
}
.guard-result.show { display: block; }
.guard-result .gr-label { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-text); }
.guard-code {
  font-size: 34px; font-weight: 900; letter-spacing: 9px;
  color: var(--dark-text); margin: 10px 0; padding-left: 9px;
}
.gr-actions { display: flex; align-items: center; justify-content: center; gap: 14px; }
.gr-copy {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-ui);
  background: var(--brand-soft); border: 1px solid var(--brand-soft-border);
  color: var(--brand-strong); font-size: 13px; font-weight: 700; transition: var(--transition);
}
.gr-copy:hover { background: var(--brand); color: var(--on-brand); }
.guard-timer { font-size: 14px; font-weight: 800; color: var(--success-green); }
.guard-timer.danger { color: var(--danger-red); }
.guard-result.expired .guard-code { color: var(--gray-text); text-decoration: line-through; letter-spacing: 6px; }

@keyframes spin { to { transform: rotate(360deg); } }

/* guard-request modal ekstra */
.gm-pending { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--gray-text); }
.gm-spin i { display: inline-block; animation: spin 0.8s linear infinite; color: var(--brand-strong); font-size: 18px; }
.gm-codebox { padding-top: 4px; }
.gm-code-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gm-code-label { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: 0.5px; color: var(--gray-text); }
.gm-code-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-green); }
.gm-code { font-size: 34px; font-weight: 900; letter-spacing: 9px; color: var(--success-green); text-align: center; padding-left: 10px; }
.gm-footnote { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--gray-text); margin-top: 8px; }

/* ---------- 10d) DOĞRULA / ANAHTAR SAYFASI ---------- */
.verify-page { max-width: 600px; margin: 0 auto; }

.key-format-hint {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); padding: 10px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--gray-text);
  margin: 22px 0 18px;
}
.key-format-hint i { font-size: 16px; }
.key-format-hint b { color: var(--dark-text); font-family: ui-monospace, monospace; letter-spacing: 0.5px; }

.key-input {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui);
  font-size: 16px; font-weight: 600; letter-spacing: 1px;
  color: var(--dark-text); font-family: ui-monospace, monospace; text-transform: uppercase;
  transition: var(--transition);
}
.key-input::placeholder { color: var(--gray-text); font-weight: 600; }
.key-input:focus, .key-input.valid { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.verify-btn { width: 100%; height: 46px; margin-top: 16px; }

.faq-row { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.faq-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gray-text); font-size: 13px; font-weight: 600; transition: var(--transition); }
.faq-link:hover { color: var(--brand-strong); }

/* key-verify modal (terminal görünümü) */
.key-modal-overlay {
  position: fixed; inset: 0; z-index: 1100;
  display: grid; place-items: center; padding: 20px;
  background: rgba(10, 12, 16, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.key-modal-overlay.show { opacity: 1; visibility: visible; }
.key-modal {
  width: min(94vw, 440px);
  background: var(--bg-header); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.94) translateY(10px); transition: transform 0.3s ease;
}
.key-modal-overlay.show .key-modal { transform: none; }
.km-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--bg-light); border-bottom: 1px solid var(--border-color);
}
.km-dots { display: flex; gap: 6px; }
.km-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.km-dots .r { background: #ff5f57; } .km-dots .y { background: #febc2e; } .km-dots .g { background: #28c840; }
.km-name { font-size: 13px; font-weight: 700; color: var(--gray-text); font-family: ui-monospace, monospace; }
.km-close { margin-left: auto; background: none; border: none; color: var(--gray-text); font-size: 20px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; }
.km-close:hover { background: rgba(0,0,0,0.06); color: var(--dark-text); }
.km-body { padding: 22px 22px 18px; }
.km-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--dark-text);
  padding: 7px 0; opacity: 0; transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.km-step.show { opacity: 1; transform: none; }
.km-step .ic { width: 22px; height: 22px; display: grid; place-items: center; color: var(--success-green); font-size: 18px; flex-shrink: 0; }
.km-step .ic .spin-ic { animation: spin 0.7s linear infinite; color: var(--gray-text); }
.km-divider { height: 1px; background: var(--border-color); margin: 14px 0; opacity: 0; transition: opacity 0.3s; }
.km-divider.show { opacity: 1; }
.km-status { display: flex; gap: 44px; opacity: 0; transition: opacity 0.3s; }
.km-status.show { opacity: 1; }
.km-status .lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-text); margin-bottom: 4px; }
.km-status .val { font-size: 15px; font-weight: 800; color: var(--success-green); }
.km-note { display: flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--success-green); font-size: 14px; font-weight: 700; opacity: 0; transition: opacity 0.3s; }
.km-note.show { opacity: 1; }
.km-step.err .ic { color: var(--danger-red); }
.km-note.err { color: var(--danger-red); }
.km-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-top: 1px solid var(--border-color); background: var(--bg-top);
  flex-wrap: nowrap;
}
.km-link {
  margin-right: auto; background: none; border: none;
  color: var(--gray-text); font-size: 12.5px; font-weight: 700;
  white-space: nowrap; padding: 0; flex-shrink: 1; min-width: 0;
}
.km-link:hover { color: var(--danger-red); }
.km-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 42px; padding: 0 16px; border-radius: var(--radius-ui);
  font-size: 13px; font-weight: 700; white-space: nowrap;
  border: 1px solid transparent; transition: var(--transition); flex-shrink: 0;
}
.km-btn.secondary { background: var(--bg-light); border-color: var(--border-color); color: var(--dark-text); }
.km-btn.secondary:hover { border-color: var(--gray-text); }
.km-btn.primary { background: var(--brand-grad); color: var(--on-brand); box-shadow: 0 6px 15px var(--brand-shadow); }
.km-btn.primary:hover { transform: translateY(-1px); }
/* Cooldown sırasında pasif görünüm (inline turuncu stili !important ile bastırır) */
.km-btn:disabled { background: var(--bg-light) !important; color: var(--gray-text) !important; box-shadow: none !important; cursor: not-allowed; transform: none !important; }

/* Dar ekranda kibarca alt alta */
@media (max-width: 460px) {
  .km-footer { flex-wrap: wrap; }
  .km-link { order: 3; margin: 4px auto 0; }
  .km-btn { flex: 1; }
}

/* ---------- 10e) AUTH (giriş / kayıt) ---------- */
@media (max-width: 560px) { .auth-login-btn, .auth-register-btn { display: none; } }
.mobile-menu-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-color); }

.auth-wrap { display: grid; place-items: center; padding: 44px 0; }
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 30px 28px; box-shadow: var(--box-shadow);
}
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head .logo { justify-content: center; margin-bottom: 18px; font-size: 22px; }
.auth-title { font-size: 21px; font-weight: 900; letter-spacing: -0.5px; }
.auth-sub { color: var(--gray-text); font-size: 14px; margin-top: 6px; }
.auth-field { margin-bottom: 14px; }
.auth-field label { display: block; font-size: 13px; font-weight: 800; color: var(--dark-text); margin-bottom: 8px; }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i.icon-left { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-text); font-size: 18px; pointer-events: none; }
.auth-input {
  width: 100%; height: 46px;
  background: var(--input-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); padding: 0 16px 0 44px;
  font-size: 14px; font-weight: 600; color: var(--dark-text); transition: var(--transition);
}
.auth-input:focus { outline: none; border-color: var(--brand); background: var(--bg-header); box-shadow: 0 0 0 3px var(--brand-soft); }
.auth-pass-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border: none; background: transparent;
  color: var(--gray-text); font-size: 18px; border-radius: 8px; display: grid; place-items: center;
}
.auth-pass-toggle:hover { color: var(--dark-text); background: var(--bg-light); }
.auth-submit { width: 100%; height: 46px; margin-top: 6px; }
.auth-error {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,68,84,0.08); border: 1px solid rgba(255,68,84,0.25);
  color: var(--danger-red); border-radius: var(--radius-ui);
  padding: 12px 14px; font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.auth-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--gray-text); }
.auth-foot a { color: var(--brand-strong); font-weight: 700; }

/* ---------- 10f) PROFİL / OYUNLARIM ---------- */
.profile-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 15px 18px; box-shadow: var(--card-shadow);
}
.lib-avatar {
  position: relative; flex-shrink: 0;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-grad);
  color: var(--on-brand); display: grid; place-items: center; font-weight: 900; font-size: 20px;
}
.lib-avatar .edit {
  position: absolute; bottom: -5px; right: -5px;
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--ink-800); color: #fff; font-size: 11px;
  display: grid; place-items: center; border: 2px solid var(--bg-header);
}
.lib-meta { flex: 1; min-width: 0; }
.lib-meta .uname { font-weight: 800; font-size: 15px; color: var(--dark-text); }
.lib-meta .uname .at { color: var(--gray-text); font-weight: 700; }
.lib-meta .ucount { color: var(--gray-text); font-size: 13px; font-weight: 600; margin-top: 2px; }
.lib-suggest-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 10px 18px; border-radius: var(--radius-ui);
  background: var(--bg-header); border: 1px solid var(--border-color);
  color: var(--dark-text); font-size: 13px; font-weight: 700; transition: var(--transition);
}
.lib-suggest-btn:hover { border-color: var(--brand); color: var(--brand-strong); }

.rank-card {
  display: flex; gap: 16px; margin-top: 18px;
  background: rgba(255,179,0,0.05); border: 1px solid rgba(255,179,0,0.22);
  border-radius: var(--radius-card); padding: 22px;
}
.rank-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: rgba(255,179,0,0.12); color: var(--warning-orange);
  display: grid; place-items: center; font-size: 22px;
}
.rank-body { flex: 1; min-width: 0; }
.rank-label { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #b07d10; }
.rank-title { font-size: 18px; font-weight: 900; color: var(--dark-text); margin: 2px 0 8px; }
.rank-desc { color: var(--gray-text); font-size: 13.5px; line-height: 1.6; }
.rank-desc.dim { opacity: 0.8; margin-top: 4px; }
.rank-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; color: var(--brand-strong); font-size: 13px; font-weight: 700; }
.rank-link:hover { color: var(--brand-strong); }

.pending-card {
  display: flex; align-items: center; gap: 16px; margin-top: 16px;
  background: rgba(17,211,119,0.05); border: 1px solid rgba(17,211,119,0.22);
  border-radius: var(--radius-card); padding: 18px 22px;
}
.pending-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px; background: rgba(17,211,119,0.12); color: var(--success-green);
  display: grid; place-items: center; font-size: 22px;
}
.pending-body { flex: 1; min-width: 0; }
.pending-label { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #0a9c58; }
.pending-title { font-size: 16px; font-weight: 900; color: var(--dark-text); margin: 2px 0 1px; }
.pending-sub { color: var(--gray-text); font-size: 12.5px; font-weight: 600; }
.pending-btn {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  height: 40px; padding: 0 18px; border-radius: var(--radius-ui);
  background: linear-gradient(135deg, var(--success-green) 0%, #0db866 100%);
  color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 4px 15px rgba(17,211,119,0.25);
  border: none; transition: var(--transition);
}
.pending-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17,211,119,0.32); }

/* Kütüphane grid + kart */
.library-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px; margin-top: 32px;
}
.lib-card {
  display: flex; flex-direction: column;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); overflow: hidden; transition: var(--transition);
}
.lib-card:hover { box-shadow: var(--card-shadow-hover); }
.lib-media { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #2a2f3a, #161a22); }
.lib-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lib-media .ph { font-size: 40px; color: rgba(255,255,255,0.22); }
.lib-platform {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(0,0,0,0.65); color: #fff; font-size: 11px; font-weight: 800;
  padding: 5px 10px; border-radius: 8px; backdrop-filter: blur(4px);
}
.lib-status {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--success-green); color: #fff;
  font-size: 10px; font-weight: 900; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 5px 9px; border-radius: 8px;
}
.lib-status.passive { background: var(--gray-text); }
.lib-body { padding: 16px; }
.lib-title { font-size: 16px; font-weight: 800; color: var(--dark-text); margin-bottom: 14px; }

.cred-field {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); padding: 7px 8px 7px 10px; margin-bottom: 8px;
}
.cred-label {
  flex-shrink: 0; font-size: 10px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--gray-text); background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: 6px; padding: 4px 8px;
}
.cred-value { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--dark-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cred-value.mask { letter-spacing: 2px; }
.cred-btn {
  width: 30px; height: 30px; flex-shrink: 0; border: none; background: transparent;
  color: var(--gray-text); font-size: 16px; border-radius: 6px; display: grid; place-items: center; transition: var(--transition);
}
.cred-btn:hover { background: var(--bg-header); color: var(--brand-strong); }
.cred-btn.copied { color: var(--success-green); }
/* Kütüphane kartı — birden fazla hesap: yatay kaydırma */
.acc-wrap { margin-bottom: 0; }
.acc-slider {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.acc-slider::-webkit-scrollbar { display: none; }
.acc-slider:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: var(--radius-ui); }
.acc-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.acc-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gray-text);
}
.acc-head span:first-child { color: var(--brand-strong); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 8px; }
.acc-arrow {
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 8px; border: 1px solid var(--border-color); background: var(--bg-light);
  color: var(--dark-text); font-size: 17px; transition: var(--transition);
}
.acc-arrow:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-strong); }
.acc-arrow:disabled { opacity: 0.35; cursor: default; }
.acc-dots { display: inline-flex; gap: 6px; }
.acc-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--border-color); transition: var(--transition); }
.acc-dots i.on { width: 18px; background: var(--brand); }
.lib-guard-btn {
  width: 100%; height: 44px; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-light); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); color: var(--dark-text); font-size: 13px; font-weight: 700; transition: var(--transition);
}
.lib-guard-btn:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-soft); }

@media (max-width: 600px) {
  .profile-card, .pending-card { flex-wrap: wrap; }
  .lib-suggest-btn, .pending-btn { width: 100%; justify-content: center; }
  .library-grid { grid-template-columns: 1fr; }
}

/* ---------- 10g) ADMIN PANELİ (site içi) ---------- */
.admin-head { text-align: center; margin-bottom: 28px; }
.admin-head h1 { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.admin-head p { color: var(--gray-text); font-size: 15px; margin-top: 8px; }

.admin-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }

.admin-sidebar {
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 14px; position: sticky; top: 92px;
}
.admin-menu { display: flex; flex-direction: column; gap: 4px; }
.admin-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 13px; border-radius: var(--radius-ui);
  font-size: 13.5px; font-weight: 600; color: var(--gray-text);
  transition: var(--transition);
}
.admin-menu a i { font-size: 18px; }
.admin-menu a:hover { background: var(--bg-light); color: var(--dark-text); }
.admin-menu a.active {
  background: var(--brand-grad); color: var(--on-brand);
  box-shadow: 0 6px 15px var(--brand-shadow);
}

.admin-panel {
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 24px 26px;
}
.admin-panel-title { font-size: 19px; font-weight: 900; letter-spacing: -0.3px; margin-bottom: 20px; }

.admin-flash {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 16px; border-radius: var(--radius-ui);
  font-size: 14px; font-weight: 600; margin-bottom: 22px;
}
.admin-flash.ok { background: rgba(17,211,119,0.08); border: 1px solid rgba(17,211,119,0.25); color: var(--success-green); }
.admin-flash.err { background: rgba(255,68,84,0.08); border: 1px solid rgba(255,68,84,0.25); color: var(--danger-red); }

/* Admin form öğeleri (bento-form temelli) */
.adm-group { margin-bottom: 20px; }
.adm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adm-row.two { grid-template-columns: 1fr 1fr; }
.adm-label { display: block; font-size: 13px; font-weight: 800; color: var(--dark-text); margin-bottom: 8px; }
.adm-input, .adm-select {
  width: 100%; height: 44px;
  background: var(--input-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); padding: 0 16px;
  font-size: 14px; font-weight: 600; color: var(--dark-text);
  transition: var(--transition);
}
.adm-select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2385909e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.adm-input:focus, .adm-select:focus { outline: none; border-color: var(--brand); background: var(--bg-header); box-shadow: 0 0 0 3px var(--brand-soft); }
.adm-input[type="file"] { height: auto; padding: 9px 12px; cursor: pointer; }
.adm-logo-now { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-logo-prev {
  display: grid; place-items: center; height: 54px; padding: 0 16px; border-radius: var(--radius-ui);
  background: #f2f3ee; border: 1px solid var(--border-color);
}
.adm-logo-prev.dark { background: var(--ink-900); border-color: var(--ink-border); }
.adm-logo-prev img { height: 34px; width: auto; max-width: 200px; object-fit: contain; }
.adm-help { font-size: 12px; font-weight: 600; color: var(--brand-strong); margin-top: 8px; }
.adm-help.muted { color: var(--gray-text); }

.adm-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; cursor: pointer; }
.adm-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex-shrink: 0; cursor: pointer; }
.adm-check .cl-title { font-size: 14px; font-weight: 700; color: var(--dark-text); }
.adm-check .cl-help { font-size: 12px; font-weight: 600; color: var(--brand-strong); margin-top: 3px; }

.adm-dropzone-row { display: grid; grid-template-columns: 1fr 220px; gap: 14px; }
.adm-dropzone {
  border: 2px dashed var(--border-color); border-radius: var(--radius-ui);
  padding: 30px; text-align: center; cursor: pointer; transition: var(--transition);
}
.adm-dropzone:hover { border-color: var(--brand); }
.adm-dropzone i { font-size: 28px; color: var(--gray-text); }
.adm-dropzone .dz-main { font-size: 14px; font-weight: 700; color: var(--dark-text); margin-top: 8px; }
.adm-dropzone .dz-sub { font-size: 12px; color: var(--gray-text); margin-top: 2px; }
.adm-dropzone img.preview { max-height: 120px; margin: 6px auto 0; border-radius: 8px; }
.adm-gridfind {
  border: 1px dashed var(--brand-soft-border); border-radius: var(--radius-ui);
  display: grid; place-items: center; gap: 6px; color: var(--brand-strong);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--transition);
}
.adm-gridfind:hover { background: var(--brand-soft); }
.adm-gridfind i { font-size: 24px; }

.adm-submit { width: 100%; height: 46px; margin-top: 10px; }

/* Admin tablo */
.adm-table { width: 100%; border-collapse: collapse; }
.adm-table th, .adm-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--border-color); font-size: 14px; }
.adm-table th { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: var(--gray-text); }
.adm-table td { font-weight: 600; }
.adm-badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.adm-badge.admin { background: rgba(255,68,84,0.12); color: var(--danger-red); }
.adm-badge.user { background: var(--bg-light); color: var(--gray-text); }
.adm-badge.green { background: rgba(17,211,119,0.12); color: var(--success-green); }
.adm-badge.gray { background: var(--bg-light); color: var(--gray-text); }
.adm-mini-btn { padding: 7px 12px; border-radius: var(--radius-ui); font-size: 12px; font-weight: 700; border: 1px solid var(--border-color); background: var(--bg-header); color: var(--dark-text); transition: var(--transition); }
.adm-mini-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.adm-mini-btn.danger:hover { border-color: var(--danger-red); color: var(--danger-red); }

/* İşlem kayıtları */
.log-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.log-head-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.log-live {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(17,211,119,0.1); border: 1px solid rgba(17,211,119,0.25);
  color: var(--success-green); font-size: 13px; font-weight: 800;
  padding: 6px 12px; border-radius: 999px;
}
.log-live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success-green); animation: pulse 2s infinite; }
.log-refreshed { font-size: 13px; color: var(--gray-text); font-weight: 600; }
.log-refreshed b { color: var(--dark-text); }
.log-table td { vertical-align: top; }
.log-table .log-date { white-space: nowrap; color: var(--dark-text); font-weight: 700; }
.log-table .log-user { font-weight: 800; color: var(--dark-text); }
.log-table .log-game { color: var(--dark-text); font-weight: 700; max-width: 220px; }
.log-event { font-weight: 800; }
.log-event.green { color: var(--success-green); }
.log-event.red { color: var(--danger-red); }
.log-event.blue { color: var(--primary-blue); }
.log-detail { color: var(--gray-text); font-weight: 600; font-size: 13px; line-height: 1.5; }
.log-detail .log-lbl { color: var(--gray-text); opacity: 0.75; }
.log-detail .log-em { color: var(--dark-text); font-weight: 800; }

/* Kullanıcı Yönetimi */
.um-search { position: relative; margin-bottom: 22px; }
.um-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-text); font-size: 19px; }
.um-search input {
  width: 100%; height: 44px; padding: 0 18px 0 48px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); font-size: 14px; font-weight: 500; color: var(--dark-text);
  box-shadow: var(--card-shadow); transition: var(--transition);
}
.um-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.um-list { display: flex; flex-direction: column; gap: 14px; }
.um-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 18px 20px; transition: var(--transition);
}
.um-card:hover { box-shadow: var(--card-shadow-hover); }
.um-card.banned { opacity: 0.6; }
.um-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.um-info { flex: 1; min-width: 0; }
.um-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.um-name { font-size: 16px; font-weight: 800; color: var(--dark-text); }
.um-role { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.um-role.user { background: var(--bg-light); color: var(--gray-text); }
.um-role.admin { background: rgba(255,68,84,0.12); color: var(--danger-red); }
.um-role.ban { background: rgba(255,68,84,0.12); color: var(--danger-red); }
.um-count { font-size: 13px; font-weight: 600; color: var(--gray-text); margin-top: 5px; }
.um-actions { display: flex; gap: 8px; flex-shrink: 0; }
.um-act-btn {
  width: 40px; height: 36px; border: none; border-radius: 10px;
  display: grid; place-items: center; font-size: 17px; cursor: pointer; transition: var(--transition);
}
.um-act-btn.purple { background: rgba(124,77,255,0.12); color: #7c4dff; }
.um-act-btn.purple:hover { background: #7c4dff; color: #fff; }
.um-act-btn.green { background: rgba(17,211,119,0.12); color: var(--success-green); }
.um-act-btn.green:hover { background: var(--success-green); color: #fff; }
.um-act-btn.yellow { background: rgba(255,179,0,0.16); color: #d89600; }
.um-act-btn.yellow:hover { background: var(--warning-orange); color: #fff; }
.um-act-btn.red { background: rgba(255,68,84,0.12); color: var(--danger-red); }
.um-act-btn.red:hover { background: var(--danger-red); color: #fff; }

/* Admin modal (genel) */
.um-overlay {
  position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 20px;
  background: rgba(10,12,16,0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.um-overlay.show { opacity: 1; visibility: visible; }
.um-modal {
  width: min(94vw, 560px); max-height: 88vh; overflow-y: auto;
  background: var(--bg-header); border-radius: var(--radius-card);
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transform: scale(0.96); transition: transform 0.25s ease;
}
.um-overlay.show .um-modal { transform: none; }
.um-modal.sm { width: min(94vw, 440px); }
.um-modal-head { display: flex; align-items: center; gap: 14px; padding: 22px 24px 14px; }
.um-modal-head .um-avatar { width: 50px; height: 50px; }
.um-mh-title { font-size: 20px; font-weight: 900; color: var(--dark-text); }
.um-modal-close { margin-left: auto; width: 34px; height: 34px; border: none; background: transparent; color: var(--gray-text); font-size: 22px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; align-self: flex-start; }
.um-modal-close:hover { background: var(--bg-light); color: var(--dark-text); }
.um-modal-body { padding: 8px 24px 24px; }
.um-section-label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--dark-text); margin: 4px 0 14px; }

/* Modal: kütüphane öğesi */
.um-lib-item { display: flex; align-items: center; gap: 12px; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 12px; margin-bottom: 10px; }
.um-lib-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--ink-800); display: grid; place-items: center; color: rgba(255,255,255,0.4); font-size: 18px; flex-shrink: 0; }
.um-lib-info { flex: 1; min-width: 0; }
.um-lib-title { font-size: 14px; font-weight: 800; color: var(--dark-text); }
.um-lib-meta { font-size: 12px; font-weight: 600; color: var(--gray-text); margin-top: 2px; }
.um-lib-meta .perm { color: var(--success-green); font-weight: 700; }
.um-lib-del { width: 38px; height: 38px; flex-shrink: 0; border: none; border-radius: 10px; background: rgba(255,68,84,0.1); color: var(--danger-red); font-size: 17px; cursor: pointer; transition: var(--transition); }
.um-lib-del:hover { background: var(--danger-red); color: #fff; }

.um-addbox { border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 18px; margin-top: 16px; }
.um-addbox .lbl { font-size: 12px; font-weight: 700; color: var(--gray-text); margin: 12px 0 6px; }
.um-empty { text-align: center; color: var(--gray-text); padding: 18px; font-size: 13px; }

.um-ban-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,68,84,0.1); color: var(--danger-red); display: grid; place-items: center; font-size: 30px; margin: 6px auto 12px; }
.btn-danger { background: var(--danger-red); color: #fff; }
.btn-danger:hover { filter: brightness(0.95); }
.btn-light { background: var(--bg-light); color: var(--dark-text); border: 1px solid var(--border-color); }
.btn-light:hover { border-color: var(--gray-text); }

/* Oyun Yönetimi (admin) */
.gm-search { position: relative; margin-bottom: 22px; }
.gm-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-text); font-size: 19px; }
.gm-search input {
  width: 100%; height: 52px; padding: 0 18px 0 48px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); font-size: 14px; font-weight: 500; color: var(--dark-text);
  box-shadow: var(--card-shadow); transition: var(--transition);
}
.gm-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.gm-list { display: flex; flex-direction: column; gap: 14px; }
.gm-card {
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 16px; transition: var(--transition);
}
.gm-card:hover { box-shadow: var(--card-shadow-hover); }
.gm-card.dragging { opacity: 0.5; box-shadow: var(--card-shadow-hover); }
.gm-drag { align-self: center; cursor: grab; color: var(--gray-text); font-size: 20px; padding: 0 2px; flex-shrink: 0; }
.gm-drag:active { cursor: grabbing; }
.gm-main { flex: 1; min-width: 0; }
.gm-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.gm-title { font-size: 18px; font-weight: 800; color: var(--dark-text); }
.gm-badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.gm-badge.ozel { background: linear-gradient(135deg,#8b5cf6,#7c3aed); color: #fff; }
.gm-badge.featured { background: var(--brand-grad); color: var(--on-brand); }
.gm-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.gm-info { font-size: 14px; color: var(--gray-text); font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gm-info b { color: var(--dark-text); font-weight: 800; }
.gm-actions { display: flex; gap: 8px; flex-shrink: 0; }
.gm-act { width: 42px; height: 38px; border: none; border-radius: 10px; display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: var(--transition); }
.gm-act.edit { background: rgba(255,179,0,0.16); color: #d89600; }
.gm-act.edit:hover { background: var(--warning-orange); color: #fff; }
.gm-act.del { background: rgba(255,68,84,0.12); color: var(--danger-red); }
.gm-act.del:hover { background: var(--danger-red); color: #fff; }

/* Düzenle modalı (geniş) */
.um-modal.lg { width: min(94vw, 640px); }
.gm-current-img { position: relative; border-radius: var(--radius-ui); overflow: hidden; margin-top: 6px; }
.gm-current-img img { width: 100%; display: block; max-height: 220px; object-fit: cover; }
.gm-img-remove {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--danger-red); color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

@media (max-width: 600px) {
  .gm-info-grid { grid-template-columns: 1fr; }
  .gm-card { flex-direction: column; }
  .gm-actions { align-self: flex-end; }
}

/* Anahtar Sorgulama */
.key-lookup { display: flex; gap: 12px; align-items: stretch; }
.key-lookup-search { position: relative; flex: 1; }
.key-lookup-search > i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gray-text); font-size: 19px; }
.key-lookup-search input {
  width: 100%; height: 52px; padding: 0 18px 0 48px;
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-ui); font-size: 14px; font-weight: 600; color: var(--dark-text);
  font-family: ui-monospace, monospace; transition: var(--transition);
}
.key-lookup-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.key-lookup-btn { height: 52px; padding: 0 26px; flex-shrink: 0; }

.key-card { border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 22px; }
.key-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.key-code { font-family: ui-monospace, monospace; font-size: 16px; font-weight: 800; color: var(--dark-text); }
.key-status { padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.key-status.green { background: rgba(17,211,119,0.12); color: var(--success-green); }
.key-status.orange { background: rgba(255,179,0,0.16); color: #d89600; }
.key-status.gray { background: var(--bg-light); color: var(--gray-text); }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 14px; color: var(--gray-text); font-weight: 600; }
.key-grid b { color: var(--dark-text); font-weight: 800; }
.key-rel-title { font-size: 17px; font-weight: 800; margin: 24px 0 14px; }
.um-role.used { background: rgba(124,77,255,0.14); color: #7c4dff; }

@media (max-width: 560px) { .key-grid { grid-template-columns: 1fr; } }

/* Duyurular */
.ann-create { border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 24px; margin-bottom: 22px; background: var(--bg-top); }
.ann-title { font-size: 16px; font-weight: 800; color: var(--dark-text); line-height: 1.4; padding-right: 50px; }
.ann-content { color: var(--gray-text); font-size: 14px; line-height: 1.6; margin: 8px 0 12px; }
.ann-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--gray-text); }
.ann-meta b { color: var(--dark-text); font-weight: 700; }

/* Oyun Önerileri (kart) */
.sg-list { display: flex; flex-direction: column; gap: 14px; }
.sg-card { position: relative; background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 18px 20px; transition: var(--transition); }
.sg-card:hover { box-shadow: var(--card-shadow-hover); }
.sg-top { display: flex; align-items: center; gap: 12px; }
.sg-name { font-size: 15px; font-weight: 800; color: var(--dark-text); }
.sg-email { font-size: 13px; font-weight: 600; color: var(--gray-text); margin-top: 1px; }
.sg-text { font-size: 15px; color: var(--dark-text); margin: 12px 0 6px; }
.sg-note { font-size: 13px; color: var(--gray-text); margin: 0 0 6px; }
.sg-date { font-size: 12px; font-weight: 600; color: #8aa0c8; }
body.dark-mode .sg-date { color: #6b7e9e; }
.sg-del { position: absolute; top: 16px; right: 16px; width: 40px; height: 38px; border: none; border-radius: 10px; background: rgba(255,68,84,0.1); color: var(--danger-red); font-size: 17px; cursor: pointer; transition: var(--transition); }
.sg-del:hover { background: var(--danger-red); color: #fff; }
.sg-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; vertical-align: middle; }

/* SteamGridDB sonuç grid'i */
.sgdb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.sgdb-item { border: 2px solid var(--border-color); border-radius: var(--radius-ui); overflow: hidden; background: var(--bg-light); cursor: pointer; padding: 0; transition: var(--transition); aspect-ratio: 2/3; }
.sgdb-item:hover { border-color: var(--brand); box-shadow: 0 8px 20px var(--brand-shadow); transform: translateY(-3px); }
.sgdb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Otomatik tamamlama (kullanıcı arama) */
.ac-wrap { position: relative; }
.ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30; background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-ui); box-shadow: var(--dropdown-shadow); overflow: hidden; max-height: 260px; overflow-y: auto; }
.ac-item { display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 14px; font-weight: 700; color: var(--dark-text); cursor: pointer; border-bottom: 1px solid var(--border-color); }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: var(--bg-light); }
.ac-sub { font-size: 12px; font-weight: 600; color: var(--gray-text); margin-left: auto; }
.ac-badge { font-size: 10px; font-weight: 800; color: var(--success-green); background: rgba(17,211,119,0.12); border-radius: 999px; padding: 2px 7px; }

/* Bayi kartları */
.dealer-list { display: flex; flex-direction: column; gap: 14px; }
.dealer-card { background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 18px 20px; transition: var(--transition); }
.dealer-card:hover { box-shadow: var(--card-shadow-hover); }
.dealer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dealer-name { font-size: 18px; font-weight: 800; color: var(--dark-text); }
.dealer-email { font-size: 13px; color: var(--gray-text); margin-top: 2px; }
.dealer-balance { font-size: 22px; font-weight: 900; color: var(--dark-text); letter-spacing: -0.5px; }
.dealer-sales { font-size: 12px; color: var(--gray-text); margin-top: 2px; }
.dealer-actions { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.dealer-actions .adm-mini-btn { height: 42px; justify-content: center; }
@media (max-width: 560px) { .dealer-actions { grid-template-columns: 1fr; } }

/* Kayıtsız mod — oyun kartında çoklu hesap blokları */
.lib-acc + .lib-acc { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border-color); }
.lib-acc-plat { font-size: 12px; font-weight: 800; color: var(--brand-strong); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.lib-acc .lib-guard-btn { margin-top: 10px; width: 100%; }

/* Zaman aşımı ayarları (admin) */
.to-card { border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 16px 18px; margin-bottom: 12px; transition: var(--transition); }
.to-card.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, 0 2px 12px var(--brand-shadow); }
.to-card .to-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.to-info { flex: 1 1 auto; }
.to-name { font-weight: 800; font-size: 15px; color: var(--dark-text); display: flex; align-items: center; gap: 8px; }
.to-sub { font-size: 12.5px; color: var(--brand-strong); margin-top: 2px; }
.to-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-text); display: inline-block; }
.to-card.on .to-dot { background: var(--success-green); }
.plat-name { flex: 1 1 140px; min-width: 0; }
.to-controls { display: flex; gap: 10px; }
.to-amount { width: 90px; }
.to-unit { width: 110px; }
.to-secs { flex: 0 0 auto; min-width: 90px; text-align: right; font-size: 13px; font-weight: 600; }
.to-total { margin-top: 10px; font-size: 12.5px; }
/* Varsayılan kartta kontroller ayrı satır */
#toDefault .to-controls { margin-top: 14px; }
#toDefault .to-amount { flex: 1 1 auto; width: auto; }
.to-badge { background: rgba(255,148,23,0.12); color: var(--brand-strong); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
/* Toggle switch */
.to-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.to-switch input { opacity: 0; width: 0; height: 0; }
.to-slider { position: absolute; inset: 0; cursor: pointer; background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 999px; transition: var(--transition); }
.to-slider::before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 50%; transition: var(--transition); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.to-switch input:checked + .to-slider { background: var(--success-green); border-color: transparent; }
.to-switch input:checked + .to-slider::before { left: calc(100% - 21px); }
.adm-input:disabled, .adm-select:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 600px) {
  .to-card .to-row { gap: 10px; }
  .plat-name { flex: 1 1 100%; }
  .to-controls { flex: 1 1 auto; }
  .to-amount { flex: 1 1 auto; width: auto; }
  .to-secs { flex: 1 1 100%; text-align: left; }
}

/* Rank kademeleri editörü (admin) */
.rank-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr auto; gap: 12px; align-items: end; border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 14px; margin-bottom: 10px; }
.rank-row .adm-label { margin-bottom: 6px; }
.rank-del { width: 44px; height: 48px; border: none; border-radius: 10px; background: rgba(255,68,84,0.1); color: var(--danger-red); font-size: 17px; cursor: pointer; }
.rank-del:hover { background: var(--danger-red); color: #fff; }
.rank-games-box { max-height: 200px; overflow-y: auto; border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 10px 12px; background: var(--bg-header); }
.rank-game-item { display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 14px; font-weight: 600; color: var(--dark-text); cursor: pointer; }
.rank-game-item input { width: 17px; height: 17px; accent-color: var(--brand); }
@media (max-width: 700px) { .rank-row { grid-template-columns: 1fr 1fr; } .rank-row .rank-del { grid-column: 1 / -1; width: 100%; } }

/* Ek hesap bloğu (oyun ekle) */
.acc-block { position: relative; border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 16px; margin-bottom: 12px; background: var(--bg-top); }
.acc-block-title { font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--gray-text); margin-bottom: 12px; }
.acc-remove { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: none; border-radius: 8px; background: rgba(255,68,84,0.1); color: var(--danger-red); font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: var(--transition); }
.acc-remove:hover { background: var(--danger-red); color: #fff; }

/* Guard ayarları radio */
.g-radio { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--dark-text); cursor: pointer; }
.g-radio input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }

.adm-placeholder { text-align: center; padding: 60px 20px; color: var(--gray-text); }
.adm-placeholder i { font-size: 48px; opacity: 0.4; }
.adm-placeholder h3 { margin: 14px 0 4px; color: var(--dark-text); font-size: 18px; }

@media (max-width: 991px) {
  .admin-layout { grid-template-columns: 1fr; }
  /* Grid blowout fix: item'lar min-width:auto yüzünden viewport'u taşırmasın */
  .admin-layout > * { min-width: 0; }
  .admin-sidebar { position: static; }
}
@media (max-width: 600px) {
  .adm-row, .adm-row.two { grid-template-columns: 1fr; }
  .adm-dropzone-row { grid-template-columns: 1fr; }
  .admin-head h1 { font-size: 30px; }
}

/* ---------- 10j) ÖDÜLLER (rank) ---------- */
.rwd-current { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-card); padding: 18px 22px; }
.rwd-current-label { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-text); }
.rwd-current-name { font-size: 21px; font-weight: 900; letter-spacing: -0.5px; margin: 4px 0 6px; }
.rwd-current-sub { color: var(--gray-text); font-size: 13px; line-height: 1.6; max-width: 460px; }
.rwd-current-sub b { color: var(--brand-strong); }
.rwd-current-note { font-size: 12px; color: var(--gray-text); margin-top: 8px; opacity: 0.85; }
.rwd-verify-btn { flex-shrink: 0; height: 44px; }

.rwd-section-title { font-size: 16px; font-weight: 800; margin: 24px 0 12px; display: flex; align-items: center; gap: 8px; }

.rwd-gift-list { display: flex; flex-direction: column; gap: 10px; }
.rwd-gift { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 11px 16px; }
.rwd-gift-code { font-family: ui-monospace, monospace; font-size: 15px; font-weight: 800; color: var(--dark-text); letter-spacing: 0.5px; }
.rwd-gift-sub { font-size: 12px; color: var(--gray-text); font-weight: 600; margin-top: 2px; }
.rwd-gift-copy { height: 38px; flex-shrink: 0; }

.rwd-tier-list { display: flex; flex-direction: column; gap: 8px; }
.rwd-tier { background: var(--bg-header); border: 1px solid var(--border-color); border-radius: var(--radius-ui); padding: 12px 16px; opacity: 0.7; }
.rwd-tier.reached { opacity: 1; }
.rwd-tier-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rwd-tier-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; background: var(--bg-light); color: var(--gray-text); font-size: 16px; }
.rwd-tier-info { flex: 1; min-width: 0; }
.rwd-tier-name { font-size: 14.5px; font-weight: 800; color: var(--dark-text); }
.rwd-tier-meta { font-size: 12px; color: var(--gray-text); margin-top: 2px; }
.rwd-reward { color: var(--brand-strong); font-weight: 700; }
.rwd-tier-count { font-size: 13.5px; font-weight: 800; color: var(--dark-text); flex-shrink: 0; }
.rwd-tier-bar { height: 5px; border-radius: 999px; background: var(--bg-light); overflow: hidden; }
.rwd-tier-bar i { display: block; height: 100%; background: var(--gray-text); border-radius: 999px; transition: width 0.4s ease; }

@media (max-width: 600px) {
  .rwd-current { flex-direction: column; align-items: stretch; }
  .rwd-verify-btn { width: 100%; }
  .rwd-current-name { font-size: 22px; }
  .rwd-gift { flex-wrap: wrap; }
  .rwd-gift-copy { width: 100%; justify-content: center; }
}

/* ---------- 10i) SİTE DUYURU POPUP ---------- */
.ann-popup-overlay {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px;
  background: rgba(10,12,16,0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.ann-popup-overlay.show { opacity: 1; visibility: visible; }
.ann-popup {
  position: relative; width: min(94vw, 460px);
  background: var(--bg-header); border: 1px solid var(--border-color);
  border-radius: var(--radius-card); padding: 30px 28px 24px; text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transform: scale(0.94) translateY(10px); transition: transform 0.3s ease;
}
.ann-popup-overlay.show .ann-popup { transform: none; }
.ann-popup-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: none; background: var(--bg-light); color: var(--gray-text); font-size: 20px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.ann-popup-close:hover { background: var(--danger-red); color: #fff; }
.ann-popup-icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--brand-grad); color: var(--on-brand); font-size: 30px; box-shadow: 0 8px 22px var(--brand-shadow); }
.ann-popup-title { font-size: 21px; font-weight: 900; letter-spacing: -0.3px; margin-bottom: 10px; }
.ann-popup-body { color: var(--gray-text); font-size: 15px; line-height: 1.6; white-space: pre-line; }
.ann-popup-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.ann-popup-actions .btn { height: 42px; }

/* ---------- 11) FOOTER ---------- */
/* Gece zeminli footer (iki temada da aynı) */
.modern-footer-bg {
  background: var(--ink-900);
  border-top: 1px solid var(--ink-border);
  color: #8b91a1;
  padding: 52px 0 26px;
  margin-top: 8px;
  overflow: hidden;
}
/* Koyu temada zeminden bir ton açık, ayrışsın */
body.dark-mode .modern-footer-bg { background: #10131a; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto auto; gap: 36px 76px; }
.footer-brand .logo { color: #fff; font-size: 18px; }
.footer-brand .logo .logo-dot::before { color: var(--lime); }
.footer-brand .logo-text { display: contents; }
.footer-brand .logo-name b, .footer-brand .logo-tag { display: none; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; margin: 20px 0 16px; }
.footer-trust { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.footer-trust i { font-size: 15px; color: var(--lime); }
.footer-col h5 {
  font-family: var(--font-mono);
  color: #8b91a1; font-size: 10.5px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 6px 0 20px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; font-size: 14px; font-weight: 500; color: #e3e6ec;
  white-space: nowrap; transition: var(--transition);
}
.footer-col a i { font-size: 14px; }
.footer-col a:hover { color: var(--lime); }
/* Dev çerçeveli kelime markası */
.footer-big {
  font-family: var(--font-display); font-weight: 800; text-transform: lowercase;
  font-size: clamp(54px, 13vw, 188px); letter-spacing: -0.06em; line-height: 0.86;
  color: transparent; -webkit-text-stroke: 1px var(--ink-border);
  white-space: nowrap; user-select: none; margin: 44px 0 0;
}
.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid var(--ink-border);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
}
.footer-bottom .fb-mid { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom .fb-mid i { color: var(--lime); font-size: 12px; }
/* powered by okyia ∞ — mavi-beyaz akan sonsuzluk */
.footer-bottom .fb-powered { gap: 6px; color: #8b91a1; transition: var(--transition); }
.footer-bottom .fb-powered b {
  font-weight: 700; letter-spacing: 0.06em;
  background: linear-gradient(90deg, #ffffff 0%, #4da3ff 50%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #fff;
  animation: okyiaShine 3.2s linear infinite;
}
.footer-bottom .fb-powered:hover { color: #e3e6ec; }
.okyia-inf { width: 17px; height: 17px; margin-left: 0; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.okyia-inf .inf-base { stroke: rgba(255,255,255,0.9); }
.okyia-inf .inf-run {
  stroke: #2f8bff; stroke-dasharray: 22 28; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 2px rgba(47,139,255,0.8));
  animation: okyiaRun 1.8s linear infinite;
}
@keyframes okyiaRun { to { stroke-dashoffset: -100; } }
@keyframes okyiaShine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .okyia-inf .inf-run, .footer-bottom .fb-powered b { animation: none; }
}
.footer-bottom .fb-top {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  color: #8b91a1; transition: var(--transition);
}
.footer-bottom .fb-top i { font-size: 15px; color: #eef0f4; transition: transform 0.25s ease; }
.footer-bottom .fb-top:hover { color: var(--lime); }
.footer-bottom .fb-top:hover i { transform: translateY(-2px); }

/* ---------- 12) ANİMASYONLAR ---------- */
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.7; } }
@keyframes navActiveBarIn { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- 13) RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .shelf { grid-template-columns: repeat(4, 1fr); }
  .shelf-game:nth-child(n+5) { display: none; }
}

@media (max-width: 991px) {
  .main-nav { display: none; }
  .header-hamburger-btn { display: grid; }
  /* Mobilde header sade: sadece hamburger kalır, gerisi yan menüde */
  .header-actions > *:not(.header-hamburger-btn) { display: none; }
  .header-actions { margin-left: auto; }   /* hamburger'ı en sağa it */
  .header-middle { height: 62px; }
  .hero-grid { grid-template-columns: 1fr; }
  .fan { height: 400px; width: 100%; max-width: 520px; margin: 0 auto; }
  .shelf { grid-template-columns: repeat(3, 1fr); }
  .shelf-game:nth-child(n+4) { display: none; }
  .ticket { grid-template-columns: 1fr; }
  .stub + .stub { border-left: none; border-top: 2px dashed rgba(21,26,0,0.35); }
  .stub + .stub::before { top: -13px; left: -12px; }
  .stub + .stub::after { top: -13px; bottom: auto; left: auto; right: -12px; }
  .guard-band { grid-template-columns: 1fr; }
  .guard-live { border-left: none; border-top: 1px solid var(--border-color); }
  .rank-strip { grid-template-columns: repeat(2, 1fr); }
  .rank-cell + .rank-cell { border-left: none; }
  .rank-cell { border-bottom: 1px solid var(--border-color); }
  .footer-grid { grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .section-title { font-size: 27px; }
  .home-hero { padding: 44px 0 40px; }
  .home-section { padding: 56px 0; }
  .keybox-row { flex-direction: column; }
  .keybox-top span:last-child { display: none; }
  .fan { height: 320px; }
  .fan-card { width: 164px; margin: -123px 0 0 -82px; }
  .fan-card.c1, .fan:hover .fan-card.c1 { transform: translateX(-76px) rotate(-10deg); }
  .fan-card.c3, .fan:hover .fan-card.c3 { transform: translateX(76px) rotate(10deg); }
  .fan-stamp { width: 84px; height: 84px; font-size: 8.5px; }
  .fan-stamp strong { font-size: 24px; }
  .marquee span { font-size: 23px; }
  .sec-row { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
  .shelf { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shelf-game:nth-child(n+4) { display: block; }
  .shelf-game:nth-child(n+5) { display: none; }
  .stub { padding: 28px 22px 24px; }
  .stub-no { font-size: 60px; }
  .guard-copy, .guard-live { padding: 30px 22px; }
  .code-digits b { font-size: 23px; }
  .faq-item summary { font-size: 17px; gap: 12px; padding: 18px 0; }
  .faq-body { padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 28px 24px; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: start; gap: 10px; }
  .footer-bottom .fb-top { justify-self: start; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 72px; }   /* alt nav için boşluk */
  .modern-footer-bg { margin-bottom: 0; }
}

/* =====================================================================
   MOBİL İNCE AYAR — tüm sayfalar için kapsamlı dokunuşlar
   ===================================================================== */

/* Yatay taşmayı engelle (mobilde sağa kayma olmasın) */
/* Yatay taşma html'de kesilir (mobilde sayfanın uzaklaşmasını önler).
   body'de hidden KULLANMA: body kaydırma kabı olur ve yapışkan header bozulur; clip bunu yapmaz. */
html { overflow-x: hidden; }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }

@media (max-width: 991px) {
  /* Admin sol menü → yatay kaydırılan şerit (dikeyde yer kaplamasın) */
  .admin-sidebar { position: static; padding: 8px; margin-bottom: 4px; min-width: 0; overflow: hidden; }
  .admin-menu { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x; }
  .admin-menu::-webkit-scrollbar { display: none; }
  .admin-menu a { flex: 0 0 auto; white-space: nowrap; padding: 10px 14px; }
  /* İçerikteki geniş öğeler (tablolar) panel içinde kaydırılsın, sayfayı taşırmasın */
  .admin-panel { overflow-x: hidden; }
  .adm-table-wrap, .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 767px) {
  /* Genel altlık */
  .section { padding: 44px 0; }
  .section-title { font-size: 26px; }
  .container, .container.wide { padding: 0 16px; }

  /* Admin paneli */
  .admin-head h1 { font-size: 28px; }
  .admin-head { margin-bottom: 24px; }
  .admin-panel { padding: 18px 16px; }
  .admin-panel-title { font-size: 19px; }

  /* Başlık + buton satırları sarılsın (log-head: Guard/Bayi/Duyuru başlıkları) */
  .log-head { flex-wrap: wrap; gap: 10px; }
  .log-head .btn-sm { width: 100%; justify-content: center; }
  .log-head-right { width: 100%; justify-content: space-between; }

  /* Tüm form satırları tek sütun */
  .adm-row, .adm-row.two { grid-template-columns: 1fr; }

  /* Tablolar: kompakt + yatay kaydırma (sarmalayıcılar zaten overflow-x) */
  .adm-table { font-size: 13px; }
  .adm-table th, .adm-table td { padding: 10px 10px; }

  /* Dokunma hedefleri (min 40-44px) */
  .adm-mini-btn { min-height: 40px; }
  .gf-btn, .cf-btn { min-height: 40px; }

  /* Oyun Seçimi durum çubuğu dikey */
  .sel-status { flex-wrap: wrap; }
  .sel-status .sel-progress { order: 3; flex: 1 0 100%; }
  .sel-confirm { width: 100%; }
  .sel-hero h1 { font-size: 30px; }
  .sel-hero .sel-icon { width: 64px; height: 64px; font-size: 30px; }
  .sel-toolbar { flex-direction: column; align-items: stretch; }
  .sel-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .sel-filters::-webkit-scrollbar { display: none; }

  /* Guard / kod modalları içerik taşarsa kaydırılsın */
  .key-modal { max-height: 92vh; overflow-y: auto; }
  .um-modal { max-height: 92vh; }

  /* Profil rank/pending kartları */
  .rank-card, .pending-card { padding: 18px 16px; }

  /* SteamGridDB grid daralt */
  .sgdb-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

@media (max-width: 480px) {
  .admin-head h1 { font-size: 23px; }
  .admin-panel { padding: 16px 13px; }
  .section-title { font-size: 23px; }

  /* Büyük kod yazıları küçült */
  .gm-code, .guard-code { font-size: 32px; letter-spacing: 6px; }
  .key-code, .cred-value.mask { font-size: 13px; }

  /* Modal başlık/gövde sıkılaştır */
  .um-modal-head { padding: 18px 18px 12px; }
  .um-modal-body { padding: 6px 18px 20px; }
  .um-mh-title { font-size: 18px; }

  /* Bayi/öneri/duyuru kartları */
  .dealer-balance { font-size: 19px; }
  .dealer-card, .sg-card, .um-card, .gm-card, .lib-card, .stat-card, .feature-card { padding: 16px 14px; }

  /* Oyun grid 2 sütun zaten; kart başlık küçült */
  .gc-title { font-size: 14px; }
  .stat-value { font-size: 28px; }
}

/* =====================================================================
   TEMA KATMANI — mono dokunuşlar (etiket / kod / sayaç hissi)
   ===================================================================== */
.field-label, .sel-panel-label, .rwd-current-label, .goc-eyebrow, .cred-label,
.lib-platform, .lib-status, .gc-badge, .gc-highlight, .rank-label, .pending-label,
.adm-table th, .legal-toc-title, .gm-code-label, .km-status .lbl, .sel-key-tail,
.rwd-tier-count, .legal-updated {
  font-family: var(--font-mono); letter-spacing: 0.06em;
}
.gf-btn, .cf-btn { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 999px; border-color: var(--border-color); }
.gf-btn.active { border-color: transparent; }
.guard-code, .gm-code, .rwd-gift-code, .key-input { font-family: var(--font-mono); }
.game-card, .lib-card, .auth-card, .admin-panel, .admin-sidebar, .sel-panel, .rwd-current, .legal-card { box-shadow: none; }

/* =====================================================================
   MOBİL — "Anahtar" teması için baştan ayar (≤767px ve ≤400px)
   ===================================================================== */
@media (max-width: 767px) {
  /* Üst şerit + header */
  .top-strip { font-size: 10.5px; }
  .top-strip-inner { min-height: 30px; }
  .header-middle { height: 56px; }
  .logo { font-size: 15px; }
  .logo-img { height: 32px; max-width: 180px; }
  .header-hamburger-btn { width: 40px; height: 40px; font-size: 21px; }

  /* Hero */
  .home-hero { padding: 30px 0 28px; }
  .hero-grid { gap: 26px; }
  .hero-title { font-size: clamp(36px, 11.4vw, 52px); margin: 14px 0 16px; }
  .hero-title .outline { -webkit-text-stroke-width: 1px; }
  .hero-lead { font-size: 15px; margin-bottom: 22px; }
  .keybox { padding: 14px; max-width: none; }
  .keybox-row { gap: 8px; }
  .keybox-row input { flex: none; width: 100%; height: 50px; font-size: 16px; letter-spacing: 0.05em; }
  .keybox-row .btn { width: 100%; height: 48px; }
  .keybox-note { gap: 6px 16px; margin-top: 12px; }

  /* Yelpaze — kompakt */
  .fan { height: 236px; max-width: 340px; }
  .fan-card { width: 128px; margin: -96px 0 0 -64px; border-radius: 11px; box-shadow: 0 16px 30px rgba(0,0,0,0.4); }
  .fan-card.c1, .fan:hover .fan-card.c1 { transform: translateX(-62px) rotate(-10deg); }
  .fan-card.c2, .fan:hover .fan-card.c2 { transform: translateY(-8px); }
  .fan-card.c3, .fan:hover .fan-card.c3 { transform: translateX(62px) rotate(10deg); }
  .fan-card .ph { font-size: 30px; }
  .fan-tag { left: 6px; right: 6px; bottom: 6px; padding: 5px 6px; font-size: 8px; }
  .fan-tag b { display: none; }
  .fan-stamp { width: 68px; height: 68px; right: 6px; top: 0; font-size: 7px; }
  .fan-stamp strong { font-size: 20px; }

  /* Şerit + bölümler */
  .marquee { padding: 11px 0; }
  .marquee-track { gap: 26px; }
  .marquee span { font-size: 19px; }
  .home-section { padding: 44px 0; }
  .sec-row { gap: 14px; margin-bottom: 22px; }
  .sec-title { font-size: 30px; margin-top: 8px; }
  .home-search { height: 50px; }
  .home-search input { font-size: 16px; }
  .home-search + .shelf { margin-top: 20px; }

  /* Bilet — her koçan tek satır */
  .ticket { border-radius: 16px; }
  .stub { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px 18px; }
  .stub-no { font-size: 40px; grid-row: 1 / span 2; line-height: 1; min-width: 50px; }
  .stub h3 { font-size: 19px; margin: 2px 0 4px; }
  .stub p { grid-column: 2; font-size: 13.5px; max-width: none; }
  .stub .mono-label, .stub-bar { display: none; }
  .stub + .stub::before { left: -10px; top: -11px; width: 20px; height: 20px; }
  .stub + .stub::after { right: -10px; top: -11px; width: 20px; height: 20px; }

  /* Guard */
  .guard-band { border-radius: 16px; }
  .guard-copy { padding: 26px 20px; }
  .guard-copy h2 { font-size: 28px; margin: 10px 0 12px; }
  .guard-copy p { font-size: 14.5px; margin-bottom: 20px; }
  .guard-copy .btn { width: 100%; }
  .guard-live { padding: 24px 20px; }
  .code-digits { gap: 6px; }
  .code-digits b { font-size: 22px; border-radius: 8px; }
  .code-timer { margin: 16px 0 10px; }

  /* Rütbeler — 2 sütun, son tek hücre tam genişlik */
  .rank-strip { border-radius: 14px; }
  .rank-cell { padding: 16px 14px; }
  .rank-cell strong { font-size: 18px; margin: 6px 0 2px; }
  .rank-cell small { font-size: 12px; }
  .rank-cell:nth-child(even) { border-left: 1px solid var(--border-color); }
  .rank-cell:last-child:nth-child(odd) { grid-column: 1 / -1; border-bottom: none; }
  .rank-cell:nth-last-child(2):nth-child(odd), .rank-cell:last-child:nth-child(even) { border-bottom: none; }

  /* SSS */
  .faq-item summary { font-size: 16.5px; line-height: 1.3; }
  .faq-body { font-size: 14px; padding-bottom: 18px; }

  /* Footer */
  .modern-footer-bg { padding: 36px 0 20px; }
  .footer-brand p { margin: 14px 0 12px; }
  .footer-col h5 { margin: 0 0 10px; }
  .footer-col a { padding: 6px 0; white-space: normal; }
  .footer-big { font-size: 15.5vw; margin-top: 30px; }
  .footer-bottom { margin-top: 20px; padding-top: 16px; }

  /* Mobil alt navigasyon */
  .mobile-bottom-nav { height: 64px; border-radius: 0; }
  .mobile-bottom-nav .nav-list { height: 62px; }
  .mobile-nav-item { font-size: 10.5px; min-width: 52px; }
  .mobile-nav-item i { font-size: 21px; }
  .mobile-nav-center-btn .center-icon-wrap { width: 44px; height: 44px; margin-top: -12px; color: var(--on-brand); }
  body { padding-bottom: 64px; }

  /* Mobil menü */
  .mobile-menu-offcanvas { padding: 14px 16px 24px; }
  .mobile-menu-head { margin-bottom: 16px; }
  .cat-list-card { padding: 13px 14px; font-size: 14.5px; font-weight: 600; border-left-width: 3px; }

  /* İç sayfalar */
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 13.5px; }
  .game-search input, .key-input, .auth-input, .guard-select, .sel-search input,
  .adm-input, .adm-select, .um-search input { font-size: 16px; }   /* iOS odakta yakınlaştırmasın */
  .key-input { letter-spacing: 0.04em; }
  .game-filters { margin-inline: -16px; padding-inline: 16px; }
  .auth-wrap { padding: 28px 0; }
  .auth-card { padding: 24px 18px; }
  .legal-page { padding: 32px 0 48px; }
  .rwd-current { padding: 16px; }
  .guard-verify-box { padding: 14px; }
  .verify-widget { width: 100%; }
  .buy-toast { bottom: 76px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 11.2vw; }
  .keybox-top span:first-child { font-size: 10.5px; }
  .fan { height: 214px; }
  .fan-card { width: 114px; margin: -86px 0 0 -57px; }
  .fan-card.c1, .fan:hover .fan-card.c1 { transform: translateX(-54px) rotate(-10deg); }
  .fan-card.c3, .fan:hover .fan-card.c3 { transform: translateX(54px) rotate(10deg); }
  .sec-title { font-size: 27px; }
  .stub { column-gap: 12px; padding: 18px 16px; }
  .stub-no { font-size: 34px; min-width: 42px; }
  .footer-grid { gap: 24px 16px; }
}

/* =====================================================================
   PROFİL SAYFASI — sol menü + karşılama + koleksiyon listesi
   ===================================================================== */
.pf-page { padding: 34px 0 72px; }
.pf-page [hidden] { display: none !important; }
.pf-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1380px; }

/* ---- Sol menü ---- */
.pf-side {
  position: sticky; top: 92px; min-width: 0;
  background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 18px;
  padding: 26px 16px 14px;
}
.pf-id { text-align: center; padding: 0 8px 22px; }
.pf-avatar {
  width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 22px;
  display: grid; place-items: center;
  background: var(--brand-grad); color: var(--on-brand);
  font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.pf-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--dark-text); overflow-wrap: anywhere; }
.pf-handle { font-family: var(--font-mono); font-size: 12px; color: var(--gray-text); margin: 4px 0 14px; }
.pf-role {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 7px; border: 1px solid var(--border-color);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-text);
}
.pf-role i { font-size: 13px; color: var(--brand-strong); }

.pf-menu { display: flex; flex-direction: column; gap: 4px; }
.pf-menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--gray-text);
  transition: var(--transition);
}
.pf-menu-item > i:first-child { font-size: 20px; }
.pf-menu-item span { flex: 1; min-width: 0; }
.pf-menu-item b { font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.pf-menu-item .go { font-size: 16px; opacity: 0.7; }
.pf-menu-item:hover { background: var(--bg-light); color: var(--dark-text); }
.pf-menu-item.active { background: var(--brand-soft); color: var(--brand-strong); }

.pf-rank { margin: 14px 4px 0; padding: 14px; border-radius: 12px; border: 1px dashed var(--border-color); }
.pf-rank-top { display: flex; justify-content: space-between; gap: 10px; }
.pf-rank-name { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--dark-text); margin: 8px 0 4px; }
.pf-rank-name i { color: var(--brand-strong); font-size: 18px; }
.pf-rank p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--gray-text); }

.pf-side-foot { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-color); }
.pf-foot-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 14px; border: none; background: transparent; border-radius: 10px;
  font-family: inherit; font-size: 12.5px; text-align: left; color: var(--gray-text);
}
.pf-foot-item i { font-size: 16px; }
button.pf-foot-item { cursor: pointer; transition: var(--transition); }
button.pf-foot-item:hover { background: var(--bg-light); color: var(--dark-text); }

/* ---- Sağ içerik ---- */
.pf-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.pf-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 46px 48px; border-radius: 20px;
  background: var(--bg-header); border: 1px solid var(--border-color);
}
.pf-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 90% at 88% 40%, var(--brand-soft), transparent 70%),
    linear-gradient(var(--border-color) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px) 0 0 / 56px 100%;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000); mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.pf-hero-text { position: relative; min-width: 0; }
.pf-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; margin: 18px 0 16px; overflow-wrap: anywhere; }
.pf-hero h1 em { font-style: normal; color: var(--brand-strong); }
.pf-hero p { margin: 0 0 24px; color: var(--gray-text); font-size: 14.5px; line-height: 1.75; }
.pf-hero-art {
  position: relative; flex-shrink: 0;
  width: 220px; height: 220px; border-radius: 50%;
  border: 1px dashed var(--brand-soft-border);
  display: grid; place-items: center;
}
.pf-hero-art::before { content: ''; position: absolute; inset: 16px; border-radius: 50%; border: 1px solid var(--border-color); }
.pf-hero-art::after { content: '+'; position: absolute; top: 6px; right: 34px; font-size: 22px; line-height: 1; color: var(--brand-strong); }
.pf-hero-art i { font-size: 104px; color: var(--brand-strong); opacity: 0.9; }
.pf-hero-art span { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gray-text); }

.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 18px; }
.pf-stat { padding: 26px 30px; min-width: 0; }
.pf-stat + .pf-stat { border-left: 1px solid var(--border-color); }
.pf-stat-label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-text); }
.pf-stat-label i { font-size: 19px; color: var(--brand-strong); }
.pf-stat-val { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 16px; color: var(--dark-text); }
.pf-stat-val small { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--gray-text); margin-left: 9px; }

.pf-pending {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px; border-radius: 18px;
  background: var(--brand-grad); color: var(--on-brand);
}
.pf-pending > i { font-size: 30px; flex-shrink: 0; }
.pf-pending-text { flex: 1; min-width: 0; }
.pf-pending h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; color: var(--on-brand); }
.pf-pending p { margin: 4px 0 0; font-size: 13.5px; color: rgba(21,26,0,0.74); }
.pf-pending-btn { flex-shrink: 0; background: #151a00; color: #fff; }
.pf-pending-btn:hover { background: #000; transform: translateY(-2px); }

/* ---- Koleksiyon ---- */
.pf-lib { margin-top: 14px; scroll-margin-top: 96px; }
.pf-lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.pf-lib-head h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 32px; font-weight: 800; letter-spacing: -0.04em; margin-top: 10px; }
.pf-count { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--border-color); color: var(--gray-text); }

.pf-search {
  display: flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 18px;
  background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 12px;
  transition: var(--transition);
}
.pf-search:focus-within { border-color: var(--brand-strong); box-shadow: 0 0 0 4px var(--brand-soft); }
.pf-search i { font-size: 19px; color: var(--gray-text); }
.pf-search input { flex: 1; min-width: 0; height: 100%; background: transparent; border: none; outline: none; font-size: 14.5px; color: var(--dark-text); }
.pf-search input::placeholder { color: var(--gray-text); }

.pf-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pf-tab {
  padding: 9px 15px; border-radius: 10px; border: 1px solid transparent; background: transparent;
  font-size: 13.5px; font-weight: 600; color: var(--gray-text); white-space: nowrap; transition: var(--transition);
}
.pf-tab:hover { color: var(--dark-text); background: var(--bg-light); }
.pf-tab.active { background: var(--dark-text); color: var(--bg-body); }

.pf-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.pf-game { min-width: 0; background: var(--bg-header); border: 1px solid var(--border-color); border-radius: 16px; transition: var(--transition); }
.pf-game:hover, .pf-game.is-open { border-color: var(--brand-soft-border); }
.pf-game-row { display: flex; align-items: center; gap: 22px; padding: 14px; }
.pf-cover {
  position: relative; flex-shrink: 0; width: 96px; height: 120px; border-radius: 10px; overflow: hidden;
  background: linear-gradient(140deg, #2a3040, #12151c);
  display: grid; place-items: center; color: rgba(255,255,255,0.22); font-size: 30px;
}
.pf-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-game-info { flex: 1; min-width: 0; }
.pf-game-info h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin: 8px 0 12px; overflow-wrap: anywhere; }
.pf-state { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--success-green); }
.pf-state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pf-state.off { color: var(--gray-text); }
.pf-game-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; padding-right: 8px; }
.pf-guard-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--border-color);
  font-size: 13.5px; font-weight: 600; color: var(--dark-text); white-space: nowrap; transition: var(--transition);
}
.pf-guard-btn i:first-child { font-size: 18px; }
.pf-guard-btn:hover { border-color: var(--brand-strong); color: var(--brand-strong); }
.pf-acc-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 8px; border: none; background: transparent; border-radius: 8px;
  font-family: inherit; font-size: 13px; color: var(--gray-text); white-space: nowrap; transition: var(--transition);
}
.pf-acc-toggle:hover { color: var(--dark-text); }
.pf-acc-toggle .chev { font-size: 18px; transition: transform 0.25s ease; }
.pf-acc-toggle[aria-expanded="true"] { color: var(--brand-strong); }
.pf-acc-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.pf-acc { padding: 4px 14px 14px; border-top: 1px dashed var(--border-color); margin: 0 14px; padding-inline: 0; padding-top: 14px; }
.pf-cred { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-cred .cred-field { margin-bottom: 0; }
.pf-acc .acc-nav { margin: 12px 0 0; }
.pf-acc, .pf-acc .acc-wrap { min-width: 0; }

.pf-empty { padding: 44px 20px; text-align: center; border: 1px dashed var(--border-color); border-radius: 16px; color: var(--gray-text); }
.pf-empty i { font-size: 40px; opacity: 0.55; }
.pf-empty h3 { font-size: 19px; margin: 12px 0 4px; }
.pf-empty p { margin: 0 0 16px; font-size: 14px; }

/* ---- Profil: tablet / mobil ---- */
@media (max-width: 1100px) {
  .pf-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  .pf-hero { padding: 36px 32px; }
  .pf-hero-art { width: 170px; height: 170px; }
  .pf-hero-art i { font-size: 78px; }
  .pf-stat { padding: 22px 20px; }
}
@media (max-width: 991px) {
  .pf-layout { grid-template-columns: minmax(0, 1fr); }
  .pf-side { position: static; padding: 16px; min-width: 0; }
  .pf-id { display: flex; align-items: center; gap: 14px; text-align: left; padding: 0 0 14px; }
  .pf-avatar { width: 58px; height: 58px; margin: 0; border-radius: 16px; font-size: 21px; box-shadow: 0 0 0 4px var(--brand-soft); flex-shrink: 0; }
  .pf-id-text { min-width: 0; }
  .pf-name { font-size: 19px; }
  .pf-handle { margin: 2px 0 8px; }
  .pf-menu { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .pf-menu::-webkit-scrollbar { display: none; }
  .pf-menu-item { flex: 0 0 auto; padding: 10px 13px; font-size: 13.5px; white-space: nowrap; border: 1px solid var(--border-color); }
  .pf-menu-item.active { border-color: transparent; }
  .pf-menu-item .go { display: none; }
  .pf-rank { margin: 12px 0 0; }
  .pf-side-foot { flex-direction: row; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; }
  .pf-foot-item { width: auto; padding: 8px 10px; }
}
@media (max-width: 767px) {
  .pf-page { padding: 18px 0 40px; }
  .pf-main { gap: 14px; }
  .pf-hero { padding: 26px 20px; border-radius: 16px; }
  .pf-hero-art { display: none; }
  .pf-hero h1 { margin: 12px 0 12px; }
  .pf-hero p { font-size: 14px; margin-bottom: 18px; }
  .pf-hero p br { display: none; }
  .pf-stats { grid-template-columns: 1fr; border-radius: 16px; }
  .pf-stat { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; }
  .pf-stat + .pf-stat { border-left: none; border-top: 1px solid var(--border-color); }
  .pf-stat-val { font-size: 26px; margin-top: 0; white-space: nowrap; }
  .pf-pending { flex-wrap: wrap; padding: 18px; gap: 12px 14px; border-radius: 16px; }
  .pf-pending h3 { font-size: 18px; }
  .pf-pending-btn { width: 100%; }
  .pf-lib-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pf-lib-head h2 { font-size: 26px; }
  .pf-search { height: 48px; }
  .pf-search input { font-size: 16px; }
  .pf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .pf-tabs::-webkit-scrollbar { display: none; }
  .pf-game-row { flex-wrap: wrap; gap: 14px; padding: 12px; }
  .pf-cover { width: 68px; height: 86px; }
  .pf-game-info { flex: 1 1 0; }
  .pf-game-info h3 { font-size: 17px; margin: 6px 0 8px; }
  .pf-game-actions { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-right: 0; }
  .pf-guard-btn { height: 40px; padding: 0 14px; }
  .pf-acc { margin: 0 12px; }
  .pf-cred { grid-template-columns: 1fr; }
}
