/* ==========================================================================
   Bet Amca — site teması
   ========================================================================== */
:root {
  --bg: #0a0d18;
  --bg-2: #0e1222;
  --surface: #131932;
  --surface-2: #1a2142;
  --surface-3: #232b55;
  --border: rgba(255, 255, 255, .07);
  --border-2: rgba(255, 255, 255, .13);
  --text: #eef1ff;
  --text-2: #b9c0e0;
  --muted: #7d86ad;
  --gold: #ffc83d;
  --gold-2: #f59e0b;
  --gold-ink: #1d1400;
  --violet: #7c5cff;
  --pink: #ff4f9a;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #38bdf8;
  --live: #ff3b5c;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(0, 0, 0, .38);
  --header-h: 68px;
  /* Temalar bu değişkenleri değiştirir (assets/css/tema-*.css); buradaki değerler varsayılan görünümdür */
  --bg-rgb: 10, 13, 24;
  --bg-2-rgb: 14, 18, 34;
  --accent-rgb: 255, 200, 61;
  --accent-2-rgb: 245, 158, 11;
  --glow-rgb: 124, 92, 255;
  --glow-2-rgb: 255, 79, 154;
  --gold-light: #ffd766;
  --gold-light-2: #ffe08a;
  --gold-pale: #fff6d5;
  --deep-1: #1a0d45;
  --deep-2: #0b0f24;
  --deep-3: #1c0f33;
  --pop-1: #181f42;
  --pop-2: #10152c;
  --drawer-top: #151b3a;
  --toast-1: #1b2247;
  --toast-2: #121731;
  --head-top: #121836;
  --foot-1: #0c1022;
  --foot-2: #080a14;
  --placeholder: #5d6690;
  --text-soft: #cfd3f5;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; touch-action: manipulation; } /* çift dokunarak yakınlaştırma kapalı */
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(var(--glow-rgb), .16), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(var(--accent-rgb), .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.i { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: -.2em; }
.muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  background: var(--surface-2); color: var(--text);
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2));
  color: var(--gold-ink);
  box-shadow: 0 6px 18px rgba(var(--accent-2-rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-ghost { background: transparent; border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .05); }
.btn-violet { background: linear-gradient(180deg, #8f74ff, #6343f2); color: #fff; }
.btn-success { background: var(--success); color: #04230f; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #05301a; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Duyuru + Header */
.announce {
  background: linear-gradient(90deg, rgba(var(--accent-rgb), .14), rgba(var(--glow-rgb), .14));
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
}
.announce .container { display: flex; align-items: center; justify-content: center; gap: 8px; height: 34px; text-align: center; }
.announce .i { color: var(--gold); }
.announce span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), .97);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light-2), var(--gold-2));
  box-shadow: 0 4px 14px rgba(var(--accent-2-rgb), .35);
}
.brand-mark svg { width: 22px; height: 22px; fill: var(--gold-ink); }
.brand-text { font-weight: 800; font-size: 21px; letter-spacing: .02em; text-transform: uppercase; color: var(--gold); line-height: 1; }
.brand-text b { color: var(--text); font-weight: 800; margin-left: 4px; }
.brand-logo { display: block; height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.maint-card .brand-logo { height: 64px; margin: 0 auto; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  font-weight: 500; font-size: 14px; color: var(--text-2);
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.main-nav a.active { background: rgba(var(--accent-rgb), .12); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.balance-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border-2);
  font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums;
}
.balance-pill .i { color: var(--gold); }

.user-menu { position: relative; }
.avatar-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--text-2); }
.avatar {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .06)), var(--surface-2);
  border: 1px solid rgba(var(--accent-rgb), .5);
  color: var(--gold); font-weight: 700;
}
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 240px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .16s ease;
}
.user-menu.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dropdown-head strong { display: block; }
.dropdown-head small { color: var(--muted); font-size: 12px; word-break: break-all; }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.dropdown a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.dropdown a.danger { color: #ff8080; }

/* Sitedeki profil menüsü */
.user-dd {
  position: absolute; z-index: 60; right: 0; top: calc(100% + 14px); width: 292px; padding: 10px;
  border-radius: 18px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--pop-1), var(--pop-2));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, 1.2, .4, 1), visibility .18s;
}
.user-menu.open .user-dd { opacity: 1; visibility: visible; transform: none; }
.user-dd::before { content: ''; position: absolute; left: 22px; right: 22px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .65), transparent); }
.user-dd::after { content: ''; position: absolute; top: -7px; right: 36px; width: 12px; height: 12px; transform: rotate(45deg); background: var(--pop-1); border-left: 1px solid var(--border-2); border-top: 1px solid var(--border-2); border-top-left-radius: 3px; }
.user-dd-head { display: flex; align-items: center; gap: 12px; padding: 6px 6px 12px; }
.user-dd-head .avatar { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
.user-dd-head div { min-width: 0; }
.user-dd-head strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dd-head small { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dd-nav { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--border); }
.user-dd-nav a { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-2); transition: background .15s, color .15s; }
.user-dd-nav a > span:not(.dd-ic) { flex: 1; }
.dd-ic { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--muted); transition: color .15s, border-color .15s, background .15s; }
.dd-ic .i { width: 17px; height: 17px; }
.user-dd-nav a > .i { width: 16px; height: 16px; opacity: .45; transition: transform .15s, opacity .15s; }
.user-dd-nav a:hover, .user-dd-nav a.active { background: rgba(var(--accent-rgb), .08); color: var(--text); }
.user-dd-nav a:hover .dd-ic, .user-dd-nav a.active .dd-ic { color: var(--gold); border-color: rgba(var(--accent-rgb), .35); background: rgba(var(--accent-rgb), .1); }
.user-dd-nav a:hover > .i { opacity: 1; color: var(--gold); transform: translateX(2px); }
.user-dd-nav a.logout { margin-top: 6px; position: relative; color: #ff8a8a; }
.user-dd-nav a.logout::before { content: ''; position: absolute; left: 8px; right: 8px; top: -4px; height: 1px; background: var(--border); }
.user-dd-nav a.logout .dd-ic { color: #ff8a8a; background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .25); }
.user-dd-nav a.logout:hover { background: rgba(239, 68, 68, .1); color: #ffb0b0; }
.wallet { display: flex; align-items: center; gap: 10px; }

/* Menü düğmesi ve soldan açılan çekmece: üst menünün sığmadığı 1150 px altında */
.menu-btn, .drawer { display: none; }
.menu-btn { place-items: center; width: 40px; height: 40px; flex-shrink: 0; padding: 0; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); }
.menu-btn .i { width: 22px; height: 22px; }
@media (max-width: 1149px) { .main-nav { display: none; } .menu-btn { display: grid; } .drawer { display: block; } }
/* Açılırken hemen görünür olsun (odak alabilsin), kapanırken panel kayınca gizlensin */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .28s; }
.drawer.open { visibility: visible; transition: none; }
body.drawer-open { overflow: hidden; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(4, 6, 14, .72); opacity: 0; transition: opacity .28s; }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw);
  display: flex; flex-direction: column; gap: 14px;
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(180deg, var(--drawer-top), var(--bg) 55%); border-right: 1px solid var(--border-2);
  box-shadow: 20px 0 50px rgba(0, 0, 0, .5);
  transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 2px; }
