@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --bg-main: #101320;          /* Oyunlardaki koyu lacivert ana zemin */
  --bg-surface: #171829;       /* Oyun panelleri ile birebir kart/panel zemini */
  --bg-surface-hover: #23253d; /* Kutu ve buton hover zemini */

  /* Çizgiler ve Sınırlar */
  --border-subtle: #262945;    /* İnce lacivert-mor ayırıcı çizgiler */
  --border-active: #5b53bd;    /* Odaklanmış/seçili mor-indigo kenarlıklar */

  /* Oyunlardaki İndigo / Mor Vurgular */
  --accent-primary: #6157e8;   /* Oyunlardaki ana mor-indigo vurgu */
  --accent-hover: #5248d4;     /* Buton hover rengi */
  --accent-glow: rgba(97, 87, 232, 0.18); /* Hafif indigo parlama */

  /* İkincil Detaylar */
  --accent-warm: #a5b4fc;      /* Bildirimler, rozetler, vurgulu metinler */
  --accent-dark-red: #252447;  /* Koyu indigo rozet/kutu arka planları */

  /* Metin Renkleri */
  --text-primary: #ffffff;     /* Başlıklar ve önemli yazılar */
  --text-secondary: #94a3b8;   /* Açıklama ve alt metinler */
  --text-muted: #64748b;       /* Pasif/devre dışı yazılar */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

/* Top Live Drops Bar */
.live-drops-bar {
  height: 48px;
  background: #141525;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 14px;
  overflow: hidden;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 11px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-primary);
  border-radius: 50%;
}

.live-feed-track {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.live-feed-track::-webkit-scrollbar {
  display: none;
}

.feed-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}
.feed-pill-user {
  color: var(--text-primary);
  font-weight: 600;
}
.feed-pill-game {
  color: var(--text-muted);
  font-size: 11px;
}
.feed-pill-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-warm);
  background: rgba(217, 56, 74, 0.1);
  border: 1px solid rgba(92, 29, 36, 0.6);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Main Header */
.top-header {
  height: 74px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.brand-logo:hover {
  transform: translateY(-1px);
}
.brand-logo:active {
  transform: scale(0.97);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(168, 85, 247, 0.7);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 35px rgba(56, 189, 248, 0.25), 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28), box-shadow 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
  display: block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  border-color: #c084fc;
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.85), 0 0 45px rgba(56, 189, 248, 0.4), 0 6px 18px rgba(0, 0, 0, 0.7);
}

.logo-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 25%, #0369a1 0%, #0c4a6e 65%, #082f49 100%);
  border: 1.5px solid #0ea5e9;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.brand-logo:hover .logo-emblem {
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transform: rotate(-3deg) scale(1.04);
}

.brand-text h1 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.35), 0 3px 12px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
}
.brand-text h1 span {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(168, 85, 247, 0.75));
  margin-left: 1px;
}
.brand-text p {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-box {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 5px 6px 5px 14px;
  gap: 12px;
}

.balance-amount {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dinar-badge {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.08);
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--bg-surface-hover);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
.btn-secondary:hover {
  border-color: var(--text-muted);
}

.btn-darkred {
  background: var(--accent-dark-red);
  border-color: var(--border-active);
  color: var(--accent-warm);
}
.btn-darkred:hover {
  background: #32305e;
  color: var(--text-primary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
}

/* App Layout & Collapsible Chat */
.app-layout {
  display: grid;
  grid-template-columns: 1fr 295px;
  min-height: calc(100vh - 68px);
  transition: grid-template-columns 0.22s ease;
}
.app-layout.chat-collapsed {
  grid-template-columns: 1fr 0px;
}
.app-layout.chat-collapsed .chat-sidebar {
  width: 0;
  min-width: 0;
  overflow: hidden;
  border-left: none;
  opacity: 0;
  pointer-events: none;
}

/* Sidebar Navigation */
.sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-group-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  padding: 0 10px;
  margin-bottom: 6px;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.14s ease;
  background: transparent;
  width: 100%;
  text-align: left;
}
.nav-item:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}
.nav-item.active {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--border-active);
  border-left: 3px solid var(--accent-primary);
}

.nav-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-main);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.sidebar-bot-card {
  margin-top: auto;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
}
.sidebar-bot-card h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.4px;
}
.sidebar-bot-card .cmd-preview {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--accent-warm);
  word-break: break-all;
  margin-bottom: 8px;
}
.sidebar-bot-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Content Area */
.main-content {
  padding: 26px 32px;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
}

.view-section {
  display: none;
}
.view-section.active {
  display: block;
  animation: viewSmoothEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes viewSmoothEnter {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.988);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes paneSmoothFade {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tactile Press & Smooth Hover Transitions Across Interactive Elements */
.btn:active,
.mines-start-btn:active,
.mines-secondary-btn:active,
.mines-mini-btn:active,
.mines-mode-tab:active,
.roul-play-btn:active,
.bj-act-btn:active,
.nav-item:active {
  transform: scale(0.96);
}

.game-poster-card:active {
  transform: translateY(-2px) scale(0.97);
}

/* Hero Banner */
.hero-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 26px 30px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-info h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.hero-info h2 span {
  color: var(--accent-primary);
}
.hero-info p {
  color: var(--text-secondary);
  font-size: 13.5px;
  max-width: 640px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.hero-cmd-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  padding: 9px 14px;
  border-radius: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.hero-cmd-pill strong {
  color: var(--accent-warm);
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-title span.dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent-primary);
}

/* Cases Grid */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.case-card {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  min-width: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.case-card:hover {
  background: #1d2036;
  border-color: rgba(99, 102, 241, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(99, 102, 241, 0.2);
}

.case-visual {
  width: 100%;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
  transition: transform 0.22s ease;
}
.case-card:hover .case-visual {
  transform: scale(1.06) translateY(-2px);
}

.case-name {
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 12px 0 8px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: 0.2px;
}

/* Segmented Bar (3 Parçalı Gösterge + Beyaz Tick) */
.case-seg-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 90%;
  height: 4px;
  margin-bottom: 12px;
}
.case-seg {
  flex: 1;
  height: 100%;
  background: #23263e;
  border-radius: 2px;
  position: relative;
}
.case-seg.accent-red {
  background: #f43f5e;
}
.case-seg.accent-gold {
  background: #f59e0b;
}
.case-seg.accent-purple {
  background: #a855f7;
}
.case-seg.accent-blue {
  background: #0284c7;
}
.case-seg-tick {
  position: absolute;
  right: -1px;
  top: -3px;
  bottom: -3px;
  width: 2.5px;
  background: #ffffff;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

/* Bottom Price Box with Cyan Lock Badge (Görsel Birebir 74.02 [🔒]) */
.case-price-box {
  width: 100%;
  background: #101320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
}
.case-card:hover .case-price-box {
  background: #1c2038;
  border-color: rgba(99, 102, 241, 0.35);
}
.case-price-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}
.case-lock-pill {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: url('/img/coin.png') no-repeat center / contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex-shrink: 0;
}
.case-lock-pill svg {
  display: none !important;
}

/* Quick Games Grid */
.games-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 14px;
}
.game-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.game-tile:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
}
.game-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-tile h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}
.game-tile p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Case Opening Spinner Arena */
.case-arena-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 24px;
}

.roller-viewport {
  position: relative;
  width: 100%;
  height: 144px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  margin: 18px 0;
}

.roller-center-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: var(--accent-primary);
  z-index: 10;
}

.roller-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;
  padding: 0 12px;
  will-change: transform;
}

.roller-item {
  width: 126px;
  height: 120px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-active);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
}
.roller-item .r-name {
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
.roller-item .r-val {
  font-size: 10.5px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  margin-top: 2px;
}

.rarity-common { border-bottom-color: #57534e !important; }
.rarity-uncommon { border-bottom-color: #0284c7 !important; }
.rarity-rare { border-bottom-color: #7e22ce !important; }
.rarity-epic { border-bottom-color: #be123c !important; }
.rarity-legendary { border-bottom-color: var(--accent-primary) !important; }

.case-contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

.item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-bottom-width: 2px;
  border-radius: 9px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.item-chance-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  background: var(--bg-main);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

/* Game Layout Standard */
.game-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

.game-controls {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-stage {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

/* Form Controls */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  padding: 4px 8px;
}
.input-row:focus-within {
  border-color: var(--border-active);
}
.input-row input,
.text-input,
.select-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 600;
  width: 100%;
  padding: 7px 6px;
}
.text-input, .select-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
}
.text-input:focus, .select-input:focus {
  border-color: var(--border-active);
}

.quick-bet-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
}
.quick-bet-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-primary);
}

/* ============================================================
   MINES MODERN UI (MATCHING SCREENSHOT 2)
   ============================================================ */
.mines-modern-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: stretch;
}

.mines-modern-sidebar {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 580px;
}

.mines-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #10111e;
  border-radius: 8px;
  padding: 5px;
  gap: 4px;
}

.mines-mode-tab {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 11px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #70758f;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mines-mode-tab.active {
  background: #3e382e;
  color: #facc15;
}

.mines-field-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mines-field-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.2px;
}

.mines-play-amount-box {
  display: flex;
  align-items: center;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 6px 8px 6px 12px;
  gap: 8px;
}

.mines-coin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mines-play-amount-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  width: 100%;
  min-width: 0;
}

.mines-bet-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mines-bet-pill {
  background: #6157e8;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 10px;
  cursor: pointer;
  transition: filter 0.14s ease, transform 0.1s ease;
}

.mines-bet-pill:hover {
  filter: brightness(1.12);
}

.mines-bet-pill:active {
  transform: translateY(1px);
}

/* Mines Count Row */
.mines-count-control-row {
  display: grid;
  grid-template-columns: 42px 42px 1fr;
  gap: 8px;
  align-items: center;
}

.mines-dynamite-icon-box,
.mines-count-num-box {
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mines-count-num-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  -moz-appearance: textfield;
}
.mines-count-num-box input::-webkit-outer-spin-button,
.mines-count-num-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mines-slider-wrap {
  position: relative;
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.mines-slider-track-bg {
  position: relative;
  width: 100%;
  height: 7px;
  background: #4b4e7d;
  border-radius: 99px;
  overflow: hidden;
}

.mines-slider-track-fill {
  height: 100%;
  background: #ef4444;
  border-radius: 99px;
  width: 17.4%;
}

.mines-diamond-thumb {
  position: absolute;
  top: 50%;
  left: 24%;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}

.mines-diamond-thumb span {
  transform: rotate(-45deg);
  font-size: 8px;
  font-weight: 900;
  color: #475569;
  letter-spacing: -0.5px;
  line-height: 1;
}

.mines-slider-wrap input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  margin: 0;
}

/* STAKE-STİL ÇARPAN & KÂR PANELİ */
.mines-stake-stats-card {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 14px 0 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.mines-stake-stats-row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.mines-stake-stat-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: #111322;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
  transition: all 0.2s ease;
}
.mines-stake-stat-col.highlight {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}
.mines-stat-title {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.mines-stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}
.mines-stake-stat-col.highlight .mines-stat-value {
  color: #818cf8;
}
.mines-stat-sub {
  font-size: 11px;
  color: #4ade80;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mines-stake-mini-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 8px;
  border-radius: 6px;
}
.mines-stake-mini-counters strong {
  color: #ffffff;
  font-weight: 800;
}
.mines-stake-mini-counters .sep {
  color: rgba(255, 255, 255, 0.2);
}

/* STAKE-STİL ÇARPAN İLERLEME ŞERİDİ (MINES ROADMAP) */
.mines-roadmap-wrap {
  width: 100%;
  max-width: 480px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20px, black calc(100% - 20px), transparent 100%);
  box-sizing: border-box;
}

.mines-roadmap-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.mines-roadmap-strip::-webkit-scrollbar {
  display: none;
}

.mines-mult-pill {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 5px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 66px;
  height: 42px;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  box-sizing: border-box;
}

.mines-mult-pill .mult-step-num {
  font-size: 9.5px;
  color: #64748b;
  font-weight: 800;
  line-height: 1;
}

.mines-mult-pill .mult-step-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: #cbd5e1;
  line-height: 1.1;
}

.mines-mult-pill.completed {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
  transform: scale(1.02);
}

.mines-mult-pill.completed .mult-step-val {
  color: #4ade80;
}

.mines-mult-pill.completed .mult-step-num {
  color: #86efac;
}

.mines-mult-pill.active-next {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.28) 0%, rgba(79, 70, 229, 0.18) 100%);
  border-color: #818cf8;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px) scale(1.05);
  animation: minesPillPulse 1.4s ease-in-out infinite alternate;
}

.mines-mult-pill.active-next .mult-step-val {
  color: #ffffff;
}

.mines-mult-pill.active-next .mult-step-num {
  color: #c7d2fe;
}

.mines-mult-pill.preview-start {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.12);
}

.mines-mult-pill.preview-start .mult-step-val {
  color: #a5b4fc;
}

@keyframes minesPillPulse {
  from {
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
  }
  to {
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.7);
    border-color: #c7d2fe;
  }
}

