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

:root {
  --bg: #241238;
  --glass-bg: rgba(177, 113, 255, 0.13);
  --glass-border: rgba(255, 126, 91, 0.28);
  --gold: #ff805e;
  --gold-dark: #d94735;
  --gold-glow: rgba(255, 111, 76, 0.48);
  --teal: #b171ff;
  --purple: #b171ff;
  --red: #f05272;
  --orange: #ff9b72;
  --pink: #f17abc;
  --blue: #9970ff;
  --green: #45c995;
  --text: #fff6ff;
  --muted: #d1badd;
  --radius: 16px;
  --font: 'Segoe UI', system-ui, sans-serif;
}
/* #090915 */
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  height: 100vh;
  overflow: hidden;
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(255,111,76, 0.20) 0%, transparent 52%),
    radial-gradient(ellipse at 88% 78%, rgba(177,113,255, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255,128,94, 0.16) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 0%, rgba(177,113,255, 0.18) 0%, transparent 45%);
}

.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(10, 4, 22, 0.52);
  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,135,95,0.18); }

/* ─── 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(14, 7, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 12px 8px;
  border-bottom: 1px solid rgba(177,113,255, 0.22);
  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, #e9583d, #ff875f, #b171ff);
  border-radius: 2px;
}
.scroll-content::-webkit-scrollbar-track {
  background: transparent;
}

/* ─── TOP BANNER ─── */
.promo-banner {
  background: linear-gradient(135deg, rgba(233,88,61, 0.24), rgba(255,128,94, 0.16), rgba(177,113,255, 0.22));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,135,95, 0.28);
  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(--red); margin-right: 4px; }
.dl-btn {
  background: linear-gradient(135deg, #e9583d, #ff805e);
  color: #ffffff;
  border: 1px solid rgba(255,135,95, 0.35);
  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 { filter: brightness(1.08); transform: scale(1.05); }

/* ─── HEADER WITH LOGO ─── */
.site-header {
  background: linear-gradient(145deg, rgba(177,113,255, 0.14), rgba(233,88,61, 0.08));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(177,113,255, 0.24);
  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, #e9583d, #ff875f, #b171ff);
  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,135,95, 0.35);
  box-shadow: 0 0 20px rgba(233,88,61, 0.22);
}
.site-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, #ff875f, #e9583d, #b171ff);
  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(177,113,255, 0.28), rgba(255,128,94, 0.18));
  border: 1px solid rgba(255,135,95, 0.32);
  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(233,88,61, 0.24), rgba(255,128,94, 0.2), rgba(177,113,255, 0.2));
  border: 1px solid rgba(255,135,95, 0.35);
  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(233,88,61, 0.32);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255,128,94, 0.25);
}
.coin-plus { font-size: 12px; font-weight: 900; color: #ff875f; }
.header-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.icon-btn {
  width: 32px;
  height: 32px;
  background: rgba(177,113,255, 0.14);
  border: 1px solid rgba(177,113,255, 0.25);
  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(233,88,61, 0.22);
  color: var(--gold);
  transform: scale(1.1);
}
.notif-badge {
  position: absolute; top: -3px; right: -3px;
  background: linear-gradient(135deg, #e9583d, #ff805e);
  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(233,88,61, 0.55);
}

/* ─── HERO CAROUSEL ─── */
.hero-carousel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 12px;
  background: #1b092c;
  border: 1px solid rgba(255,135,95, 0.28);
  box-shadow: 0 0 40px rgba(177,113,255, 0.16), inset 0 0 60px rgba(233,88,61, 0.08);
  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: #1b092c;
}
.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(20, 9, 38, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,135,95, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  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(233,88,61, 0.45);
  color: #ff875f;
  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.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: linear-gradient(135deg, #e9583d, #ff875f);
  box-shadow: 0 0 12px rgba(255,135,95, 0.55);
  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,135,95, 0.45);
}
.promo-card.gold {
  background: linear-gradient(145deg, rgba(255,135,95, 0.22), rgba(255,128,94, 0.12));
  border-color: rgba(255,135,95, 0.28);
}
.promo-card.red {
  background: linear-gradient(145deg, rgba(233,88,61, 0.22), rgba(177,113,255, 0.14));
  border-color: rgba(233,88,61, 0.28);
}
.promo-card.green {
  background: linear-gradient(145deg, rgba(177,113,255, 0.22), rgba(255,128,94, 0.12));
  border-color: rgba(177,113,255, 0.28);
}
.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;
}
.promo-label {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 6px 7px;
  background: linear-gradient(transparent, rgba(22, 15, 28, .9));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  pointer-events: none;
}

/* ─── MAIL NOTICE ─── */
.mail-notice {
  background: linear-gradient(135deg, rgba(177,113,255, 0.16), rgba(233,88,61, 0.12));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(177,113,255, 0.24);
  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(177,113,255, 0.24);
  border-color: rgba(255,135,95, 0.35);
}
.mail-notice i:first-child { color: var(--purple); }
.mail-notice i:last-child { color: var(--gold); }

