/* ==========================================================================
   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;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
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(124, 92, 255, .16), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(255, 200, 61, .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, #ffd766, var(--gold-2));
  color: var(--gold-ink);
  box-shadow: 0 6px 18px rgba(245, 158, 11, .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(255, 200, 61, .14), rgba(124, 92, 255, .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(10, 13, 24, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  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, #ffe08a, var(--gold-2));
  box-shadow: 0 4px 14px rgba(245, 158, 11, .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; }

.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(255, 200, 61, .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: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  color: #fff; 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; }

.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; }
.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; }

.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; }

/* ---------------------------------------------------------------- Hızlı kategoriler */
.quick-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 8px; }
@media (min-width: 768px) { .quick-cats { grid-template-columns: repeat(6, 1fr); gap: 14px; } }
.quick-cat {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-2); text-align: center;
  transition: border-color .15s, transform .15s, color .15s;
}
.quick-cat:hover { border-color: rgba(255, 200, 61, .45); color: var(--text); transform: translateY(-2px); }
.quick-cat .qc-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c1, #7c5cff), var(--c2, #ff4f9a)); color: #fff;
}
.quick-cat .qc-icon .i { width: 24px; height: 24px; }

/* ---------------------------------------------------------------- Bölümler */
.game-section { margin-top: 36px; }
.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 { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.gc-art img { width: 100%; height: 100%; object-fit: cover; }
.gc-gen { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 12px; }
.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, .6); backdrop-filter: blur(2px);
  font-weight: 600; font-size: 13px;
  opacity: 0; transition: opacity .2s ease;
}
.game-card:hover .gc-hover, .game-card:focus-visible .gc-hover { opacity: 1; }
.gc-play {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ffd766, var(--gold-2)); color: var(--gold-ink);
  box-shadow: 0 8px 24px rgba(245, 158, 11, .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; }

/* ---------------------------------------------------------------- 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 / sağlayıcılar */
.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(255, 200, 61, .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; } }

.provider-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .provider-strip { grid-template-columns: repeat(5, 1fr); } }
.provider-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  height: 84px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  font-weight: 700; font-size: 15px; text-align: center; transition: border-color .15s, transform .15s;
}
.provider-chip small { font-size: 12px; color: var(--muted); font-weight: 500; }
.provider-chip:hover { border-color: rgba(255, 200, 61, .45); transform: translateY(-2px); }

/* ---------------------------------------------------------------- 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(255, 200, 61, .14); border-color: rgba(255, 200, 61, .5); color: var(--gold); }
.chip small { font-size: 11px; color: var(--muted); }
.result-info { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

/* ---------------------------------------------------------------- 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(255, 200, 61, .16);
}
.field input::placeholder, .search-box input::placeholder { color: #5d6690; }
.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-wrap { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1000px; margin: 32px auto 0; }
@media (min-width: 900px) { .auth-wrap { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.auth-visual {
  display: none; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 36px;
  background: radial-gradient(400px 260px at 90% 10%, rgba(255, 255, 255, .2), transparent 60%), linear-gradient(150deg, #5b3df5, #c026d3 60%, #f59e0b);
}
@media (min-width: 900px) { .auth-visual { display: flex; flex-direction: column; justify-content: flex-end; } }
.auth-visual > .i { position: absolute; right: -30px; top: -20px; width: 260px; height: 260px; opacity: .18; stroke-width: 1.2; }
.auth-visual h2 { font-size: 30px; font-weight: 800; }
.auth-visual ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.auth-visual li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.auth-visual li .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.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 */
.account-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
@media (min-width: 960px) { .account-layout { grid-template-columns: 260px 1fr; align-items: start; } }
.account-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 10px; }
.account-user { display: flex; align-items: center; gap: 12px; padding: 12px 10px 16px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.account-user .avatar { width: 46px; height: 46px; font-size: 18px; }
.account-user strong { display: block; }
.account-user small { color: var(--muted); font-size: 12px; }
.account-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
@media (min-width: 960px) { .account-nav nav { flex-direction: column; } }
.account-nav nav a {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-2);
}
.account-nav nav a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.account-nav nav a.active { background: rgba(255, 200, 61, .12); color: var(--gold); }