.mines-main-start-btn {
  width: 100%;
  height: 48px;
  background: #6157e8;
  border: none;
  border-bottom: 3px solid #483ec2;
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.mines-main-start-btn:hover {
  filter: brightness(1.1);
}

.mines-main-start-btn:active {
  transform: translateY(1px);
}

.mines-main-cashout-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border: none !important;
  border-bottom: 3px solid #047857 !important;
  border-radius: 8px;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.15s ease, transform 0.1s ease;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.mines-main-cashout-btn:hover {
  filter: brightness(1.12);
}

.mines-main-cashout-btn:active {
  transform: translateY(1px);
}

.mines-random-pick-btn {
  width: 100%;
  height: 40px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mines-random-pick-btn:hover {
  background: #2f3252;
  color: #ffffff;
}

/* Tower Zirve Zafer Kutusu (Tower Full Kazandın Banner) */
.tower-victory-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(18, 20, 42, 0.93) 0%, rgba(8, 9, 20, 0.98) 100%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: twVicFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-radius: 12px;
  cursor: pointer;
  will-change: opacity;
}

@keyframes twVicFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tower-victory-card {
  background: linear-gradient(160deg, #1e1b4b 0%, #111026 100%);
  border: 2px solid #8b5cf6;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(139, 92, 246, 0.45);
  border-radius: 20px;
  padding: 30px 36px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  animation: twCardPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: default;
  will-change: transform, opacity;
}

@keyframes twCardPop {
  0% { transform: scale(0.65); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.tower-victory-crown {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 14px rgba(250, 204, 21, 0.75));
  animation: twCrownBounce 1.6s infinite ease-in-out;
}

@keyframes twCrownBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.tower-victory-badge {
  display: inline-block;
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.7);
  color: #d8b4fe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.tower-victory-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, #fef08a, #f59e0b, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.tower-victory-mult {
  font-size: 40px;
  font-weight: 900;
  color: #10b981;
  text-shadow: 0 0 24px rgba(16, 185, 129, 0.75);
  margin-bottom: 12px;
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

.tower-victory-payout-box {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  border-radius: 12px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tower-vic-amount {
  font-size: 20px;
  font-weight: 800;
  color: #34d399;
}

.tower-vic-coin {
  width: 22px;
  height: 22px;
}

.tower-victory-sub {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.tower-vic-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 14.5px;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45);
  transition: all 0.18s ease;
}
.tower-vic-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(16, 185, 129, 0.6);
}
.tower-vic-btn:active {
  transform: translateY(1px);
}

/* Right Board Stage & Provably Fair Footer */
.mines-modern-stage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mines-modern-board-card {
  background: #151626;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 580px;
  position: relative;
  overflow: hidden;
}

.mines-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: auto auto;
}

.mine-tile {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #2c2f4a 0%, #22243b 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 5px solid #161826;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  transition: transform 0.12s ease, filter 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
  user-select: none;
  padding: 0;
  box-sizing: border-box;
}

.mine-tile svg {
  max-width: 54%;
  max-height: 54%;
  width: auto;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.mine-tile:hover:not(:disabled) {
  filter: brightness(1.18);
  transform: translateY(-2px);
  border-color: rgba(97, 87, 232, 0.4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.mine-tile:active:not(:disabled) {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.mine-tile.auto-selected {
  border-color: #facc15;
  box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.35), inset 0 0 14px rgba(250, 204, 21, 0.18);
}

.mine-tile.safe {
  background: linear-gradient(180deg, #273e3c 0%, #1b2c2d 100%);
  border-color: #10b981;
  border-bottom-color: #065f46;
  color: #34d399;
}

.mine-tile.boom {
  background: linear-gradient(180deg, #4c1d24 0%, #311319 100%);
  border-color: #ef4444;
  border-bottom-color: #7f1d1d;
  color: #f87171;
}

.mine-tile.revealed-mine {
  background: linear-gradient(180deg, #381a1f 0%, #241115 100%);
  border-color: rgba(239, 68, 68, 0.45);
  border-bottom-color: #551419;
  opacity: 0.85;
}

.mine-tile.revealed-dim-safe {
  opacity: 0.45;
}

.mine-tile-mult-tag {
  position: absolute;
  bottom: 5px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  padding: 1px 6px;
  border-radius: 4px;
  color: #6ee7b7;
}

.mines-modern-footer-card {
  background: #151626;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.provably-fair-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.provably-fair-badge .pf-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-align: left;
}

.provably-fair-badge .pf-text span {
  font-size: 9px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

.provably-fair-badge .pf-text strong {
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.4px;
}

/* ============================================================
   KENO MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.keno-diff-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #121322;
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.keno-diff-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 9px 4px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  color: #70758f;
  cursor: pointer;
  transition: all 0.14s ease;
}

.keno-diff-btn.active {
  background: #292b47;
  color: #ffffff;
}

.keno-quick-clear-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.keno-sub-btn {
  height: 44px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: filter 0.14s ease, transform 0.1s ease;
}

.keno-sub-btn.quick {
  background: #404272;
  border-bottom: 3px solid #2d2f54;
  color: #cbd5e1;
}

.keno-sub-btn.clear {
  background: #292b47;
  border-bottom: 3px solid #1d1f36;
  color: #8b90ad;
}

.keno-sub-btn:hover {
  filter: brightness(1.12);
  color: #ffffff;
}

.keno-sub-btn:active {
  transform: translateY(1px);
}

.keno-play-btn.disabled-look {
  background: #494399;
  border-bottom-color: #373278;
  color: #b4b0e8;
}

.keno-board-card {
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 28px 24px 28px;
}

.keno-grid {
  display: grid;
  grid-template-columns: repeat(8, 72px);
  grid-template-rows: repeat(5, 72px);
  gap: 10px;
}

.keno-tile {
  position: relative;
  background: linear-gradient(180deg, #323454 0%, #272944 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 5px solid #1e2036;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  user-select: none;
  transition: transform 0.12s ease, filter 0.14s ease, background 0.14s ease;
  padding: 0;
}

.keno-tile:hover:not(:disabled) {
  filter: brightness(1.14);
  transform: translateY(-2px);
}

.keno-tile.selected {
  background: linear-gradient(180deg, #6e64f4 0%, #554bd9 100%);
  border-color: #818cf8;
  border-bottom-color: #3d34a8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(97, 87, 232, 0.35);
}

.keno-tile.hit {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-color: #6ee7b7;
  border-bottom-color: #065f46;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
}

.keno-tile.drawn-miss {
  background: linear-gradient(180deg, #3b1c28 0%, #26111a 100%);
  border-color: rgba(239, 68, 68, 0.45);
  border-bottom-color: #1a0b11;
  color: #f87171;
}

.keno-payouts-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
  width: 100%;
}

.keno-mult-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 68px;
  flex: 0 1 auto;
}

.keno-mult-top,
.keno-mult-bot {
  height: 40px;
  padding: 0 12px;
  background: #323454;
  border-bottom: 3px solid #22243b;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
}

.keno-mult-col.active-hit .keno-mult-top,
.keno-mult-col.active-hit .keno-mult-bot {
  background: #10b981;
  border-bottom-color: #047857;
  color: #052e16;
}

.keno-green-gem {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(135deg, #4ade80, #16a34a);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.55);
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================
   TOWER MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.tower-diff-select-wrap {
  position: relative;
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.tower-diff-select-wrap select {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 0 34px 0 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.tower-diff-select-wrap select option {
  background: #1c1e33;
  color: #ffffff;
}

.tower-diff-chevron {
  position: absolute;
  right: 12px;
  color: #94a3b8;
  pointer-events: none;
}

.tower-scene-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 536px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 20px 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tower-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.tower-stone-monument {
  position: relative;
  z-index: 2;
  width: 425px;
  max-width: 100%;
  background:
    repeating-linear-gradient(
      180deg,
      #d8d2fc 0px,
      #d8d2fc 26px,
      #2e294e 26px,
      #2e294e 28px,
      #bfb7f6 28px,
      #bfb7f6 54px,
      #2e294e 54px,
      #2e294e 56px
    );
  border: 2.5px solid #2b2647;
  border-radius: 5px;
  padding: 14px 16px 4px 16px;
  box-shadow: 0 16px 42px rgba(9, 8, 20, 0.65);
}

.tower-inner-recess {
  background: #0a0912;
  border: 3px solid #231f3a;
  border-radius: 6px;
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tower-stone-base-ledge {
  height: 22px;
  margin-top: 5px;
  background: linear-gradient(180deg, #ccc5fb 0%, #b5adf2 100%);
  border: 2px solid #2b2647;
  border-radius: 3px;
}

.tower-row {
  display: grid;
  gap: 6px;
}

.tower-cell {
  position: relative;
  height: 44px;
  border-radius: 5px;
  background-color: #1c192b;
  background-image:
    linear-gradient(180deg, rgba(43, 38, 66, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 38, 66, 0.45) 1px, transparent 1px);
  background-size: 100% 14px, 28px 14px;
  border: 1.5px solid #2e2946;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  padding: 0;
  transition: all 0.14s ease;
  user-select: none;
}

.tower-row.active-climb .tower-cell {
  border-color: #6359e9;
  background-color: #25223d;
  color: #cbd5e1;
  box-shadow: inset 0 0 10px rgba(99, 89, 233, 0.25);
}

.tower-row.active-climb .tower-cell:hover {
  border-color: #a5b4fc;
  background-color: #2f2b4f;
  transform: translateY(-1px);
  color: #ffffff;
}

.tower-cell.safe-picked {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-color: #6ee7b7;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.tower-cell.safe-revealed {
  border-color: rgba(16, 185, 129, 0.45);
  background-color: rgba(16, 185, 129, 0.14);
  color: #6ee7b7;
}

.tower-cell.boom-picked {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #fca5a5;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.55);
}

.tower-cell.trap-revealed {
  border-color: rgba(239, 68, 68, 0.4);
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* ============================================================
   CRASH MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.crash-modern-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

.crash-players-sidebar {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  min-height: 495px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crash-players-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 800;
}

.crash-p-count {
  color: #ffffff;
}

.crash-p-total {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

.crash-p-total .in-game-lbl {
  color: #8b90ad;
  font-weight: 700;
}

.crash-players-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crash-player-skeleton {
  background: #1d1f35;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crash-player-skeleton .sk-left {
  width: 118px;
  height: 28px;
  background: #252843;
  border-radius: 6px;
}

.crash-player-skeleton .sk-right {
  width: 52px;
  height: 18px;
  background: #252843;
  border-radius: 5px;
}

.crash-player-row {
  background: #1d1f35;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
}

.crash-player-row .cp-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.crash-player-row .cp-bet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #facc15;
  font-family: 'JetBrains Mono', monospace;
}

.crash-player-row.cashed .cp-bet {
  color: #4ade80;
}

.crash-main-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.game-history-strip,
.crash-history-strip {
  background: #151626;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}
.game-history-strip::-webkit-scrollbar,
.crash-history-strip::-webkit-scrollbar {
  display: none;
}

.game-hist-pill,
.crash-hist-pill {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 7px;
  background: #22243b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid #181a2e;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  user-select: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.game-hist-pill:hover,
.crash-hist-pill:hover {
  transform: translateY(-1px);
}

.game-hist-pill.high,
.crash-hist-pill.high {
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.35);
  border-bottom-color: rgba(190, 18, 60, 0.45);
  color: #fb7185;
}

.game-hist-pill.gold {
  background: rgba(234, 179, 8, 0.14);
  border-color: rgba(234, 179, 8, 0.4);
  border-bottom-color: rgba(202, 138, 4, 0.5);
  color: #facc15;
}

.game-hist-pill.cyan,
.game-hist-pill.diamond {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.4);
  border-bottom-color: rgba(8, 145, 178, 0.5);
  color: #38bdf8;
}

.game-hist-pill.green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  border-bottom-color: rgba(22, 163, 74, 0.45);
  color: #4ade80;
}

.game-hist-pill.zero,
.game-hist-pill.bust {
  background: #191a2b;
  border-color: rgba(255, 255, 255, 0.04);
  border-bottom-color: #121320;
  color: #64748b;
}

.crash-graph-card {
  position: relative;
  background: #151626;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  height: 365px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.crash-graph-card.crashed-state {
  border-color: #f43f5e;
}

.crash-graph-overlay {
  position: absolute;
  top: 24px;
  left: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.crash-big-mult {
  font-family: inherit;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1px;
  display: inline-flex;
  align-items: flex-start;
}

.crash-big-mult.crashed {
  color: #f43f5e;
}

.crash-big-mult.cashed {
  color: #4ade80;
}

.crash-mult-sup {
  font-size: 22px;
  font-weight: 900;
  margin-left: 3px;
  margin-top: 2px;
}

.crash-sub-label {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

#crashCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

.crash-bottom-controls-card {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.crash-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.crash-autocash-box {
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.crash-autocash-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
}

.crash-join-btn {
  width: 100%;
  height: 48px;
  background: #494399;
  border: none;
  border-bottom: 3px solid #353075;
  border-radius: 8px;
  color: #b4b0e8;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.crash-join-btn:hover {
  background: #5b53bd;
  color: #ffffff;
}

.crash-join-btn.cashout-active {
  background: linear-gradient(135deg, #10b981, #059669);
  border-bottom-color: #047857;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.crash-join-btn.cashed-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  border-bottom-color: #047857;
  color: #ffffff;
}

.crash-join-btn.crashed-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  border-bottom-color: #991b1b;
  color: #ffffff;
  opacity: 0.92;
  cursor: not-allowed;
}

/* ============================================================
   LIMBO MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.limbo-profit-box {
  height: 44px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.28) 0%, #252740 82%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.limbo-profit-val {
  color: #34d399;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
}

.limbo-board-card {
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  min-height: 520px;
}

.limbo-center-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.limbo-huge-mult {
  font-family: inherit;
  font-size: 74px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1.5px;
  user-select: none;
  transition: color 0.14s ease, transform 0.12s ease;
}

.limbo-huge-mult.win {
  color: #34d399;
}

.limbo-huge-mult.lose {
  color: #f43f5e;
}

.limbo-bottom-params-card {
  width: 100%;
  background: #1a1c30;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.limbo-param-input-box {
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.limbo-param-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  -moz-appearance: textfield;
}
.limbo-param-input-box input::-webkit-outer-spin-button,
.limbo-param-input-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 900px) {
  .mines-modern-layout,
  .crash-modern-layout,
  .crash-inputs-grid,
  .limbo-bottom-params-card {
    grid-template-columns: 1fr;
  }
  .mines-grid {
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    max-width: 380px;
    gap: 8px;
  }
  .keno-grid {
    grid-template-columns: repeat(8, 40px);
    grid-template-rows: repeat(5, 40px);
    gap: 6px;
  }
  .keno-tile {
    font-size: 13px;
  }
  .tower-stone-monument {
    width: 100%;
  }
}

/* ============================================================
   ROULETTE MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.roulette-modern-stage {
  background: #141525;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 24px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roul-top-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.roul-top-Bar > :last-child,
.roul-top-bar .provably-fair-badge {
  justify-self: end;
}

.roul-eos-status {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.2px;
}

.roul-stats-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 16px;
}

.roul-stat-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.roul-last100-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.roul-stat-pill {
  background: #22243b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
}

.r-dot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}
.r-dot.blue {
  background: #5ca9fb;
}
.r-dot.yellow {
  background: #f5c618;
}
.r-dot.green {
  background: #1ec35b;
}
.r-dot.bait-blue {
  background: linear-gradient(90deg, #5ca9fb 50%, #9ca3af 50%);
}
.r-dot.bait-yellow {
  background: linear-gradient(90deg, #f5c618 50%, #9ca3af 50%);
}

.roul-center-jackpot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.roul-star-trio {
  display: flex;
  align-items: center;
  gap: 5px;
}

.roul-star-box {
  width: 34px;
  height: 36px;
  background: #252740;
  border-bottom: 3px solid #1b1d30;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roul-pot-display {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
}

.roul-prev-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.roul-prev-rolls-bar {
  background: #1f2138;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.roul-strip-wrap,
.roulette-strip-wrap {
  width: 100%;
  height: 132px;
  background: #1d1f36;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.roul-center-needle {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 2.5px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  z-index: 4;
  pointer-events: none;
}

.roulette-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 10px;
  padding: 0 12px;
}

.r-slot {
  width: 104px;
  height: 104px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
  border: none;
}

.r-slot.red,
.r-slot.blue {
  background: #61aefb;
  border-bottom: 5px solid #96c9fc;
  color: #2f69a8;
}

.r-slot.black,
.r-slot.yellow {
  background: #f6c718;
  border-bottom: 5px solid #fae075;
  color: #9e7b08;
}

.r-slot.green {
  background: #1ec35b;
  border-bottom: 5px solid #62df90;
  color: #0e6f31;
}

.roul-section-divider {
  width: 100%;
  height: 2px;
  background: #23253e;
  margin: 4px 0;
}

.roul-controls-bar {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
  align-items: center;
}

.roul-mode-tabs {
  height: 46px;
}

.roul-bet-input-bar {
  height: 46px;
  background: #121322;
  border: 1.5px solid #2b2d4a;
  border-radius: 8px;
  padding: 0 8px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roul-bet-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
}

.roul-play-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 2px;
}

.roul-play-card {
  height: 66px;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.14s ease, transform 0.1s ease;
}

.roul-play-card:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.roul-play-card:active {
  transform: translateY(1px);
}

.roul-play-card .rp-label {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.roul-play-card .rp-label strong {
  font-size: 20px;
  font-weight: 900;
}

.roul-play-card.blue {
  background: #3d6b99;
  border-bottom: 4px solid #2b4e73;
  color: #1c3550;
}

.roul-play-card.green {
  background: #1d7c46;
  border-bottom: 4px solid #13562f;
  color: #0b391e;
}

.roul-play-card.yellow {
  background: #eab308;
  border-bottom: 4px solid #a16207;
  color: #422006;
}

.roul-play-card.bait {
  background: #f6c718;
  border-bottom: 4px solid #c99f06;
  color: #423000;
}

@media (max-width: 950px) {
  .roul-top-bar,
  .roul-stats-row,
  .roul-controls-bar {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .roul-play-buttons-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   DICE MODERN UI (MATCHING SCREENSHOT)
   ============================================================ */
.dice-board-card {
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  min-height: 520px;
}

.dice-slider-center-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
}

.dice-slider-container {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dice-scale-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #ffffff;
}

.dice-track-capsule {
  position: relative;
  width: 100%;
  height: 28px;
  background: #1d1f35;
  border: 3px solid #282b47;
  border-radius: 99px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
}

.dice-tick-pointer {
  position: absolute;
  top: -8px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #282b47;
  transform: translateX(-50%);
  pointer-events: none;
}

.dice-track-inner {
  width: 100%;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, #e11d48 0%, #e11d48 50%, #00e701 50%, #00e701 100%);
}

.dice-square-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 34px;
  transform: translate(-50%, -50%);
  background: #b0b4ce;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}

.dice-square-handle span {
  font-size: 11px;
  font-weight: 900;
  color: #7d829e;
  letter-spacing: 1px;
}

/* Stake-Stili Kayan ve Dönen Zar Göstergesi */
.dice-roll-marker {
  position: absolute;
  top: -66px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: left, transform;
}

.dice-roll-marker.is-rolling .dice-3d-cube {
  animation: diceCubeSpin 0.22s infinite linear;
}

@keyframes diceCubeSpin {
  0% { transform: rotate(0deg) scale(1.1); }
  25% { transform: rotate(90deg) scale(1.18); }
  50% { transform: rotate(180deg) scale(1.1); }
  75% { transform: rotate(270deg) scale(1.18); }
  100% { transform: rotate(360deg) scale(1.1); }
}

.dice-3d-cube {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.dice-roll-marker.is-landed .dice-3d-cube {
  animation: diceLandPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes diceLandPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.dice-roll-marker .dice-roll-floating-badge {
  position: static;
  transform: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 7px;
  background: #191b2e;
  border: 1.5px solid #22c55e;
  color: #22c55e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(34, 197, 94, 0.3);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.dice-roll-marker.win .dice-roll-floating-badge {
  border-color: #22c55e;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 16px rgba(34, 197, 94, 0.5);
}

.dice-roll-marker.win .dice-cube-body {
  stroke: #22c55e !important;
  fill: #14281f !important;
}
.dice-roll-marker.win .dice-pip-center {
  fill: #22c55e !important;
}

.dice-roll-marker.lose .dice-roll-floating-badge {
  border-color: #f43f5e;
  color: #fb7185;
  background: rgba(244, 63, 94, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 16px rgba(244, 63, 94, 0.5);
}

.dice-roll-marker.lose .dice-cube-body {
  stroke: #f43f5e !important;
  fill: #2d151c !important;
}
.dice-roll-marker.lose .dice-pip-center {
  fill: #f43f5e !important;
}

.dice-roll-pointer-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #22c55e;
  margin-top: 1px;
}

.dice-roll-marker.lose .dice-roll-pointer-arrow {
  border-top-color: #f43f5e;
}
.dice-roll-marker.win .dice-roll-pointer-arrow {
  border-top-color: #22c55e;
}

.dice-track-capsule input[type="range"] {
  position: absolute;
  inset: -6px 0;
  width: 100%;
  height: 40px;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
  margin: 0;
}

.dice-bottom-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dice-visual-modes-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1c30;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 9px;
  padding: 6px;
  align-self: flex-start;
}

.dice-vmode-btn {
  height: 32px;
  padding: 0 10px;
  background: #23253e;
  border: 1.5px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.14s ease;
}

.dice-vmode-btn.active {
  border-color: #7c69ef;
  background: #2a2d4a;
}

.dice-vmode-btn .vm-seg {
  width: 8px;
  height: 5px;
  border-radius: 2px;
}
.dice-vmode-btn .vm-seg.red {
  background: #e11d48;
}
.dice-vmode-btn .vm-seg.green {
  background: #00e701;
}
.dice-vmode-btn .vm-knob {
  width: 9px;
  height: 11px;
  background: #e2e8f0;
  border-radius: 2px;
}

.dice-params-card {
  width: 100%;
  background: #1a1c30;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dice-center-input input {
  text-align: center;
}

@media (max-width: 900px) {
  .dice-params-card {
    grid-template-columns: 1fr;
  }
  .dice-slider-center-wrap {
    padding: 20px 10px;
  }
}
/* ============================================================
   BLACKJACK 21 MODERN UI
   ============================================================ */
.bj-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.bj-act-btn {
  height: 44px;
  background: #252740;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 3px solid #1a1c30;
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.14s ease;
}

.bj-act-btn:hover:not(:disabled) {
  background: #303354;
  transform: translateY(-1px);
}

.bj-act-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.bj-board-card {
  position: relative;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 32px;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 50%, rgba(97, 87, 232, 0.09) 0%, transparent 70%),
    #151626;
}

/* Sigorta (Insurance) Karar Penceresi */
.bj-insurance-prompt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 90;
  width: 90%;
  max-width: 440px;
  background: rgba(18, 20, 36, 0.95);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(168, 85, 247, 0.25);
  border-radius: 18px;
  padding: 24px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  animation: bjPopWin 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bj-insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #d8b4fe;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.bj-insurance-text {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 20px;
}

.bj-insurance-text strong {
  color: #facc15;
}

.bj-insurance-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.bj-ins-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  border: none;
}

.bj-ins-btn.accept {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}

.bj-ins-btn.accept:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.bj-ins-btn.decline {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.bj-ins-btn.decline:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  transform: translateY(-2px);
}

/* Kazanınca Ekrana Gelen Stake-Stili Büyük Zafer & Çarpan Kartı */
.bj-win-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 11, 20, 0.75);
  backdrop-filter: blur(4px);
  z-index: 100;
  cursor: pointer;
  animation: bjFadeIn 0.25s ease-out;
}

@keyframes bjFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.bj-win-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #181b30 0%, #101222 100%);
  border: 2px solid #22c55e;
  border-radius: 20px;
  padding: 24px 38px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 32px rgba(34, 197, 94, 0.35);
  animation: bjPopWin 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-width: 250px;
  text-align: center;
}

.bj-win-card.is-blackjack {
  border-color: #facc15;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 36px rgba(250, 204, 21, 0.4);
}

@keyframes bjPopWin {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.06); }
  100% { transform: scale(1); opacity: 1; }
}