/* ─── 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(177,113,255, 0.16); color: var(--text); }
.tab.active {
  background: linear-gradient(135deg, rgba(233,88,61, 0.28), rgba(255,128,94, 0.22), rgba(177,113,255, 0.28));
  border-color: rgba(255,135,95, 0.45);
  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, #e9583d, #ff875f, #b171ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px;
}
.count-pill {
  background: rgba(177,113,255, 0.16);
  border: 1px solid rgba(177,113,255, 0.2);
  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(233,88,61, 0.22); 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,135,95, 0.42);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.gc1 { background: linear-gradient(145deg, rgba(177,113,255, 0.22), rgba(233,88,61, 0.12)); border-color: rgba(177,113,255, 0.25); }
.gc2 { background: linear-gradient(145deg, rgba(255,135,95, 0.22), rgba(233,88,61, 0.14)); border-color: rgba(255,135,95, 0.28); }
.gc3 { background: linear-gradient(145deg, rgba(255,128,94, 0.22), rgba(177,113,255, 0.16)); border-color: rgba(255,128,94, 0.28); }
.gc4 { background: linear-gradient(145deg, rgba(255,135,95, 0.18), rgba(177,113,255, 0.18)); border-color: rgba(255,135,95, 0.24); }
.gc5 { background: linear-gradient(145deg, rgba(233,88,61, 0.24), rgba(177,113,255, 0.14)); border-color: rgba(233,88,61, 0.28); }
.gc6 { background: linear-gradient(145deg, rgba(109, 40, 217, 0.24), rgba(255,128,94, 0.14)); border-color: rgba(177,113,255, 0.26); }
.gc-candy {
  background: linear-gradient(145deg, rgba(233,88,61, 0.22), rgba(177,113,255, 0.2));
  border: 1px solid rgba(255,135,95, 0.25);
}
.gc-candy .game-card-img { filter: drop-shadow(0 0 20px rgba(255,135,95, 0.22)); }
.gc-candy .game-label { color: #ff875f; }
.gc-candy .game-badge { background: rgba(233,88,61, 0.28); border: 1px solid rgba(255,135,95, 0.25); color: #ff875f; }

.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(20, 9, 38, 0.72);
  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(255,128,94, 0.35); color: #ff875f; }
.game-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(16, 7, 30, 0.85), transparent);
  padding: 16px 6px 8px;
  font-size: 9px;
  font-weight: 700;
  color: #ff875f;
  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(14, 7, 26, 0.94);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(177,113,255, 0.22);
  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(245, 240, 255, 0.36);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 0;
  transition: all 0.3s;
  cursor: pointer;
}
.nav-item:hover { color: rgba(245, 240, 255, 0.7); }
.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(245, 240, 255, 0.36);
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
}
.promo-orb {
  width: 46px; height: 46px;
  background: radial-gradient(circle at 30% 25%, #ff875f, #e9583d 65%, #9970ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 17px;
  margin-top: -18px;
  border: 3px solid #140926;
  box-shadow: 0 0 40px rgba(233,88,61, 0.35);
  position: relative;
  transition: all 0.3s;
}
.promo-orb:hover { transform: scale(1.08); box-shadow: 0 0 60px rgba(255,135,95, 0.45); }
.promo-orb .notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: linear-gradient(135deg, #e9583d, #ff805e);
  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,135,95, 0.25);
}

/* ─── 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.45);
  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.65);
}
.social-icon.whatsapp {
  background: linear-gradient(135deg, #e9583d, #ff805e);
  animation-delay: 0s;
}
.social-icon.telegram {
  background: linear-gradient(135deg, #9970ff, #b171ff);
  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; }
}

/* ═════════ TERRACOTTA & VIOLET THEME (overrides) ═════════ */
:root {
  --bg: #241238;
  --card: #321847;
  --line: #64417b;
  --ink: #fff6ff;
  --text: #fff6ff;
  --muted: #d1badd;
  --brand: #f05b40;
  --brand-dark: #c94333;
  --brand-soft: rgba(255,111,76, 0.22);
  --gold: #ff805e;
  --gold-soft: rgba(255,128,94, 0.20);
  --purple: #b171ff;
  --orange: #ff9b72;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35), 0 0 15px rgba(177,113,255, 0.20);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 24px rgba(255,111,76, 0.24);
  --radius: 16px;
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}
html, body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 15% 15%, rgba(255,111,76, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(177,113,255, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255,128,94, 0.16) 0%, transparent 45%);
  color: var(--ink);
  font-family: var(--font);
}