.stat-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 20px; }
@media (min-width: 900px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.stat-card small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.stat-card strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-card.hl { background: linear-gradient(140deg, rgba(255, 200, 61, .18), rgba(124, 92, 255, .12)); border-color: rgba(255, 200, 61, .3); }
.stat-card.hl strong { color: var(--gold); font-size: 24px; }

.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; }

.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 18px; }
.method-option { position: relative; }
.method-option input { position: absolute; opacity: 0; pointer-events: none; }
.method-option label {
  display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 12px; cursor: pointer;
  background: var(--bg-2); border: 1.5px solid var(--border-2); transition: .15s; height: 100%;
}
.method-option label .i { width: 24px; height: 24px; color: var(--gold); }
.method-option label strong { font-size: 14px; }
.method-option label small { font-size: 12px; color: var(--muted); }
.method-option input:checked + label { border-color: var(--gold); background: rgba(255, 200, 61, .08); box-shadow: 0 0 0 3px rgba(255, 200, 61, .12); }
.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; 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; }

/* ---------------------------------------------------------------- Promosyon sayfası */
.promo-detail { display: grid; grid-template-columns: 1fr; gap: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); margin-bottom: 18px; scroll-margin-top: 90px; }
@media (min-width: 860px) { .promo-detail { grid-template-columns: 320px 1fr; } }
.promo-detail .pd-visual {
  position: relative; min-height: 160px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(260px 160px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(140deg, var(--c1), var(--c2));
}
.promo-detail .pd-visual > .i { position: absolute; right: 16px; top: 16px; width: 72px; height: 72px; opacity: .35; stroke-width: 1.4; }
.promo-detail .pd-visual span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.promo-detail .pd-visual h2 { font-size: 22px; margin: 4px 0 0; }
.promo-detail .pd-body { padding: 22px 24px; }
.promo-detail .pd-body > p:first-child { font-size: 16px; color: var(--text); font-weight: 500; }
.pd-body p, .pd-body li { color: var(--text-2); font-size: 14px; }
.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; }
@media (min-width: 700px) { .game-info { grid-template-columns: repeat(4, 1fr); } }
.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; } }

/* ---------------------------------------------------------------- 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 { border-top: 1px solid var(--border); background: var(--bg-2); padding: 36px 0 28px; margin-top: 40px; }
.footer-providers { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--border); }
.footer-providers span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.footer-providers .i { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 16px; max-width: 360px; }
.site-footer h4 { font-size: 14px; margin-bottom: 12px; }
.site-footer .footer-grid > div > a:not(.wa-inline):not(.logo) { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.site-footer .footer-grid > div > a:not(.wa-inline):not(.logo):hover { color: var(--gold); }
.wa-inline { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 14px; background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .3); }
.wa-inline > .i { width: 32px; height: 32px; color: var(--wa); }
.wa-inline small { display: block; font-size: 11px; color: var(--text-2); }
.wa-inline strong { font-size: 16px; letter-spacing: .02em; }
.pay-list { display: grid; gap: 8px; }
.pay-list span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.pay-list .i { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.footer-bottom p { flex: 1; min-width: 240px; margin: 0; font-size: 12px; color: var(--muted); }
.footer-bottom small { font-size: 12px; color: var(--muted); }
.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ü + WhatsApp */
.bottom-nav { display: none; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--wa); color: #05301a; font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float .i { width: 26px; height: 26px; }

@media (max-width: 899px) {
  .main-nav { display: none; }
  .hide-sm { display: none !important; }
  .header-inner { gap: 12px; height: 60px; }
  .brand-text { font-size: 18px; }
  .brand-mark { width: 32px; height: 32px; }
  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(14, 18, 34, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    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); }
  .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 52px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
}
@media (max-width: 420px) {
  .balance-pill { padding: 0 10px; font-size: 13px; }
  .balance-pill .i { display: none; }
  .header-actions .btn-ghost span { display: none; }
}

/* ---------------------------------------------------------------- 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(255, 200, 61, .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); }