.drawer-head .brand-logo { height: 38px; }
.drawer-close { width: 38px; height: 38px; display: grid; place-items: center; flex-shrink: 0; padding: 0; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); }
.drawer-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.drawer-user .avatar { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
.drawer-user strong { display: block; font-size: 15px; word-break: break-all; }
.drawer-user small { color: var(--muted); font-size: 12px; }
.drawer-user small b { color: var(--gold); font-weight: 600; margin-left: 4px; font-variant-numeric: tabular-nums; }
.drawer-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-cta .btn { padding: 0 10px; }
.drawer-label { padding: 6px 12px 0; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.drawer-nav a span { flex: 1; }
.drawer-nav a .i { width: 20px; height: 20px; color: var(--muted); }
.drawer-nav a .i:last-child:not(:first-child) { width: 16px; height: 16px; opacity: .5; }
.drawer-nav a.active { background: rgba(var(--accent-rgb), .1); color: var(--gold); }
.drawer-nav a.active .i { color: var(--gold); }
.drawer-nav a.danger, .drawer-nav a.danger .i { color: #ff8080; }

.site-main { min-height: 60vh; padding-bottom: 48px; }
.flash-wrap { padding-top: 16px; }

/* ---------------------------------------------------------------- Uyarılar */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 12px; margin-bottom: 10px;
  border: 1px solid; font-size: 14px;
}
.alert .i { margin-top: 2px; }
.alert span { flex: 1; }
.alert-close { background: none; border: 0; padding: 0; opacity: .6; display: flex; }
.alert-close:hover { opacity: 1; }

/* ---------------------------------------------------------------- Bildirimler (toast) */
.toasts { position: fixed; z-index: 95; top: calc(var(--header-h) + 12px); right: 20px; width: min(400px, calc(100vw - 40px)); display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
@media (max-width: 899px) { .toasts { top: 68px; left: 12px; right: 12px; width: auto; } }
.toast {
  --tc: var(--info);
  position: relative; overflow: hidden; pointer-events: auto; touch-action: pan-y;
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 12px 16px 14px;
  border-radius: 16px; border: 1px solid var(--border-2); border-color: color-mix(in srgb, var(--tc) 38%, transparent);
  background: linear-gradient(180deg, var(--toast-1), var(--toast-2));
  background:
    radial-gradient(260px 120px at 0% 0%, color-mix(in srgb, var(--tc) 22%, transparent), transparent 70%),
    linear-gradient(180deg, var(--toast-1), var(--toast-2));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55), 0 0 26px color-mix(in srgb, var(--tc) 18%, transparent);
  animation: toast-in .5s cubic-bezier(.2, 1.3, .4, 1) both;
}
.toast-success { --tc: var(--success); }
.toast-error { --tc: var(--danger); }
.toast-warning { --tc: var(--warning); }
.toast-info { --tc: var(--info); }
.toast.shown { animation: none; }
.toast.out, .toast.shown.out { animation: toast-out .32s ease forwards; }
.toast-icon {
  position: relative; flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
  color: var(--tc); background: rgba(255, 255, 255, .06); background: color-mix(in srgb, var(--tc) 16%, transparent);
  animation: toast-pop .55s .12s cubic-bezier(.2, 1.6, .4, 1) both;
}
.toast-icon .i { width: 21px; height: 21px; }
.toast-icon::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--tc); animation: toast-ring 1.1s .3s ease-out both; }
.toast-body { flex: 1; min-width: 0; padding-top: 1px; }
.toast-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.toast-body span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
.toast-close { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; margin: -2px -2px 0 0; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.toast-close:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.toast-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; background: var(--tc); background: linear-gradient(90deg, var(--tc), color-mix(in srgb, var(--tc) 55%, #fff)); animation: toast-bar var(--dur, 5s) linear forwards; }
.toast.paused .toast-bar { animation-play-state: paused; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-12px) scale(.95); } }
@keyframes toast-pop { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes toast-ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.75); } }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.alert-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); color: #a7f3c0; }
.alert-error { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .3); color: #fecaca; }
.alert-warning { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .3); color: #fde68a; }
.alert-info { background: rgba(56, 189, 248, .08); border-color: rgba(56, 189, 248, .28); color: #bae6fd; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-success { background: rgba(34, 197, 94, .14); color: #4ade80; }
.badge-danger { background: rgba(239, 68, 68, .14); color: #f87171; }
.badge-warning { background: rgba(245, 158, 11, .14); color: #fbbf24; }
.badge-info { background: rgba(56, 189, 248, .14); color: #7dd3fc; }
.badge-muted { background: rgba(255, 255, 255, .07); color: var(--muted); }

/* ---------------------------------------------------------------- Hero */
.hero { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
@media (min-width: 1024px) { .hero { grid-template-columns: 2fr 1fr; } }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; background: var(--surface); }
@media (min-width: 768px) { .slider { min-height: 360px; } }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 32px 28px 56px;
  background:
    radial-gradient(600px 300px at 80% 20%, rgba(255, 255, 255, .18), transparent 60%),
    linear-gradient(120deg, var(--c1), var(--c2));
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.slide.active { opacity: 1; visibility: visible; }
@media (min-width: 768px) { .slide { padding: 40px 48px 60px; } }
.slide-content { position: relative; z-index: 2; max-width: 520px; }
.slide-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(0, 0, 0, .25); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px;
}
.slide h2 { font-size: clamp(26px, 4.4vw, 44px); font-weight: 800; margin-bottom: 10px; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.slide p { font-size: clamp(14px, 1.6vw, 17px); color: rgba(255, 255, 255, .9); margin-bottom: 22px; max-width: 440px; }
.slide .btn-primary { background: #fff; color: #111; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.slide-art {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 60%, transparent 70%);
  z-index: 1; pointer-events: none;
}
.slide-art::before, .slide-art::after {
  content: ''; position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22);
}
.slide-art::before { inset: 40px; animation: spin 40s linear infinite; }
.slide-art::after { inset: 90px; border-style: solid; border-color: rgba(255, 255, 255, .14); }
.slide-art .i { width: 130px; height: 130px; color: rgba(255, 255, 255, .92); stroke-width: 1.4; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .3)); }
@media (max-width: 767px) { .slide-art { width: 240px; height: 240px; right: -70px; opacity: .55; } .slide-art .i { width: 90px; height: 90px; } }
@keyframes spin { to { transform: rotate(360deg); } }
.slider-dots { position: absolute; left: 28px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
@media (min-width: 768px) { .slider-dots { left: 48px; } }
.slider-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); transition: width .3s, background .3s; }
.slider-dots button.active { width: 28px; background: #fff; }
/* Resimli slider: yükseklik görselin oranından gelir, slaytlar aynı hücrede üst üste durur */
.slider-img { display: grid; grid-template: 1fr / 1fr; min-height: 0; }
.slider-img .slide { position: relative; inset: auto; grid-area: 1 / 1; display: block; padding: 0; background: none; }
.slider-img picture, .slider-img img { display: block; width: 100%; height: 100%; }
.slider-img img { object-fit: cover; }
.slider-img .slider-dots { left: 50%; bottom: 14px; transform: translateX(-50%); }

.hero-side { display: none; gap: 16px; }
@media (min-width: 1024px) { .hero-side { display: grid; grid-template-rows: 1fr 1fr; } }
.hero-tile {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  border: 1px solid var(--border);
  transition: transform .2s ease;
}
.hero-tile:hover { transform: translateY(-3px); }
.hero-tile .i.big { position: absolute; right: -12px; top: -12px; width: 120px; height: 120px; opacity: .22; stroke-width: 1.4; }
.hero-tile small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; font-weight: 600; }
.hero-tile strong { font-size: 20px; line-height: 1.2; margin: 4px 0 10px; }
.hero-tile .go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- Bölümler */
.game-section { margin-top: 36px; }
/* Ekran dışındaki oyun satırları yaklaşılana kadar çizilmez (anasayfada 100+ kart var); boyut bir kez çizilince hatırlanır */
.game-section:has(.game-row) { content-visibility: auto; contain-intrinsic-size: auto 320px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0; }
.section-head h2 .i { color: var(--gold); width: 22px; height: 22px; }
.section-tools { display: flex; align-items: center; gap: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--text-2); padding: 0 8px; height: 34px; border-radius: 8px; }
.link-more:hover { color: var(--gold); }
.row-nav {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}
.row-nav:hover { color: var(--text); border-color: var(--border-2); }
@media (max-width: 767px) { .row-nav { display: none; } }

.game-row {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 24px) / 2.4);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 4px;
}
.game-row::-webkit-scrollbar { display: none; }
.game-row > * { scroll-snap-align: start; }
@media (min-width: 560px) { .game-row { grid-auto-columns: calc((100% - 36px) / 3.4); } }
@media (min-width: 900px) { .game-row { grid-auto-columns: calc((100% - 70px) / 6); gap: 14px; } }
@media (min-width: 1200px) { .game-row { grid-auto-columns: calc((100% - 98px) / 8); } }

