* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: #0d0f1a;
  color: #e8eaf0;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* SIDEBAR */
#sidebar {
  width: 240px;
  background: #10121e;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  flex-shrink: 0;
  transition: width 0.3s ease;
  z-index: 200;
}
#sidebar.collapsed { width: 64px; }

.sb-header {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 68px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  gap: 10px;
}

.sb-logo-img {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
}
.sb-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sb-brand-wrap {
  flex: 1;
  overflow: hidden;
  transition: opacity 0.2s ease, width 0.3s ease;
  white-space: nowrap;
}
#sidebar.collapsed .sb-brand-wrap {
  opacity: 0;
  width: 0;
  flex: 0;
}
.sb-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(90deg, #00c6ff, #00e5cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  display: block;
}

.sb-toggle {
  width: 28px;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  transition: background 0.2s, color 0.2s;
  margin-left: auto;
}
.sb-toggle:hover { background: rgba(0,198,255,0.15); color: #00c6ff; }
#sidebar.collapsed .sb-toggle .fa-chevron-left { transform: rotate(180deg); }
.sb-toggle .fa-chevron-left { transition: transform 0.3s ease; }

.sb-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 0 20px;
}
.sb-scroll::-webkit-scrollbar { width: 3px; }
.sb-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.07); border-radius: 2px; }

.sb-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding: 14px 18px 6px;
  white-space: nowrap;
  overflow: hidden;
  transition: opacity 0.2s;
}
#sidebar.collapsed .sb-section { opacity: 0; }

