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

:root {
  --bg: #0a0a1a;
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --gold: #ffd700;
  --gold-dark: #f5a623;
  --gold-glow: rgba(255, 215, 0, 0.4);
  --teal: #00c9a7;
  --purple: #7c5cfc;
  --red: #ff4757;
  --orange: #ff6b35;
  --pink: #ff6b9d;
  --blue: #4a8cff;
  --green: #2ed573;
  --text: #e8eaf6;
  --muted: #7a82a8;
  --radius: 16px;
  --font: 'Segoe UI', system-ui, sans-serif;
}

html, body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: var(--font); 
  height: 100vh;
  overflow: hidden;
  background-image: 
    radial-gradient(ellipse at 10% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(124, 92, 252, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 201, 167, 0.04) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 107, 53, 0.03) 0%, transparent 40%);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ─── POPUP ─── */
#popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 16px;
}
.popup-box {
  position: relative; width: 100%; max-width: 380px; line-height: 0;
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes popIn { from{transform:scale(0.7);opacity:0} to{transform:scale(1);opacity:1} }
.popup-img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
/* invisible tap areas placed over the X and the "Participate Now" button in the image */
.popup-close, .popup-cta {
  position: absolute; display: block; background: transparent; border: 0;
  padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.popup-close { left: 87.5%; top: 0; width: 12%; height: 11%; border-radius: 50%; }
.popup-cta   { left: 16%; top: 73.2%; width: 72%; height: 14.3%; border-radius: 40px; }
.popup-cta:active { background: rgba(255,255,255,0.12); }

/* ─── MAIN LAYOUT ─── */
.app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ─── TOP FIXED HEADER ─── */
.top-fixed {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.04);
  flex-shrink: 0;
}

/* ─── SCROLLABLE CONTENT ─── */
.scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 0 12px 80px;
  scroll-behavior: smooth;
}
.scroll-content::-webkit-scrollbar {
  width: 3px;
}
.scroll-content::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #ffd700, #ff6b35);
  border-radius: 2px;
}
.scroll-content::-webkit-scrollbar-track {
  background: transparent;
}

/* ─── TOP BANNER ─── */
.promo-banner {
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 107, 53, 0.15));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.06);
  border-radius: 40px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.promo-banner-text { 
  font-size: 10px; font-weight: 700; color: var(--gold); 
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 
}
.promo-banner-text i { color: var(--orange); margin-right: 4px; }
.dl-btn {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 53, 0.15));
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  text-decoration: none;
}
.dl-btn:hover { background: rgba(255, 215, 0, 0.25); transform: scale(1.05); }

/* ─── HEADER WITH LOGO ─── */
.site-header {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 215, 0, 0.04));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.header-left { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  flex-shrink: 0;
}
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.logo-wrapper::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd700, #ff6b35, #ffd700);
  background-size: 200% 200%;
  animation: shimmerBorder 3s ease-in-out infinite;
  z-index: -1;
  padding: 2px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
@keyframes shimmerBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.logo-img { 
  width: 34px; 
  height: 34px; 
  border-radius: 10px; 
  object-fit: cover;
  border: 2px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.site-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700, #ff6b35, #ffd700);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite;
}
.vip-pill {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 8px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.coin-display {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(255, 107, 53, 0.06));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.coin-display:hover { 
  background: rgba(255, 215, 0, 0.15); 
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.coin-plus { font-size: 12px; font-weight: 900; color: var(--green); }
.header-actions { 
  display: flex; 
  gap: 4px; 
  flex-shrink: 0;
}
.icon-btn {
  width: 32px; 
  height: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 13px;
  position: relative;
  transition: all 0.3s;
  color: var(--muted);
}
.icon-btn:hover { 
  background: rgba(255, 215, 0, 0.08); 
  color: var(--gold);
  transform: scale(1.1);
}
.notif-badge {
  position: absolute; top: -3px; right: -3px;
  background: linear-gradient(135deg, #ff4757, #ff6b35);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.4);
}

/* ─── HERO CAROUSEL ─── */
.hero-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #1a0a00;
  border: 1px solid rgba(255, 215, 0, 0.12);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.05), inset 0 0 60px rgba(255, 215, 0, 0.02);
  min-height: 100px;
}
.slides-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide {
  min-width: 100%;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16/9;
  background: #1a0a00;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}
.carousel-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn-left { left: 8px; }
.carousel-btn-right { right: 8px; }
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: #ffd700;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  width: 20px;
  border-radius: 4px;
}

/* ─── PROMO CARDS ─── */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.promo-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0;
  position: relative;
  min-height: 70px;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}