.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 560px) { .game-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 800px) { .game-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .game-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1240px) { .game-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------------------------------------------------------------- Oyun kartı */
.game-card { display: block; min-width: 0; }
.gc-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.game-card:hover .gc-art, .gc-wrap:hover .gc-art { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.gc-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.gc-gen { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 12px; }
.gc-art:has(> img) .gc-gen { display: none; }
.gc-gen::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120px 120px at 80% 18%, rgba(255, 255, 255, .28), transparent 70%),
    radial-gradient(160px 100px at 10% 110%, rgba(0, 0, 0, .35), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 12px);
}
.gc-gen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .45)); }
.gc-glyph { position: absolute; right: -14px; top: 10%; z-index: 1; color: rgba(255, 255, 255, .26); }
.gc-glyph .i { width: 96px; height: 96px; stroke-width: 1.3; }
.gc-title {
  position: relative; z-index: 2;
  font-weight: 800; font-size: clamp(14px, 1.5vw, 18px); line-height: 1.08;
  text-transform: uppercase; letter-spacing: .01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gc-badges { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 3; display: flex; gap: 6px; align-items: center; }
.gc-badges > :last-child:not(:first-child) { margin-left: 0; }
.tag-live, .tag-new {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.tag-live { background: var(--live); color: #fff; }
.tag-live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.tag-new { background: var(--gold); color: var(--gold-ink); }
.tag-hot { margin-left: auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(0, 0, 0, .35); color: #ffb020; }
.tag-hot .i { width: 15px; height: 15px; fill: currentColor; }
@keyframes pulse { 50% { opacity: .3; } }
.gc-hover {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(8, 10, 20, .68);
  font-weight: 600; font-size: 13px;
  opacity: 0; transition: opacity .2s ease;
}
.game-card:hover .gc-hover, .game-card:focus-visible .gc-hover, .gc-wrap:hover .gc-hover { opacity: 1; }
.gc-play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink);
  box-shadow: 0 8px 24px rgba(var(--accent-2-rgb), .45);
}
.gc-play .i { width: 22px; height: 22px; margin-left: 3px; }
.gc-meta { padding: 8px 2px 0; min-width: 0; }
.gc-meta strong { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gc-meta span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Oyun kartı sarmalayıcısı (grid/satır içinde taşmasın) */
.gc-wrap { position: relative; min-width: 0; }

/* ---------------------------------------------------------------- Promosyon kartları */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 700px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } }
.promo-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 22px; border-radius: var(--radius-lg); min-height: 200px;
  background: radial-gradient(260px 160px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(140deg, var(--c1), var(--c2));
  transition: transform .2s ease;
}
.promo-card:hover { transform: translateY(-3px); }
.promo-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 0, 0, .22); margin-bottom: 14px; }
.promo-icon .i { width: 26px; height: 26px; }
.promo-badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .28); }
.promo-card h3 { font-size: 19px; margin-bottom: 6px; }
.promo-card p { color: rgba(255, 255, 255, .88); font-size: 14px; flex: 1; }
.promo-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- Özellikler */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.feature .f-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--gold); }
.feature .f-icon .i { width: 22px; height: 22px; }
.feature strong { display: block; font-size: 14px; margin-bottom: 2px; }
.feature span { font-size: 13px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 559px) { .feature { flex-direction: column; gap: 10px; padding: 14px; } }

/* ---------------------------------------------------------------- Sayfa başlığı + filtreler */
.page-hero { padding: 28px 0 8px; }
.page-hero h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.page-hero h1 .i { color: var(--gold); width: 30px; height: 30px; }
.page-hero p { color: var(--text-2); max-width: 720px; margin: 0; }

.filter-bar { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 20px; }
.search-box { position: relative; max-width: 420px; width: 100%; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 42px !important; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 500; color: var(--text-2); transition: .15s;
}
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip.active { background: rgba(var(--accent-rgb), .14); border-color: rgba(var(--accent-rgb), .5); color: var(--gold); }
.chip small { font-size: 11px; color: var(--muted); }
.result-info { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
/* Arama/filtre değişince liste arka planda yenilenir (app.js data-live); beklerken soluklaşır */
.filter-live { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
[data-live="results"] { transition: opacity .15s; }
[data-live-root][aria-busy] [data-live="results"] { opacity: .5; }
/* Sağlayıcı filtresi: popüler sağlayıcılar çip olarak, tamamı açılır listede */
.brand-bar { display: flex; flex-direction: column; gap: 10px; }
.brand-bar .chips { flex: 1; min-width: 0; }
.brand-select select.input { height: 38px; padding: 0 12px; border-radius: 999px; font-size: 13px; background: var(--surface); border-color: var(--border); cursor: pointer; }
@media (min-width: 900px) { .brand-bar { flex-direction: row; align-items: center; } .brand-select { flex: 0 0 240px; } }

/* ---------------------------------------------------------------- Sayfalama */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 500;
}
.pagination a:hover { border-color: var(--border-2); }
.pagination .current { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); font-weight: 700; }
.pagination .disabled { opacity: .4; }
.pagination .gap { background: none; border: 0; }

