/* ZZERSS BET - Custom UI Overrides & Fixes */
/* Görünüş hataları düzeltmeleri */

/* Bakiye, Deposit, Withdraw, Profil, top-navbar - her yerden kaldırıldı */
.top-header-balance, #walletContainer, .wallet-dropdown, .top-header-deposit,
.top-header-icon-profile, .deposit-btn, .withdraw-btn, .wallet-action-btn,
.wallet-container, .wallet-btn, .user-dropdown, .user-icon,
.mobile-menu-btn, .navbar-right, nav.top-navbar, .top-navbar,
.balance-display, .wallet-total, .wallet-real, .wallet-bonus {
  display: none !important;
}

/* Duyuru çubuğu - keskin kenarlı, daha az yuvarlak */
.announcement-marquee {
  background: #b91c1c !important;
  padding: 10px 50px !important;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  border-top: 2px solid #dc2626;
  border-bottom: 2px solid #7f1d1d;
}
.marquee-content {
  padding-left: 40px;
  padding-right: 40px;
  display: inline-flex;
  align-items: center;
}
.marquee-content span {
  margin-right: 3rem;
  flex-shrink: 0;
}


/* Slot kartları - hafif köşeli */
.slot-card img, .game-card img, .game-img {
  min-height: 120px;
  background: #1a1a22;
}
.slot-card, .game-card {
  border-radius: 6px !important;
  overflow: hidden;
}
.slot-card img[src=""], .game-card img:not([src]), .game-img:not([src]) {
  opacity: 0.7;
}

/* ===== JACKPOT BANNER - keskin köşeli, daha sert ===== */
.jackpot-banner, .jackpot-banner-injected {
  border-radius: 6px !important;
  border-left: 4px solid #dc2626 !important;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.25) !important;
}
.jackpot-banner .jackpot-tiers { gap: 8px; }
.jackpot-banner-injected > div:last-child > div,
.jackpot-tier { border-radius: 4px !important; }
@media (max-width: 576px) {
  .jackpot-banner, .jackpot-banner-injected { padding: 14px !important; }
  .jackpot-banner > div:nth-child(2), .jackpot-banner-injected > div:nth-child(2) { font-size: 1.5rem !important; }
  .jackpot-tier { min-width: 70px !important; padding: 8px !important; }
  .jackpot-tier > div:last-child { font-size: 0.85rem !important; }
}