.bj-win-multiplier-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px;
  font-weight: 900;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.14);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: 99px;
  padding: 4px 22px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(34, 197, 94, 0.5);
  margin-bottom: 8px;
}

.bj-win-card.is-blackjack .bj-win-multiplier-badge {
  color: #facc15;
  background: rgba(250, 204, 21, 0.15);
  border-color: rgba(250, 204, 21, 0.5);
  text-shadow: 0 0 16px rgba(250, 204, 21, 0.6);
}

.bj-win-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 14px;
}

.bj-win-payout-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 24px;
  width: 100%;
}

.bj-win-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  text-transform: uppercase;
}

.bj-win-amount {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 900;
  color: #4ade80;
}

.bj-win-coin-icon {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 6px rgba(250, 204, 21, 0.7));
}

.bj-hand-zone {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.bj-hand-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1d1f36;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  padding: 5px 14px;
}

.bj-role-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #94a3b8;
}
.bj-role-tag.player {
  color: #a5b4fc;
}

.bj-score-pill {
  background: #2b2e4f;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 900;
  padding: 2px 9px;
  border-radius: 99px;
}
.bj-score-pill.win {
  background: #10b981;
  color: #052e16;
}
.bj-score-pill.bust {
  background: #ef4444;
  color: #ffffff;
}

.bj-cards-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 136px;
  flex-wrap: wrap;
}

.bj-empty-card-slot {
  width: 94px;
  height: 134px;
  border-radius: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  background: rgba(15, 16, 28, 0.25);
  box-sizing: border-box;
}

.bj-card {
  width: 94px;
  height: 134px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-bottom: 5px solid #cbd5e1;
  border-radius: 10px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  user-select: none;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.18, 0.9, 0.28, 1.25), box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease;
  will-change: transform, opacity;
}

.bj-card.deal-anim {
  animation: bjCardDealFly 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bj-card.flip-anim {
  animation: bjCardFlipOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.bj-card.flip-anim-in {
  animation: bjCardFlipIn 0.26s cubic-bezier(0.1, 0.9, 0.2, 1) forwards;
}

.bj-card.busted {
  filter: grayscale(0.6) brightness(0.75);
  border-color: #ef4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4) !important;
}

.bj-card.blackjack-glow {
  border-color: #facc15 !important;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.6) !important;
  animation: bjGoldShine 1.4s infinite alternate;
}

@keyframes bjGoldShine {
  from { box-shadow: 0 0 14px rgba(250, 204, 21, 0.4); transform: scale(1.02); }
  to { box-shadow: 0 0 28px rgba(250, 204, 21, 0.75); transform: scale(1.04); }
}

@keyframes bjCardDealFly {
  0% {
    opacity: 0;
    transform: translate3d(80px, -150px, 0) scale(0.45) rotate(18deg);
    filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.75));
  }
  65% {
    opacity: 1;
    transform: translate3d(-3px, 4px, 0) scale(1.04) rotate(-2deg);
    filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5));
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
  }
}

@keyframes bjCardFlipOut {
  0% {
    transform: perspective(600px) rotateY(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: perspective(600px) rotateY(90deg) scale(1.06);
    opacity: 0.85;
  }
}

@keyframes bjCardFlipIn {
  0% {
    transform: perspective(600px) rotateY(-90deg) scale(1.06);
    opacity: 0.85;
  }
  100% {
    transform: perspective(600px) rotateY(0deg) scale(1);
    opacity: 1;
  }
}

/* CBA Open Slot (Oyuncu / Bot Bekleniyor) */
.cba-player-col.is-open-slot {
  background: rgba(15, 17, 30, 0.45) !important;
  border: 1.5px dashed rgba(168, 85, 247, 0.35) !important;
}

.cba-open-slot-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(168, 85, 247, 0.15);
  border: 1.5px dashed #a855f7;
  color: #c084fc;
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite alternate;
}