/* ---------------------------------------------------------------- Formlar */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea, .search-box input {
  width: 100%; height: 48px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--border-2);
  background: var(--bg-2); color: var(--text);
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .search-box input:focus, .input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .16);
}
.field input::placeholder, .search-box input::placeholder { color: var(--placeholder); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.input-wrap { position: relative; }
.input-wrap > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap input { padding-left: 44px !important; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: var(--muted); display: flex; }
.pw-toggle:hover { color: var(--text); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-2); cursor: pointer; margin-bottom: 14px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.check a { color: var(--gold); }
.form-error { font-size: 12px; color: #fca5a5; margin-top: 6px; display: block; }

.amount-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.amount-presets button { height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border-2); background: var(--surface-2); font-size: 13px; font-weight: 600; }
.amount-presets button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------- Giriş / kayıt */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 1040px; margin: 24px auto 0; }
@media (min-width: 960px) { .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; margin-top: 32px; } }
.auth-side {
  display: none; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 40px; border: 1px solid rgba(var(--accent-rgb), .18);
  background:
    radial-gradient(420px 340px at 82% 26%, rgba(var(--accent-rgb), .2), transparent 62%),
    radial-gradient(520px 420px at 0% 0%, rgba(var(--glow-rgb), .45), transparent 62%),
    radial-gradient(480px 360px at 20% 112%, rgba(var(--glow-2-rgb), .25), transparent 62%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 60%, var(--deep-3));
}
@media (min-width: 960px) { .auth-side { display: flex; flex-direction: column; justify-content: flex-end; min-height: 600px; } }
.auth-rays {
  position: absolute; z-index: -1; right: -300px; top: -230px; width: 900px; height: 900px; pointer-events: none;
  background: repeating-conic-gradient(from 4deg, rgba(var(--accent-rgb), .08) 0 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 6%, transparent 55%); mask: radial-gradient(circle, #000 6%, transparent 55%);
}
.auth-art { position: absolute; z-index: -1; right: -26px; top: 18px; width: 290px; height: 290px; filter: drop-shadow(0 20px 36px rgba(0, 0, 0, .45)); pointer-events: none; }
.auth-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--gold);
  background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .42);
}
.auth-big {
  margin-top: 16px; font-size: 104px; font-weight: 800; line-height: .9; letter-spacing: -.02em;
  background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 52%, var(--gold-2) 92%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 28px rgba(var(--accent-2-rgb), .3));
}
.auth-big small { font-size: .62em; vertical-align: .28em; }
.auth-side h2 { margin: 8px 0 8px; font-size: 32px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.auth-side p { max-width: 380px; font-size: 15px; color: var(--text-soft); }
.auth-side p b { color: var(--gold); }
.auth-side ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.auth-side li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.auth-side li .i { width: 24px; height: 24px; padding: 5px; border-radius: 8px; background: rgba(var(--accent-rgb), .14); color: var(--gold); stroke-width: 3; }
/* Kayıt formu uzun: panel kendi boyunda kalır ve kaydırırken yanında durur. Giriş kısa: form kartın ortasında. */
.auth-register { align-items: start; }
.auth-register .auth-side { position: sticky; top: calc(var(--header-h) + 20px); }
.auth-login .auth-card { display: flex; flex-direction: column; justify-content: center; }

.auth-card { position: relative; padding: 20px 18px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.auth-card::before { content: ''; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .65), transparent); }
@media (min-width: 560px) { .auth-card { padding: 28px 32px 32px; } }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 22px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.auth-tabs a { display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .15s; }
.auth-tabs a:hover { color: var(--text); }
.auth-tabs a.active { background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink); box-shadow: 0 6px 18px rgba(var(--accent-2-rgb), .25); }
.auth-head h1 { margin: 0 0 4px; font-size: 24px; font-weight: 700; }
.auth-head p { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
.auth-promo { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 20px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), .3); background: linear-gradient(120deg, rgba(var(--glow-rgb), .22), rgba(var(--accent-rgb), .1)); }
@media (min-width: 960px) { .auth-promo { display: none; } }
.auth-promo-icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink); }
.auth-promo-icon .i { width: 22px; height: 22px; }
.auth-promo strong { display: block; font-size: 14px; color: var(--gold); }
.auth-promo small { font-size: 12px; color: var(--text-2); }
.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.auth-forgot { display: flex; justify-content: flex-end; margin: -6px 0 18px; font-size: 13px; }
.auth-forgot a { color: var(--text-2); }
.auth-forgot a:hover { color: var(--gold); }
.auth-submit { margin-top: 6px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card-title { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.card-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.auth-foot a { color: var(--gold); font-weight: 600; }

/* ---------------------------------------------------------------- Hesap */
.acc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
@media (min-width: 960px) { .acc { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 28px; } }
.acc-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 960px) { .acc-main { gap: 20px; } }

/* Hesap menüsü: dar ekranda 5 sekmeli ızgara, geniş ekranda yapışık yan kart */
.acc-nav { padding: 6px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.acc-nav-user, .acc-nav-bal, .acc-nav-out, .acc-tab-full { display: none; }
.acc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.acc-tabs a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 2px 7px; border-radius: 14px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-align: center; transition: background .15s, color .15s; }
.acc-tab-ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--text-2); transition: background .15s, color .15s, border-color .15s; }
.acc-tab-ic .i { width: 19px; height: 19px; }
.acc-tabs a.active { color: var(--gold); }
.acc-tabs a.active .acc-tab-ic { background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); border-color: transparent; color: var(--gold-ink); box-shadow: 0 6px 16px rgba(var(--accent-2-rgb), .3); }
@media (min-width: 960px) {
  .acc-nav { position: sticky; top: calc(var(--header-h) + 20px); padding: 12px; }
  .acc-nav-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; }
  .acc-nav-user .avatar { width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
  .acc-nav-user div { min-width: 0; }
  .acc-nav-user strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acc-nav-user small { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
  .acc-nav-user small.ok { color: #4ade80; }
  .acc-nav-user small .i { width: 14px; height: 14px; }
  .acc-nav-bal { display: block; padding: 12px 14px; margin-bottom: 10px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), .25); background: linear-gradient(120deg, rgba(var(--glow-rgb), .18), rgba(var(--accent-rgb), .08)); }
  .acc-nav-bal small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
  .acc-nav-bal strong { font-size: 20px; color: var(--gold); font-variant-numeric: tabular-nums; }
  .acc-tabs { grid-template-columns: 1fr; }
  .acc-tabs a, .acc-nav-out { flex-direction: row; gap: 12px; padding: 6px 8px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--text-2); text-align: left; }
  .acc-tab-ic { width: 34px; height: 34px; border-radius: 10px; }
  .acc-tab-ic .i { width: 17px; height: 17px; }
  .acc-tab-full { display: inline; }
  .acc-tab-short { display: none; }
  .acc-tabs a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
  .acc-tabs a.active { background: rgba(var(--accent-rgb), .08); color: var(--text); }
  .acc-nav-out { display: flex; align-items: center; margin-top: 8px; position: relative; color: #ff8a8a; }
  .acc-nav-out::before { content: ''; position: absolute; left: 8px; right: 8px; top: -5px; height: 1px; background: var(--border); }
  .acc-nav-out .acc-tab-ic { color: #ff8a8a; background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .25); }
  .acc-nav-out:hover { background: rgba(239, 68, 68, .08); }
}

/* Sayfa başlığı ve kartlar */
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.acc-head h1 { margin: 0 0 4px; font-size: 24px; font-weight: 800; }
.acc-head p { margin: 0; max-width: 540px; font-size: 14px; color: var(--muted); }
.acc-head-bal { padding: 10px 16px; border-radius: 14px; border: 1px solid rgba(var(--accent-rgb), .28); background: linear-gradient(120deg, rgba(var(--glow-rgb), .18), rgba(var(--accent-rgb), .08)); text-align: right; }
.acc-head-bal small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.acc-head-bal strong { font-size: 20px; color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 559px) { .acc-head-bal { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; } }
.acc-card { min-width: 0; padding: 18px 16px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 768px) { .acc-card { padding: 22px 24px; } }
.acc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.acc-card-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 700; }
.acc-card-head h2 .i { width: 18px; height: 18px; color: var(--gold); }
.acc-text { margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.acc-text:last-child { margin-bottom: 0; }
.acc-gap { margin-top: 12px; }
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media (min-width: 1200px) { .acc-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; } }
.acc-side { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Hesabım: cüzdan kartı */
.acc-hero {
  position: relative; overflow: hidden; isolation: isolate; padding: 20px 18px;
  border-radius: var(--radius-lg); border: 1px solid rgba(var(--accent-rgb), .2);
  background:
    radial-gradient(380px 240px at 100% 0%, rgba(var(--accent-rgb), .22), transparent 65%),
    radial-gradient(420px 300px at 0% 0%, rgba(var(--glow-rgb), .45), transparent 65%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 65%, var(--deep-3));
}
.acc-hero::before {
  content: ''; position: absolute; z-index: -1; right: -280px; top: -330px; width: 720px; height: 720px; pointer-events: none;
  background: repeating-conic-gradient(from 4deg, rgba(var(--accent-rgb), .07) 0 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 55%); mask: radial-gradient(circle, #000 8%, transparent 55%);
}
.acc-hero-top { display: flex; align-items: center; gap: 12px; }
.acc-hero-top .avatar { width: 48px; height: 48px; font-size: 19px; border-radius: 14px; }
.acc-hero-who { flex: 1; min-width: 0; }
.acc-hero-who small { display: block; font-size: 12px; color: var(--text-2); }
.acc-hero-who strong { display: block; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-chip { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--gold); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .4); }
.acc-chip .i { width: 15px; height: 15px; }
.acc-chip.ok { color: #4ade80; background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .35); }
@media (max-width: 559px) { .acc-chip.ok { width: 30px; padding: 0; justify-content: center; } .acc-chip.ok span { display: none; } .acc-chip.ok .i { width: 17px; height: 17px; } }
.acc-hero-bal { margin: 22px 0 18px; }
.acc-hero-bal small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.acc-hero-bal strong {
  display: block; margin-top: 2px; font-size: clamp(34px, 7vw, 46px); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.acc-hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-hero-cta .btn-ghost { background: rgba(255, 255, 255, .04); }
.acc-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.acc-hero-stats small { display: block; font-size: 11px; color: var(--muted); }
.acc-hero-stats strong { display: block; margin-top: 2px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) {
  .acc-hero { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 24px; align-items: end; padding: 26px 28px; }
  .acc-hero-top, .acc-hero-stats { grid-column: 1 / -1; }
  .acc-hero-cta { margin-bottom: 20px; }
  .acc-hero-stats strong { font-size: 17px; }
}

/* İşlem / talep listesi */
.tx-list { list-style: none; margin: 0; padding: 0; }
.tx { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--border); }
.tx:last-child { border-bottom: 0; }
.tx-ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--text-2); }
.tx-ic .i { width: 19px; height: 19px; }
.tx-in .tx-ic { background: rgba(34, 197, 94, .12); color: #4ade80; }
.tx-out .tx-ic { background: rgba(245, 158, 11, .12); color: #fbbf24; }
.tx-bet .tx-ic { background: rgba(var(--glow-rgb), .14); color: #a995ff; }
.tx-bonus .tx-ic { background: rgba(var(--accent-rgb), .14); color: var(--gold); }
.tx-main { flex: 1; min-width: 0; }
.tx-main strong { display: block; font-size: 14px; font-weight: 600; }
.tx-main small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-id { font-weight: 500; color: var(--muted); }
.tx-amt { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.tx-amt strong { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-amt strong.pos { color: #4ade80; }
.tx-amt strong.neg { color: #f87171; }
.tx-amt small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-amt .badge { padding: 2px 8px; font-size: 11px; }
.tx-main .tx-note { margin-top: 3px; white-space: normal; color: #fca5a5; }
@media (max-width: 559px) { .tx-bal { display: none; } }
.tx-day { padding: 16px 2px 6px; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.tx-day:first-child { padding-top: 4px; }
.acc-filter { margin-bottom: 10px; }

/* Profil bilgileri ve açılır bölümler */
.acc-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
@media (max-width: 380px) { .acc-info { grid-template-columns: 1fr; } }
.acc-info div { min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.acc-info dt { font-size: 11px; color: var(--muted); }
.acc-info dd { margin: 2px 0 0; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.acc-info .wide { grid-column: 1 / -1; }
.acc-fold summary { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px dashed var(--border-2); font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; list-style: none; transition: color .15s, border-color .15s; }
.acc-fold summary::-webkit-details-marker { display: none; }
.acc-fold summary:hover { color: var(--text); border-color: rgba(var(--accent-rgb), .45); }
.acc-fold summary > .i { width: 17px; height: 17px; }
.acc-fold summary > .i:last-child { margin-left: auto; transition: transform .2s; }
.acc-fold[open] summary > .i:last-child { transform: rotate(180deg); }
.acc-fold form { margin-top: 14px; }
.acc-fold-card summary { padding: 0; border: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.acc-fold-title { display: flex; align-items: center; gap: 10px; }
.acc-fold-title .i { width: 18px; height: 18px; color: var(--gold); }
.acc-note { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.acc-note .i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }

/* Yatırım / çekim formu */
.acc-step { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; }
.acc-card form > .acc-step:first-of-type { margin-top: 0; }
.acc-step span { width: 26px; height: 26px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 800; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); }
.acc-step h2 { margin: 0; font-size: 15px; font-weight: 700; }
.amount-wrap { position: relative; }
.field .amount-wrap input[data-money] { padding-right: 42px; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.amount-wrap span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; color: var(--gold); pointer-events: none; }
.acc-submit { width: 100%; }
@media (min-width: 560px) { .acc-submit { width: auto; min-width: 260px; } }


.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; }
@media (min-width: 768px) { .panel { padding: 24px; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 8px; }
.panel-head h2 .i, .panel-head h3 .i { color: var(--gold); }

.table-wrap { overflow-x: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table.fit { min-width: 0; }
.table.fit th, .table.fit td { padding-left: 8px; padding-right: 8px; }
.td-sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.method-option { position: relative; }
.method-option input { position: absolute; opacity: 0; pointer-events: none; }
.method-option label {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; cursor: pointer;
  background: var(--bg-2); border: 1.5px solid var(--border-2); transition: .15s; height: 100%;
}
.method-option label:hover { border-color: rgba(var(--accent-rgb), .4); }
.mo-ic { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--accent-rgb), .1); color: var(--gold); }
.mo-ic .i { width: 21px; height: 21px; }
.mo-txt { flex: 1; min-width: 0; }
.method-option label strong { display: block; font-size: 14px; }
.method-option label small { display: block; font-size: 12px; color: var(--muted); }
.mo-check { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--border-2); color: transparent; transition: .15s; }
.mo-check .i { width: 13px; height: 13px; stroke-width: 3; }
.method-option input:checked + label { border-color: var(--gold); background: rgba(var(--accent-rgb), .08); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.method-option input:checked + label .mo-check { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.method-option input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.method-info { display: none; background: var(--bg-2); border: 1px dashed var(--border-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; font-size: 14px; position: relative; }
.method-info > div { white-space: pre-line; }
.method-info > .copy-btn + div { padding-right: 110px; }
.method-info.show { display: block; }
.method-info .copy-btn { position: absolute; right: 10px; top: 10px; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--surface-2); font-size: 12px; font-weight: 600; }

/* Bekleyen PayGlobal yatırımı: tutar, banka bilgileri, bekleme durumu */
.pay-amount { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(140deg, rgba(var(--accent-rgb), .16), rgba(var(--glow-rgb), .1)); border: 1px solid rgba(var(--accent-rgb), .28); }
.pay-amount small { font-size: 12px; color: var(--muted); }
.pay-amount strong { font-size: 28px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.pay-details { display: grid; gap: 8px; margin: 0 0 14px; }
.pay-details > div { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.pay-details dt { font-size: 12px; color: var(--muted); }
.pay-details dd { margin: 0; font-weight: 600; word-break: break-word; }
.pay-details dd.mono { letter-spacing: .5px; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .pay-details > div { grid-template-columns: 1fr auto; }
  .pay-details dt { grid-column: 1 / -1; }
}
.pay-wait { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px; background: var(--bg-2); border: 1px dashed var(--border-2); margin-bottom: 14px; }
.pay-wait strong { display: block; margin-bottom: 2px; }
.pay-wait small { color: var(--muted); font-size: 13px; }
.spinner { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(var(--accent-rgb), .2); border-top-color: var(--gold); animation: spin .9s linear infinite; }
.pay-foot { font-size: 12px; margin: 14px 0 0; }

/* ---------------------------------------------------------------- Promosyonlar ve bonuslar: kupon kartları */
.promo-hero { position: relative; overflow: hidden; isolation: isolate; margin-top: 20px; padding: 28px 22px; border-radius: var(--radius-lg); border: 1px solid rgba(var(--accent-rgb), .2);
  background:
    radial-gradient(420px 280px at 92% 10%, rgba(var(--accent-rgb), .2), transparent 65%),
    radial-gradient(520px 360px at 0% 0%, rgba(var(--glow-rgb), .42), transparent 65%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 65%, var(--deep-3)); }
@media (min-width: 768px) { .promo-hero { margin-top: 28px; padding: 40px 44px; } }
.promo-hero .bt-rays { right: -240px; top: -330px; width: 780px; height: 780px; }
.promo-hero h1 { margin: 14px 0 8px; font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; line-height: 1.1; }
.promo-hero h1 span { background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-hero p { margin: 0; max-width: 560px; font-size: 15px; color: var(--text-soft); }
.promo-hero-pts { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.promo-hero-pts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.promo-hero-pts .i { width: 16px; height: 16px; color: var(--gold); }
.promo-grid-page { margin-top: 20px; }

.bt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
/* Kupon: üst görsel ile gövde arasında iki yanda yarım daire oyuk (maske, zemin ne olursa olsun doğal görünür) */
.bt {
  --cut: 168px;
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; scroll-margin-top: 90px;
  border-radius: 22px; background: var(--surface); border: 1px solid var(--border-2);
  transition: transform .2s ease, border-color .2s ease;
  -webkit-mask: radial-gradient(circle 12px at 0 var(--cut), #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 var(--cut), #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 96%, #000) right / 51% 100% no-repeat;
}
.bt:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), .35); }
.bt:target { border-color: var(--gold); }
.bt-top {
  position: relative; isolation: isolate; overflow: hidden; height: var(--cut); padding: 18px 20px;
  display: flex; flex-direction: column; align-items: flex-start;
  background: linear-gradient(140deg, var(--deep-1), var(--deep-2) 70%);
  background:
    radial-gradient(240px 190px at 88% 45%, color-mix(in srgb, var(--c1) 50%, transparent), transparent 70%),
    radial-gradient(280px 200px at 0% 120%, color-mix(in srgb, var(--c2) 40%, transparent), transparent 70%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 70%);
}
.bt-rays {
  position: absolute; z-index: -1; right: -220px; top: -230px; width: 580px; height: 580px; pointer-events: none;
  background: repeating-conic-gradient(from 4deg, rgba(var(--accent-rgb), .07) 0 5deg, transparent 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 55%); mask: radial-gradient(circle, #000 8%, transparent 55%);
}
.bt-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .42); }
.bt-badge .i { width: 13px; height: 13px; }
.bt-fig { margin-top: auto; }
.bt-fig strong { display: block; font-size: 64px; font-weight: 800; line-height: .88; letter-spacing: -.02em; background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 22px rgba(var(--accent-2-rgb), .3)); }
.bt-fig strong small { font-size: .6em; vertical-align: .32em; margin-right: 1px; }
.bt-fig span { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(255, 255, 255, .9); }
.bt-fig .bt-fig-title { max-width: 60%; font-size: 26px; line-height: 1.15; }
.bt-art {
  position: absolute; right: 24px; top: 50%; width: 86px; height: 86px; margin-top: -36px; display: grid; place-items: center;
  border-radius: 26px; color: #fff; transform: rotate(8deg);
  background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 16px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.bt-art::before { content: ''; position: absolute; inset: -12px; border-radius: 34px; border: 1.5px dashed rgba(255, 255, 255, .16); }
.bt-art .i { width: 40px; height: 40px; stroke-width: 1.8; transform: rotate(-8deg); }
.bt-body { position: relative; flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 4px; border-top: 2px dashed rgba(255, 255, 255, .12); }
.bt-body h3 { margin: 0; font-size: 18px; font-weight: 700; }
.bt-sum { margin: -6px 0 0; font-size: 14px; color: var(--text-2); }
.bt-text p, .bt-text li { margin: 0 0 8px; font-size: 13.5px; color: var(--text-2); }
.bt-text ul { margin: 0; padding-left: 18px; }
.bt-text > :last-child { margin-bottom: 0; }
.bt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bt-chips li { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.bt-chips .i { width: 13px; height: 13px; color: var(--gold); stroke-width: 3; }
.bt-rules summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.bt-rules summary::-webkit-details-marker { display: none; }
.bt-rules summary:hover { color: var(--text); }
.bt-rules summary .i { width: 15px; height: 15px; }
.bt-rules summary .i:last-child { transition: transform .2s; }
.bt-rules[open] summary .i:last-child { transform: rotate(180deg); }
.bt-rules ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.bt-foot { margin-top: auto; padding: 16px 20px 20px; }
.bt-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bt-cta .btn { padding: 0 10px; }
.bt-get { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 1px solid rgba(var(--accent-rgb), .38); background: linear-gradient(120deg, rgba(var(--accent-rgb), .14), rgba(var(--glow-rgb), .12)); }
.bt-get small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bt-get strong { display: block; font-size: 20px; font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; }
.bt-lock { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); }
.bt-lock-ic { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--muted); }
.bt-lock-ic .i { width: 16px; height: 16px; }
.bt-lock-txt { flex: 1; min-width: 0; font-size: 13px; color: var(--text-2); }
.bt-lock .btn { flex-shrink: 0; }

/* Aktif bonus kartı */
.acc-sec-head h2 { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.acc-sec-head h2 .i { width: 20px; height: 20px; color: var(--gold); }
.bonus-live { position: relative; overflow: hidden; isolation: isolate; padding: 20px 18px; border-radius: var(--radius-lg); border: 1px solid rgba(var(--accent-rgb), .3);
  background:
    radial-gradient(420px 280px at 92% 10%, rgba(var(--accent-rgb), .2), transparent 65%),
    radial-gradient(520px 360px at 0% 0%, rgba(var(--glow-rgb), .42), transparent 65%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 65%, var(--deep-3)); }
@media (min-width: 768px) { .bonus-live { padding: 24px 28px; } }
.bonus-live .bt-rays { right: -200px; top: -270px; width: 640px; height: 640px; }
.bl-head { display: flex; align-items: center; gap: 12px; }
.bl-ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink); box-shadow: 0 8px 20px rgba(var(--accent-2-rgb), .3); }
.bl-ic .i { width: 22px; height: 22px; }
.bl-head div { flex: 1; min-width: 0; }
.bl-head small { display: block; font-size: 12px; color: var(--text-2); }
.bl-head strong { display: block; font-size: 17px; }
.bl-figs { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; margin: 18px 0; }
.bl-figs small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bl-figs strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bl-figs .bl-main strong { font-size: 36px; font-weight: 800; line-height: 1.1; background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bl-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; color: var(--text-2); }
.bl-note .i { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }
.bl-wager { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .08); }
.bl-wager-head, .bl-wager-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.bl-wager-head { margin-bottom: 8px; }
.bl-wager-head strong { font-size: 15px; color: var(--gold); }
.bl-wager-foot { margin-top: 8px; font-size: 12px; font-variant-numeric: tabular-nums; }
.bl-text { margin: 12px 0 0; font-size: 13px; color: var(--text-2); }
.bl-forfeit { margin-top: 16px; }
.wager-bar { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.wager-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.pd-body ul { padding-left: 18px; margin: 0 0 16px; }
.pd-body li { margin-bottom: 4px; }

/* ---------------------------------------------------------------- Oyun sayfası */
.game-page { padding-top: 16px; }
.game-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.game-bar .back { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.game-bar h1 { font-size: 18px; margin: 0; }
.game-bar small { color: var(--muted); font-size: 13px; display: block; }
.game-bar .spacer { flex: 1; }
.game-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 200px); min-height: 420px;
  border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid var(--border);
}
.game-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.game-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: radial-gradient(500px 300px at 50% 30%, rgba(255, 255, 255, .16), transparent 70%), linear-gradient(150deg, var(--c1), var(--c2));
}
.game-placeholder .gp-icon { width: 92px; height: 92px; border-radius: 28px; display: grid; place-items: center; background: rgba(0, 0, 0, .25); margin-bottom: 18px; }
.game-placeholder .gp-icon .i { width: 46px; height: 46px; }
.game-placeholder .gp-cover { width: 150px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; margin-bottom: 18px; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.game-placeholder h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; text-transform: uppercase; margin-bottom: 6px; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.game-placeholder p { color: rgba(255, 255, 255, .9); max-width: 460px; }
.game-placeholder .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.admin-hint { margin-top: 16px; font-size: 13px; background: rgba(0, 0, 0, .35); padding: 10px 14px; border-radius: 10px; max-width: 520px; }
.game-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.game-info div:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) { .game-info { grid-template-columns: repeat(3, 1fr); } .game-info div:last-child:nth-child(odd) { grid-column: auto; } }
.game-info div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.game-info small { display: block; font-size: 12px; color: var(--muted); }
.game-info strong { font-size: 14px; }
.game-stage:fullscreen { border-radius: 0; max-height: none; }
@media (max-width: 767px) { .game-stage { aspect-ratio: auto; height: calc(100vh - 220px); min-height: 380px; } }

/* Mobil oyun: sitede kalır, ekranı kaplayan çerçeve + üstte ince şerit (site üst/alt menüsü gizlenir) */
.page-game-m { overflow: hidden; padding-bottom: 0 !important; }
.page-game-m .announce, .page-game-m .site-header, .page-game-m .site-footer, .page-game-m .bottom-nav { display: none !important; }
.gm { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: #000; }
.gm-bar {
  flex: none; display: flex; align-items: center; gap: 10px;
  height: calc(46px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 10px 0;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.gm-back { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); }
.gm-bar strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-bal { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 9px; background: rgba(var(--accent-rgb), .12); color: var(--gold); font-size: 13px; font-weight: 600; }
.gm-bal .i { width: 16px; height: 16px; }
.gm-frame { flex: 1; display: block; width: 100%; min-height: 0; border: 0; background: #000; }

/* ---------------------------------------------------------------- Boş durum */
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty-state > .i { width: 48px; height: 48px; color: var(--surface-3); margin-bottom: 12px; stroke-width: 1.5; }
.empty-state strong { display: block; color: var(--text-2); font-size: 16px; margin-bottom: 4px; }
.empty-state p { font-size: 14px; margin-bottom: 16px; }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; margin-top: 72px; padding-bottom: 24px; border-top: 1px solid var(--border); background: radial-gradient(700px 300px at 0% 0%, rgba(var(--glow-rgb), .1), transparent 70%), linear-gradient(180deg, var(--foot-1), var(--foot-2)); }
.site-footer::before { content: ''; position: absolute; left: 8%; right: 8%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55), transparent); }
/* Üst şerit footer'ın üst kenarına taşar */
.ft-cta {
  position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 18px;
  margin: -40px 0 4px; padding: 24px 20px; border-radius: var(--radius-lg); border: 1px solid rgba(var(--accent-rgb), .25);
  background:
    radial-gradient(420px 280px at 92% 10%, rgba(var(--accent-rgb), .2), transparent 65%),
    radial-gradient(520px 360px at 0% 0%, rgba(var(--glow-rgb), .42), transparent 65%),
    linear-gradient(140deg, var(--deep-1), var(--deep-2) 65%, var(--deep-3));
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.ft-cta .bt-rays { right: -200px; top: -280px; width: 640px; height: 640px; }
@media (min-width: 768px) { .ft-cta { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 36px; } }
.ft-cta-txt small { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--gold); }
.ft-cta-txt strong { display: block; margin: 6px 0 6px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.15; }
.ft-cta-txt strong span { background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft-cta-txt p { margin: 0; max-width: 520px; font-size: 14px; color: var(--text-soft); }
.ft-cta-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex-shrink: 0; }
.ft-cta-btns .btn { padding: 0 14px; }
.ft-cta-btns .btn-ghost { background: rgba(255, 255, 255, .04); }
@media (min-width: 768px) { .ft-cta-btns .btn { min-width: 160px; } }

.ft-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; padding: 32px 0 30px; }
.ft-brand, .ft-brands { grid-column: 1 / -1; }
@media (min-width: 960px) { .ft-main { grid-template-columns: 1.5fr .8fr .8fr 1.4fr; gap: 36px; padding-top: 40px; } .ft-brand, .ft-brands { grid-column: auto; } }
.ft-brand .brand-logo { height: 58px; }
.ft-brand p { max-width: 380px; margin: 12px 0 18px; font-size: 14px; color: var(--muted); }
.ft-support { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 16px; border: 1px solid rgba(37, 211, 102, .3); background: linear-gradient(120deg, rgba(37, 211, 102, .14), rgba(37, 211, 102, .03)); transition: border-color .15s, transform .15s; }
.ft-support:hover { border-color: rgba(37, 211, 102, .6); transform: translateY(-2px); }
.ft-support-ic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--wa); color: #05301a; }
.ft-support-ic .i { width: 24px; height: 24px; }
.ft-support-txt small { display: block; font-size: 11px; color: var(--text-2); }
.ft-support-txt strong { display: block; font-size: 16px; letter-spacing: .02em; }
.ft-support > .i { width: 18px; height: 18px; margin-left: 4px; color: var(--wa); }
.ft-col h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ft-col h4::before { content: ''; width: 14px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.ft-col > a { display: block; width: fit-content; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .15s, transform .15s; }
.ft-col > a:hover { color: var(--gold); transform: translateX(3px); }
.ft-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--border); transition: color .15s, border-color .15s, background .15s; }
.ft-chip:hover { color: var(--gold); border-color: rgba(var(--accent-rgb), .4); background: rgba(var(--accent-rgb), .06); }

.ft-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 18px 0; border-top: 1px solid var(--border); }
.ft-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ft-label { width: 100%; font-size: 12px; font-weight: 600; color: var(--muted); }
@media (min-width: 600px) { .ft-label { width: auto; margin-right: 4px; } }
.ft-pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--border-2); }
.ft-pill .i { width: 18px; height: 18px; color: var(--gold); }
.ft-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ft-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.ft-badges .i { width: 16px; height: 16px; color: #4ade80; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.ft-bottom p { flex: 1; min-width: 180px; margin: 0; font-size: 12px; color: var(--muted); }
.ft-bottom small { font-size: 12px; color: var(--muted); }
.ft-top { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); transition: color .15s, border-color .15s; }
.ft-top .i { transform: rotate(180deg); }
.ft-top:hover { color: var(--gold); border-color: rgba(var(--accent-rgb), .4); }
@media (max-width: 599px) { .ft-bottom p { flex: 1 1 calc(100% - 60px); } .ft-bottom small { flex: 1; } }
.age-badge { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--danger); color: var(--danger); font-weight: 800; font-size: 13px; flex-shrink: 0; }

/* ---------------------------------------------------------------- Mobil alt menü */
.bottom-nav { display: none; }

@media (max-width: 899px) {
  .hide-sm { display: none !important; }
  .site-header { background: linear-gradient(180deg, var(--head-top), rgba(var(--bg-rgb), .98)); border-bottom: 0; }
  .site-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55), transparent); }
  .header-inner { gap: 10px; height: 58px; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-logo { height: 36px; }
  .header-actions { gap: 8px; }
  .header-actions > .btn-ghost .i { display: none; }
  .wallet { gap: 0; }
  .wallet .balance-pill { border-radius: 10px 0 0 10px; border-right: 0; }
  .wallet-add { width: 38px; padding: 0; border-radius: 0 10px 10px 0; box-shadow: none; }
  .wallet-add span { display: none; }
  .avatar-btn > .i { display: none; }
  .user-dd::after { right: 13px; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(var(--bg-2-rgb), .98);
    border-top: 1px solid var(--border);
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: 11px; font-weight: 500; color: var(--muted); }
  .bottom-nav a .i { width: 22px; height: 22px; }
  .bottom-nav a.active { color: var(--gold); }
}
@media (max-width: 420px) {
  .balance-pill { padding: 0 10px; font-size: 13px; }
  .balance-pill .i { display: none; }
}
@media (max-width: 374px) {
  .header-actions > .btn-ghost .i { display: inline-block; }
  .header-actions > .btn-ghost span { display: none; }
  .header-actions > .btn-ghost { width: 38px; padding: 0; }
}