/* ===== STORY BÖLÜMÜ - kare köşeli halkalar ===== */
.story-section, .story-section-injected {
  box-sizing: border-box;
  border-radius: 6px !important;
}
.story-section::-webkit-scrollbar, .story-section-injected::-webkit-scrollbar { height: 5px; }
.story-section::-webkit-scrollbar-thumb, .story-section-injected::-webkit-scrollbar-thumb { background: #991b1b; border-radius: 3px; }
.story-circle {
  border-radius: 6px !important;
  border: 2px solid #b91c1c !important;
}
.story-item:hover .story-circle { transform: scale(1.05); border-color: #dc2626 !important; box-shadow: 0 2px 8px rgba(185,28,28,0.4) !important; }
.story-item:hover .story-label { color: #ef4444 !important; }

/* ===== WELCOME TO SPARK + BETOVIS BANNER - tamamen kaldırıldı ===== */
.content-wrapper .hero-card { display: none !important; }

/* ===== ANA SAYFA BANNER - köşeli, daha sert ===== */
.hero-card {
  background: #16161d url('https://icons.betovis1001.com/storage/medias/betovis/content_1872355_5025b474e5b5d13d2f149436921738e6.webp') no-repeat right center !important;
  background-size: 42% auto !important;
  border-radius: 6px !important;
  min-height: 260px !important;
  box-shadow: 0 4px 0 rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
}
.hero-content {
  padding: 2rem 2.5rem !important;
  text-align: left !important;
}
.hero-content h1 {
  margin-bottom: 0.75rem !important;
  font-size: 2rem !important;
  font-family: 'Bebas Neue', Impact, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  color: #fff !important;
}
.hero-content p {
  display: none !important;
}
.hero-buttons .btn:first-child,
.hero-buttons a:first-child {
  background: #b91c1c !important;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 3px 0 #7f1d1d !important;
  font-family: 'Outfit', system-ui, sans-serif !important;
}
.hero-buttons .btn:first-child:hover,
.hero-buttons a:first-child:hover {
  background: #dc2626 !important;
  color: #fff !important;
  transform: translateY(1px);
  box-shadow: 0 2px 0 #7f1d1d !important;
}
.hero-image {
  display: none !important;
}

/* Navbar bakiye alanı */
.wallet-btn {
  min-width: 140px;
  justify-content: center;
}

/* ===== ÜST BAR - daha keskin ===== */
.top-header {
  background: #111118 !important;
  border-bottom: 2px solid rgba(255,255,255,0.04);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 990;
  font-family: 'Outfit', system-ui, sans-serif !important;
}
.top-header-left { display: flex; align-items: center; gap: 16px; }
.sidebar-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #a0a0a8;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.sidebar-toggle:hover { background: rgba(255,255,255,0.08); color: #fff; }
.top-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}
.top-header-logo span {
  color: #dc2626 !important;
  font-family: 'Bebas Neue', Impact, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 1px;
}
.top-header-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.top-header-deposit {
  background: linear-gradient(135deg,#00E701,#00c853);
  color: #0a0a0f;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.top-header-deposit:hover { filter: brightness(1.1); color: #0a0a0f; }
.top-header-sep { width: 1px; height: 24px; background: rgba(255,255,255,0.15); flex-shrink: 0; }
.top-header-icon {
  width: 36px; height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a0a8;
  text-decoration: none;
  transition: all 0.2s;
}
.top-header-icon:hover { background: rgba(255,255,255,0.08); color: #fff; }
.top-header-icon-red { background: rgba(220,53,69,0.2); color: #dc3545 !important; }
.top-header-lang {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  color: #a0a0a8;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}
.top-header-lang:hover { background: rgba(255,255,255,0.06); color: #fff; }
.top-header-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.top-header-more {
  background: rgba(255,255,255,0.05);
  border: none;
  color: #a0a0a8;
  width: 36px; height: 36px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header-more:hover { background: rgba(255,255,255,0.1); color: #fff; }
@media (max-width: 991px) {
  .sidebar-toggle { display: flex !important; }
  .top-header-right .top-header-icon, .top-header-lang, .top-header-time, .top-header-more { display: none !important; }
  .top-header-auth-btn { display: inline-block !important; }
  .top-header-balance-php { display: inline-flex !important; }
}
@media (min-width: 992px) {
  .sidebar-toggle { display: none !important; }
}

/* Live Casino ve Canlı tab - arayüzden tamamen kaldırıldı */
a[href*="live-casino"],
a[href="/live"],
a[href="#/live"],
a[href*="#/live/"],
li:has(a[href*="live-casino"]),
li:has(a[href="/live"]),
li:has(a[href="#/live"]),
li:has(a[href*="#/live/"]) {
  display: none !important;
}
/* Ana sayfa Live Casino bolumu */
.lobby-section:has(a[href*="live-casino"]) {
  display: none !important;
}

/* ===== MOBİL UYUMLULUK ===== */
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body { -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
* { box-sizing: border-box; }

@media (max-width: 992px) {
  .navbar-nav, .nav-menu, header nav ul { flex-wrap: wrap; }
  .wallet-btn { min-width: 120px; font-size: 0.9rem; }
  .slot-card, .game-card { min-width: 140px; }
  .hero-content h1 { font-size: 1.75rem; }
  .story-section-injected, .story-section { padding: 12px 16px !important; }
  .story-circle { width: 48px !important; height: 48px !important; }
  .story-label { font-size: 0.65rem !important; }
}

@media (max-width: 768px) {
  .hero-card { background-size: 0 0 !important; } /* Mobilde banner görseli gizle */
  .balance-display, .wallet-total { font-size: 0.9rem !important; }
  .deposit-btn, .withdraw-btn, .wallet-action-btn { padding: 8px 12px !important; font-size: 0.85rem; }
  .announcement-marquee { padding: 10px 30px !important; }
  .marquee-content span { margin-right: 2rem; }
  .slot-card img, .game-card img { min-height: 100px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.9rem; }
  .lobby-section h2, .section-title { font-size: 1.25rem; }
  .main-content, [class*="main-content"]:not(.admin-main) { padding: 0.5rem !important; }
}

@media (max-width: 576px) {
  .balance-display { font-size: 0.85rem !important; }
  .deposit-btn, .withdraw-btn { padding: 10px 14px !important; }
  .wallet-btn { min-width: 100px; font-size: 0.8rem; }
  .slot-card, .game-card { min-width: 120px; }
  .announcement-marquee { padding: 8px 20px !important; font-size: 0.85rem; }
  .announcement-marquee-injected { padding: 6px 16px !important; }
  .jackpot-banner-injected { padding: 16px !important; }
  .jackpot-banner-injected > div:nth-child(2) { font-size: 1.6rem !important; }
  .jackpot-banner-injected .jackpot-tier, .jackpot-banner-injected > div:last-child > div { min-width: 70px !important; padding: 8px !important; }
  /* Tablo mobil scroll */
  .table-responsive, [class*="table"] { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Form elemanları - iOS zoom önleme */
  input, select, button, .form-control { font-size: 16px !important; min-height: 44px; }
  .content-wrapper { padding: 12px !important; }
}

/* Touch-friendly butonlar */
@media (hover: none) {
  .btn, .deposit-btn, .withdraw-btn, .wallet-action-btn, button { min-height: 44px; min-width: 44px; }
}

/* Safe area (notch) */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ===== SITE FOOTER ===== */
.site-footer {
  background: #111118 !important;
  border-top: 2px solid rgba(255,255,255,0.04);
  padding: 36px 24px 28px;
  margin-top: auto;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s;
}
.footer-social a:hover { transform: scale(1.08); }
.footer-social a:nth-child(1) { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743) !important; }
.footer-social a:nth-child(2) { background: #0088cc !important; }
.footer-social a:nth-child(3) { background: #000 !important; }
.footer-social a:nth-child(4) { background: #25d366 !important; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #9ca3af !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff !important; }

.footer-regulators {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}
.footer-regulators h4 {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6b7280;
  margin-bottom: 16px;
}
.regulator-shield {
  width: 72px; height: 72px;
  margin: 0 auto;
  background: #16a34a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  box-shadow: 0 3px 0 #15803d;
}

.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.badge-item { text-align: center; }
.badge-excellent {
  background: #b91c1c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 4px;
}
.badge-excellent + small { color: #9ca3af; font-size: 0.75rem; }
.badge-sikayetvar {
  background: #e0f2fe;
  color: #0c4a6e;
  padding: 12px 20px;
  border-radius: 4px;
  min-width: 160px;
}
.badge-sikayetvar strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.badge-sikayetvar .badge-score { font-size: 1.5rem; font-weight: 800; display: block; }

@media (max-width: 992px) {
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-badges { flex-direction: column; }
}
