/* ===========================================================================
   gamador-wireframe.css — SADE anasayfa düzeni (quicklinks/slider/3x3/rows/altbar)
   Tema: koyu yeşil + royal gold. Yalnızca gamador-home.php'de yüklenir.
   =========================================================================== */

.gm-wire { max-width: 1180px; margin: 0 auto; padding: 12px 12px 16px; }

/* --- 1) HIZLI LİNKLER ŞERİDİ --- */
.gm-quicklinks-wrap { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(212,175,55,.18); text-align: center; }
.gm-ql-title { margin: 0 0 12px; font: 600 16px/1 'Teko', sans-serif; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-text, #ffe08a); }
.gm-quicklinks {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 2px;
}
.gm-ql {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 600 13px/1 'Rajdhani', system-ui, sans-serif; letter-spacing: .3px;
  color: var(--gold-text, #ffe08a);
  background: linear-gradient(180deg, rgba(212,175,55,.10), rgba(0,26,11,.65));
  border: 1px solid rgba(212,175,55,.38);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.gm-ql i { color: var(--gold, #d4af37); font-size: 14px; }
.gm-ql:hover { transform: translateY(-1px); border-color: var(--gold, #d4af37); box-shadow: 0 6px 18px rgba(212,175,55,.18); }
.gm-ql--install {
  border-color: rgba(240,200,80,.58);
  background: linear-gradient(135deg, rgba(240,200,80,.20), rgba(0,26,11,.72));
  box-shadow: inset 0 0 0 1px rgba(255,246,216,.06), 0 8px 22px rgba(212,175,55,.10);
}
.gm-pwa-ready .gm-ql--install {
  color: #fff6d8;
  border-color: rgba(255,224,138,.82);
  box-shadow: 0 0 0 1px rgba(255,224,138,.15), 0 10px 26px rgba(212,175,55,.22);
}
.gm-pwa-toast {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 1700;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}
.gm-pwa-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gm-pwa-toast__card {
  position: relative;
  width: min(420px, 100%);
  padding: 16px 44px 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.45);
  background: linear-gradient(160deg, rgba(0,26,11,.96), rgba(0,8,0,.98));
  box-shadow: 0 18px 44px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,246,216,.08);
  color: var(--text, #f5f1e6);
  text-align: left;
}
.gm-pwa-toast__title {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-text, #ffe08a);
  font: 700 15px/1.15 'Rajdhani', system-ui, sans-serif;
}
.gm-pwa-toast__text {
  margin: 0;
  color: rgba(245,241,230,.86);
  font: 600 13px/1.35 'Rajdhani', system-ui, sans-serif;
}
.gm-pwa-toast__close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(212,175,55,.34);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: var(--gold-text, #ffe08a);
  cursor: pointer;
}

/* --- 2) SLIDER --- */
.gm-slider {
  position: relative; width: 100%; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(212,175,55,.35); background: var(--bg-1, #001a0b);
  box-shadow: 0 10px 34px rgba(0,0,0,.45), inset 0 0 0 1px rgba(212,175,55,.08);
  aspect-ratio: 16 / 9;
}
.gm-slides { position: absolute; inset: 0; }
.gm-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease; display: block; text-decoration: none;
}
.gm-slide.active { opacity: 1; visibility: visible; }
.gm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* placeholder slaytlar (DB'de banner yokken) */
.gm-slide-ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(212,175,55,.16), transparent 60%),
    linear-gradient(135deg, #001a0b, #000800 70%);
}
.gm-slide-ph-inner { padding: 18px 22px; max-width: 680px; }
.gm-slide-logo { height: 44px; margin-bottom: 10px; }
.gm-slide-ph h2 {
  margin: 0 0 8px; font-family: 'Cinzel', serif; font-weight: 800;
  font-size: clamp(20px, 4.4vw, 36px); line-height: 1.1;
  color: var(--gold-text, #ffe08a); text-shadow: 0 2px 14px rgba(212,175,55,.35);
}
.gm-slide-ph p { margin: 0 0 14px; color: var(--text, #f5f1e6); font: 500 clamp(13px,2.4vw,16px)/1.4 'Rajdhani', sans-serif; opacity: .92; }

.gm-btn-gold {
  display: inline-block; cursor: pointer; text-decoration: none; border: none;
  padding: 10px 26px; border-radius: 999px; font: 700 14px/1 'Rajdhani', sans-serif; letter-spacing: .4px;
  color: #18120a; background: linear-gradient(135deg, #f0c850, #d4af37 55%, #8a5a08);
  box-shadow: 0 6px 18px rgba(212,175,55,.35); transition: transform .15s ease, box-shadow .2s ease;
}
.gm-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(212,175,55,.5); }

.gm-slide-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 17px; line-height: 1; color: var(--gold-text,#ffe08a);
  background: rgba(0,8,0,.55); border: 1px solid rgba(212,175,55,.45); backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.gm-slide-nav:hover { background: rgba(212,175,55,.25); }
.gm-slide-nav.prev { left: 10px; } .gm-slide-nav.next { right: 10px; }
.gm-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 4; display: flex; gap: 7px; justify-content: center; }
.gm-dot { width: 9px; height: 9px; border-radius: 50%; cursor: pointer; border: none; padding: 0;
  background: rgba(245,241,230,.4); transition: all .2s ease; }
.gm-dot.active { background: var(--gold, #d4af37); width: 22px; border-radius: 999px; }

/* --- HERO ROW: slider + çark yan yana --- */
.gm-hero-row { display: flex; gap: 14px; align-items: stretch; }
.gm-hero-row .gm-slider { flex: 1 1 0; min-width: 0; }
.gm-cark { flex: 0 0 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px 14px; border-radius: 16px; border: 1px solid rgba(212,175,55,.35); background: radial-gradient(120% 90% at 50% 0%, rgba(212,175,55,.16), transparent 60%), linear-gradient(160deg,#001a0b,#000800); }
.gm-cark-wheelbox { position: relative; display: grid; place-items: center; padding-top: 8px; }
.gm-cark-pointer { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); z-index: 3; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 18px solid #ffe08a; filter: drop-shadow(0 2px 3px rgba(0,0,0,.7)); }
.gm-cark-wheel { width: clamp(108px,10vw,140px); aspect-ratio: 1; border-radius: 50%; position: relative; animation: gm-spin 6s cubic-bezier(.34,.06,.2,1) infinite;
  border: 6px solid #d4af37;
  box-shadow: 0 0 0 4px #08361a, 0 0 0 7px rgba(212,175,55,.55), 0 10px 26px rgba(0,0,0,.6), inset 0 0 16px rgba(0,0,0,.55);
  background: conic-gradient(from -15deg, #0b3a1d 0 30deg, #e6c252 30deg 60deg, #07301a 60deg 90deg, #f0c850 90deg 120deg, #0b3a1d 120deg 150deg, #e6c252 150deg 180deg, #07301a 180deg 210deg, #f0c850 210deg 240deg, #0b3a1d 240deg 270deg, #e6c252 270deg 300deg, #07301a 300deg 330deg, #f0c850 330deg 360deg); }
.gm-cark-wheel::before { content:""; position:absolute; inset:0; border-radius:50%; background: radial-gradient(circle at 50% 32%, rgba(255,255,255,.20), transparent 55%); }
.gm-cark-wheel::after { content:""; position:absolute; inset:38%; border-radius:50%; background: radial-gradient(circle at 35% 30%, #ffe9b0, #8a5a08); border:3px solid #fff3cf; box-shadow: 0 2px 7px rgba(0,0,0,.6); }
@keyframes gm-spin { to { transform: rotate(360deg); } }
.gm-cark h3 { margin:0; font:800 clamp(18px,2vw,24px)/1 'Cinzel',serif; color:var(--gold-text,#ffe08a); letter-spacing:1px; }
.gm-cark p { margin:0; font:600 13px/1.35 'Rajdhani',sans-serif; color:var(--text,#f5f1e6); opacity:.92; }

/* --- 3) 4 BÜYÜK KATEGORİ KARTI --- */
/* --- Jackpot Cards sayaci --- */
.gm-jackpot-cards {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(150px, .78fr) minmax(160px, 1fr) minmax(160px, 1fr);
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  margin: 34px auto 22px;
  padding: 6px 0 4px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.gm-jackpot-cards::before {
  content: "";
  position: absolute;
  inset: -16px 2%;
  pointer-events: none;
  opacity: .16;
  background:
    radial-gradient(circle at 18% 50%, rgba(212,175,55,.42), transparent 22%),
    radial-gradient(circle at 82% 50%, rgba(0,201,136,.30), transparent 24%),
    linear-gradient(90deg, transparent, rgba(212,175,55,.18), transparent);
  filter: blur(18px);
}
.gm-jackpot-card,
.gm-jackpot-brand {
  position: relative;
  z-index: 1;
}
.gm-jackpot-card {
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px 1fr 17px;
  align-items: center;
  gap: 10px;
  padding: 7px 10px 7px 14px;
  border: 1px solid rgba(212,175,55,.34);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 46%, rgba(255,224,138,.12), transparent 34%),
    linear-gradient(180deg, rgba(0,43,18,.86), rgba(0,12,7,.92));
  box-shadow: inset 0 1px 0 rgba(255,246,216,.08), inset 0 -10px 22px rgba(0,0,0,.28), 0 10px 22px rgba(0,0,0,.26);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.gm-jackpot-card.is-ticking {
  border-color: rgba(255,224,138,.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 0 0 1px rgba(255,224,138,.10), 0 12px 26px rgba(0,0,0,.32), 0 0 20px rgba(212,175,55,.16);
  transform: translateY(-1px);
}
.gm-jackpot-suit {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font: 900 37px/1 Georgia, serif;
  text-shadow: 0 2px 0 rgba(0,0,0,.78), 0 0 12px currentColor;
}
.gm-jackpot-card--spade .gm-jackpot-suit,
.gm-jackpot-card--club .gm-jackpot-suit {
  color: #020806;
  -webkit-text-stroke: 1px rgba(255,224,138,.72);
}
.gm-jackpot-card--heart .gm-jackpot-suit,
.gm-jackpot-card--diamond .gm-jackpot-suit {
  color: #e01913;
  -webkit-text-stroke: 1px rgba(255,224,138,.86);
}
.gm-jackpot-value {
  min-width: 0;
  color: #fff8dc;
  font: 800 clamp(18px, 2.1vw, 25px)/1 'Rajdhani', system-ui, sans-serif;
  letter-spacing: .4px;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0,0,0,.8), 0 0 10px rgba(212,175,55,.22);
  font-variant-numeric: tabular-nums;
}
.gm-jackpot-try {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #08d782;
  font: 800 11px/1 'Rajdhani', system-ui, sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(8,215,130,.6);
}
.gm-jackpot-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin: -7px -8px;
}
.gm-jackpot-logo {
  display: block;
  width: min(176px, 100%);
  height: auto;
  max-height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 6px 0 rgba(0,0,0,.58)) drop-shadow(0 0 13px rgba(255,224,138,.26));
}

.gm-cats-wrap { margin-top: 16px; }
.gm-cats4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gm-cat {
  position: relative; display: block; line-height: 0;
  transition: transform .15s ease;
}
.gm-cat-glow {               /* resmin SEKLINE maskelenmis kap */
  position: absolute; inset: -3px; z-index: 0; pointer-events: none;
  -webkit-mask: var(--gm-card-img) center / contain no-repeat;
  mask: var(--gm-card-img) center / contain no-repeat;
}
.gm-cat-glow::before {       /* DONEN komet — transform:rotate (her zaman calisir) */
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 45deg,
    rgba(212,175,55,.4) 65deg,
    #ffe08a 82deg,
    #fff6d8 92deg,
    #ffe08a 102deg,
    rgba(212,175,55,.4) 120deg,
    transparent 140deg 360deg);
  filter: blur(6px);
  animation: gm-cat-spin 2.2s linear infinite;
}
@keyframes gm-cat-spin { to { transform: rotate(360deg); } }
.gm-cat img {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block;
}
.gm-cat:hover { transform: translateY(-4px); }
.gm-cat:hover .gm-cat-glow::before { animation-duration: 1.4s; }

/* Arka plan: gladyator tapinagi resmi, gradyanin ustune daha belirgin opaklik */
.bg-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/gamador/bg-temple.jpg') center center / cover no-repeat;
  opacity: .48;
  pointer-events: none;
}

/* ===== AUTH MODAL — SOL resim paneli + sag form + calisan close ===== */
.auth-modal-overlay {
  align-items: flex-start !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: max(12px, env(safe-area-inset-top, 0px)) 16px max(24px, env(safe-area-inset-bottom, 0px)) !important;
}
.auth-modal {
  display: grid !important;
  grid-template-columns: 320px minmax(330px, 1fr) !important;
  width: min(800px, 100%) !important; max-width: none !important; margin: 0 auto 12px !important;
  padding: 0 !important;
  overflow: hidden !important; border-radius: 18px !important;
  min-height: 500px !important;
  max-height: min(640px, calc(100dvh - 32px)) !important;
}
.auth-modal:has(#registerPanel.active) .auth-workspace {
  justify-content: flex-start !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  max-height: min(640px, calc(100dvh - 32px)) !important;
  -webkit-overflow-scrolling: touch;
  padding-top: 22px !important;
  padding-bottom: 28px !important;
}
.auth-modal::before { display: none !important; }            /* desenli overlay kapat */
/* SOL panel = sadece resim (yazi yok); sekmeye gore degisir */
.auth-stage {
  display: block !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
  border: none !important; border-right: 1px solid rgba(212,175,55,.22) !important;
  background-color: #06140c !important;
  background-image: url('/assets/gamador/auth-giris.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
.auth-modal:has(#registerPanel.active) .auth-stage {
  background-image: url('/assets/gamador/auth-kayit.png') !important;   /* kayit sekmesinde diger resim */
}
.auth-stage > * { display: none !important; }                /* stage icindeki tum yazi/logo gizli — sadece resim */
.auth-stage::after, .auth-stage::before { display: none !important; }
.auth-workspace {
  position: static !important; z-index: auto !important;
  padding: 28px 30px !important;
  display: flex !important; flex-direction: column !important; justify-content: flex-start !important;
  min-height: 0 !important;
}
.auth-close-btn { z-index: 30 !important; }                   /* close butonu tiklanabilir olsun */

/* Mobil: sol resmi gizle, sadece form (tek sutun) — kayit formu asagi kaydirilabilir */
@media (max-width: 768px) {
  /* Duyuru + topbar (94px) altinda modal nefes alsin */
  .auth-modal-overlay {
    padding-top: calc(106px + env(safe-area-inset-top, 0px)) !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    align-items: flex-start !important;
  }
  .auth-modal {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 8px auto 16px !important;
  }
  .auth-stage { display: none !important; }
  .auth-workspace {
    justify-content: flex-start !important;
    padding: 26px 18px 28px !important;
    overflow: visible !important;
    max-height: none !important;
  }
  .auth-tabs { margin-top: 4px; }
  .auth-modal:has(#registerPanel.active) .auth-workspace {
    padding-bottom: 36px !important;
  }
  .auth-panels { min-height: 0 !important; }
  .auth-panel.active { display: block !important; }
}

/* --- 4-5) POPÜLER OYUN SATIRLARI --- */
.gm-row-section { margin-top: 22px; }
.gm-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gm-row-head h2 {
  margin: 0; font-family: 'Teko', sans-serif; font-weight: 600; letter-spacing: .6px;
  font-size: clamp(20px, 3.6vw, 26px); color: var(--gold-text, #ffe08a); text-transform: uppercase;
}
.gm-row-all { text-decoration: none; font: 600 13px/1 'Rajdhani', sans-serif; color: var(--gold, #d4af37); display: inline-flex; align-items: center; gap: 5px; }
.gm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.gm-game { cursor: pointer; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.gm-game-cover {
  position: relative; border-radius: 12px; overflow: hidden; line-height: 0;
  transition: transform .15s ease, box-shadow .2s ease;
}
.gm-game:hover .gm-game-cover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.5); }
.gm-game-cover img { width: 100%; height: auto; display: block; }   /* ORJINAL oran — kirpma/sikistirma yok */
.gm-game-name { display: none; }  /* kapakta isim zaten var */

/* --- 6) ALT SABİT BAR (mobil) --- */
.gm-bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  display: none; align-items: stretch; justify-content: space-around;
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(0,26,11,.96), rgba(0,8,0,.99));
  border-top: 1px solid rgba(212,175,55,.45); box-shadow: 0 -8px 24px rgba(0,0,0,.5); backdrop-filter: blur(8px);
}
.gm-bb {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: none; cursor: pointer; text-decoration: none; padding: 4px 2px;
  color: var(--text, #f5f1e6); font: 600 10.5px/1 'Rajdhani', sans-serif;
}
.gm-bb i { font-size: 18px; color: rgba(245,241,230,.78); transition: color .2s ease; }
.gm-bb:hover i, .gm-bb:active i { color: var(--gold, #d4af37); }
.gm-bb-center i {
  color: #18120a; background: linear-gradient(135deg, #f0c850, #d4af37 60%, #8a5a08);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  margin-top: -16px; box-shadow: 0 6px 16px rgba(212,175,55,.45); border: 2px solid var(--bg-1, #001a0b);
}
.gm-bb-center span { margin-top: 1px; color: var(--gold-text,#ffe08a); }
.gm-bb-brand {
  flex: 1.45;
  min-width: 0;
  padding-left: 3px;
  padding-right: 2px;
  justify-content: center;
}
.gm-bottombar-logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: min(138px, 34vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* --- GAMADOR canli destek (ozel FAB; varsayilan balon JS hide(), acik pencere gorunur) --- */
body.gm-livechat-open .gm-live-support-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
body.gm-livechat-open #chat-widget-container {
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
}
.gm-live-support-fab {
  position: fixed;
  right: 12px;
  bottom: 18px;
  z-index: 940;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.62);
  border-radius: 999px;
  cursor: pointer;
  color: #ffe08a;
  font-family: 'Rajdhani', sans-serif;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 224, 138, 0.14), transparent 42%),
    linear-gradient(135deg, rgba(0, 43, 18, 0.98), rgba(0, 12, 6, 0.99));
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 224, 138, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.gm-live-support-fab:hover,
.gm-live-support-fab:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 224, 138, 0.88);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.48),
    0 0 18px rgba(212, 175, 55, 0.22);
  outline: none;
}
.gm-live-support-fab-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #18120a;
  background: linear-gradient(135deg, #f0c850, #d4af37 58%, #8a5a08);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  flex: 0 0 auto;
}
.gm-live-support-fab-icon i { font-size: 16px; }
.gm-live-support-fab-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
  text-align: left;
  padding-right: 2px;
}
.gm-live-support-fab-copy strong {
  font: 800 13px/1.1 'Teko', sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #ffe08a;
}
.gm-live-support-fab-copy small {
  font: 800 14px/1.1 'Teko', sans-serif;
  letter-spacing: 0.5px;
  color: #f5f1e6;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .gm-live-support-fab {
    right: 10px;
    bottom: 62px;
    padding: 8px 12px 8px 10px;
    gap: 8px;
  }
  .gm-live-support-fab-icon {
    width: 30px;
    height: 30px;
  }
  .gm-live-support-fab-icon i { font-size: 14px; }
  .gm-live-support-fab-copy strong { font-size: 13px; }
  .gm-live-support-fab-copy small { font-size: 13px; }
}

/* ===== SOL MENU (sidebar) — masaustu; sadece anasayfada (.gm-sidebar-layout) ===== */
.gm-sidebar-layout .main-text-nav { display: none; }
.gm-sidebar {
  position: fixed; top: 62px; left: 0; width: 232px; height: calc(100vh - 62px);
  background: linear-gradient(180deg, #001a0b, #000800 85%); border-right: 1px solid rgba(212,175,55,.22);
  display: flex; flex-direction: column; z-index: 850; overflow-y: auto; padding: 14px 0;
}
.gm-side-nav { display: flex; flex-direction: column; gap: 3px; padding: 0 12px; }
.gm-side-link {
  display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 10px;
  text-decoration: none; color: var(--text, #f5f1e6); font: 600 14.5px/1 'Rajdhani', sans-serif; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.gm-side-link i { width: 22px; text-align: center; color: var(--gold, #d4af37); font-size: 17px; }
.gm-side-link:hover { background: rgba(212,175,55,.10); }
.gm-side-link.active { background: linear-gradient(90deg, rgba(212,175,55,.20), rgba(212,175,55,0)); color: var(--gold-text, #ffe08a); }
.gm-side-social { margin-top: auto; display: flex; gap: 16px; justify-content: center; padding: 16px 0 6px; border-top: 1px solid rgba(212,175,55,.14); }
.gm-side-social a { color: var(--gold, #d4af37); font-size: 19px; transition: transform .15s ease; }
.gm-side-social a:hover { transform: translateY(-2px); }
.gm-side-toggle, .gm-side-overlay { display: none; }
/* ust duyuru seridi (guncel adres) */
.gm-topbar-announce { position: fixed; top: 0; left: 0; right: 0; height: 30px; z-index: 1001; overflow: hidden; display: flex; align-items: center; background: linear-gradient(90deg,#8a5a08,#f0c850 50%,#8a5a08); color: #18120a; }
.gm-announce-track { white-space: nowrap; font: 700 12.5px/1 'Rajdhani', sans-serif; letter-spacing: .2px; animation: gm-marquee 26s linear infinite; }
.gm-announce-track i { margin-right: 6px; }
@keyframes gm-marquee { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* topbar: tam genislik dolu bar (kesisme/overlap fix), icerik altina */
.gm-sidebar-layout .topbar {
  position: fixed !important; top: 30px !important; left: 0 !important; right: 0 !important;
  width: 100% !important; height: 64px !important; margin: 0 !important;
  background: #001a0b !important; border-radius: 0 !important;
  border-bottom: 1px solid rgba(212,175,55,.25) !important; z-index: 1000 !important;
  display: flex !important; align-items: center !important;
}
.gm-sidebar-layout .topbar.scrolled { width: 100% !important; max-width: none !important; left: 0 !important; right: 0 !important; margin: 0 !important; border-radius: 0 !important; transform: none !important; }
.gm-sidebar-layout .topbar-row { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 22px !important; display: flex !important; align-items: center !important; justify-content: flex-start !important; gap: 14px !important; }
.gm-sidebar-layout .auth-links {
  margin-left: auto !important;
  margin-right: 0 !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
}
/* gamador-home.css: .topbar .auth-links { width:100%; justify-content:center } */
.gm-sidebar-layout .topbar .auth-links {
  width: auto !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
}
/* Misafir: giris/kayit her zaman sag kenar */
body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar .auth-links.auth-links-guest {
  margin-left: auto !important;
  margin-right: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  align-self: center !important;
}
.gm-topbar-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex: 0 1 auto;
}
.gm-sidebar-layout .topbar-row > .gm-topbar-center {
  margin-left: auto;
  margin-right: 10px;
}
/* Masaustu uye: Telegram/WP -> bakiye -> para yatir (auth-links icinde) */
@media (min-width: 769px) {
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-quick-icons--member {
    order: 1;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-balance {
    order: 2;
    margin: 0 !important;
    align-items: flex-end;
    max-width: min(200px, 22vw) !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-deposit-btn {
    order: 3;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-withdraw-btn {
    order: 4;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-account-menu {
    order: 5;
  }
}
.gm-brand-cluster { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 1; }
.gm-quick-icons {
  display: flex; gap: 8px; align-items: center;
  flex: 0 0 auto; flex-shrink: 0;
  margin-left: 2px;
}
/* Uye: sosyal ikonlar auth-links icinde (para yatir yaninda) */
.gm-quick-icons--member {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
}
.gm-qi { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; color: #18120a; background: linear-gradient(135deg,#f0c850,#d4af37 60%,#8a5a08); font-size: 17px; text-decoration: none; transition: transform .15s ease, box-shadow .2s ease; }
.gm-qi:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(212,175,55,.4); }
.gm-header-pill {
  display: inline-grid; place-items: center; width: 34px; height: 34px; min-width: 34px; padding: 0;
  border-radius: 9px; text-decoration: none; color: #18120a;
  background: linear-gradient(135deg,#f0c850,#d4af37 58%,#8a5a08);
  border: 1px solid rgba(255,224,138,.45);
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.gm-header-pill i { font-size: 16px; line-height: 1; }
.gm-header-pill span { display: none !important; }
.gm-header-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(212,175,55,.35); filter: brightness(1.03); }
.gm-header-pill--whatsapp i { font-size: 17px; }
/* Hesap menusu (profil / cikis) */
.gm-account-menu { position: relative; flex: 0 0 auto; }
.gm-header-account-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; width: 40px; height: 40px; padding: 0 !important;
  border-radius: 9px; cursor: pointer;
  color: var(--gold, #d4af37) !important;
  background: linear-gradient(135deg, rgba(0,26,11,.94), rgba(0,10,4,.98)) !important;
  border: 1px solid rgba(212,175,55,.45) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.22) !important;
  transition: transform .15s ease, border-color .15s ease, box-shadow .2s ease, filter .2s ease;
}
.gm-header-account-btn:hover,
.gm-account-menu.open .gm-header-account-btn {
  border-color: rgba(255,224,138,.75) !important;
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(0,26,11,.96)) !important;
  filter: brightness(1.04);
}
.gm-header-account-btn i { margin: 0 !important; font-size: 16px; color: inherit !important; }
.gm-account-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  padding: 8px; border-radius: 12px;
  background: linear-gradient(180deg, #002410, #001208);
  border: 1px solid rgba(212,175,55,.38);
  box-shadow: 0 14px 32px rgba(0,0,0,.55);
  z-index: 1500;
}
.gm-account-dropdown-user {
  margin: 0 0 6px; padding: 6px 10px 8px;
  border-bottom: 1px solid rgba(212,175,55,.18);
  font: 700 13px/1.2 'Rajdhani', sans-serif; color: var(--gold-text, #ffe08a);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gm-account-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--text, #f5f1e6);
  font: 600 14px/1 'Rajdhani', sans-serif;
  transition: background .15s ease, color .15s ease;
}
.gm-account-dropdown-item i { width: 18px; text-align: center; color: var(--gold, #d4af37); }
.gm-account-dropdown-item:hover { background: rgba(212,175,55,.12); color: var(--gold-text, #ffe08a); }
.gm-account-dropdown-logout { color: #ffb4b4; }
.gm-account-dropdown-logout i { color: #ff8a8a; }
.gm-account-dropdown-logout:hover { background: rgba(255,90,90,.12); color: #ffd0d0; }
.gm-sidebar-layout .brand img { width: auto !important; max-height: 44px !important; }
.gm-sidebar-layout .page-shell,
.gm-sidebar-layout .alpha-sports,
.gm-sidebar-layout .bp-section { margin: 94px 0 18px 0 !important; padding: 16px 20px 18px 252px !important; width: auto !important; max-width: none !important; box-sizing: border-box !important; }
.gm-sidebar-layout .gm-wire > * { max-width: 1040px !important; margin-left: auto !important; margin-right: auto !important; }
.gm-sidebar { top: 94px; height: calc(100vh - 94px); }
.gm-sidebar-layout .site-footer { padding-left: 232px; box-sizing: border-box; }
.gm-sidebar-layout .live-winner-ticker { left: 232px !important; }

/* gamador-home.css 820px grid topbar denemesini ez */
@media (max-width: 820px) {
  .gm-sidebar-layout .topbar-row {
    position: relative !important;
    display: block !important;
    grid-template-columns: none !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: 64px !important;
    padding-left: 54px !important;
    padding-right: 6px !important;
    box-sizing: border-box !important;
    justify-content: unset !important;
  }
  .gm-sidebar-layout .topbar-row > .gm-brand-cluster {
    position: absolute !important;
    left: 54px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    grid-column: unset !important;
    margin: 0 !important;
    max-width: min(84px, 22vw) !important;
    z-index: 1;
  }
  .gm-sidebar-layout .topbar-row > .auth-links {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    grid-column: unset !important;
    margin: 0 !important;
    width: auto !important;
    max-width: calc(100vw - 130px) !important;
    justify-content: flex-end !important;
    z-index: 2;
  }
  .gm-sidebar-layout .topbar.scrolled {
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }
  .gm-sidebar-layout .topbar-row > .auth-links {
    margin-left: auto !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    width: auto !important;
    max-width: none !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    padding-left: 54px !important;
    padding-right: 10px !important;
    justify-content: unset !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .gm-brand-cluster {
    grid-column: 1 !important;
    justify-self: start !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .gm-quick-icons {
    display: none !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .auth-links {
    grid-column: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-end !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .bg-aurora::after { opacity: .48; background-position: center top; }
  .gm-bottombar { display: flex; }
  .gm-wire { padding-bottom: 78px; }            /* alt bar için boşluk */
  .gm-hero-row { display: block; }   /* mobilde flex degil blok — slider yuksekligi cark'a bagli kalmasin */
  .gm-hero-row .gm-slider { flex: none; }
  .gm-slider { aspect-ratio: 16 / 9; border-radius: 12px; width: 100%; min-height: 90px; }   /* slider gorselleri 1675x939 (16/9) -> kirpilmaz */
  .gm-cark { display: none; }   /* mobilde cark gizli — slider hero olsun */
  .gm-jackpot-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 18px;
    padding: 12px;
    border-radius: 14px;
  }
  .gm-jackpot-brand {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 62px;
    margin: -4px 0 -2px;
  }
  .gm-jackpot-logo {
    width: min(156px, 62vw);
    max-height: 74px;
  }
  .gm-jackpot-card {
    min-height: 52px;
    grid-template-columns: 32px 1fr 15px;
    gap: 7px;
    padding: 7px 8px;
    border-radius: 10px;
  }
  .gm-jackpot-suit {
    width: 30px;
    height: 30px;
    font-size: 30px;
  }
  .gm-jackpot-value {
    font-size: clamp(16px, 5.2vw, 21px);
  }
  .gm-jackpot-try {
    font-size: 9px;
    letter-spacing: .5px;
  }
  .gm-cats4 { grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; max-width: none; margin: 0; }  /* 2x2, tam genislik (daha buyuk) */
  .gm-cat-glow { inset: -2px; }
  .gm-cat-glow::before { filter: blur(4px); }   /* mobilde glow toparla */
  .gm-row { grid-template-columns: repeat(2, 1fr); }               /* mobilde 2'li grid */
  .gm-sidebar { top: 0; height: 100vh; padding-top: 100px; transform: translateX(-100%); transition: transform .25s ease; z-index: 1400; pointer-events: auto; }
  .gm-sidebar.open { transform: translateX(0); }
  .gm-side-nav .gm-side-link { position: relative; z-index: 2; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  .gm-sidebar-layout .page-shell,
  .gm-sidebar-layout .alpha-sports,
  .gm-sidebar-layout .bp-section { padding: 14px 12px 84px 12px !important; margin-top: 94px !important; }
  .gm-side-toggle { display: inline-flex; align-items: center; justify-content: center; position: fixed; top: calc(30px + 13px); left: 11px; z-index: 1450; width: 38px; height: 38px; border-radius: 9px; background: rgba(0,26,11,.92); border: 1px solid rgba(212,175,55,.4); color: var(--gold, #d4af37); font-size: 17px; cursor: pointer; touch-action: manipulation; }
  .gm-side-overlay.show { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 1300; }
  body.gm-menu-open { overflow: hidden; }
  .gm-sidebar-layout .site-footer { padding-left: 0 !important; }
  .gm-sidebar-layout .live-winner-ticker { left: 0 !important; }
  .gm-brand-cluster {
    gap: 6px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    overflow: visible;
  }
  .gm-brand-cluster .brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(118px, 32vw);
  }
  .gm-quick-icons {
    display: flex !important;
    gap: 5px !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-left: 4px;
    margin-right: 2px;
  }
  .gm-header-pill { width: 30px; height: 30px; min-width: 30px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
  .gm-header-pill i { font-size: 15px !important; }
  .gm-bottombar-logo { height: 26px; max-width: min(120px, 32vw); }

  /* Mobil header: absolute sabitleme (grid override kaldirildi) */
  .gm-sidebar-layout .topbar-row {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 64px !important;
    padding-left: 54px !important;
    padding-right: 4px !important;
    box-sizing: border-box !important;
    overflow: visible;
  }
  .gm-sidebar-layout .topbar-row > .main-text-nav { display: none !important; }
  .gm-sidebar-layout .topbar-row > .gm-brand-cluster {
    position: absolute !important;
    left: 54px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(84px, 22vw) !important;
    overflow: visible;
    z-index: 1;
  }
  .gm-sidebar-layout .topbar-row > .gm-quick-icons { display: none !important; }
  .gm-sidebar-layout .topbar-row > .gm-topbar-center {
    display: none !important;
  }
  .gm-sidebar-layout .topbar-row > .auth-links {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: calc(100vw - 120px) !important;
    z-index: 2;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .gm-brand-cluster {
    display: flex !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .gm-quick-icons {
    display: none !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .auth-links {
    right: 4px !important;
    gap: 8px !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links .gm-quick-icons--member {
    display: flex !important;
    gap: 5px !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
  }
  /* Uye mobil: absolute sag sabitleme (820px blogu ile ayni) */
  body[data-auth-logged-in="1"] .gm-sidebar-layout .topbar-row > .auth-links.auth-links-member {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    gap: 4px !important;
    width: auto !important;
    max-width: calc(100vw - 120px) !important;
    margin: 0 !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-withdraw-btn {
    text-decoration: none !important;
    color: #ffe08a !important;
    min-width: 34px !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-withdraw-btn span {
    display: none !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .auth-links-member .gm-header-balance {
    position: static;
    transform: none;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-width: 0;
    padding: 4px 7px !important;
    max-width: min(100px, 28vw) !important;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.32);
    background: rgba(0, 12, 6, 0.88);
    line-height: 1.1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
    pointer-events: auto;
    flex: 0 1 auto;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .gm-header-balance-main {
    font-size: 12px !important;
    font-weight: 800;
    color: #ffe08a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .gm-header-balance-bonus {
    display: none !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .topbar-row > .gm-brand-cluster {
    display: flex !important;
    flex: 0 1 auto !important;
    max-width: min(118px, 30vw) !important;
    overflow: visible !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .brand {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .brand img {
    display: block !important;
    max-height: 26px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  .gm-sidebar-layout .auth-links {
    gap: 6px !important;
    flex-wrap: nowrap !important;
    min-width: 0 !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-login,
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-register {
    width: auto !important;
    min-width: 0 !important;
    padding: 7px 10px !important;
    gap: 5px;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-login i,
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-register i {
    margin: 0 !important;
    font-size: 13px !important;
  }
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-login span,
  body[data-auth-logged-in="0"] .gm-sidebar-layout .auth-links .btn-register span {
    display: inline !important;
    font-size: 11px !important;
    letter-spacing: .3px;
  }
  /* gamador-home.css misafir topbar center override */
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar .auth-links.auth-links-guest {
    width: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
  }
  .gm-sidebar-layout .auth-links .auth-btn { padding: 7px 9px !important; font-size: 11px !important; letter-spacing: .2px !important; min-height: 34px !important; white-space: nowrap; flex: 0 0 auto; }
  .gm-sidebar-layout .gm-header-deposit-btn,
  .gm-sidebar-layout .gm-header-withdraw-btn {
    min-width: 34px !important; width: 34px !important; height: 34px !important;
    padding: 0 !important; justify-content: center !important;
  }
  .gm-sidebar-layout .gm-header-deposit-btn span,
  .gm-sidebar-layout .gm-header-withdraw-btn span { display: none !important; }
  .gm-sidebar-layout .gm-header-deposit-btn i,
  .gm-sidebar-layout .gm-header-withdraw-btn i { margin: 0 !important; font-size: 14px !important; }
  .gm-sidebar-layout .gm-header-account-btn {
    min-width: 34px !important; width: 34px !important; height: 34px !important;
    padding: 0 !important;
    border-radius: 9px !important;
  }
  .gm-sidebar-layout .gm-header-account-btn i { font-size: 15px !important; }
  .gm-sidebar-layout .brand { flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .gm-sidebar-layout .brand img { max-height: 28px !important; width: auto !important; max-width: 100%; object-fit: contain; }
  body[data-auth-logged-in="0"] .brand img { max-height: 28px !important; }
  body[data-auth-logged-in="1"] .brand img { max-height: 30px !important; }
}
/* <=480: giris yapmis uyede yer acmak icin "Para Yatir" + "Cikis" ikon-only.
   ("Cikis" link <a.btn-register>; cikis-yapmis "Kayit Ol" ise <button.btn-register>
   oldugu icindeki metin korunur — sadece <a> hedeflenir.) */
@media (max-width: 480px) {
  body[data-auth-logged-in="1"] .gm-brand-cluster { gap: 5px; flex: 0 1 auto; }
  body[data-auth-logged-in="1"] .gm-brand-cluster .brand { max-width: min(96px, 26vw); }
  .gm-sidebar-layout .topbar-row { padding-right: 3px !important; }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .topbar-row > .auth-links,
  body[data-auth-logged-in="0"] .gm-sidebar-layout .topbar-row > .auth-links {
    max-width: calc(100vw - 52px) !important;
  }
  .gm-quick-icons { margin-left: 3px !important; margin-right: 2px !important; }
  .gm-header-pill { width: 28px; min-width: 28px; height: 28px; padding: 0; justify-content: center; border-radius: 8px; }
  .gm-sidebar-layout .brand img { max-height: 26px !important; }
  body[data-auth-logged-in="0"] .brand img { max-height: 24px !important; }
  .gm-sidebar-layout .gm-header-balance {
    padding: 4px 8px !important;
    max-width: 108px !important;
  }
  .gm-sidebar-layout .gm-header-balance-main { font-size: 11px !important; }
  .gm-sidebar-layout .gm-header-balance-bonus { display: none !important; }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .gm-header-deposit-btn,
  body[data-auth-logged-in="1"] .gm-sidebar-layout .gm-header-withdraw-btn {
    min-width: 32px !important; width: 32px !important; height: 32px !important;
    padding: 0 !important;
  }
  body[data-auth-logged-in="1"] .gm-sidebar-layout .gm-header-account-btn {
    min-width: 32px !important; width: 32px !important; height: 32px !important;
  }
}
/* <=380: dar telefonlarda butonlari biraz sikistir (cikis yapmis 2 genis CTA
   icin) ve logoyu state'e gore guvenli boyuta cek (tasma/kirpma yok). */
@media (max-width: 380px) {
  .gm-brand-cluster .brand { max-width: min(104px, 32vw); }
  .gm-sidebar-layout .auth-links .auth-btn { padding: 7px 6px !important; font-size: 10.5px !important; letter-spacing: 0 !important; }
  .gm-sidebar-layout .auth-links { gap: 4px !important; }
  body[data-auth-logged-in="0"] .brand img { max-height: 22px !important; }
  body[data-auth-logged-in="1"] .brand img { max-height: 24px !important; }
}
/* <=345: cok dar (320-345) telefonlarda ekstra guvenlik */
@media (max-width: 345px) {
  .gm-brand-cluster { gap: 4px; }
  .gm-brand-cluster .brand { max-width: min(92px, 30vw); }
  .gm-quick-icons { gap: 4px !important; }
  .gm-header-pill { width: 26px; min-width: 26px; height: 26px; }
  .gm-header-pill i { font-size: 14px !important; }
  .gm-sidebar-layout .topbar-row {
    padding-left: 42px !important;
    padding-right: 2px !important;
    gap: 4px !important;
  }
  .gm-sidebar-layout .topbar-row > .auth-links {
    max-width: calc(100vw - 46px) !important;
  }
  .gm-sidebar-layout .auth-links { gap: 4px !important; }
  .gm-sidebar-layout .auth-links .auth-btn { padding: 7px 5px !important; }
  body[data-auth-logged-in="0"] .brand img { max-height: 20px !important; }
  body[data-auth-logged-in="1"] .brand img { max-height: 22px !important; }
}
@media (min-width: 769px) {
  .gm-bottombar { display: none; }
  .gm-row { grid-template-columns: repeat(6, 1fr); }               /* tek satır 6 */
}