.sb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin: 2px 8px;
  border-radius: 8px;
  cursor: pointer;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.sb-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.sb-item.active { background: rgba(0,198,255,0.1); color: #00c6ff; }
.sb-item.active .sb-icon { color: #00c6ff; }
.sb-item:hover .sb-icon { color: rgba(255,255,255,0.7); }

.sb-icon {
  width: 20px;
  min-width: 20px;
  text-align: center;
  font-size: 14px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.3);
  transition: color 0.15s;
}

.sb-text {
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.2s, max-width 0.3s;
  max-width: 180px;
  font-size: 14px;
}
#sidebar.collapsed .sb-text { opacity: 0; max-width: 0; }

.sb-badge {
  margin-left: auto;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
#sidebar.collapsed .sb-badge { opacity: 0; pointer-events: none; }

.sb-divider {
  height: 1px;
  background: rgba(255,255,255,0.05);
  margin: 8px 16px;
}

#sidebar.collapsed .sb-item:hover::after {
  content: attr(data-tip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #1e2235;
  border: 1px solid rgba(255,255,255,0.1);
  color: #e8eaf0;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 999;
  pointer-events: none;
}

/* MAIN */
#main { flex: 1; min-width: 0; overflow-x: hidden; overflow-y: auto; }

.topbar {
  background: #10121e;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.mob-menu-btn {
  display: none;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border: none;
  flex-shrink: 0;
}

.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-right-end { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.btn-icon-only { padding: 6px 10px; min-width: 36px; font-size: 0; }
.btn-icon-only i { font-size: 14px; margin: 0; }
.topbar-coins { font-size: 14px; font-weight: 700; color: #f59e0b; }
.btn-daily.disabled { opacity: 0.7; cursor: not-allowed; }
.btn {
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  transition: all 0.2s;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
}
.btn-ghost:hover { border-color: #00c6ff; color: #00c6ff; }
.btn-blue {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
}
.btn-blue:hover { opacity: 0.9; transform: translateY(-1px); }

.page { padding: 20px; }

/* HERO */
.hero {
  background: linear-gradient(135deg, #141828 0%, #0e1420 100%);
  border: 1px solid rgba(0,198,255,0.14);
  border-radius: 14px;
  padding: 32px 36px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,198,255,0.07), transparent 60%);
  pointer-events: none;
}
.hero.hero-banner { padding: 0; min-height: 180px; }
.hero.hero-banner a { display: block; width: 100%; height: 100%; min-height: 180px; }
.hero.hero-banner img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; vertical-align: middle; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.22);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #00c6ff;
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-title span {
  background: linear-gradient(90deg, #00c6ff, #00e5cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.hero-code-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  border: 1px dashed rgba(0,198,255,0.3);
  border-radius: 8px;
  padding: 9px 16px;
  width: fit-content;
}
.hero-code-lbl { font-size: 12px; color: rgba(255,255,255,0.4); }
.hero-code-val { font-size: 17px; font-weight: 800; color: #00c6ff; letter-spacing: 0.5px; }
.copy-btn {
  background: rgba(0,198,255,0.12);
  border: 1px solid rgba(0,198,255,0.28);
  border-radius: 5px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
  color: #00c6ff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}
.copy-btn:hover { background: rgba(0,198,255,0.22); }
.hero-bg {
  font-size: 96px;
  font-weight: 900;
  color: rgba(0,198,255,0.04);
  letter-spacing: -4px;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  flex-shrink: 0;
}

/* AD ROW – kırmızı/yeşil üst kartlar (masaüstünde daha büyük) */
.ad-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.ad-card {
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 120px;
  transition: opacity 0.2s, transform 0.2s;
}
.ad-card .ad-card-link { text-decoration: none; color: inherit; display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; }
.ad-card:hover { opacity: 0.94; transform: translateY(-2px); }
.ad-card.red { background: linear-gradient(145deg, #c53030 0%, #991b1b 50%, #7f1d1d 100%); border: 1px solid rgba(255,255,255,0.08); }
.ad-card.green { background: linear-gradient(145deg, #15803d 0%, #166534 50%, #14532d 100%); border: 1px solid rgba(34,197,94,0.2); }

.ad-card-left { flex: 0 0 auto; }
.ad-amount { font-size: 22px; font-weight: 900; color: #fff; line-height: 1.2; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.ad-sub { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 4px; }

.ad-card-center { flex: 1; display: flex; align-items: center; justify-content: center; min-width: 0; }
.ad-logo-wrap {
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 64px;
  max-width: 150px;
  max-height: 64px;
  overflow: hidden;
}
.ad-card .ad-logo {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.ad-name { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 3px; }
.ad-go {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
  text-decoration: none;
  display: inline-block;
}
.ad-go:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* FEATURED */
.featured {
  background: rgba(19,22,34,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 13px;
  padding: 24px 28px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.featured:hover { border-color: rgba(0,198,255,0.22); }
.feat-top { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 14px; }
.feat-star { position: absolute; left: 0; font-size: 18px; }
.feat-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feat-logo-wrap { display: flex; align-items: center; justify-content: center; }
.feat-logo { max-height: 48px; max-width: 200px; object-fit: contain; }
.feat-vip {
  position: absolute; right: 0;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}
.feat-bar {
  background: rgba(0,0,0,0.28);
  border-radius: 8px;
  padding: 11px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}
.purple-btn {
  width: 100%;
  padding: 13px;
  border-radius: 9px;
  background: #7c3aed;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.purple-btn:hover { background: #6d28d9; box-shadow: 0 4px 18px rgba(124,58,237,0.35); color: #fff; }

/* SITE GRID – güvenilir siteler (hafif kar dokusu arka plan) */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.site-card {
  background: rgba(19,22,34,0.85);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.site-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.site-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='5' cy='5' r='0.8' fill='rgba(255,255,255,0.12)'/%3E%3Ccircle cx='25' cy='18' r='0.6' fill='rgba(255,255,255,0.08)'/%3E%3Ccircle cx='12' cy='32' r='0.5' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.site-card:hover { border-color: rgba(0,198,255,0.2); transform: translateY(-2px); }
.site-card > * { position: relative; z-index: 1; }
.sc-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  margin-bottom: 10px;
}
.sc-logo-wrap { display: flex; align-items: center; justify-content: center; }
.sc-logo { max-height: 36px; max-width: 120px; object-fit: contain; display: block; }
.sc-info-box {
  background: rgba(0,0,0,0.38);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.sc-bonus { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 3px; }
.sc-code { font-size: 12px; color: rgba(255,255,255,0.35); }
.sc-code b { color: #00c6ff; }
.purple-sm {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #7c3aed;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.purple-sm:hover { background: #6d28d9; color: #fff; }

/* OYUNLAR SAYFASI */
.page-title-games { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.games-desc { color: rgba(255,255,255,0.5); font-size: 14px; margin-bottom: 24px; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 24px; }
.game-card {
  background: rgba(19,22,34,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.game-card:hover { border-color: rgba(0,198,255,0.35); transform: translateY(-4px); }
.game-card-disabled { pointer-events: none; opacity: 0.7; }
.game-card-img-wrap {
  width: 120px; height: 120px;
  background: rgba(0,0,0,0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.game-card-img { max-width: 100%; max-height: 100%; object-fit: contain; }
.game-card-placeholder { font-size: 48px; }
.game-card-title { font-size: 18px; font-weight: 800; color: #fff; }
.game-card-badge { font-size: 11px; color: rgba(255,255,255,0.5); }
.game-card-badge.play { color: #00c6ff; font-weight: 700; }
.games-empty { color: rgba(255,255,255,0.5); }

/* BLACKJACK OYUNU – masa + animasyon + skor */
.bj-container { margin: 20px 0 40px; }
.bj-scoreboard {
  display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; flex-wrap: wrap;
}
.bj-scoreboard-item {
  background: rgba(19,22,34,0.9);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 100px;
  text-align: center;
}
.bj-scoreboard-item .num { font-size: 24px; font-weight: 800; display: block; line-height: 1.2; }
.bj-scoreboard-item.wins .num { color: #22c55e; }
.bj-scoreboard-item.losses .num { color: #ef4444; }
.bj-scoreboard-item.ties .num { color: #94a3b8; }
.bj-scoreboard-item .lbl { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.bj-table {
  background: linear-gradient(160deg, #0d5c2e 0%, #0a4d26 50%, #083d1e 100%);
  border: 8px solid #5c3d1e;
  border-radius: 24px;
  padding: 28px 24px 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.bj-table::before {
  content: '';
  position: absolute; inset: 4px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  pointer-events: none;
}
.bj-game { position: relative; z-index: 1; }
.bj-dealer { margin-bottom: 28px; }
.bj-player { margin-bottom: 24px; }
.bj-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bj-label .bj-score {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-left: 8px;
  text-shadow: 0 0 12px rgba(0,198,255,0.4);
}
.bj-cards { display: flex; flex-wrap: wrap; gap: 10px; min-height: 88px; align-items: center; }
.bj-card {
  width: 56px; height: 80px;
  background: linear-gradient(165deg, #fff 0%, #f5f5f5 100%);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.1);
  transform-style: preserve-3d;
  animation: bjCardDeal 0.4s ease-out forwards;
}
.bj-card.red { color: #c41e3a; }
.bj-card.bj-hidden {
  background: linear-gradient(145deg, #1e3a5f 0%, #2a4a6f 100%);
  color: rgba(255,255,255,0.9);
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.bj-card.bj-flip { animation: bjCardFlip 0.5s ease-out forwards; }
@keyframes bjCardDeal {
  from { opacity: 0; transform: translateY(-20px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bjCardFlip {
  from { transform: rotateY(-180deg); opacity: 0.5; }
  to { transform: rotateY(0); opacity: 1; }
}
.bj-card:nth-child(1) { animation-delay: 0s; }
.bj-card:nth-child(2) { animation-delay: 0.1s; }
.bj-card:nth-child(3) { animation-delay: 0.2s; }
.bj-card:nth-child(4) { animation-delay: 0.3s; }
.bj-card:nth-child(5) { animation-delay: 0.4s; }
.bj-card:nth-child(6) { animation-delay: 0.5s; }
.bj-card:nth-child(7) { animation-delay: 0.6s; }
.bj-card:nth-child(8) { animation-delay: 0.7s; }
.bj-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.bj-btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.bj-btn.bj-hit {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
  box-shadow: 0 4px 14px rgba(34,197,94,0.4);
}
.bj-btn.bj-hit:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,197,94,0.5); }
.bj-btn.bj-stand {
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239,68,68,0.4);
}
.bj-btn.bj-stand:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(239,68,68,0.5); }
.bj-btn.bj-again {
  background: linear-gradient(180deg, #00c6ff, #0099cc);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,198,255,0.4);
  margin-top: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.bj-btn.bj-again:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,198,255,0.5); }
.bj-result {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 12px;
  animation: bjResultPop 0.4s ease-out;
}
@keyframes bjResultPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.bj-result.bj-win { background: rgba(34,197,94,0.25); color: #4ade80; border: 2px solid rgba(74,222,128,0.5); text-shadow: 0 0 20px rgba(34,197,94,0.4); }
.bj-result.bj-lose { background: rgba(239,68,68,0.25); color: #f87171; border: 2px solid rgba(248,113,113,0.5); text-shadow: 0 0 20px rgba(239,68,68,0.3); }
.bj-result.bj-push { background: rgba(148,163,184,0.2); color: #cbd5e1; border: 2px solid rgba(203,213,225,0.3); }
.bj-bet-setup { margin: 16px 0; text-align: center; }
.bj-bet-setup label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.bj-bet-setup input { width: 100px; padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: #fff; margin-right: 10px; text-align: center; }
.bj-bet-setup .btn { margin-top: 10px; }
.topbar-daily-wrap { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.daily-next-text { font-size: 12px; color: rgba(255,255,255,0.6); }

/* MAYIN TARLASI */
.mines-login-required { background: rgba(19,22,34,0.8); border-radius: 12px; padding: 24px; text-align: center; color: rgba(255,255,255,0.7); }
.mines-game { max-width: 420px; margin: 0 auto; }
.mines-setup { margin-bottom: 20px; }
.mines-bet-row { margin-bottom: 14px; }
.mines-bet-row label { display: block; font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.mines-bet-row input { width: 120px; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(0,0,0,0.3); color: #fff; font-size: 16px; }
.mines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.mines-cell {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  background: linear-gradient(145deg, #1e293b, #334155);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.mines-cell:hover:not(.opened):not(.safe):not(.mine) { background: #475569; transform: scale(1.03); }
.mines-cell.safe { background: linear-gradient(145deg, #166534, #15803d); border-color: #22c55e; cursor: default; }
.mines-cell.mine { background: linear-gradient(145deg, #b91c1c, #991b1b); border-color: #ef4444; cursor: default; animation: minesBoom 0.4s ease; }
@keyframes minesBoom { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
.mines-multiplier { font-size: 18px; color: #00c6ff; margin-bottom: 12px; }
.mines-cashout-btn { background: linear-gradient(180deg, #22c55e, #16a34a); color: #fff; padding: 12px 28px; font-weight: 700; margin-top: 12px; }
.mines-result { padding: 16px; border-radius: 12px; text-align: center; font-weight: 700; font-size: 18px; margin-top: 16px; }
.mines-result.win { background: rgba(34,197,94,0.25); color: #4ade80; border: 2px solid rgba(74,222,128,0.5); }
.mines-result.lose { background: rgba(239,68,68,0.25); color: #f87171; border: 2px solid rgba(248,113,113,0.5); }

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #10121e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-box-wide { max-width: 720px; }
.form-row { display: flex; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.form-row-2 .form-group { flex: 1; min-width: 200px; }
.modal-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-box .form-group { margin-bottom: 14px; }
.modal-box .form-row .form-group { margin-bottom: 0; }
.modal-box label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.modal-box input,
.modal-box select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.25);
  color: #e8eaf0;
  font-size: 14px;
  font-family: inherit;
}
.modal-box input:focus,
.modal-box select:focus {
  outline: none;
  border-color: #00c6ff;
}
.modal-box .btn { margin-top: 8px; margin-right: 8px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 20px;
  cursor: pointer;
}
.modal-box .error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.modal-box .success { font-size: 12px; color: #22c55e; margin-top: 4px; }

/* Tüm formlar (modal + admin) - input/select/textarea aynı tasarım */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-group input:not([type="checkbox"]):not([type="file"]),
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(10,12,20,0.6);
  color: #e8eaf0;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}
.form-group input:not([type="checkbox"]):not([type="file"]):hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255,255,255,0.28);
  background: rgba(14,17,28,0.7);
}
.form-group input:not([type="checkbox"]):not([type="file"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00c6ff;
  box-shadow: 0 0 0 3px rgba(0,198,255,0.2);
  background: rgba(14,17,28,0.85);
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='rgba(255,255,255,0.6)' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}
.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0 10px 0 0;
  cursor: pointer;
  accent-color: #00c6ff;
}
.form-group input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.25);
  background: rgba(10,12,20,0.5);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  cursor: pointer;
}
.form-group input[type="file"]::-webkit-file-upload-button {
  padding: 6px 14px;
  margin-right: 12px;
  border-radius: 6px;
  border: 1px solid rgba(0,198,255,0.4);
  background: rgba(0,198,255,0.15);
  color: #00c6ff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.form-group input[type="number"] {
  max-width: 120px;
}
.form-group label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

/* Admin kart formları – daha belirgin alanlar */
.admin-card .form-group label { color: rgba(255,255,255,0.9); }
.admin-card .form-group input:not([type="checkbox"]):not([type="file"]),
.admin-card .form-group select,
.admin-card .form-group textarea {
  border-color: rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
}
.admin-card .form-group input:not([type="checkbox"]):not([type="file"]):focus,
.admin-card .form-group select:focus,
.admin-card .form-group textarea:focus {
  border-color: #00c6ff;
  box-shadow: 0 0 0 3px rgba(0,198,255,0.25);
}
.admin-card .btn { margin-right: 10px; margin-top: 4px; }

/* Profil / Ayarlar sayfaları */
.profile-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.profile-card {
  background: linear-gradient(145deg, #161a28 0%, #12151f 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.profile-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(0,198,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 600;
  font-size: 15px;
  color: #e8eaf0;
}
.profile-card-header i {
  color: #00c6ff;
  font-size: 18px;
}
.profile-card-body {
  padding: 20px;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 16px;
}
.profile-row:last-child { border-bottom: none; }
.profile-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.profile-value {
  font-size: 14px;
  color: #e8eaf0;
  text-align: right;
  word-break: break-word;
}
.profile-row-coins { flex-direction: column; align-items: flex-start; gap: 8px; }
.profile-value-coins {
  font-size: 22px;
  font-weight: 700;
  color: #f59e0b;
}
.profile-card-body .btn-sm {
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 13px;
}
.profile-msg {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 13px;
}
.profile-msg.success { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.profile-msg.error { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.profile-card-form .profile-form .form-group { margin-bottom: 16px; }
.profile-card-form .profile-form .btn { margin-top: 8px; }

/* Footer */
.site-footer {
  margin-top: 28px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0088cc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0,136,204,0.1);
  border: 1px solid rgba(0,136,204,0.25);
  transition: background 0.2s, border-color 0.2s;
}
.footer-telegram:hover { background: rgba(0,136,204,0.2); border-color: rgba(0,136,204,0.4); color: #0088cc; }
.footer-telegram i { font-size: 18px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* Debug panel */
.debug-panel {
  background: #1a1d2e;
  border: 1px solid rgba(0,198,255,0.3);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}
.debug-panel pre { margin: 10px 0 0; padding: 12px; background: rgba(0,0,0,0.3); border-radius: 6px; overflow-x: auto; white-space: pre-wrap; }
.debug-panel a { color: #00c6ff; }

/* MOBILE */
#mob-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 198;
}
#mob-overlay.show { display: block; }

@media (max-width: 768px) {
  #sidebar {
    position: fixed !important;
    top: 0; left: 0; bottom: 0;
    height: 100vh !important;
    width: 260px !important;
    transform: translateX(-100%);
    transition: transform 0.28s ease !important;
    z-index: 199;
  }
  #sidebar.mob-open { transform: translateX(0) !important; }
  #sidebar.collapsed { width: 260px !important; }
  .mob-menu-btn {
    display: flex !important;
    z-index: 200;
    position: relative;
  }
  .sb-toggle { display: none !important; }
  .sb-brand-wrap { opacity: 1 !important; width: auto !important; flex: 1 !important; }
  .sb-text { opacity: 1 !important; max-width: 200px !important; }
  .sb-badge { opacity: 1 !important; }
  .sb-section { opacity: 1 !important; }

  /* Mobil topbar: tüm öğeler ortalı ve orantılı (sidebar ikonu dahil) */
  .topbar {
    height: auto;
    min-height: 56px;
    padding: 10px 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
  }
  .topbar .mob-menu-btn {
    order: 0;
    flex-shrink: 0;
  }
  .topbar-right {
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    min-width: 0;
    flex: 0 1 auto;
  }
  .topbar-coins {
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .topbar-daily-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .topbar-daily-wrap .daily-btn-text {
    display: none !important;
  }
  .topbar-daily-wrap .btn-daily {
    font-size: 0;
    padding: 6px 10px;
    min-width: 36px;
  }
  .topbar-daily-wrap .btn-daily i {
    font-size: 14px;
    margin-right: 0;
  }
  .topbar-daily-wrap .btn-daily.btn-daily-icon {
    padding: 6px 10px;
    min-width: 36px;
  }
  .topbar-daily-wrap .btn-daily.btn-daily-icon i {
    margin-right: 0;
  }
  .topbar-daily-wrap .daily-next-text {
    display: none !important;
  }
  .daily-gift-wrap {
    position: relative;
  }
  .topbar-bell-gift {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .daily-mobile-popover {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    padding: 10px 14px;
    background: #1a1d2e;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    max-width: 200px;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    z-index: 250;
    overflow: hidden;
  }
  .daily-mobile-popover span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-daily-wrap .btn-daily {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .daily-next-text {
    font-size: 11px;
    line-height: 1.3;
    word-break: break-word;
    max-width: 100px;
    flex-shrink: 0;
  }
  .user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    order: 10;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .topbar-right-end {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    order: 5;
  }
  .btn-icon-only {
    padding: 6px 10px;
    min-width: 36px;
    font-size: 0;
  }
  .btn-icon-only i {
    font-size: 14px;
    margin: 0;
  }
  .topbar-right .btn-ghost {
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .topbar-right .btn-blue {
    padding: 6px 12px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .ad-row {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .ad-row .ad-card { width: 100%; max-width: 400px; min-height: 100px; padding: 0; overflow: hidden; }
  .ad-row .ad-card .ad-card-link {
    flex: 1;
    display: flex;
    align-items: stretch;
    gap: 0;
    min-height: 100px;
  }
  /* Mobilde logo sola, opak şerit içinde – oran korunarak sığar */
  .ad-row .ad-card .ad-card-center {
    order: -1;
    flex: 0 0 100px;
    min-width: 100px;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    padding: 12px 10px;
    margin: 0;
  }
  .ad-row .ad-card .ad-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 88px;
    max-height: 76px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
  }
  .ad-row .ad-card .ad-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }
  .ad-row .ad-card .ad-card-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 14px;
  }
  .ad-row .ad-card .ad-amount { font-size: 18px; }
  .ad-row .ad-card .ad-sub { font-size: 11px; }
  .ad-row .ad-card .ad-go {
    align-self: center;
    margin-right: 12px;
  }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .hero-bg { display: none; }
  .hero-title { font-size: 22px; }
  .hero { padding: 22px 20px; }
  /* Mobilde hero banner (GIF) yüksekliğine göre çerçeve kısalsın */
  .hero.hero-banner { min-height: 0; padding: 0; }
  .hero.hero-banner a { min-height: 0; height: auto; }
  .hero.hero-banner img { width: 100%; height: auto; object-fit: contain; display: block; }
  .page { padding: 14px; }
}
@media (max-width: 440px) {
  .grid3 { grid-template-columns: 1fr; }
  .hero-code-row { flex-wrap: wrap; }
  /* Çok dar ekranda topbar daha kompakt */
  .topbar { padding: 8px 10px; gap: 6px; }
  .topbar-right { gap: 4px 6px; }
  .topbar-daily-wrap .btn-daily { padding: 5px 8px; font-size: 11px; }
  .daily-next-text { max-width: 75px; font-size: 9px; }
  .user-name { max-width: 50px; }
  .topbar-coins { font-size: 11px; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fu { animation: fadeUp 0.35s ease forwards; }
.d1 { animation-delay: 0.04s; opacity: 0; }
.d2 { animation-delay: 0.10s; opacity: 0; }
.d3 { animation-delay: 0.16s; opacity: 0; }
.d4 { animation-delay: 0.22s; opacity: 0; }
.d5 { animation-delay: 0.28s; opacity: 0; }

/* User menu in topbar */
.user-menu { display: flex; align-items: center; gap: 10px; }
.user-name { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }
.user-menu .btn-ghost { padding: 6px 12px; font-size: 12px; }
.user-menu a { color: inherit; text-decoration: none; }

/* Sidebar link items (admin) */
#sidebar a.sb-item { text-decoration: none; color: inherit; display: flex; align-items: center; gap: 12px; }
.sb-admin-label { font-size: 11px; color: rgba(255,255,255,0.45); margin-left: 4px; font-weight: 500; align-self: center; }

/* Admin panel - index ile aynı kart stili */
.admin-card { background: rgba(19,22,34,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 13px; padding: 24px 28px; margin-bottom: 14px; transition: border-color 0.2s; }
.admin-card:hover { border-color: rgba(0,198,255,0.22); }
.admin-card h2 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.admin-table-wrap { background: rgba(0,0,0,0.2); border-radius: 10px; overflow: hidden; margin-top: 12px; }
.admin-table-wrap table { width: 100%; border-collapse: collapse; }
.admin-table-wrap th, .admin-table-wrap td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); font-size: 13px; }
.admin-table-wrap th { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.admin-table-wrap tr:last-child td { border-bottom: none; }
.admin-table-wrap .btn-sm { padding: 6px 12px; font-size: 12px; margin-right: 6px; text-decoration: none; display: inline-block; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.dash-card { background: rgba(19,22,34,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; transition: border-color 0.2s; }
.dash-card:hover { border-color: rgba(0,198,255,0.2); }
.dash-card .num { font-size: 28px; font-weight: 800; background: linear-gradient(90deg, #00c6ff, #00e5cc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dash-card .lbl { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* Bildirim ikonu ve panel */
.topbar-notification-wrap { position: relative; }
.btn-icon { padding: 6px 10px; position: relative; }
.bildirim-badge { position: absolute; top: 2px; right: 2px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.bildirim-panel { position: absolute; top: 100%; right: 0; margin-top: 6px; width: 320px; max-height: 400px; background: #161a28; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 300; overflow: hidden; }
.bildirim-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 600; }
.bildirim-listesi { max-height: 320px; overflow-y: auto; padding: 8px; }
.bildirim-item { padding: 12px; border-radius: 8px; margin-bottom: 6px; background: rgba(0,0,0,0.2); font-size: 13px; }
.bildirim-item.okunmadi { background: rgba(0,198,255,0.08); border-left: 3px solid #00c6ff; }
.bildirim-item strong { display: block; margin-bottom: 4px; }
.bildirim-item p { margin: 4px 0 0; color: rgba(255,255,255,0.7); font-size: 12px; }
.bildirim-date { font-size: 11px; color: rgba(255,255,255,0.4); }

/* Masaüstü: günlük ödül sadece hediye, sonraki yazı gizli (tıklayınca popover) */
.daily-next-hidden { display: none !important; }
.daily-btn-text { display: none !important; }

/* Bölüm başlıkları */
.section-block { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.section-title { font-size: 18px; font-weight: 700; color: #e8eaf0; margin-bottom: 14px; display: flex; align-items: center; }

/* Yayındaki site (tek büyük kutu) */
.yayindaki-kutu { display: flex; align-items: center; gap: 24px; padding: 24px; background: linear-gradient(145deg, #1a1d2e 0%, #12151f 100%); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; flex-wrap: wrap; }
.yayindaki-logo { flex-shrink: 0; }
.yayindaki-logo img { max-height: 64px; max-width: 160px; object-fit: contain; }
.yayindaki-body { flex: 1; min-width: 0; }
.yayindaki-body h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.yayindaki-aciklama { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 14px; line-height: 1.5; }
.btn-yayindaki-giris {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #fff !important;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(0,198,255,0.35);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-yayindaki-giris:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,198,255,0.45); }

/* Yayındaki site ayrı sayfa: arka plan (1. resim mobil, 2. resim masaüstü) */
.yayindaki-sayfa { position: relative; }
.yayindaki-sayfa .yayindaki-kutu-sayfa {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../assets/yayindaki-bg-desktop.png');
}
@media (max-width: 768px) {
  .yayindaki-sayfa .yayindaki-kutu-sayfa { background-image: url('../assets/yayindaki-bg-mobile.png'); }
}
.section-empty { color: rgba(255,255,255,0.6); padding: 20px; }

/* Bonus kutuları (4 renk) */
.bonus-kutulari-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bonus-kutu {
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 140px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
}
.bonus-kutu::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.bonus-kutu > * { position: relative; z-index: 1; }
.bonus-kutu-logo { flex-shrink: 0; }
.bonus-kutu-logo img { max-height: 72px; max-width: 140px; width: auto; height: auto; object-fit: contain; }
.bonus-kutu-aciklama-wrap {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  margin-top: 4px;
}
.bonus-kutu-aciklama { font-size: 12px; color: rgba(255,255,255,0.95); line-height: 1.45; flex: 1; text-shadow: 0 1px 2px rgba(0,0,0,0.5); margin: 0; }
.bonus-giris-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.95);
  color: #111 !important;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  transition: background 0.2s ease, transform 0.15s ease;
}
.bonus-giris-btn:hover { background: #fff; transform: translateY(-1px); }
.bonus-green { background-color: #0d3d2d; background-image: url('../assets/bonus-bg-desktop.png'); }
.bonus-red { background-color: #3d1d1d; background-image: url('../assets/bonus-bg-desktop.png'); }
.bonus-blue { background-color: #1d2d3d; background-image: url('../assets/bonus-bg-desktop.png'); }
.bonus-yellow { background-color: #3d3520; background-image: url('../assets/bonus-bg-desktop.png'); }
@media (max-width: 768px) {
  .bonus-kutulari-row { grid-template-columns: 1fr 1fr; }
  .bonus-green, .bonus-red, .bonus-blue, .bonus-yellow {
    background-image: url('../assets/bonus-bg-mobile.png');
  }
}
@media (max-width: 440px) { .bonus-kutulari-row { grid-template-columns: 1fr; } }

/* Deneme bonusları (geniş dikdörtgen) */
.deneme-bonuslari-list { display: flex; flex-direction: column; gap: 14px; }
.deneme-kutu { display: flex; align-items: center; gap: 20px; padding: 20px; background: rgba(22,26,40,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; flex-wrap: wrap; }
.deneme-logo img { max-height: 48px; max-width: 120px; object-fit: contain; }
.deneme-body { flex: 1; min-width: 200px; }
.deneme-body h4 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.deneme-body p { font-size: 13px; color: rgba(255,255,255,0.75); margin-bottom: 10px; line-height: 1.4; }
.deneme-kucuk img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }

/* Ödüller / Günlük ödül */
.oduller-gunluk-kutu { padding: 20px; background: rgba(22,26,40,0.6); border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); }
.oduller-gunluk-kutu p { margin-bottom: 10px; color: rgba(255,255,255,0.85); }
.oduller-coins { font-size: 16px; }
.link-blue { color: #00c6ff; text-decoration: none; }
.link-blue:hover { text-decoration: underline; }

/* Çekiliş sayfası */
.cekilis-list { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.cekilis-card { padding: 20px; background: rgba(22,26,40,0.8); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; }
.cekilis-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cekilis-etiket { font-size: 11px; padding: 4px 8px; background: rgba(0,198,255,0.2); color: #00c6ff; border-radius: 6px; }
.cekilis-card h3 { font-size: 18px; color: #fff; margin: 0; }
.cekilis-aciklama { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 10px; line-height: 1.5; }
.cekilis-meta { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.cekilis-katildi { color: #22c55e; font-size: 14px; }
.cekilis-giris { color: rgba(255,255,255,0.6); font-size: 14px; }
.cekilis-empty { color: rgba(255,255,255,0.5); padding: 24px; text-align: center; }
.bonus-renk-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.admin-desc { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