/* ---------------------------------------------------------------- Bakım */
.center-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.maint-card { max-width: 460px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; }
.maint-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 24px auto 16px; border-radius: 20px; background: rgba(var(--accent-rgb), .12); color: var(--gold); }
.maint-icon .i { width: 34px; height: 34px; }
.maint-card p { color: var(--text-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.field input[type=file] { height: auto !important; padding: 8px !important; cursor: pointer; font-size: 13px; color: var(--muted); }
.field input[type=file]::file-selector-button {
  margin-right: 12px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--border-2);
  background: var(--surface-3); color: var(--text); font: 600 13px 'Poppins', sans-serif; cursor: pointer;
}
.field input[type=file]::file-selector-button:hover { border-color: var(--gold); }

/* ---------------------------------------------------------------- Kimlik doğrulama (kimlikli selfie) */
.kyc-guide { display: grid; gap: 16px; align-items: center; margin-bottom: 18px; }
@media (min-width: 640px) { .kyc-guide { grid-template-columns: 148px minmax(0, 1fr); } }
.kyc-svg { display: block; width: 100%; max-width: 148px; height: auto; margin: 0 auto; }
.kyc-steps { margin: 0; padding: 0; list-style: none; counter-reset: kyc; display: grid; gap: 10px; }
.kyc-steps li { counter-increment: kyc; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.kyc-steps li::before {
  content: counter(kyc); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .14); color: var(--gold); font-size: 12px; font-weight: 700;
}
.kyc-steps strong { color: var(--text); }
.kyc-preview canvas { display: block; max-width: 100%; max-height: 320px; margin-top: 12px; border-radius: 12px; border: 1px solid var(--border-2); }

/* ==========================================================================
   v2: pencereler (SweetAlert benzeri), bildirim zili, "Sizi arayalım", promosyon kodu
   ========================================================================== */

/* ---------------------------------------------------------------- Pencereler (BA.fire) */
html.swal-on { overflow: hidden; }
.swal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; overflow-y: auto;
  background: rgba(4, 5, 12, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease;
}
.swal.in { opacity: 1; }
.swal.out { opacity: 0; pointer-events: none; }
.swal-box {
  --sc: var(--gold);
  position: relative; width: min(440px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  margin: auto; padding: 30px 26px 24px; text-align: center;
  border-radius: 24px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--pop-1), var(--pop-2));
  background: radial-gradient(420px 200px at 50% -12%, color-mix(in srgb, var(--sc) 16%, transparent), transparent 70%), linear-gradient(180deg, var(--pop-1), var(--pop-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: translateY(14px) scale(.96); transition: transform .34s cubic-bezier(.2, 1.3, .4, 1);
}
.swal.in .swal-box { transform: none; }
.swal.out .swal-box { transform: scale(.96); transition-duration: .18s; }
.swal-wide { width: min(560px, 100%); }
.swal-success { --sc: var(--success); }
.swal-error { --sc: var(--danger); }
.swal-warning { --sc: var(--warning); }
.swal-info { --sc: var(--info); }
.swal-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); }
.swal-x:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.swal-icon { width: 84px; height: 84px; margin: 0 auto 14px; color: var(--sc); }
.swal-icon svg { display: block; width: 100%; height: 100%; overflow: visible; }
.swal-icon .sw-ring {
  fill: rgba(255, 255, 255, .03); fill: color-mix(in srgb, var(--sc) 12%, transparent);
  stroke: currentColor; stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100;
  transform: rotate(-90deg); transform-origin: 40px 40px; animation: sw-draw .55s .05s ease-out forwards;
}
.swal-icon .sw-mark { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: sw-draw .38s .45s cubic-bezier(.6, 0, .4, 1) forwards; }
.swal-icon .sw-d2 { animation-delay: .62s; }
.swal-icon .sw-dot { fill: currentColor; opacity: 0; transform-box: fill-box; transform-origin: center; animation: sw-pop .3s .72s ease-out forwards; }
.swal-success .swal-icon svg, .swal-error .swal-icon svg { animation: sw-bounce .45s .85s ease-out; }
.swal-glyph-icon .swal-icon { display: grid; place-items: center; }
.swal-glyph {
  position: relative; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink);
  box-shadow: 0 12px 28px rgba(var(--accent-2-rgb), .35), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.swal-glyph::after { content: ''; position: absolute; inset: -6px; border-radius: 28px; border: 2px solid rgba(var(--accent-rgb), .45); animation: fab-ring 2s ease-out infinite; }