.promo-card:hover { 
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.15);
}
.promo-card.gold { 
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(255, 107, 53, 0.06));
  border-color: rgba(255, 215, 0, 0.08);
}
.promo-card.red { 
  background: linear-gradient(145deg, rgba(255, 71, 87, 0.1), rgba(255, 107, 53, 0.05));
  border-color: rgba(255, 71, 87, 0.06);
}
.promo-card.green { 
  background: linear-gradient(145deg, rgba(46, 213, 115, 0.1), rgba(0, 201, 167, 0.05));
  border-color: rgba(46, 213, 115, 0.06);
}
.pc-icon { 
  position: absolute; 
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
}
.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* ─── MAIL NOTICE ─── */
.mail-notice {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.06), rgba(0, 201, 167, 0.04));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(124, 92, 252, 0.06);
  border-radius: 40px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 12px;
  transition: all 0.3s;
}
.mail-notice:hover { 
  background: rgba(124, 92, 252, 0.08); 
  border-color: rgba(124, 92, 252, 0.12);
}
.mail-notice i:first-child { color: var(--purple); }
.mail-notice i:last-child { color: var(--teal); }

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: 5px;
  padding: 0 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 2px;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tab:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.tab.active { 
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.08));
  border-color: rgba(255, 215, 0, 0.15);
  color: var(--gold);
}
.tab i { font-size: 10px; }

/* ─── SECTION HEADER ─── */
.section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 8px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-title i { 
  background: linear-gradient(135deg, #ffd700, #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px; 
}
.count-pill {
  background: var(--glass-bg);
  border-radius: 12px;
  padding: 1px 10px;
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}
.arrow-btns { display: flex; gap: 4px; }
.arrow-btn {
  width: 26px; height: 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 11px;
  color: var(--muted);
  transition: all 0.3s;
}
.arrow-btn:hover { background: rgba(255, 215, 0, 0.08); color: var(--gold); }

/* ─── GAME CARDS ─── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 12px;
}
.game-card {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 0.78;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
  background: var(--glass-bg);
  backdrop-filter: blur(4px);
  border: 1px solid var(--glass-border);
}
.game-card:hover { 
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 215, 0, 0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.gc1 { background: linear-gradient(145deg, rgba(0,80,20,0.15), rgba(10,60,0,0.08)); border-color: rgba(46, 213, 115, 0.06); }
.gc2 { background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(200, 160, 0, 0.08)); border-color: rgba(255, 215, 0, 0.08); }
.gc3 { background: linear-gradient(145deg, rgba(255, 107, 53, 0.15), rgba(200, 60, 20, 0.08)); border-color: rgba(255, 107, 53, 0.08); }
.gc4 { background: linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(200, 160, 0, 0.06)); border-color: rgba(255, 215, 0, 0.06); }
.gc5 { background: linear-gradient(145deg, rgba(255, 71, 87, 0.15), rgba(200, 30, 50, 0.08)); border-color: rgba(255, 71, 87, 0.08); }
.gc6 { background: linear-gradient(145deg, rgba(0, 60, 70, 0.15), rgba(0, 30, 40, 0.08)); border-color: rgba(0, 201, 167, 0.06); }
.gc-candy { 
  background: linear-gradient(145deg, rgba(255, 107, 157, 0.15), rgba(200,50,120,0.08));
  border: 1px solid rgba(255, 107, 157, 0.06);
}
.gc-candy .game-card-img { filter: drop-shadow(0 0 20px rgba(255, 107, 157, 0.15)); }
.gc-candy .game-label { color: #ff6b9d; }
.gc-candy .game-badge { background: rgba(255, 107, 157, 0.15); border: 1px solid rgba(255, 107, 157, 0.1); color: #ff6b9d; }

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  z-index: 1;
  transition: all 0.3s;
}
.game-card:hover .game-img { 
  transform: scale(1.05);
}
.game-card-img { 
  width: 80%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; 
  color: #fff;
  overflow: hidden;
  border-radius: 12px;
}
.game-card-img i { font-size: 32px; }
.game-badge {
  position: absolute; top: 6px; right: 6px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 7px; font-weight: 800;
  border-radius: 10px; padding: 2px 8px; z-index: 2;
}
.game-badge.green-badge { background: rgba(46, 213, 115, 0.3); color: #2ed573; }
.game-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 16px 6px 8px;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 215, 0, 0.7);
  text-align: center;
  z-index: 1;
}

/* ─── BOTTOM NAV ─── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(10, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 215, 0, 0.04);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 8px 0 14px;
  z-index: 50;
  border-radius: 24px 24px 0 0;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: rgba(255,255,255,0.25);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 0;
  transition: all 0.3s;
  cursor: pointer;
}
.nav-item:hover { color: rgba(255,255,255,0.5); }
.nav-item.active { color: var(--gold); }
.nav-item .ni-icon { font-size: 18px; }
.nav-item .ni-label { font-size: 8px; font-weight: 600; }
.nav-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: rgba(255,255,255,0.25);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}
.promo-orb {
  width: 46px; height: 46px;
  background: radial-gradient(circle at 30% 30%, #ffd700, #ff6b35);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 17px;
  margin-top: -18px;
  border: 3px solid #0a0a1a;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.15);
  position: relative;
  transition: all 0.3s;
}
.promo-orb:hover { transform: scale(1.08); box-shadow: 0 0 60px rgba(255, 215, 0, 0.2); }
.promo-orb .notif-badge { 
  position: absolute; top: -4px; right: -4px; 
  background: linear-gradient(135deg, #ff4757, #ff6b35);
  color: #fff; 
  font-size: 7px; font-weight: 700;
  width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-promo .ni-label { 
  color: var(--gold); 
  font-size: 8px; 
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

/* ─── FLOATING SOCIAL ICONS ─── */
.floating-social {
  position: fixed;
  bottom: 90px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 45;
}
.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}
.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}
.social-icon.whatsapp {
  background: #25D366;
  animation-delay: 0s;
}
.social-icon.telegram {
  background: #0088cc;
  animation-delay: 0.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 380px) {
  .site-name { font-size: 10px; }
  .coin-display { font-size: 9px; padding: 3px 8px; }
  .coin-plus { font-size: 10px; }
  .vip-pill { font-size: 7px; padding: 2px 8px; }
  .logo-img { width: 28px; height: 28px; }
  .icon-btn { width: 28px; height: 28px; font-size: 11px; }
  .promo-card { min-height: 60px; }
  .game-card-img { width: 70%; height: 70%; }
  .slide { aspect-ratio: 16/9; }
  .social-icon { width: 42px; height: 42px; font-size: 20px; }
}