/* header */
.top-fixed {
  background: rgba(36, 18, 56, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  padding: 10px 12px 10px;
}
.promo-banner {
  background: linear-gradient(135deg, rgba(233,88,61, 0.22), rgba(255,128,94, 0.16), rgba(177,113,255, 0.22));
  border: 1px solid rgba(255,135,95, 0.35);
  backdrop-filter: none;
  border-radius: 12px; padding: 7px 8px 7px 12px; margin-bottom: 10px;
}
.promo-banner-text { color: var(--gold); font-size: 11px; font-weight: 600; }
.promo-banner-text i { color: var(--brand); }
.dl-btn {
  background: linear-gradient(135deg, #f05b40, #ff875f);
  color: #fff; border: 0; border-radius: 8px;
  padding: 5px 12px; font-size: 10px; font-weight: 700;
}
.dl-btn:hover { filter: brightness(1.08); 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 rgba(255,135,95, 0.35); box-shadow: var(--shadow-sm); border-radius: 10px; }
.site-name {
  font-family: var(--font); font-size: 14px; font-weight: 800; letter-spacing: -.2px;
  background: linear-gradient(135deg, #ff875f, #e9583d, #b171ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; color: var(--ink); animation: none;
}
.vip-pill {
  background: rgba(177,113,255, 0.24); border: 1px solid rgba(255,135,95, 0.35); color: var(--gold);
  font-size: 9px; padding: 3px 9px; border-radius: 999px;
}
.coin-display {
  background: linear-gradient(135deg, #f05b40, #ff875f);
  border: 0; color: #fff; font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 3px 12px rgba(233,88,61, 0.38);
}
.coin-display:hover { filter: brightness(1.08); transform: none; box-shadow: 0 4px 14px rgba(255,128,94, 0.45); }
.coin-plus { color: #fff; background: rgba(255, 255, 255, 0.24); 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: #24143e; border: 1px solid var(--line); color: #e9d5ff; width: 34px; height: 34px; border-radius: 12px;
}
.icon-btn:hover { background: rgba(233,88,61, 0.22); color: var(--gold); transform: none; }
.notif-badge { background: #e9583d; box-shadow: 0 0 0 2px #1d1033; font-size: 8px; width: 16px; height: 16px; }

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

.hero-carousel {
  background: #24143e; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); margin-bottom: 14px;
}
.slide { background: #24143e; }
.carousel-btn { background: rgba(29, 16, 51, 0.9); color: #f8f4ff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); backdrop-filter: none; }
.carousel-btn:hover { background: #e9583d; color: #fff; }
.carousel-dot { background: rgba(255, 255, 255, 0.45); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.carousel-dot.active { background: #ff875f; box-shadow: 0 0 8px rgba(255,135,95, 0.55); 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: rgba(255,135,95, 0.45); }

.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: #ede9fe; box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.mail-notice:hover { background: #261542; border-color: rgba(177,113,255, 0.45); }
.mail-notice i:first-child { color: #b171ff; }
.mail-notice i:last-child { color: var(--gold); }

.tabs { gap: 8px; padding-bottom: 12px; }
.tab {
  background: var(--card); border: 1px solid var(--line); color: #d8b4fe; backdrop-filter: none;
  font-size: 11px; font-weight: 600; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.tab:hover { background: #261542; color: #fff; }
.tab.active {
  background: linear-gradient(135deg, #e9583d, #ff805e);
  border-color: transparent; color: #fff; box-shadow: 0 3px 12px rgba(233,88,61, 0.38);
}

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

.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: rgba(255,135,95, 0.45); box-shadow: var(--shadow-md); }
.game-img { border-radius: 0; }
.game-label, .gc-candy .game-label {
  background: linear-gradient(to top, rgba(18, 9, 34, 0.9), rgba(18, 9, 34, 0));
  color: #fff; font-size: 10px; font-weight: 700; padding: 22px 6px 8px;
}
.game-badge, .gc-candy .game-badge {
  background: linear-gradient(135deg, #e9583d, #ff805e); 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 8px rgba(233,88,61, 0.45);
}
.game-badge.green-badge, .gc-candy .game-badge.green-badge {
  background: linear-gradient(135deg, #9970ff, #ff875f); color: #fff; box-shadow: 0 2px 8px rgba(177,113,255, 0.45);
}

/* bottom nav */
.bottom-nav {
  background: rgba(36, 18, 56, 0.98); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.45); backdrop-filter: blur(12px);
}
.nav-item, .nav-promo { color: #8c7ab0; }
.nav-item:hover { color: #e9d5ff; }
.nav-item.active { color: var(--gold); }
.nav-item .ni-label, .nav-promo .ni-label { font-size: 9px; font-weight: 600; }
.nav-promo .ni-label { color: var(--gold); text-shadow: none; font-weight: 700; }
.promo-orb {
  background: linear-gradient(145deg, #ff875f, #e9583d 65%, #9970ff 100%); color: #fff; border: 4px solid #180b2d;
  box-shadow: 0 6px 18px rgba(233,88,61, 0.45);
}
.promo-orb:hover { box-shadow: 0 8px 22px rgba(255,135,95, 0.55); }
.promo-orb .notif-badge { background: #e9583d; box-shadow: 0 0 0 2px #180b2d; }

/* floating chat buttons */
.social-icon { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.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,.75); }
.games-grid .game-badge { font-size: 10px; padding: 3px 10px; top: 8px; right: 8px; }
/* ═════════ END VIBRANT RED, GOLDEN ORANGE & PURPLE THEME ═════════ */
html body.dh-body .app-wrapper{height:100%;}