.swal-glyph .i { width: 34px; height: 34px; }
.swal-title { margin: 0 0 6px; font-size: 21px; font-weight: 700; }
.swal-text { max-width: 380px; margin: 0 auto; font-size: 14.5px; line-height: 1.6; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.swal-html { margin-top: 16px; text-align: left; }
.swal-input { margin-top: 16px; text-align: left; }
.swal-input label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.swal-input textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.swal-input .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.swal-err { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; text-align: left; font-size: 13px; background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .3); color: #fecaca; }
.swal-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.swal-actions .btn { min-width: 132px; }
.swal-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.swal-busy .swal-actions .btn:last-child .swal-spin { display: inline-block; }
.swal-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.swal-timer { position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px; background: var(--sc); transform-origin: left; animation: toast-bar linear forwards; }
.swal-shake { animation: sw-shake .4s; }
.swal-form .swal-html .field { margin-bottom: 12px; }
.swal-form .swal-html .field textarea { min-height: 64px; }
@keyframes sw-draw { to { stroke-dashoffset: 0; } }
@keyframes sw-pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: none; } }
@keyframes sw-bounce { 40% { transform: scale(1.08); } }
@keyframes sw-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (max-width: 560px) {
  .swal { align-items: end; padding: 0; }
  .swal-box { width: 100%; max-height: 94dvh; border-radius: 24px 24px 0 0; border-bottom: 0; padding: 28px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(40px); }
  .swal-actions { flex-direction: column-reverse; }
  .swal-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .swal-icon .sw-ring, .swal-icon .sw-mark { stroke-dashoffset: 0; }
  .swal-icon .sw-dot { opacity: 1; }
  .swal-timer { display: none; }
}
.toast-link { cursor: pointer; }
.toast-link:hover { border-color: color-mix(in srgb, var(--tc) 60%, transparent); }