.cba-role-badge.role-open {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.cba-open-slot-action-box {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 5;
  background: rgba(10, 11, 20, 0.65);
  backdrop-filter: blur(2px);
  padding: 16px;
  text-align: center;
}

.cba-summon-bot-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 9px 18px !important;
  border-radius: 9px !important;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.cba-summon-bot-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.6) !important;
}

.cba-open-slot-hint {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.cba-fill-bots-btn {
  background: rgba(168, 85, 247, 0.15) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  color: #c084fc !important;
  font-weight: 800 !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.cba-fill-bots-btn:hover {
  background: rgba(168, 85, 247, 0.3) !important;
  border-color: #a855f7 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@keyframes bjScoreBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.bj-score-pill.pulse {
  animation: bjScoreBounce 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.bj-card.red-suit {
  color: #e11d48;
}

.bj-card.black-suit {
  color: #1e293b;
}

.bj-card-corner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  font-weight: 900;
  font-size: 17px;
}

.bj-card-corner.bottom {
  align-items: flex-end;
  transform: rotate(180deg);
}

.bj-card-center-suit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 34px;
  line-height: 1;
}

.bj-card.face-down {
  background: linear-gradient(135deg, #32355c 0%, #1f213d 100%);
  border-color: #4f548c;
  border-bottom-color: #16182e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bj-card-back-pattern {
  width: 72px;
  height: 110px;
  border: 1.5px dashed rgba(165, 180, 252, 0.32);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  font-weight: 900;
  font-size: 18px;
}

.bj-table-ribbon {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bj-ribbon-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.bj-ribbon-badge {
  background: #1c1e34;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #94a3b8;
  text-align: center;
}

.bj-ribbon-badge.win {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10b981;
  color: #34d399;
}

.bj-ribbon-badge.lose {
  background: rgba(244, 63, 94, 0.16);
  border-color: #f43f5e;
  color: #fb7185;
}

.bj-ribbon-badge.push {
  background: rgba(250, 204, 21, 0.14);
  border-color: #facc15;
  color: #fde047;
}

.coin-circle {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--border-active);
  background: var(--bg-surface);
  transition: transform 0.8s cubic-bezier(0.2, 0.85, 0.3, 1);
}
.coin-circle.flipping {
  transform: rotateY(1080deg);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 22, 0.82);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.24s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  width: 100%;
  max-width: 470px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  transform: translateY(14px) scale(0.95);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}
.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.15s ease;
}
.modal-close:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  transform: rotate(90deg);
}

.command-copy-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 13px 15px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.command-copy-box code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--accent-warm);
  word-break: break-all;
}

.warning-banner {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.warning-banner strong {
  color: var(--text-primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 999;
}
.toast {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-primary);
  color: var(--text-primary);
  padding: 12px 16px;
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  font-size: 12.5px;
  font-weight: 500;
  max-width: 340px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  animation: toastSmoothSlide 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes toastSmoothSlide {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.panel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
}

/* User Profile Button & Dropdown Menu (Matching Screenshots) */
.user-menu-wrapper {
  position: relative;
}

.user-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #141525;
  border: 1px solid var(--border-subtle);
  padding: 7px 14px;
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.user-trigger-btn:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-active);
}
.user-trigger-btn svg {
  color: var(--text-secondary);
}

.user-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 245px;
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.78);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s ease;
}
.user-dropdown-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown-profile-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 14px 8px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
  cursor: pointer;
}
.dropdown-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-dark-red));
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}
.dropdown-user-meta {
  flex: 1;
  min-width: 0;
}
.dropdown-user-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dropdown-level-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lvl-pill {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  background: var(--accent-primary);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
}
.lvl-pill.next {
  background: var(--bg-surface-hover);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.lvl-bar-bg {
  flex: 1;
  height: 5px;
  background: var(--bg-main);
  border-radius: 4px;
  overflow: hidden;
}
.lvl-bar-fill {
  height: 100%;
  background: var(--accent-primary);
  border-radius: 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.14s ease;
}
.dropdown-item svg {
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.dropdown-item:hover {
  background: var(--bg-surface-hover);
}
.dropdown-item:hover svg {
  color: var(--text-primary);
}
.dropdown-item.logout {
  color: var(--accent-warm);
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0 0 8px 8px;
  padding-top: 12px;
}
.dropdown-item.logout svg {
  color: var(--accent-warm);
}

/* Right-Side Live Chat Panel */
.chat-sidebar {
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 116px);
  position: sticky;
  top: 68px;
}

.chat-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12.5px;
  line-height: 1.45;
}
.chat-msg.system {
  border-color: var(--border-active);
  background: rgba(97, 87, 232, 0.16);
}
.chat-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.chat-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
}
.chat-user-btn:hover {
  color: var(--accent-warm);
  text-decoration: underline;
}
.chat-lvl-tag {
  font-size: 9.5px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  background: var(--bg-surface-hover);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 1px 5px;
  border-radius: 4px;
}
.chat-time {
  font-size: 10px;
  color: var(--text-muted);
}
.chat-text {
  color: var(--text-secondary);
  word-break: break-word;
}

.chat-input-area {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
  background: var(--bg-main);
}

/* Player Profile Stats Modal Grid */
.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.stat-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
}
.stat-box-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 5px;
}
.stat-box-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-box-value.profit-pos {
  color: #4ade80;
}
.stat-box-value.profit-neg {
  color: var(--accent-warm);
}

.clickable-user {
  cursor: pointer;
}
.clickable-user:hover {
  color: var(--accent-warm);
  text-decoration: underline;
}

/* Header Compact Balance Pill + Plus Button (Matching Screenshot 3) */
.wallet-bar-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #141525;
  border: 1px solid var(--border-subtle);
  padding: 5px 6px 5px 12px;
  border-radius: 10px;
}

.wallet-bal-display {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 2px 6px 2px 4px;
  user-select: none;
  line-height: 1;
}
.wallet-bal-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: transparent;
  border: none;
  line-height: 1;
}
.wallet-bal-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.wallet-bal-chevron {
  color: var(--text-muted);
  width: 14px;
  height: 14px;
}

.wallet-plus-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-primary);
  border: none;
  border-bottom: 3px solid #3f37a8;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.14s ease;
}
.wallet-plus-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.wallet-plus-btn:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
}

/* ============================================================
   GROWTOPIA OYUN İÇİ CÜZDAN & GOLD COIN TEMASI (GÖRSEL 1 & 2)
   ============================================================ */
.wallet-grow-card {
  max-width: 480px;
  width: 92%;
  background: #10121d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.wallet-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.wallet-modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.wallet-modal-title svg {
  color: #f1f5f9;
}

.wallet-tabs-bar {
  display: flex;
  gap: 6px;
  background: #141726;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 4px;
  margin-bottom: 20px;
}

.wallet-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #8e95a5;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.wallet-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.wallet-tab-btn.active {
  background: #202438;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.wallet-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.wallet-section-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.3px;
}

.wallet-section-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.wallet-method-card {
  background: #161829;
  border: 1.5px solid rgba(56, 189, 248, 0.45);
  border-radius: 9px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
}

.wallet-method-card.active {
  background: #181b2e;
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.2);
}

.wallet-method-card:hover {
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.wallet-method-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.wallet-method-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #fff;
}

/* Cüzdan Detay Üst Barı & Geri Dön Butonu */
.wallet-detail-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wallet-back-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.wallet-detail-method-pill {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
  font-weight: 800;
  color: #ffffff;
}

.wallet-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.wallet-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wallet-info-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #8e95a5;
}

.wallet-copy-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d0e18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 800;
  color: #38bdf8;
}

.wallet-mini-copy-btn {
  background: #20243a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.wallet-mini-copy-btn:hover {
  background: #38bdf8;
  color: #0b0f19;
}

.wallet-cr-details {
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 12px;
  color: #8e95a5;
  transition: all 0.2s;
}

.wallet-cr-details summary {
  font-weight: 700;
  outline: none;
}

/* Swap (Takas) Kutusu */
.swap-box-card {
  background: #141624;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.swap-input-wrap {
  display: flex;
  align-items: center;
  background: #0d0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  overflow: hidden;
}

.swap-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
  padding: 8px 6px;
  outline: none;
}

.swap-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1d2035;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #f1f5f9;
}

.swap-divider-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  margin: -4px 0;
}

.swap-rate-note {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
  margin-top: 4px;
}

.swap-rate-note strong {
  color: #38bdf8;
}

/* Authentic Minecraft Pixel-Art Items (Kasa İçi Eşyalar & Battle Kartları) */
.mc-item-icon-img {
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.cc-item-card:hover .mc-item-icon-img,
.cba-dropped-card:hover .mc-item-icon-img {
  transform: scale(1.12) translateY(-2px);
}

/* Gold Coin Simgeleri (Görsel 2) */
.header-coin-img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  margin: 0 auto;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: drop-shadow(0 2px 5px rgba(245, 158, 11, 0.45));
}

.live-coin-img,
.site-coin-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: -2px;
  margin-left: 5px;
  filter: drop-shadow(0 0 3px rgba(245, 158, 11, 0.45));
}

.mines-coin-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  background: url('/img/coin.png') no-repeat center / contain !important;
}

.mines-coin-icon svg {
  display: none !important;
}

/* Case Battles Arena */
.battle-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.battle-player-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
}
.battle-player-card.winner {
  border-color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
}
.battle-player-card.loser {
  opacity: 0.65;
}

/* ============================================================
   WELCOME & LEVEL BANNER (GÖRSEL 3: TEKRAR HOŞ GELDİNİZ, ALWEM)
   ============================================================ */
.welcome-banner {
  position: relative;
  background: linear-gradient(105deg, #171829 0%, #1a1c33 52%, #252046 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 26px 32px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 158px;
}

.welcome-left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 20px;
}

.welcome-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--accent-dark-red);
  border: 2px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.welcome-avatar-wrap img,
.avatar-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.welcome-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 14, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.16s ease;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  padding: 4px;
}
.welcome-avatar-wrap:hover .welcome-avatar-overlay {
  opacity: 1;
}

.welcome-user-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.welcome-greeting-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.9;
}
.welcome-username-big {
  font-size: 28px;
  font-weight: 800;
  color: #a899e6;
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

.welcome-lvl-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.welcome-lvl-pill-cur {
  background: #6157e8;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
}
.welcome-lvl-bar-track {
  width: 175px;
  height: 7px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}
.welcome-lvl-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6157e8, #a855f7);
  border-radius: 99px;
  transition: width 0.35s ease;
}
.welcome-lvl-pill-next {
  background: #23253d;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
}
.welcome-lvl-pct-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.welcome-scene-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.welcome-scene-art svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   ORİJİNAL OYUNLAR POSTER GRID (GÖRSEL 1: FOTORAFLI OYUN KARTLARI)
   ============================================================ */
.original-games-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.original-games-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}
.original-games-header .header-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.original-games-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(145px, 195px));
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .original-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

.game-poster-card {
  position: relative;
  aspect-ratio: 174 / 228;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101320;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.game-poster-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
}

.poster-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 0.25s ease, filter 0.25s ease;
}
.game-poster-card:hover .poster-full-img {
  transform: scale(1.04) translateZ(0);
  filter: contrast(1.07) saturate(1.1);
}

.poster-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

.poster-art-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.poster-art-layer svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
}
.game-poster-card:hover .poster-art-layer svg {
  transform: scale(1.06);
}

.poster-bottom-shade {
  position: relative;
  z-index: 3;
  padding: 28px 10px 14px;
  background: linear-gradient(to top, rgba(8, 6, 9, 0.92) 0%, rgba(8, 6, 9, 0.45) 60%, transparent 100%);
  text-align: center;
}

.poster-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.6);
}

/* Toggleable Chat Header Button & Floating Reopen Button */
.chat-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 7px 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.chat-toggle-btn:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}
.chat-toggle-btn.active {
  border-color: var(--border-active);
  background: var(--accent-dark-red);
  color: var(--text-primary);
}

.chat-close-icon-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.chat-close-icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-active);
}

/* Chat message avatar */
.chat-avatar-mini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dark-red);
  border: 1px solid var(--border-active);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-primary);
  overflow: hidden;
  flex-shrink: 0;
}
.chat-avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Direct File Upload Dropzone in Profile Photo Modal */
.avatar-upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(18, 19, 34, 0.65);
  border: 2px dashed rgba(99, 102, 241, 0.45);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.avatar-upload-dropzone:hover,
.avatar-upload-dropzone.drag-over {
  background: rgba(30, 27, 56, 0.75);
  border-color: #818cf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.2);
}

.avatar-dropzone-preview {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  border: 3px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
}

.avatar-dropzone-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-dropzone-cta {
  text-align: center;
}

.avatar-dropzone-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.avatar-dropzone-text {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 3px;
}

.avatar-dropzone-sub {
  font-size: 11.5px;
  color: #94a3b8;
}

/* ============================================================
   KASA SAVAŞI OLUŞTURUCU (CASE BATTLE BUILDER - GÖRSEL BİREBİR)
   ============================================================ */
.cb-builder-wrap {
  margin-bottom: 34px;
}