/* ═════════ CLEAN MODERN THEME (overrides) ═════════ */
:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --line: #e6eaf2;
  --ink: #0f172a;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-soft: #e8f7ee;
  --gold: #d97706;
  --gold-soft: #fff4e0;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 14px rgba(15,23,42,.08);
  --radius: 16px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
html, body { background: var(--bg); background-image: none; color: var(--ink); font-family: var(--font); }

/* header */
.top-fixed {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15,23,42,.04);
  padding: 10px 12px 10px;
}
.promo-banner {
  background: var(--brand-soft); border: 1px solid #cdeedb; backdrop-filter: none;
  border-radius: 12px; padding: 7px 8px 7px 12px; margin-bottom: 10px;
}
.promo-banner-text { color: var(--brand-dark); font-size: 11px; font-weight: 600; }
.promo-banner-text i { color: var(--brand); }
.dl-btn {
  background: var(--brand); color: #fff; border: 0; border-radius: 8px;
  padding: 5px 12px; font-size: 10px; font-weight: 700;
}
.dl-btn:hover { background: var(--brand-dark); transform: none; }

.site-header { background: transparent; border: 0; backdrop-filter: none; padding: 0; gap: 8px; }
.logo-wrapper::after { display: none; }
.logo-img { border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 10px; }
.site-name {
  font-family: var(--font); font-size: 14px; font-weight: 800; letter-spacing: -.2px;
  background: none; -webkit-text-fill-color: var(--ink); color: var(--ink); animation: none;
}
.vip-pill {
  background: var(--gold-soft); border: 1px solid #fde3b0; color: var(--gold);
  font-size: 9px; padding: 3px 9px; border-radius: 999px;
}
.coin-display {
  background: var(--brand); border: 0; color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.coin-display:hover { background: var(--brand-dark); transform: none; box-shadow: 0 2px 8px rgba(22,163,74,.3); }
.coin-plus { color: #fff; background: rgba(255,255,255,.25); width: 16px; height: 16px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }
.icon-btn {
  background: #f1f4f9; border: 1px solid var(--line); color: #475569; width: 34px; height: 34px; border-radius: 12px;
}
.icon-btn:hover { background: var(--brand-soft); color: var(--brand); transform: none; }
.notif-badge { background: #ef4444; box-shadow: 0 0 0 2px #fff; font-size: 8px; width: 16px; height: 16px; }

/* content */
.scroll-content { padding: 12px 12px 96px; }
.scroll-content::-webkit-scrollbar-thumb { background: #cbd5e1; }

.hero-carousel {
  background: #e2e8f0; border: 0; border-radius: 20px; box-shadow: var(--shadow-md); margin-bottom: 14px;
}
.slide { background: #e2e8f0; }
.carousel-btn { background: rgba(255,255,255,.9); color: #334155; border: 0; box-shadow: var(--shadow-sm); backdrop-filter: none; }
.carousel-btn:hover { background: #fff; color: var(--brand); }
.carousel-dot { background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px rgba(15,23,42,.12); }
.carousel-dot.active { background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.12); width: 20px; }

.promo-grid { gap: 10px; margin-bottom: 14px; }
.promo-card, .promo-card.gold, .promo-card.red, .promo-card.green {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); backdrop-filter: none; min-height: 76px;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line); }

.mail-notice {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: none;
  padding: 11px 14px; font-size: 12px; font-weight: 600; color: #334155; box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.mail-notice:hover { background: #fafbfe; border-color: #d6dcea; }
.mail-notice i:first-child { color: var(--brand); }
.mail-notice i:last-child { color: var(--gold); }

.tabs { gap: 8px; padding-bottom: 12px; }
.tab {
  background: var(--card); border: 1px solid var(--line); color: #475569; backdrop-filter: none;
  font-size: 11px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.tab:hover { background: #f8fafc; color: var(--ink); }
.tab.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 2px 8px rgba(22,163,74,.3); }

.section-hd { padding: 6px 0 10px; }
.section-title { font-size: 15px; font-weight: 800; letter-spacing: -.2px; gap: 8px; }
.section-title > i {
  background: var(--brand-soft); -webkit-text-fill-color: var(--brand); color: var(--brand);
  width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px;
}
.count-pill { background: #eef1f7; color: var(--muted); font-size: 10px; font-weight: 600; padding: 2px 10px; }
.arrow-btn { background: var(--card); border: 1px solid var(--line); color: #475569; width: 28px; height: 28px; box-shadow: var(--shadow-sm); }
.arrow-btn:hover { background: var(--brand-soft); color: var(--brand); }

.games-grid { gap: 12px; padding-bottom: 16px; }
.game-card, .gc1, .gc2, .gc3, .gc4, .gc5, .gc6, .gc-candy {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}
.game-card:hover { transform: translateY(-3px); border-color: #cfe9da; box-shadow: var(--shadow-md); }
.game-img { border-radius: 0; }
.game-label, .gc-candy .game-label {
  background: linear-gradient(to top, rgba(15,23,42,.82), rgba(15,23,42,0));
  color: #fff; font-size: 10px; font-weight: 700; padding: 22px 6px 8px;
}
.game-badge, .gc-candy .game-badge {
  background: #ef4444; color: #fff; border: 0; backdrop-filter: none;
  font-size: 8px; font-weight: 800; padding: 3px 8px; border-radius: 999px; top: 8px; right: 8px; box-shadow: 0 2px 6px rgba(239,68,68,.35);
}
.game-badge.green-badge, .gc-candy .game-badge.green-badge { background: var(--brand); color: #fff; box-shadow: 0 2px 6px rgba(22,163,74,.35); }

/* bottom nav */
.bottom-nav {
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 18px rgba(15,23,42,.07); backdrop-filter: blur(12px);
}
.nav-item, .nav-promo { color: #94a3b8; }
.nav-item:hover { color: #64748b; }
.nav-item.active { color: var(--brand); }
.nav-item .ni-label, .nav-promo .ni-label { font-size: 9px; font-weight: 600; }
.nav-promo .ni-label { color: var(--brand); text-shadow: none; font-weight: 700; }
.promo-orb {
  background: linear-gradient(145deg, #22c55e, #15803d); color: #fff; border: 4px solid #fff;
  box-shadow: 0 6px 16px rgba(22,163,74,.4);
}
.promo-orb:hover { box-shadow: 0 8px 20px rgba(22,163,74,.5); }
.promo-orb .notif-badge { background: #ef4444; box-shadow: 0 0 0 2px #fff; }

/* floating chat buttons */
.social-icon { box-shadow: 0 6px 16px rgba(15,23,42,.22); }
.game-card-img { width: 100%; height: 100%; border-radius: 0; }
.game-card .game-img { border-radius: 0; }
.header-actions { gap: 6px; }
@media (max-width: 430px) {
  .site-name { display: none; }
  .coin-display { font-size: 10.5px; padding: 6px 10px; }
  .icon-btn { width: 32px; height: 32px; }
}
/* ── game grid: 2 big cards per row (last odd card spans the full row) ── */
.games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.games-grid .game-card { grid-column: auto; aspect-ratio: 1; border-radius: 18px; }
.games-grid .game-card:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 1.08; }
.games-grid .game-card:last-child:nth-child(odd) .game-img { object-fit: cover; object-position: center; }
.games-grid .game-img { object-position: center; }
.games-grid .game-label { font-size: 14px; padding: 26px 8px 10px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.games-grid .game-badge { font-size: 10px; padding: 3px 10px; top: 8px; right: 8px; }
/* ═════════ END CLEAN MODERN THEME ═════════ */
html body.dh-body .app-wrapper{height:100%;}