/* Kutlama (promosyon kodu onaylandı) */
.swal-celebrate { overflow: hidden; }
.swal-celebrate::before {
  content: ''; position: absolute; inset: -40% 0 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, var(--gold) 2px, transparent 2.6px), radial-gradient(circle, var(--pink) 2px, transparent 2.6px), radial-gradient(circle, var(--success) 1.6px, transparent 2.2px), radial-gradient(circle, var(--info) 1.8px, transparent 2.4px);
  background-size: 110px 130px, 150px 120px, 130px 160px, 170px 140px; background-position: 0 0, 40px 60px, 90px 20px, 20px 90px;
  animation: confetti 3.2s ease-in forwards;
}
.swal-celebrate > * { position: relative; z-index: 1; }
.swal-celebrate > .swal-x { position: absolute; }
@keyframes confetti { from { transform: translateY(-10%); opacity: 1; } to { transform: translateY(45%); opacity: 0; } }
.promo-won { text-align: center; }
.promo-won small { display: inline-block; padding: 4px 12px; border-radius: 8px; border: 1px dashed rgba(var(--accent-rgb), .55); color: var(--gold); font: 700 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; }
.promo-won strong { display: block; margin: 10px 0 6px; font-size: 42px; font-weight: 800; line-height: 1.1; color: var(--gold); background: linear-gradient(180deg, var(--gold-pale) 8%, var(--gold) 55%, var(--gold-2) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-won p { margin: 0 0 12px; font-size: 14px; color: var(--text-2); }
.promo-won ul { list-style: none; margin: 0; padding: 12px 14px; display: grid; gap: 6px; text-align: left; font-size: 12.5px; color: var(--text-2); border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.promo-won li { display: flex; gap: 8px; }
.promo-won li::before { content: '✓'; flex: none; color: var(--success); font-weight: 700; }

/* ---------------------------------------------------------------- Bildirim zili */
.nt { position: relative; }
.nt-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center; padding: 0;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text-2); transition: color .15s, border-color .15s;
}
.nt-btn:hover, .nt.open .nt-btn { color: var(--gold); border-color: rgba(var(--accent-rgb), .45); }
.nt-btn .i { width: 20px; height: 20px; }
.nt.has-unread .nt-btn .i { transform-origin: 50% 8%; animation: nt-ring 2.6s 1.2s ease-in-out 2; }
.nt-count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center;
  border-radius: 99px; border: 2px solid var(--bg); background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 1;
}
.nt-count[hidden], .dd-count[hidden], .avatar-dot[hidden] { display: none; }
.nt-panel {
  position: absolute; z-index: 60; right: -8px; top: calc(100% + 12px); width: 370px; max-width: calc(100vw - 24px); overflow: hidden;
  border-radius: 18px; border: 1px solid var(--border-2); background: linear-gradient(180deg, var(--pop-1), var(--pop-2)); box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .18s ease, transform .22s cubic-bezier(.2, 1.2, .4, 1), visibility .18s;
}
.nt.open .nt-panel { opacity: 1; visibility: visible; transform: none; }
.nt-head { display: flex; align-items: center; gap: 8px; padding: 14px 12px 12px 16px; border-bottom: 1px solid var(--border); }
.nt-head strong { flex: 1; font-size: 15px; }
.nt-link { padding: 4px 6px; border: 0; border-radius: 6px; background: none; font-size: 12px; font-weight: 600; color: var(--gold); }
.nt-link:hover { background: rgba(var(--accent-rgb), .1); }
.nt-sound { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--border-2); background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; }
.nt-sound .i { width: 14px; height: 14px; }
.nt-sound.on { color: var(--gold); border-color: rgba(var(--accent-rgb), .4); }
.nt-list { list-style: none; margin: 0; padding: 6px; max-height: min(430px, 62vh); overflow-y: auto; overscroll-behavior: contain; }
.nt-item { position: relative; display: flex; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text-2); transition: background .15s; }
a.nt-item:hover { background: rgba(255, 255, 255, .05); }
.nt-item.unread { background: rgba(var(--accent-rgb), .06); }
.nt-item.unread::after { content: ''; position: absolute; top: 15px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.nt-ic { --nc: var(--info); flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--nc); background: rgba(255, 255, 255, .06); background: color-mix(in srgb, var(--nc) 15%, transparent); }
.nt-ic .i { width: 18px; height: 18px; }
.nt-success .nt-ic { --nc: var(--success); }
.nt-warning .nt-ic { --nc: var(--warning); }
.nt-danger .nt-ic { --nc: var(--danger); }
.nt-txt { flex: 1; min-width: 0; padding-right: 14px; }
.nt-txt strong { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text); }
.nt-txt > span { display: -webkit-box; margin-top: 2px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; }
.nt-txt small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--muted); }
.nt-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 18px; text-align: center; font-size: 13px; color: var(--muted); }
.nt-empty .i { width: 30px; height: 30px; color: var(--surface-3); }
.nt-foot { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 12px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-2); }
.nt-foot:hover { color: var(--gold); }
.nt-page { max-height: none; padding: 0; display: grid; gap: 4px; margin-top: 14px; }
.nt-page .nt-item { padding: 12px; }
.nt-page .nt-txt > span { display: block; -webkit-line-clamp: unset; }
@keyframes nt-ring { 0%, 30%, 100% { transform: rotate(0); } 5%, 15% { transform: rotate(14deg); } 10%, 20% { transform: rotate(-12deg); } }
.avatar { position: relative; }
.avatar-dot { position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: var(--danger); border: 2px solid var(--bg); }
.dd-count { min-width: 22px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
/* Dar ekranda zil yer kaplamasın: sayı avatarda nokta ve profil menüsünde rozet olarak görünür */
@media (max-width: 479px) { .nt-site { display: none; } }
@media (min-width: 480px) { .avatar-dot { display: none; } }

/* ---------------------------------------------------------------- Sizi arayalım */
.call-fab {
  position: fixed; z-index: 54; right: 22px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 8px;
  border-radius: 999px; background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink);
  box-shadow: 0 14px 30px rgba(var(--accent-2-rgb), .38), inset 0 1px 0 rgba(255, 255, 255, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.call-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(var(--accent-2-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .45); }
.call-fab-ic { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .12); }
.call-fab-ic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold-light); animation: fab-ring 2.4s ease-out infinite; }
.call-fab-ic .i { width: 21px; height: 21px; }
.call-fab-txt { display: flex; flex-direction: column; line-height: 1.15; }
.call-fab-txt small { font-size: 10.5px; font-weight: 600; opacity: .75; }
.call-fab-txt strong { font-size: 14px; font-weight: 800; }
@keyframes fab-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.page-game .call-fab, .drawer-open .call-fab { display: none; }
.site-footer { padding-bottom: 96px; }
@media (max-width: 899px) {
  .call-fab { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .call-fab-txt { display: none; }
  .call-fab-ic { background: none; }
  .site-footer { padding-bottom: 24px; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.call-form .field label em { font-style: normal; font-weight: 400; color: var(--muted); }
.call-form select { cursor: pointer; }
.call-note { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.call-note .i { width: 15px; height: 15px; color: #4ade80; flex-shrink: 0; }
.call-page { max-width: 720px; margin: 0 auto; display: grid; gap: 18px; }
.call-hero { text-align: center; }
.call-hero p { margin: 0 auto; }
.call-hero .promo-hero-pts { justify-content: center; }
.call-hero-ic {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink); box-shadow: 0 12px 28px rgba(var(--accent-2-rgb), .35);
}
.call-hero-ic .i { width: 30px; height: 30px; }
.call-card { padding: 22px; }
.call-card .btn-lg { margin-top: 4px; }
.call-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.ft-call { margin-top: 10px; }

/* ---------------------------------------------------------------- Promosyon kodu */
.promo-code {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 18px; margin-bottom: 22px;
  border-radius: var(--radius-lg); border: 1px dashed rgba(var(--accent-rgb), .45);
  background: radial-gradient(520px 170px at 0% 0%, rgba(var(--accent-rgb), .12), transparent 70%), var(--surface);
}
.promo-code-ic {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2)); color: var(--gold-ink); box-shadow: 0 10px 24px rgba(var(--accent-2-rgb), .3);
}
.promo-code-ic .i { width: 26px; height: 26px; }
.promo-code-txt h2 { margin: 0 0 2px; font-size: 17px; }
.promo-code-txt p { margin: 0; font-size: 13px; color: var(--text-2); }
.promo-code-form { grid-column: 1 / -1; display: flex; gap: 10px; }
.promo-code-form .input {
  flex: 1; min-width: 0; height: 50px; text-align: center; text-transform: uppercase;
  font: 700 17px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .14em;
}
.promo-code-form .input::placeholder { letter-spacing: .1em; color: var(--placeholder); }
.promo-code-form .input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15); }
.promo-code-form .btn { height: 50px; flex-shrink: 0; }
.promo-code-form.busy .btn { pointer-events: none; opacity: .75; }
.promo-code-form.busy .btn > .i { display: none; }
.promo-code-form.busy .btn::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.promo-code-wide { margin: 18px 0 22px; }
@media (min-width: 900px) {
  .promo-code { grid-template-columns: auto minmax(0, 1fr) minmax(340px, 420px); }
  .promo-code-form { grid-column: auto; }
}
@media (max-width: 420px) { .promo-code-form { flex-direction: column; } }