.cb-create-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cb-summary-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.cb-selected-count {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.cb-selected-count strong {
  color: var(--text-primary);
  font-weight: 800;
}
.cb-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}
.cb-cost-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}
.cb-dinar-lock-badge {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: url('/img/coin.png') no-repeat center / contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cb-dinar-lock-badge svg {
  display: none !important;
}

/* Selected Cases Strip & + KASA EKLE Card */
.cb-cases-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.cb-add-case-card {
  width: 152px;
  min-height: 206px;
  background: #141627;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.cb-add-case-card:hover {
  background: #1b1e36;
  border-color: #6366f1;
  transform: translateY(-2px);
}
.cb-add-case-plus {
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1;
}
.cb-add-case-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.cb-selected-case-card {
  width: 152px;
  min-height: 206px;
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.18s ease;
}
.cb-selected-case-card:hover {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}
.cb-selected-case-name {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 132px;
}
.cb-selected-case-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-warm);
}
.cb-case-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3px 5px;
}
.cb-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: none;
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cb-qty-btn:hover {
  background: var(--accent-primary);
}
.cb-qty-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
}

/* Section Divider Row (Tür, Modifiers, Players, Eklentiler) */
.cb-sec-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 12px;
}
.cb-sec-row span {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

/* SAVAŞ SİSTEMİ GRID (Normal, Çılgın, Terminal, Hızlı Mod) */
.cb-system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.cb-system-pill {
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.cb-system-pill:hover {
  background: #1e2036;
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
.cb-system-pill.active {
  background: #1f2240;
  border-color: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.25), inset 0 0 0 1px rgba(99, 102, 241, 0.4);
}
.cb-sys-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cb-sys-icon.crazy {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}
.cb-sys-icon.terminal {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}
.cb-sys-icon.fast {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}
.cb-sys-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.cb-sys-meta strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}
.cb-sys-meta span {
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tür (Normal, Paylaşılan, Bonus) */
.cb-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cb-type-card {
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}
.cb-type-card:hover {
  background: #1e2036;
}
.cb-type-card.active {
  background: #23253d;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.cb-type-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.cb-type-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.cb-type-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Modifiers & Eklentiler 2-Col Grid */
.cb-mod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cb-mod-card {
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cb-mod-card.disabled-mod {
  opacity: 0.52;
}
.cb-mod-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cb-mod-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cb-mod-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cb-mod-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}
.cb-mod-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* Custom Toggle Switch */
.cb-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 21px;
  flex-shrink: 0;
}
.cb-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cb-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #2c2733;
  border-radius: 6px;
  transition: 0.18s;
}
.cb-slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 4px;
  transition: 0.18s;
}
.cb-switch input:checked + .cb-slider {
  background-color: #7c5cff;
}
.cb-switch.gold input:checked + .cb-slider {
  background-color: #f59f00;
}
.cb-switch input:checked + .cb-slider:before {
  transform: translateX(17px);
}

/* Players Section (Format Tabs + ALL BOTS + Slot Cards) */
.cb-players-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.cb-mode-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #101320;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  padding: 4px;
}
.cb-mode-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}
.cb-mode-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.cb-mode-btn.active {
  background: #6366f1;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
}
.cb-all-bots-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border: none;
  border-bottom: 2px solid #3730a3;
  color: #ffffff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: transform 0.14s ease, filter 0.14s ease;
}
.cb-all-bots-btn:hover {
  filter: brightness(1.1);
}
.cb-all-bots-btn.active {
  background: linear-gradient(135deg, #e11d48, #be123c);
  border-bottom-color: #881337;
}

.cb-player-slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}
.cb-slot-card {
  position: relative;
  width: 90px;
  height: 76px;
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
  padding-top: 8px;
}
.cb-slot-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: #23253d;
}
.cb-slot-team-tag {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.cb-slot-team-tag.team-1,
.cb-card-team-badge.team-1 {
  background: #1e1b4b;
  color: #a5b4fc;
  border: 1px solid #4f46e5;
}
.cb-slot-team-tag.team-2,
.cb-card-team-badge.team-2 {
  background: #4c0519;
  color: #fbcfe8;
  border: 1px solid #e11d48;
}
.cb-slot-team-tag.team-3,
.cb-card-team-badge.team-3 {
  background: #451a03;
  color: #fde68a;
  border: 1px solid #d97706;
}
.cb-slot-card.team-1 {
  border-color: rgba(99, 102, 241, 0.5);
}
.cb-slot-card.team-2 {
  border-color: rgba(244, 63, 94, 0.5);
}
.cb-slot-card.team-3 {
  border-color: rgba(245, 158, 11, 0.5);
}

.cb-slot-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  overflow: hidden;
}
.cb-slot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cb-slot-open-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px dashed var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.cb-slot-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.cb-slot-bot-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f223a;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
}
.cb-slot-card.is-bot .cb-slot-bot-badge {
  background: #6366f1;
  color: #fff;
}

/* Arena Banner & Cards */
.cb-arena-banner {
  background: linear-gradient(135deg, #101320 0%, #171829 60%, #1e203c 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 13.5px;
  color: var(--text-primary);
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.battle-player-card {
  background: #171829;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
}
.battle-player-card.team-1 {
  border-color: rgba(99, 102, 241, 0.45);
}
.battle-player-card.team-2 {
  border-color: rgba(244, 63, 94, 0.45);
}
.battle-player-card.team-3 {
  border-color: rgba(245, 158, 11, 0.45);
}
.battle-player-card.winner {
  border-color: #22c55e !important;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12) 0%, #171829 100%) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.25) !important;
  transform: translateY(-2px);
}
.battle-player-card.loser {
  opacity: 0.55;
}
.cb-card-team-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 4px;
  letter-spacing: 0.4px;
}

/* Bottom Full-Width Savaş Oluştur Button */
.cb-create-submit-btn {
  width: 100%;
  margin-top: 22px;
  padding: 15px 24px;
  border-radius: 9px;
  border: none;
  border-bottom: 3px solid #3730a3;
  background: linear-gradient(90deg, #4f46e5, #6366f1);
  color: #ffffff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: filter 0.16s ease, transform 0.12s ease;
}
.cb-create-submit-btn:hover {
  filter: brightness(1.1);
}
.cb-create-submit-btn:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .cb-system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cb-type-grid,
  .cb-mod-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .cb-system-grid {
    grid-template-columns: 1fr;
  }
  .cb-mode-tabs {
    flex-wrap: wrap;
    width: 100%;
  }
  .cb-mode-btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .app-layout,
  .app-layout.chat-collapsed {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .chat-sidebar {
    height: 420px;
    position: static;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }
  .game-box {
    grid-template-columns: 1fr;
  }
  .welcome-scene-art {
    opacity: 0.28;
    width: 100%;
  }
}

/* ============================================================
   MINECRAFT CASE CREATOR UI (MATCHING IMAGE 2)
   ============================================================ */
.cc-step-container {
  background: #171829;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.cc-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.cc-step-badge {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
}

.cc-step-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.cc-step1-body {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.3fr;
  gap: 14px;
  align-items: center;
}

@media (max-width: 768px) {
  .cc-step1-body {
    grid-template-columns: 1fr;
  }
}

.cc-field-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cc-label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cc-info-tip {
  cursor: help;
  color: #6366f1;
  font-size: 12px;
}

.cc-input, .cc-select {
  background: #10111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 9px 13px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cc-input:focus, .cc-select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

.cc-currency-pills {
  display: flex;
  gap: 8px;
}

.cc-curr-pill {
  background: #10111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 14px;
  color: #94a3b8;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  transition: all 0.15s ease;
}

.cc-curr-pill.active {
  background: rgba(99, 102, 241, 0.22);
  border-color: #6366f1;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}

.cc-step2-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.cc-search-box {
  background: #10111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 320px;
}

.cc-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12.5px;
  width: 100%;
}

.cc-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-sort-select {
  background: #10111e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 7px 12px;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  outline: none;
}

.cc-cat-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cc-cat-pill {
  background: rgba(147, 51, 234, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.22);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.cc-cat-pill:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: #a855f7;
  color: #ffffff;
  transform: translateY(-1px);
}

.cc-cat-pill.active {
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
}

.cc-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(106px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px;
}

.cc-item-card {
  position: relative;
  background: #121324;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  cursor: pointer;
  transition: transform 0.16s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.16s ease, border-color 0.16s ease, filter 0.14s ease;
  user-select: none;
  box-sizing: border-box;
}

.cc-item-card:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.15);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  border-color: rgba(99, 102, 241, 0.4);
}

.cc-item-card:active {
  transform: scale(0.97);
}

.cc-badge-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 3px 10px;
  border-radius: 12px;
}

.cc-item-card.is-selected {
  border-color: #10b981;
  background: linear-gradient(180deg, #18282e 0%, #101920 100%);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
}

.cc-item-card.is-selected::after {
  content: '✓';
  position: absolute;
  top: 5px;
  left: 6px;
  width: 18px;
  height: 18px;
  background: #10b981;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  z-index: 2;
}

.cc-item-card.rarity-common { border-bottom: 3.5px solid #64748b; }
.cc-item-card.rarity-uncommon { border-bottom: 3.5px solid #10b981; }
.cc-item-card.rarity-rare { border-bottom: 3.5px solid #06b6d4; }
.cc-item-card.rarity-epic { border-bottom: 3.5px solid #a855f7; }
.cc-item-card.rarity-legendary { border-bottom: 3.5px solid #f59e0b; }
.cc-item-card.rarity-mythic { border-bottom: 3.5px solid #ec4899; }

.cc-item-price-tag {
  align-self: flex-end;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 800;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5px 5px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-item-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
  transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.cc-item-card:hover .cc-item-icon-wrap {
  transform: scale(1.12) rotate(-3deg);
}

.cc-item-name {
  font-size: 11px;
  font-weight: 700;
  color: #e2e8f0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 2px;
}

/* Step 3 Styles */
.cc-total-badge {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 16px;
  transition: all 0.2s ease;
}

.cc-total-badge.valid {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #4ade80;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35);
}

.cc-empty-placeholder {
  text-align: center;
  padding: 32px 16px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(16, 17, 30, 0.4);
}

.cc-selected-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  padding: 4px;
}

.cc-selected-item-card {
  background: #111222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.cc-sel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cc-sel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.cc-sel-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cc-sel-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cc-sel-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cc-sel-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-warm);
}

.cc-sel-remove {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.cc-sel-remove:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.cc-sel-controls-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-sel-slider {
  flex: 1;
  accent-color: #6366f1;
  cursor: pointer;
}

.cc-sel-input-wrap {
  display: flex;
  align-items: center;
  background: #18192e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 6px;
  width: 72px;
}

.cc-sel-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 800;
  width: 100%;
  text-align: right;
}

.cc-sel-input-wrap span {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  margin-left: 2px;
}

.cc-step3-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cc-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-pricing-summary {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cc-price-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

.cc-price-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 900;
  color: var(--accent-warm);
}

.cc-submit-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.cc-submit-create-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: none;
  border-bottom: 3px solid #4338ca;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
  transition: transform 0.14s ease, filter 0.14s ease, box-shadow 0.14s ease;
}

.cc-submit-create-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.cc-submit-create-btn:active {
  transform: translateY(1px);
}

/* ============================================================
   CASE BATTLE ARENA (GAMBLIT / CLASHGG STİLİ - IMAGE 3)
   ============================================================ */
.cba-arena-wrapper {
  position: relative;
  background: #0f101d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 26px 18px;
  margin: 18px auto 0;
  max-width: 1360px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

/* Geri Sayım & Bekleme Overlay (2-3 Saniye) */
.cba-countdown-overlay {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: rgba(10, 11, 20, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cbaFadeIn 0.25s ease-out;
}

.cba-countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 42px;
  background: radial-gradient(circle at 50% 20%, #1e153b 0%, #0d0e19 100%);
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.3), 0 20px 45px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  min-width: 320px;
  max-width: 90vw;
}

.cba-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cba-countdown-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
}

.cba-countdown-number {
  font-size: 74px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(168, 85, 247, 0.8), 0 4px 12px rgba(0, 0, 0, 0.8);
  margin: 10px 0 12px 0;
  letter-spacing: -1px;
  font-family: 'Inter', system-ui, sans-serif;
}

.cba-countdown-number.anim-pulse {
  animation: cbaCountdownPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cba-countdown-status {
  font-size: 13.5px;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.cba-countdown-progress-track {
  width: 220px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.cba-countdown-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  border-radius: 999px;
  transition: width 0.35s ease;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

.cba-skip-nav-btn {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  font-weight: 800 !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.cba-skip-nav-btn:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: #ef4444 !important;
  color: #fff !important;
  transform: translateY(-1px);
}

@keyframes cbaCountdownPop {
  0% { transform: scale(0.45); opacity: 0; }
  65% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.cba-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cba-top-nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cba-nav-btn {
  background: #1c1e30;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 8px 14px;
  color: #f1f5f9;
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s ease;
  user-select: none;
}

.cba-nav-btn svg {
  flex-shrink: 0;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.cba-nav-btn:hover {
  background: #252842;
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
}

.cba-nav-btn:hover svg {
  color: #38bdf8;
}

.cba-skip-btn {
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid #6366f1;
  border-radius: 7px;
  padding: 7px 16px;
  color: #ffffff;
  font-weight: 800;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cba-skip-btn:hover {
  background: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

.cba-sub-bar {
  background: #141525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cba-sub-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cba-mode-title {
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.4px;
}

.cba-format-badge {
  background: #252846;
  border: 1px solid rgba(165, 180, 252, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 900;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cba-mod-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border-radius: 6px;
  transition: transform 0.15s ease;
}
.cba-mod-pill:hover {
  transform: scale(1.1);
}
.cba-mod-pill.crazy {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.cba-mod-pill.terminal {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.cba-mod-pill.fast {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cba-total-cost {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 900;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.18);
}

.cba-total-cost .cba-cost-coin,
.cba-total-cost .live-coin-img {
  width: 19px !important;
  height: 19px !important;
  vertical-align: middle !important;
  margin-left: 0 !important;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.6)) !important;
}

.cba-sub-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cba-active-case-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1c1d33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 8px;
}

.cba-case-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cba-case-mult-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
}

.cba-sub-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cba-round-pill {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cba-round-pill strong {
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.cba-spectator-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #64748b;
  font-weight: 700;
}

/* ==========================================================
   PROFESYONEL BİRLEŞİK SAVAŞ ARENASI (STAKE / CSGOROLL KALİTESİNDE)
   ========================================================== */
.cba-arena-stage {
  width: 100%;
  margin: 10px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cba-stage-team-row,
.cba-stage-solo-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  padding: 4px 2px;
  box-sizing: border-box;
}

/* Takım Grupları (2v2 ve 2v2v2) */
.cba-team-cluster {
  display: flex;
  flex-direction: column;
  background: #0d0f1b;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.cba-team-cluster-bar {
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
}

.cba-team-cluster-bar.team-1 {
  background: linear-gradient(90deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
}

.cba-team-cluster-bar.team-2 {
  background: linear-gradient(90deg, #059669 0%, #047857 100%);
  color: #ffffff;
}

.cba-team-cluster-bar.team-3 {
  background: linear-gradient(90deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
}

.cba-team-cluster.is-winning-team {
  border-color: #22c55e !important;
  box-shadow: 0 0 32px rgba(34, 197, 94, 0.4) !important;
}

.cba-team-cluster.is-losing-team {
  opacity: 0.65;
  filter: grayscale(0.2);
}

.cba-cluster-members {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.15);
  flex: 1;
}

/* Oyuncu Kolonu */
.cba-player-col {
  width: 142px;
  min-width: 128px;
  background: #141626;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.cba-player-col.is-winner {
  border-color: #22c55e !important;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.14) 0%, #141626 100%) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3) !important;
}

.cba-player-col.is-loser {
  opacity: 0.65;
  filter: grayscale(0.25);
}

/* Kolon Üst Başlığı (Avatar, İsim, Skor) */
.cba-col-topbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.cba-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}

.cba-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

.cba-role-badge {
  position: absolute;
  bottom: -4px;
  right: -6px;
  font-size: 8.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.cba-role-badge.role-user {
  background: #38bdf8;
  color: #031326;
}

.cba-role-badge.role-ally {
  background: #22c55e;
  color: #052e16;
}

.cba-role-badge.role-rival,
.cba-role-badge.role-bot {
  background: #475569;
  color: #f1f5f9;
}

.cba-col-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2px;
}

.cba-col-nick {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cba-col-subtag {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 1px;
}

/* Skor Kutusu */
.cba-score-pill {
  width: 100%;
  box-sizing: border-box;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 900;
  color: #f87171;
  background: #1c1d33;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  padding: 5px 6px;
  text-align: center;
  margin-top: 4px;
  transition: all 0.25s ease;
}

.cba-score-pill.leading {
  background: rgba(34, 197, 94, 0.16) !important;
  border-color: #22c55e !important;
  color: #4ade80 !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.35) !important;
}

.cba-score-pill.is-winner-pill {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22) 0%, rgba(16, 185, 129, 0.15) 100%) !important;
  border-color: #22c55e !important;
  color: #4ade80 !important;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4) !important;
}

.cba-score-pill.is-loser-pill {
  background: rgba(18, 19, 32, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  color: #64748b !important;
}

.cba-score-pill .cba-lost-prev {
  opacity: 0.5;
  font-size: 10.5px;
  text-decoration: line-through;
  margin-right: 4px;
}

/* Kazanan skor ve kolonuna paralar aktıkça oluşan emilim efekti */
@keyframes cbaAbsorbPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 28px rgba(250, 204, 21, 0.85), 0 0 18px rgba(34, 197, 94, 0.85);
    border-color: #facc15 !important;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
  }
}

.cba-cash-absorbed {
  animation: cbaAbsorbPulse 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* VS Ayracı */
.cba-arena-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  min-width: 32px;
  height: 32px;
  align-self: center;
  border-radius: 50%;
  background: #15162a;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Vertical Reels Viewport */
.cba-reel-viewport {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #090a13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.cba-reel-center-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8, 0 0 3px #fff;
  z-index: 10;
  pointer-events: none;
}

.cba-reel-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.cba-reel-item {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 4px;
}

.cba-dropped-card {
  width: 100%;
  height: 100%;
  background: #141525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.25s ease;
}

.cba-dropped-card.rarity-common { border-color: rgba(148, 163, 184, 0.35); }
.cba-dropped-card.rarity-uncommon { border-color: rgba(34, 197, 94, 0.45); }
.cba-dropped-card.rarity-rare { border-color: rgba(56, 189, 248, 0.55); box-shadow: 0 0 8px rgba(56, 189, 248, 0.2); }
.cba-dropped-card.rarity-epic { border-color: rgba(168, 85, 247, 0.65); box-shadow: 0 0 10px rgba(168, 85, 247, 0.25); }
.cba-dropped-card.rarity-legendary { border-color: rgba(245, 158, 11, 0.75); box-shadow: 0 0 12px rgba(245, 158, 11, 0.3); }
.cba-dropped-card.rarity-mythic { border-color: rgba(239, 68, 68, 0.85); box-shadow: 0 0 14px rgba(239, 68, 68, 0.4); }

.cba-reel-item.active-landed .cba-dropped-card {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45) !important;
  transform: scale(1.03);
}

.cba-item-icon-box {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.cba-item-name {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cba-item-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent-warm);
}

/* ==========================================================
   ZAFER BANNER'I (CASINO HERO CARD)
   ========================================================== */
.cba-winner-banner {
  margin-top: 14px;
}

.cba-win-hero {
  border-radius: 14px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: cbaWinnerHeroFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbaWinnerHeroFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cba-win-hero.win-success {
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.3) 0%, #101222 100%);
  border: 1.5px solid #22c55e;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.3);
}

.cba-win-hero.win-defeat {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, #101222 100%);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
}

.cba-win-hero-icon {
  font-size: 32px;
  line-height: 1;
}

.cba-win-hero-body {
  flex: 1;
  text-align: left;
}

.cba-win-jackpot-pill {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.cba-win-hero-title {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.cba-win-hero.win-success .cba-win-hero-title {
  color: #4ade80;
}

.cba-win-hero-desc {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 3px;
  line-height: 1.4;
}

.cba-win-hero-desc strong {
  color: #f1f5f9;
}

.cba-win-hero-desc .cba-payout-green {
  color: #4ade80 !important;
}

/* ==========================================================
   KAZANILAN EŞYALAR VİTRİNİ (LOOT SHOWCASE)
   ========================================================== */
.cba-all-drops-showcase {
  background: #111220;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.cba-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.cba-sh-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f8fafc;
  text-transform: uppercase;
}

.cba-sh-total-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 900;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
}

.cba-drops-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding: 4px 2px;
}

/* Takım veya Oyuncuya Özel Ganimet Bölümü */
.cba-drops-team-section {
  background: #0d0f1b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.cba-drops-team-section.is-winning-drops-section {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.cba-drops-team-header {
  padding: 8px 12px;
  background: #141628;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.cba-drops-team-header.team-1 { border-left: 3px solid #0284c7; }
.cba-drops-team-header.team-2 { border-left: 3px solid #059669; }
.cba-drops-team-header.team-3 { border-left: 3px solid #7c3aed; }
.cba-drops-team-header.solo-winner-hdr { border-left: 3px solid #22c55e; }

.cba-dth-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cba-dth-badge {
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.cba-dth-badge.team-1 { background: #0284c7; }
.cba-dth-badge.team-2 { background: #059669; }
.cba-dth-badge.team-3 { background: #7c3aed; }
.cba-dth-badge.solo-win-badge { background: #22c55e; color: #022c22; }

.cba-dth-title {
  font-size: 12px;
  font-weight: 800;
  color: #f1f5f9;
}

.cba-dth-members {
  color: #94a3b8;
  font-size: 11px;
}

.cba-dth-win-pill {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.cba-dth-lost-pill {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.cba-dth-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cba-dth-count {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
}

.cba-dth-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 900;
  color: #f8fafc;
}

.cba-drops-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.cba-won-item-card {
  background: #16182a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cba-won-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.cba-won-from-tag {
  font-size: 8.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 3px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cba-won-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.cba-won-item-name {
  font-size: 10.5px;
  font-weight: 700;
  color: #f1f5f9;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cba-won-item-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-warm);
}
  justify-content: center;
  margin-bottom: 6px;
}

.cba-won-item-name {
  font-size: 11px;
  font-weight: 700;
  color: #f1f5f9;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cba-won-item-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--accent-warm);
}

.cba-reel-viewport {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: #090a13;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}

.cba-reel-center-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #38bdf8;
  box-shadow: 0 0 12px #38bdf8, 0 0 4px #fff;
  z-index: 10;
  pointer-events: none;
}

.cba-reel-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  will-change: transform;
}

.cba-reel-item {
  width: 100%;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 4px 6px;
  box-sizing: border-box;
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.cba-reel-item.active-landed {
  opacity: 1;
  transform: scale(1.04);
}

.cba-reel-item.active-landed .cba-dropped-card {
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.45), inset 0 0 10px rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.7);
}

.cba-dropped-card {
  background: #141624;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 5px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
  width: 100%;
  height: 82px;
  box-sizing: border-box;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cba-dropped-card.rarity-common { border-bottom: 3px solid #64748b; }
.cba-dropped-card.rarity-uncommon { border-bottom: 3px solid #10b981; }
.cba-dropped-card.rarity-rare { border-bottom: 3px solid #06b6d4; }
.cba-dropped-card.rarity-epic { border-bottom: 3px solid #a855f7; }
.cba-dropped-card.rarity-legendary { border-bottom: 3px solid #f59e0b; }
.cba-dropped-card.rarity-mythic { border-bottom: 3px solid #ec4899; }

.cba-item-icon-box {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.cba-item-name {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.cba-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
}

.cba-item-chance {
  color: #94a3b8;
}

.cba-item-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-warm);
  background: rgba(0, 0, 0, 0.35);
  padding: 1.5px 5px;
  border-radius: 4px;
}

/* Winner Banner */
.cba-winner-banner {
  background: linear-gradient(135deg, rgba(22, 101, 52, 0.35) 0%, rgba(99, 102, 241, 0.35) 100%);
  border: 1.5px solid #22c55e;
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
  animation: cbaWinnerPulse 1.6s infinite alternate;
}

@keyframes cbaWinnerPulse {
  from {
    transform: scale(0.99);
    filter: brightness(1);
  }
  to {
    transform: scale(1.01);
    filter: brightness(1.15);
  }
}

/* Battle End Action Buttons */
.cba-end-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  background: #141525;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: cbaActionsFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbaActionsFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cba-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.cba-edit-cases-btn {
  background: #1e2138;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cba-edit-cases-btn:hover {
  background: #282c4b;
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
  transform: translateY(-1px);
}

.cba-play-again-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.6);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.38);
}

.cba-play-again-btn:hover {
  background: linear-gradient(135deg, #28d667 0%, #18b352 100%);
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.55);
  transform: translateY(-2px);
}

.cba-action-btn:active {
  transform: translateY(1px);
}

/* ============================================================
   TEAM CONNECTORS & BADGES (2V2 & 2V2V2 CASE BATTLES)
   ============================================================ */
.cba-team-col-header {
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 5px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cba-team-col-header.team-1 {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.cba-team-col-header.team-2 {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
}

.cba-team-col-header.team-3 {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.cba-player-col.team-1-col {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.12);
}
.cba-player-col.team-2-col {
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.12);
}
.cba-player-col.team-3-col {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.12);
}

.cba-team-link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 14px;
  user-select: none;
  animation: cbaTeamBondPulse 2s infinite ease-in-out;
}

@keyframes cbaTeamBondPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.06); filter: brightness(1.25); }
}

.cba-team-link-pill.team-1 {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.35);
}

.cba-team-link-pill.team-2 {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid #a855f7;
  color: #c084fc;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.cba-team-link-pill.team-3 {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
}

.cba-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #f43f5e;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
  padding: 0 4px;
  letter-spacing: 1px;
}

.cba-team-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.cba-team-badge.team-1 {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cba-team-badge.team-2 {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.cba-team-badge.team-3 {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* ============================================================
   FX FLYING COINS & BALANCE PULSE ANIMATIONS
   ============================================================ */
.fx-flying-coin {
  position: fixed;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 9999999;
  will-change: transform;
}

.balance-pulse-glow {
  animation: balanceGlowPulse 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes balanceGlowPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(234, 179, 8, 0);
  }
  35% {
    transform: scale(1.18);
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.8), 0 0 8px #ffffff;
    filter: brightness(1.25);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(234, 179, 8, 0);
  }
}

/* Bottom Bar */
.cba-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11.5px;
  color: #64748b;
}

.cba-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cba-icon-action {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.cba-icon-action:hover {
  opacity: 1;
}

.cba-brand {
  font-weight: 900;
  font-size: 13.5px;
  color: #818cf8;
  letter-spacing: 0.6px;
  text-transform: lowercase;
}

.cba-pf-link {
  color: #94a3b8;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Savaş Kasaları Modal (Image 3 Stili) */
.bci-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  min-height: 120px;
  padding: 4px 2px;
}

.bci-card {
  position: relative;
  background: #151627;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 14px 14px;
  width: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.bci-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.bci-visual-wrap {
  position: relative;
  width: 104px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bci-qty-badge {
  position: absolute;
  bottom: 0px;
  right: -2px;
  background: rgba(15, 16, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bci-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.bci-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bci-price .bci-lock {
  color: #38bdf8;
  font-size: 11px;
}

/* ==========================================================
   STAKE-STYLE CANLI BAHİSLER TABLOSU (LIVE BETS)
   ========================================================== */
.live-bets-section {
  margin-top: 36px;
  margin-bottom: 50px;
  width: 100%;
}

.live-bets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.live-bets-tabs {
  display: inline-flex;
  align-items: center;
  background: #0e111a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 4px;
  gap: 4px;
}

.live-bets-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: #8e95a5;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.live-bets-tab:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.live-bets-tab.active {
  color: #ffffff;
  background: #1e2436;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e701;
  box-shadow: 0 0 8px #00e701;
  animation: liveDotPulse 1.6s infinite ease-in-out;
  display: inline-block;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #00e701; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px #00e701; }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #00e701; }
}

.live-bets-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.live-badge-glow {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e701;
  box-shadow: 0 0 6px #00e701;
}

.live-bets-card {
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.live-bets-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.live-bets-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.live-bets-table th {
  padding: 13px 18px;
  color: #717789;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: #0c0e17;
  text-align: left;
}

.live-bets-table th.th-bet,
.live-bets-table th.th-payout,
.live-bets-table th.th-profit {
  text-align: right;
}

.live-bets-table th.th-mult {
  text-align: center;
}

.live-bets-table td {
  padding: 12px 18px;
  color: #abb2c4;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
  vertical-align: middle;
  transition: background 0.15s ease;
}

.live-bets-table td.td-bet,
.live-bets-table td.td-payout,
.live-bets-table td.td-profit {
  text-align: right;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}

.live-bets-table td.td-mult {
  text-align: center;
  font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
  font-size: 13px;
  font-weight: 700;
}

.live-bet-row {
  transition: background 0.15s ease;
  cursor: pointer;
}

.live-bet-row:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.live-bet-row.is-new-bet {
  animation: liveBetSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes liveBetSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
    background: rgba(0, 231, 1, 0.06);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    background: transparent;
  }
}

.live-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #f8fafc;
}

.live-game-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.live-game-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #1e2436;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #f8fafc;
}

.live-user-name {
  color: #cfd5e3;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-user-name.is-my {
  color: #38bdf8;
  font-weight: 700;
}

.live-user-gizli {
  color: #64748b;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-mult-loss {
  color: #64748b;
  font-weight: 600;
}

.live-mult-win {
  color: #00e701;
  font-weight: 700;
}

.live-profit-loss {
  color: #abb2c4;
}

.live-profit-win {
  color: #00e701;
  font-weight: 700;
}

.live-dinar-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  margin-left: 6px;
  vertical-align: -2.5px;
}

.live-empty-state {
  padding: 44px 20px;
  text-align: center;
  color: #64748b;
  font-size: 13.5px;
  font-weight: 500;
}

/* ==========================================================
   COINFLIP (YAZI - TURA / COIN - DL) STYLES
   ========================================================== */

.cf-side-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.cf-side-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(18, 22, 38, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.cf-side-card:hover {
  background: rgba(26, 32, 54, 0.85);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.cf-side-card.active#cfSideCardHeads {
  border-color: #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.16) 0%, rgba(18, 22, 38, 0.95) 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.28);
}

.cf-side-card.active#cfSideCardTails {
  border-color: #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.16) 0%, rgba(18, 22, 38, 0.95) 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.28);
}

.cf-side-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.cf-side-card:hover .cf-side-icon-box {
  transform: scale(1.08);
}

.cf-side-icon-box.gold {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.08) 70%);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.cf-side-icon-box.cyan {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(2, 132, 199, 0.08) 70%);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cf-side-coin-img {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.5));
}

.cf-side-meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

.cf-side-meta span {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.cf-side-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: transparent;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cf-side-card.active#cfSideCardHeads .cf-side-check {
  background: #f59e0b;
  color: #000;
  font-weight: 900;
}

.cf-side-card.active#cfSideCardTails .cf-side-check {
  background: #38bdf8;
  color: #000;
  font-weight: 900;
}

.cf-payout-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 14px 0;
}

.cf-payout-stat-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(15, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cf-payout-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cf-payout-val {
  font-size: 15px;
  font-weight: 800;
  color: #e2e8f0;
}

.cf-play-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.38) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cf-play-btn:hover:not(:disabled) {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.55) !important;
  transform: translateY(-1px);
}

.cf-play-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Sağ Sahne */
.cf-board-card {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #161b2e 0%, #0d101d 100%);
}

.cf-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cf-history-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cf-history-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  max-width: 80%;
  padding: 4px 0;
}

.cf-hist-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  animation: cfHistPopIn 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes cfHistPopIn {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cf-hist-pill.heads {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.cf-hist-pill.tails {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.cf-hist-pill img {
  width: 14px;
  height: 14px;
  image-rendering: pixelated;
}

.cf-hist-pill svg {
  width: 14px;
  height: 14px;
}

/* Orta 3D Coin Alanı */
.cf-stage-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  perspective: 1200px;
  user-select: none;
}

.cf-stage-pedestal {
  position: absolute;
  bottom: 10px;
  width: 260px;
  height: 70px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-pedestal-ring-outer {
  position: absolute;
  width: 240px;
  height: 60px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  transform: rotateX(68deg);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2), inset 0 0 15px rgba(56, 189, 248, 0.15);
}

.cf-pedestal-ring-inner {
  position: absolute;
  width: 160px;
  height: 40px;
  border-radius: 50%;
  border: 1px dashed rgba(245, 158, 11, 0.35);
  transform: rotateX(68deg);
}

.cf-pedestal-glow {
  position: absolute;
  width: 180px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.32) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(12px);
  transform: rotateX(68deg);
}

/* 3D Coin Wrapper & Elements */
.cf-coin-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.2s ease;
  margin-bottom: 25px;
}

.cf-coin-wrapper:hover {
  transform: scale(1.04);
}

.cf-coin-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cf-coin-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cf-face-front {
  transform: rotateY(0deg) translateZ(2px);
  -webkit-transform: rotateY(0deg) translateZ(2px);
  background: radial-gradient(circle at 35% 30%, #fef08a 0%, #eab308 35%, #ca8a04 70%, #854d0e 100%);
  border: 4.5px solid #fef08a;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.55), inset 0 0 14px rgba(0, 0, 0, 0.45);
}

.cf-face-back {
  transform: rotateY(180deg) translateZ(2px);
  -webkit-transform: rotateY(180deg) translateZ(2px);
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0%, #38bdf8 35%, #0284c7 70%, #0c4a6e 100%);
  border: 4.5px solid #7dd3fc;
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.6), inset 0 0 14px rgba(0, 0, 0, 0.45);
}

.cf-face-inner {
  width: 82%;
  height: 82%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cf-face-inner.gold-theme {
  background: radial-gradient(circle, rgba(234, 179, 8, 0.35) 0%, rgba(161, 98, 7, 0.18) 100%);
  border: 2px solid rgba(254, 240, 138, 0.65);
  box-shadow: inset 0 0 20px rgba(234, 179, 8, 0.35);
}

.cf-face-inner.dl-theme,
.cf-face-inner.diamond-theme {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(3, 105, 161, 0.18) 100%);
  border: 2px solid rgba(186, 230, 253, 0.75);
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.4);
}

.mines-main-start-btn.cf-auto-stop {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45) !important;
  animation: cfAutoStopPulse 1.2s infinite ease-in-out;
}

@keyframes cfAutoStopPulse {
  0% { transform: scale(1); box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45); }
  50% { transform: scale(1.02); box-shadow: 0 4px 24px rgba(239, 68, 68, 0.75); }
  100% { transform: scale(1); box-shadow: 0 4px 18px rgba(239, 68, 68, 0.45); }
}

.cf-coin-face-img {
  width: 58px;
  height: 58px;
  background: transparent !important;
  border: none !important;
  display: block;
  object-fit: contain;
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.cf-coin-face-svg {
  width: 62px;
  height: 62px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(56, 189, 248, 0.5));
}

.cf-face-title {
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #fff;
  margin-top: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
}

.cf-coin-shadow {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(5px);
  transition: all 0.3s ease;
}

/* 3D Flip Animasyon Sınıfları */
.cf-coin-3d.flipping-to-heads {
  animation: cfFlipHeads 1.6s cubic-bezier(0.2, 0.85, 0.35, 1) forwards;
}

.cf-coin-3d.flipping-to-tails {
  animation: cfFlipTails 1.6s cubic-bezier(0.2, 0.85, 0.35, 1) forwards;
}

.cf-coin-shadow.flipping {
  animation: cfShadowJump 1.6s cubic-bezier(0.2, 0.85, 0.35, 1) forwards;
}

@keyframes cfFlipHeads {
  0% {
    transform: rotateY(0deg) translateY(0);
  }
  25% {
    transform: rotateY(720deg) translateY(-145px) scale(1.14);
  }
  55% {
    transform: rotateY(1440deg) translateY(-70px) scale(1.08);
  }
  80% {
    transform: rotateY(1980deg) translateY(-10px) scale(1.02);
  }
  92% {
    transform: rotateY(2160deg) translateY(4px) scale(0.98);
  }
  100% {
    transform: rotateY(2160deg) translateY(0) scale(1);
  }
}

@keyframes cfFlipTails {
  0% {
    transform: rotateY(0deg) translateY(0);
  }
  25% {
    transform: rotateY(720deg) translateY(-145px) scale(1.14);
  }
  55% {
    transform: rotateY(1440deg) translateY(-70px) scale(1.08);
  }
  80% {
    transform: rotateY(2160deg) translateY(-10px) scale(1.02);
  }
  92% {
    transform: rotateY(2340deg) translateY(4px) scale(0.98);
  }
  100% {
    transform: rotateY(2340deg) translateY(0) scale(1);
  }
}

@keyframes cfShadowJump {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
  }
  30% {
    transform: translateX(-50%) scale(0.45);
    opacity: 0.2;
    filter: blur(9px);
  }
  85% {
    transform: translateX(-50%) scale(1.05);
    opacity: 0.85;
    filter: blur(4px);
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.75;
    filter: blur(5px);
  }
}

/* Sonuç Bildirim Rozeti */
.cf-result-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 800;
  animation: cfBannerPop 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes cfBannerPop {
  0% {
    transform: scale(0.7) translateY(10px);
    opacity: 0;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.cf-result-banner.win {
  background: rgba(34, 197, 94, 0.16);
  border: 1.5px solid #22c55e;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.cf-result-banner.loss {
  background: rgba(239, 68, 68, 0.14);
  border: 1.5px solid #ef4444;
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.25);
  color: #f87171;
}

.cf-result-pill {
  padding: 3px 9px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 900;
}

/* Alt İstatistik Sayaçları */
.cf-bottom-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cf-bottom-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(14, 18, 30, 0.55);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cf-bottom-stat span {
  font-size: 10.5px;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cf-bottom-stat strong {
  font-size: 14px;
  font-weight: 800;
  color: #e2e8f0;
}

@media (max-width: 768px) {
  .cf-bottom-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   CASE CATEGORY FILTER TABS (ORİJİNAL vs TOPLULUK KASALARI)
   ============================================================ */
.case-cat-filter-bar {
  display: flex;
  gap: 8px;
  background: #141627;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 14px;
}

.case-cat-pill {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.case-cat-pill:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}

.case-cat-pill.active {
  background: #20243d;
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.case-cat-pill.active[data-cat="official"] {
  border-color: rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.2);
}

.case-cat-pill.active[data-cat="community"] {
  border-color: rgba(168, 85, 247, 0.5);
  color: #c084fc;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.2);
}

.case-cat-count {
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
}

/* Kasa Kartı Kategori Rozetleri */
.case-cat-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 5px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-cat-tag.official {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.case-cat-tag.community {
  background: rgba(168, 85, 247, 0.14);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

/* Modifiers Multi-active Glow */
.cb-system-pill.active.crazy-active {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: #ef4444 !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.35) !important;
}

.cb-system-pill.active.terminal-active {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35) !important;
}

/* ==========================================================
   BERABERLİK JACKPOTU (TIE-BREAKER ROULETTE)
   ========================================================== */
.cb-jackpot-card {
  max-width: 620px;
  width: 92vw;
  background: radial-gradient(circle at 50% 0%, #1e153b 0%, #0d0e19 100%);
  border: 1.5px solid #a855f7;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 0 45px rgba(168, 85, 247, 0.35), 0 20px 50px rgba(0, 0, 0, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: cbJackpotCardPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cbJackpotCardPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.cb-jackpot-header {
  margin-bottom: 22px;
}

.cb-jackpot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  box-shadow: 0 0 16px rgba(236, 72, 153, 0.5);
}

.cb-jackpot-title {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.cb-jackpot-desc {
  font-size: 13px;
  color: #94a3b8;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.5;
}

.cb-jackpot-viewport {
  position: relative;
  width: 100%;
  height: 140px;
  background: #080912;
  border: 2px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 85, 247, 0.15);
  margin-bottom: 20px;
}

.cb-jackpot-needle-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #f59e0b;
  filter: drop-shadow(0 0 6px #f59e0b);
  z-index: 30;
  pointer-events: none;
}

.cb-jackpot-needle-bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 14px solid #f59e0b;
  filter: drop-shadow(0 0 6px #f59e0b);
  z-index: 30;
  pointer-events: none;
}

.cb-jackpot-track {
  display: flex;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.cb-jackpot-item {
  width: 130px;
  min-width: 130px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px;
  box-sizing: border-box;
  background: #0f101d;
  transition: background 0.3s, transform 0.3s;
}

.cb-jackpot-item.is-target {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.25) 0%, rgba(34, 197, 94, 0.2) 100%);
}

.cb-jackpot-item img.cba-avatar {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 6px;
  image-rendering: pixelated;
}

.cb-jackpot-item .cb-ji-nick {
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 115px;
}

.cb-jackpot-item .cb-ji-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: #a855f7;
  margin-top: 2px;
}

.cb-jackpot-footer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cb-jackpot-status {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cb-jackpot-spinner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  display: inline-block;
  animation: cbDotBlink 0.6s infinite alternate;
}

@keyframes cbDotBlink {
  from { opacity: 0.2; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.3); }
}




/* ==========================================================
   MULTI-BOT DEPOSIT SYSTEM (IMAGE STYLE LIKE PS99/ROBLOX)
   ========================================================== */
.deposit-bots-section {
  background: rgba(15, 17, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.deposit-bots-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.deposit-bots-title {
  font-size: 14px;
  font-weight: 800;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.deposit-bots-subtitle {
  font-size: 11.5px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.deposit-bots-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deposit-bot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111322;
  border: 1.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}

.deposit-bot-card:hover {
  background: #16182c;
  border-color: rgba(56, 189, 248, 0.3);
}

.deposit-bot-card.is-active-bot {
  border-color: #38bdf8;
  background: rgba(14, 165, 233, 0.07);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.2);
}

.deposit-bot-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deposit-bot-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #1a1d36;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.deposit-bot-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deposit-bot-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-bot-nick {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
}

/* Durum Noktası: Kırmızı (Offline) / Yeşil (Online) */
.deposit-bot-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.deposit-bot-dot.offline {
  background: #991b1b;
  border: 2px solid #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.deposit-bot-dot.online {
  background: #15803d;
  border: 2px solid #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  animation: depositDotPulse 1.5s infinite alternate;
}

@keyframes depositDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
  100% { transform: scale(1.15); box-shadow: 0 0 14px rgba(34, 197, 94, 0.9); }
}

/* Mavi Join / Seç Butonu (Görseldeki Stilde) */
.deposit-bot-btn {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.2s ease;
  min-width: 86px;
  text-align: center;
}

.deposit-bot-btn.btn-join {
  background: #0084ff;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.35);
}

.deposit-bot-btn.btn-join:hover {
  background: #0073e6;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 132, 255, 0.5);
}

.deposit-bot-btn.btn-disabled {
  background: #1e293b;
  color: #64748b;
  cursor: not-allowed;
  opacity: 0.5;
  box-shadow: none;
}

/* Admin Bot Yönetim Kutusu */
.admin-bots-toolbar {
  background: rgba(124, 58, 237, 0.1);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}

.admin-bots-toolbar-title {
  font-size: 12px;
  font-weight: 800;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.admin-bot-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.admin-bot-btn {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1e1b4b;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.admin-bot-btn:hover {
  background: #312e81;
  color: #fff;
}

.admin-bot-btn.btn-del {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

.admin-bot-btn.btn-del:hover {
  background: #ef4444;
  color: #fff;
}

/* ============================================================
   IMAGE 1 BIREBIR: GAMBLIT / CLASHGG / CSGOROLL CASE BATTLES STYLES
   ============================================================ */
.cba-sub-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cba-cases-queue-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  max-width: 480px;
  scrollbar-width: none;
  padding: 2px 4px;
}
.cba-cases-queue-strip::-webkit-scrollbar {
  display: none;
}
.cba-queue-case-card {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #17192b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.cba-queue-case-card.active-case {
  border-color: #38bdf8;
  background: #1e243d;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  transform: scale(1.08);
}
.cba-queue-count {
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}
.cba-queue-more-tag {
  background: #1a1c30;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  color: #cbd5e1;
  flex-shrink: 0;
}

/* 2. BÜYÜK CANLI SKOR ŞERİDİ (Görsel Birebir) */
.cba-top-scoreboard-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  margin: 12px 0 18px 0;
}
.cba-team-scores-side {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cba-large-score-capsule {
  background: #141728;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 10px 24px;
  min-width: 136px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #cbd5e1;
  transition: all 0.25s ease;
  user-select: none;
}
.cba-large-score-capsule.leading,
.cba-large-score-capsule.winner {
  background: #132c25 !important;
  border-color: rgba(16, 185, 129, 0.45) !important;
  color: #10b981 !important;
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.3) !important;
}

/* VERSUS RHOMBUS / ELMAS AYRACI */
.cba-vs-rhombus-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}
.cba-vs-rhombus {
  width: 36px;
  height: 36px;
  position: relative;
  transform: rotate(45deg);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cba-vs-rhombus .rhombus-blue {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}
.cba-vs-rhombus .rhombus-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #881337 0%, #dc2626 100%);
}
.cba-vs-rhombus .rhombus-icon {
  position: relative;
  z-index: 2;
  transform: rotate(-45deg);
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* 3. OYUNCU KOLONLARI VE YENİ DROP KARTI */
.cba-stage-grid {
  display: grid;
  width: 100%;
  background: #0d0e19;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.cba-player-col {
  display: flex;
  flex-direction: column;
  background: #0d0f1b;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  min-width: 0;
}
.cba-player-col:last-child {
  border-right: none;
}

/* Header Kartları (Team 1 Mavi / Team 2 Kırmızı) */
.cba-col-topbar.team-1 {
  background: #18233a;
  border-top: 3.5px solid #3b82f6;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.cba-col-topbar.team-2 {
  background: #321b24;
  border-top: 3.5px solid #ef4444;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.cba-col-topbar.solo {
  background: #191c2e;
  border-top: 3.5px solid #818cf8;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.cba-avatar-circle-wrap {
  position: relative;
  width: 48px;
  height: 48px;
}
.cba-avatar-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}
.cba-col-topbar.team-1 .cba-avatar-circle {
  border: 2.5px solid #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.45);
}
.cba-col-topbar.team-2 .cba-avatar-circle {
  border: 2.5px solid #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}
.cba-col-topbar.solo .cba-avatar-circle {
  border: 2.5px solid #818cf8;
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.45);
}

.cba-col-username {
  font-size: 13.5px;
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cba-col-score-badge {
  background: #0d261e;
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 6px;
  padding: 3px 12px;
  color: #10b981;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

/* AKTİF TUR DROP KARTI */
.cba-active-drop-card {
  margin: 12px 10px;
  background: #111322;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: all 0.25s ease;
  min-height: 140px;
  justify-content: center;
}
.cba-active-drop-card.flash-drop {
  animation: cbaDropFlash 0.5s ease-out;
}
@keyframes cbaDropFlash {
  0% { transform: scale(0.92); border-color: #38bdf8; box-shadow: 0 0 20px rgba(56, 189, 248, 0.4); }
  100% { transform: scale(1); }
}

.cba-drop-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cba-drop-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  max-width: 95%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cba-drop-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
}

/* GEÇMİŞ DROPLAR YIĞINI (Görsel Alt Bölüm) */
.cba-drops-history-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 6px 10px 16px;
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: none;
}
.cba-drops-history-stack::-webkit-scrollbar {
  display: none;
}
.cba-hist-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: all 0.2s ease;
}
.cba-hist-drop-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cba-hist-drop-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}
.cba-hist-drop-name {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cba-hist-drop-val {
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* ==========================================================================
   PRO ELITE PLAYER PROFILE MODAL (CASINO GRADE REPLICA)
   ========================================================================== */
.prof-modal-card {
  max-width: 480px !important;
  width: 95% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: #131722 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 18px 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(97, 87, 232, 0.12) !important;
}

.prof-modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.prof-modal-top-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.prof-modal-top-title svg {
  color: #a5b4fc;
}

.prof-modal-close-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.prof-modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.prof-hero-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.prof-avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.prof-avatar-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35);
  background: #1a1e2e;
  display: block;
}

.prof-online-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #22c55e;
  border: 2.5px solid #131722;
  box-shadow: 0 0 8px #22c55e;
}

.prof-hero-info {
  flex: 1;
  min-width: 0;
}

.prof-user-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.prof-user-title-row h2 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
}

.prof-crest-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prof-crest-badge.vip {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.prof-crest-badge.diamond {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

.prof-crest-badge.gold {
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #facc15;
}

.prof-crest-badge.bronze {
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

.prof-hero-sub-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.prof-game-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #a5b4fc;
  font-weight: 600;
}

.prof-joined-row {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
}

.prof-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 14px 0;
}

.prof-btn-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #1a1e2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}

.prof-btn-action:hover {
  background: #23283c;
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.prof-btn-action.danger {
  color: #f87171;
}

.prof-btn-action.danger:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.prof-level-section {
  margin-bottom: 12px;
}

.prof-level-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.prof-level-title {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.prof-level-percent {
  font-size: 13.5px;
  font-weight: 800;
  color: #c084fc;
  font-family: 'JetBrains Mono', monospace;
}

.prof-xp-bar-bg {
  width: 100%;
  height: 7px;
  background: #1a1e2e;
  border-radius: 8px;
  overflow: hidden;
}

.prof-xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #d946ef);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  transition: width 0.3s ease;
}

.prof-accordion-box {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #171b29;
}

.prof-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease;
}

.prof-accordion-header:hover {
  background: rgba(255, 255, 255, 0.02);
}

.prof-acc-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}

.prof-acc-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prof-currency-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
}

.prof-chevron {
  color: #64748b;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prof-accordion-box.open .prof-chevron {
  transform: rotate(180deg);
}

.prof-accordion-body {
  display: none;
  padding: 12px;
  background: #131722;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.prof-accordion-box.open .prof-accordion-body {
  display: block;
}

.prof-grid-6 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.prof-stat-card {
  background: #1a1e2e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
}

.prof-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
}

.prof-card-val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 3px;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prof-card-val.win-val {
  color: #10b981 !important;
}

.prof-card-val.loss-val {
  color: #f43f5e !important;
}

.prof-lucky-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prof-lucky-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1e2e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
}

.prof-lucky-badge {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.prof-lucky-mult {
  font-size: 12.5px;
  font-weight: 800;
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
}

.prof-lucky-payout {
  font-size: 12.5px;
  font-weight: 800;
  color: #10b981;
  font-family: 'JetBrains Mono', monospace;
}

.prof-game-row {
  margin-bottom: 8px;
}

.prof-game-row-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.prof-game-row-count {
  color: #94a3b8;
  font-size: 11px;
}

.prof-game-row-bar {
  width: 100%;
  height: 5px;
  background: #1a1e2e;
  border-radius: 4px;
  overflow: hidden;
}

.prof-game-row-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 4px;
}

.prof-bets-list {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prof-bet-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1e2e;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
}

.prof-bet-game-tag {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 11.5px;
}

.prof-bet-mid {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
}

.prof-bet-wager {
  color: #94a3b8;
  font-size: 11.5px;
}

.prof-bet-multiplier {
  font-size: 11px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.prof-bet-multiplier.win {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.prof-bet-right-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prof-bet-profit.win {
  color: #10b981;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}

.prof-bet-profit.loss {
  color: #64748b;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.prof-bet-ago {
  color: #475569;
  font-size: 10.5px;
  min-width: 48px;
  text-align: right;
}

.prof-no-bets {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  padding: 14px 0;
}

/* Chat Interactivity & Modern Layout (Target Reference Replica) */
.chat-msg-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 5px 6px !important;
  margin-bottom: 8px !important;
  animation: chatMsgFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatMsgFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-avatar-mini {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  border: 2px solid #eab308 !important;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.3) !important;
  background: #11141c !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  margin-top: 2px !important;
}

.chat-avatar-mini:hover {
  transform: scale(1.12) !important;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.6) !important;
}

.chat-avatar-mini img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.chat-msg-body {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.chat-msg-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.chat-msg-meta-left {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.chat-msg-user {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: color 0.15s ease !important;
}

.chat-msg-user:hover {
  color: #a78bfa !important;
  text-decoration: underline !important;
}

.chat-shield-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease !important;
  line-height: 1 !important;
}

.chat-shield-badge:hover {
  transform: scale(1.18) !important;
}

.chat-shield-badge.tier-vip svg {
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.75)) !important;
}

.chat-shield-badge.tier-diamond svg {
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.75)) !important;
}

.chat-shield-badge.tier-gold svg {
  filter: drop-shadow(0 0 4px rgba(234, 179, 8, 0.6)) !important;
}

.chat-msg-dots {
  color: #64748b !important;
  font-size: 12px !important;
  letter-spacing: -1px !important;
  cursor: pointer !important;
  padding: 0 3px !important;
  transition: color 0.15s ease !important;
  user-select: none !important;
}

.chat-msg-dots:hover {
  color: #cbd5e1 !important;
}

.chat-msg-time {
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  font-family: 'JetBrains Mono', monospace !important;
  margin-left: auto !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.chat-msg-bubble {
  background: #171829 !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px !important;
  padding: 7px 11px !important;
  color: #cbd5e1 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Chat Battle Share Pill (Exact Replica of Image 4) */
.chat-battle-share-bubble {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 2px 0 !important;
}

.chat-battle-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #201b38 !important;
  border: 1px solid rgba(168, 85, 247, 0.4) !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

.chat-battle-pill:hover {
  background: #2b224d !important;
  border-color: #c084fc !important;
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.45) !important;
}

.chat-battle-cost {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #c084fc !important;
  font-family: 'JetBrains Mono', monospace !important;
  letter-spacing: -0.3px !important;
}

.chat-battle-lock {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75)) !important;
  display: block !important;
}

.chat-battle-word {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #a855f7 !important;
  letter-spacing: 0.3px !important;
}

/* Case Battle Arena Real Player Join Button */
.cba-open-slot-btn-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 6px !important;
}

.cba-join-slot-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #059669, #10b981) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
  letter-spacing: 0.4px !important;
}

.cba-join-slot-btn:hover {
  background: linear-gradient(135deg, #10b981, #34d399) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55) !important;
}

/* ==========================================
   YÖNETİCİ (ADMIN) KONTROL PANELİ STİLLERİ
   ========================================== */
.admin-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, #ef4444, #8b5cf6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35);
}

.admin-tab-pane {
  animation: fadeInAdmin 0.2s ease;
}

@keyframes fadeInAdmin {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}



