:root {
  --bg-l01: #1a1a1a;
  --bg-l02: #1e1e1e;
  --bg-l03: #262626;
  --bg-l04: #303030;
  --bg-l05: #363636;
  --bg-l06: #424242;
  --txt-main: #ffffff;
  --txt-soft: rgba(255, 255, 255, 0.78);
  --txt-muted: #999999;
  --txt-dim: #666666;
  --orange: #ff5900;
  --orange-600: #db5e26;
  --orange-light: #fc974c;
  --orange-dark-fill: #2d0b03;
  --gold: #ffdc00;
  --gold-400: #fee250;
  --gold-soft: #f5c84c;
  --red-badge: #e64021;
  --green: #53c154;
  --cta-grad: linear-gradient(90deg, #ff5900 0%, #ff9d00 55%, #ffdc00 100%);
  --font-main: "Prompt", "Inter", -apple-system, BlinkMacSystemFont, "Roboto", sans-serif;
  --font-display: "Archivo Black", "Prompt", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: #2b2b2b;
  color: var(--txt-main);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.4;
  overscroll-behavior-y: contain;
  overflow-x: clip;
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 1. Desktop & App Shell */
.app-shell {
  width: 100%;
  max-width: 486px;
  min-height: 100dvh;
  margin: 0 auto;
  background: #1a1a1a;
  position: relative;
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.62);
  overflow-x: clip;
  padding-bottom: 88px;
}

.maintenance-banner {
  background: linear-gradient(90deg, #9a3412 0%, #c2410c 50%, #9a3412 100%);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 220, 0, 0.45);
}

/* 2. Install Bar (52px) & Main Header (56px) */
.install-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  height: 52px;
  min-height: 52px;
  background: #191919;
  border-bottom: 1px solid #262626;
}

.install-close {
  background: none;
  border: none;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  flex-shrink: 0;
}

.install-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1b4332, #2d6a4f);
  border: 1px solid #52b788;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.install-copy {
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #f2f2f2;
  line-height: 1.25;
}

.install-btn {
  min-width: 108px;
  height: 34px;
  border-radius: 8px;
  border: none;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(90deg, #8da2ff 0%, #7a91ff 100%);
  color: #111111;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(122, 145, 255, 0.28);
}

.install-btn:active {
  transform: scale(0.97);
}

.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 56px;
  padding: 0 12px;
  background-color: #1a1a1a;
  background-image:
    linear-gradient(125deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0.03) 58%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(35deg, rgba(255, 255, 255, 0.025) 0%, transparent 45%, rgba(255, 255, 255, 0.02) 78%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

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

.hdr-sq-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: none;
  background: #ff5900;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255, 89, 0, 0.28);
}

.hdr-sq-btn:active {
  transform: scale(0.95);
}

/* Language Popover */
.lang-popover-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 486px;
  z-index: 70;
  background: transparent;
}

.lang-popover {
  position: fixed;
  top: 106px;
  right: max(12px, calc(50% - 231px));
  width: 214px;
  background: #262626;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
  z-index: 75;
}

.lang-pop-row {
  width: 100%;
  padding: 13px 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e6e6e6;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
}

.lang-pop-row:last-child {
  border-bottom: none;
}

.lang-pop-row:hover {
  background: #2c2c2c;
}

.lang-pop-row.active {
  background: #303030;
  color: #ffffff;
  font-weight: 700;
}

.lang-pop-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.lang-pop-flag {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.lang-pop-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Sub-page Top Bar */
.sub-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 50px;
  padding: 0 12px;
  background: var(--bg-l02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2b2b2b;
}

.sub-back-btn {
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
}

.sub-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hdr-history-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #111111;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.page-pad {
  padding: 10px 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 3. Hero Carousel & 2x2 Mini Promos */
.hero-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #171717;
}

.hero-track {
  display: flex;
  width: 100%;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  height: 190px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 14, 18, 0.72) 0%, rgba(10, 14, 18, 0.34) 48%, rgba(10, 14, 18, 0.04) 82%, transparent 100%);
}

.hero-ribbon {
  position: absolute;
  top: 14px;
  right: -30px;
  width: 118px;
  background: #dc2626;
  color: #ffffff;
  text-align: center;
  font-size: 8.5px;
  font-weight: 900;
  padding: 3px 0;
  transform: rotate(45deg);
  z-index: 3;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 68%;
}

.hero-copy.hero-split {
  max-width: 100%;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px 16px !important;
  gap: 8px !important;
}

.hero-pill-title {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(90deg, #065f46, #047857);
  border: 1.5px solid #5eead4;
  border-radius: 8px;
  padding: 3px 10px;
  font-family: var(--font-display);
  font-size: 13px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.hero-badge-blue {
  margin-top: 6px;
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(90deg, #1d4ed8, #0284c7);
  border: 1px solid #93c5fd;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
}

.hero-badge-blue strong {
  color: #ffdc00;
  font-size: 14.5px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  color: #fde047;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-head-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.hero-sub {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #e2e8f0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.hero-hours-grid {
  margin-top: 0;
  margin-bottom: 6px;
  margin-right: 10px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2.5px 4px;
  width: fit-content;
  flex-shrink: 0;
}

.hero-hour-chip {
  background: rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(255, 220, 0, 0.45);
  border-radius: 5px;
  padding: 1.5px 6px;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
}

.hero-giant-gold {
  margin-top: 2px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 33px;
  line-height: 1;
  background: linear-gradient(180deg, #fffbeb 0%, #fde047 48%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(120, 53, 15, 0.6);
  filter: drop-shadow(0 2px 0 rgba(92, 42, 0, 0.85)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.hero-giant-green {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 52px;
  line-height: 0.95;
  background: linear-gradient(180deg, #ecfdf5 0%, #4ade80 52%, #15803d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(5, 46, 22, 0.68);
  filter: drop-shadow(0 2px 0 rgba(5, 46, 22, 0.9)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.hero-cta-pill {
  margin-top: 8px;
  display: inline-block;
  align-self: flex-start;
  background: #ffdc00;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 4;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  border: none;
  padding: 0;
  cursor: pointer;
}

.hero-dot.active {
  width: 16px;
  background: var(--orange);
}

.hero-close-btn,
.hero-dismiss-btn {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.56);
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 6;
  padding: 0;
}

.hero-red-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff2d2d;
  display: inline-block;
  box-shadow: 0 0 6px rgba(255, 45, 45, 0.85), 0 0 0 1.5px var(--bg-l01);
  z-index: 6;
  animation: breathingDot 1.8s ease-in-out infinite;
  pointer-events: none;
}

/* Kinetic Hero & Mini Promo Banner Elements */
.hero-giant-bronze {
  margin-top: 2px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  background: linear-gradient(180deg, #fff5e6 0%, #f6c36b 34%, #d97706 68%, #9a3412 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(92, 34, 6, 0.72);
  filter: drop-shadow(0 2px 0 rgba(68, 22, 4, 0.9)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.65));
}

@keyframes heroNumPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.045);
    filter: brightness(1.18);
  }
}

.hero-num-pulse,
.mini-num-pulse {
  display: inline-block;
  transform-origin: left center;
  will-change: transform;
  animation: heroNumPulse 2.2s ease-in-out infinite;
}

.mini-num-pulse {
  animation-duration: 2.3s;
}

@keyframes starburstPop {
  0%, 100% {
    transform: scale(1) rotate(-4deg);
  }
  50% {
    transform: scale(1.1) rotate(4deg);
  }
}

.hero-starburst,
.mini-free-tag {
  transform-origin: center;
  will-change: transform;
  animation: starburstPop 1.9s ease-in-out infinite;
}

@keyframes stairGlow {
  0%, 100% {
    transform: translateY(0) scaleY(1);
    opacity: 0.78;
    filter: brightness(0.95);
  }
  50% {
    transform: translateY(-2px) scaleY(1.08);
    opacity: 1;
    filter: brightness(1.3);
  }
}

.stair-ladder {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.5px;
  margin-bottom: 8px;
  margin-right: 10px;
  flex-shrink: 0;
}

.stair-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fef08a;
  background: rgba(8, 12, 24, 0.85);
  padding: 1.5px 7px;
  border-radius: 4px;
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.stair-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  color: #111111;
  background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 44%, #facc15 100%);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transform-origin: right center;
  will-change: transform, opacity;
  animation: stairGlow 2.4s ease-in-out infinite;
}

.stair-dep { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
.stair-arr { color: #1e293b; font-weight: 900; }
.stair-bon { color: #111827; font-weight: 900; }

.stair-step.st1 { min-width: 118px; animation-delay: 0s; }
.stair-step.st2 { min-width: 110px; animation-delay: 0.22s; }
.stair-step.st3 { min-width: 100px; animation-delay: 0.44s; }
.stair-step.st4 { min-width: 92px; animation-delay: 0.66s; }
.stair-step.st5 { min-width: 84px; animation-delay: 0.88s; }

@keyframes tblRowScan {
  0%, 100% {
    background-color: rgba(255, 220, 0, 0.05);
    box-shadow: inset 0 0 0 rgba(255, 220, 0, 0);
  }
  25% {
    background-color: rgba(255, 220, 0, 0.28);
    box-shadow: inset 0 0 12px rgba(255, 220, 0, 0.35);
  }
  55% {
    background-color: rgba(255, 220, 0, 0.05);
    box-shadow: inset 0 0 0 rgba(255, 220, 0, 0);
  }
}

.hero-bonus-tbl {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(14, 10, 28, 0.88);
  border: 1.5px solid #facc15;
  border-radius: 8px;
  padding: 4px 7px;
  min-width: 132px;
  margin-bottom: 8px;
  margin-right: 10px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.hero-bonus-tbl .tbl-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  font-weight: 900;
  color: #fde047;
  border-bottom: 1px solid rgba(250, 204, 21, 0.38);
  padding-bottom: 2px;
  margin-bottom: 1px;
  white-space: nowrap;
}

.tbl-scan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
  padding: 1.5px 4px;
  border-radius: 3px;
  animation: tblRowScan 3.5s ease-in-out infinite;
}

.tbl-scan-row .tbl-arr { color: #fde047; }
.tbl-scan-row .tbl-bon { color: #fde047; font-weight: 900; }

.tbl-scan-row:nth-child(2) { animation-delay: 0.7s; }
.tbl-scan-row:nth-child(3) { animation-delay: 1.4s; }
.tbl-scan-row:nth-child(4) { animation-delay: 2.1s; }
.tbl-scan-row:nth-child(5) { animation-delay: 2.8s; }

@keyframes hourNextPulse {
  0%, 100% {
    transform: scale(1);
    border-color: rgba(255, 220, 0, 0.78);
    background: rgba(255, 165, 0, 0.22);
    box-shadow: 0 0 6px rgba(255, 220, 0, 0.35);
  }
  50% {
    transform: scale(1.06);
    border-color: #ffdc00;
    background: rgba(255, 220, 0, 0.36);
    box-shadow: 0 0 12px rgba(255, 220, 0, 0.65);
  }
}

.hero-hour-chip.hour-next {
  color: #ffdc00;
  border-color: #ffdc00;
  background: rgba(255, 180, 0, 0.26);
  will-change: transform;
  animation: hourNextPulse 1.8s ease-in-out infinite;
}

@keyframes coinFloatUp {
  0% {
    transform: translate3d(0, 14px, 0) scale(0.85) rotate(-8deg);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  80% {
    opacity: 0.95;
  }
  100% {
    transform: translate3d(0, -18px, 0) scale(1.06) rotate(10deg);
    opacity: 0;
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    transform: scale(0.55) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2) rotate(45deg);
    opacity: 1;
  }
}

.bfx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

.bfx-coin {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: coinFloatUp 3.2s ease-in-out infinite;
}

.bfx-coin svg,
.bfx-spark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bfx-coin.c1 { left: 54%; bottom: 14%; width: 18px; height: 18px; animation-delay: 0s; animation-duration: 3.1s; }
.bfx-coin.c2 { left: 68%; bottom: 8%; width: 14px; height: 14px; animation-delay: 0.8s; animation-duration: 3.5s; }
.bfx-coin.c3 { left: 82%; bottom: 18%; width: 20px; height: 20px; animation-delay: 1.5s; animation-duration: 2.9s; }
.bfx-coin.c4 { left: 90%; bottom: 10%; width: 15px; height: 15px; animation-delay: 2.2s; animation-duration: 3.4s; }

.bfx-spark {
  position: absolute;
  width: 11px;
  height: 11px;
  pointer-events: none;
  will-change: transform, opacity;
  animation: sparkleTwinkle 2.1s ease-in-out infinite;
}

.bfx-spark.s1 { top: 18%; left: 48%; width: 12px; height: 12px; animation-delay: 0s; }
.bfx-spark.s2 { top: 32%; left: 64%; width: 9px; height: 9px; animation-delay: 0.35s; }
.bfx-spark.s3 { top: 14%; left: 78%; width: 13px; height: 13px; animation-delay: 0.7s; }
.bfx-spark.s4 { top: 56%; left: 58%; width: 10px; height: 10px; animation-delay: 1.05s; }
.bfx-spark.s5 { top: 68%; left: 74%; width: 9px; height: 9px; animation-delay: 1.4s; }
.bfx-spark.s6 { top: 42%; left: 88%; width: 11px; height: 11px; animation-delay: 1.75s; }

@keyframes miniRaysSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mini-rays {
  position: absolute;
  top: -28px;
  right: -24px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 220, 0, 0.22) 0deg 15deg,
    transparent 15deg 36deg
  );
  pointer-events: none;
  z-index: 1;
  transform-origin: center;
  will-change: transform;
  animation: miniRaysSpin 14s linear infinite;
}

@keyframes genieAuraPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.48;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.88;
  }
}

.mini-genie-glow {
  position: absolute;
  right: 6px;
  bottom: -10px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 220, 0, 0.42) 0%, rgba(168, 85, 247, 0.34) 48%, transparent 72%);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  animation: genieAuraPulse 2.6s ease-in-out infinite;
}

.mini-big-pct {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
  color: #fde047;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  display: inline-block;
  will-change: transform;
  animation: heroNumPulse 2.4s ease-in-out infinite;
}

@keyframes checkinWave {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.86;
  }
  45% {
    transform: translateY(-2px) scale(1.06);
    opacity: 1;
  }
}

.checkin-chip {
  will-change: transform, opacity;
  animation: checkinWave 2.5s ease-in-out infinite;
}

.checkin-chip:nth-child(1) { animation-delay: 0s; }
.checkin-chip:nth-child(2) { animation-delay: 0.25s; }
.checkin-chip:nth-child(3) { animation-delay: 0.5s; }
.checkin-chip:nth-child(4) { animation-delay: 0.75s; }
.checkin-chip:nth-child(5) { animation-delay: 1s; }

@keyframes wheelSpinLoop {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 2x2 Mini Promo Grid + Float & Diagonal Shimmer */
@keyframes promoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes promoShine {
  0%, 62% { left: -120%; opacity: 0; }
  66% { opacity: 1; }
  86% { left: 165%; opacity: 1; }
  87%, 100% { left: 165%; opacity: 0; }
}

.hero-slide::after,
.promo-tile-mini::after {
  content: "";
  position: absolute;
  top: -10%;
  left: -120%;
  width: 55%;
  height: 120%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 32%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.05) 68%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 4;
  animation: promoShine 4.5s ease-in-out infinite;
}

.promo-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.promo-tile-mini {
  position: relative;
  height: 94px;
  border-radius: 11px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: promoFloat 3s ease-in-out infinite;
}

.promo-tile-mini:nth-child(1) { animation-delay: 0s; }
.promo-tile-mini:nth-child(2) { animation-delay: 0.5s; }
.promo-tile-mini:nth-child(3) { animation-delay: 1s; }
.promo-tile-mini:nth-child(4) { animation-delay: 1.5s; }

.mini-green { background-image: linear-gradient(135deg, #166534 0%, #4d7c0f 100%); }
.mini-red   { background-image: linear-gradient(135deg, #7f1d1d 0%, #b45309 100%); }
.mini-blue  { background-image: linear-gradient(135deg, #1e3a8a 0%, #6d28d9 100%); }
.mini-checkin {
  background-image: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.78) 0%, rgba(8, 12, 20, 0.42) 56%, rgba(8, 12, 20, 0.08) 100%);
  pointer-events: none;
  z-index: 1;
}

.mini-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.mini-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.mini-k {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.mini-big {
  font-family: var(--font-display);
  font-size: 22px;
  color: #fde047;
  line-height: 1.05;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.65);
}

.mini-chips {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-chip {
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid rgba(134, 239, 172, 0.55);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  color: #ecfccb;
  white-space: nowrap;
}

.mini-chip b {
  color: #fde047;
}

.mini-right-txt {
  text-align: right;
}

.mini-orb-glow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle, #fde047, #a855f7);
  opacity: 0.75;
  flex-shrink: 0;
}

.mini-ci-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.mini-ci-days {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: 3px;
}

.mini-ci-days > span,
.mini-ci-padlock {
  flex: 1;
  min-width: 0;
  background: rgba(14, 19, 34, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 2.5px solid #38bdf8;
  border-radius: 5px;
  padding: 3px 1px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  line-height: 1.05;
}

.mini-ci-padlock:nth-child(1),
.mini-ci-days > span:nth-child(1) { border-top-color: #ff6b6b; }
.mini-ci-padlock:nth-child(2),
.mini-ci-days > span:nth-child(2) { border-top-color: #fbbf24; }
.mini-ci-padlock:nth-child(3),
.mini-ci-days > span:nth-child(3) { border-top-color: #4ade80; }
.mini-ci-padlock:nth-child(4),
.mini-ci-days > span:nth-child(4) { border-top-color: #38bdf8; }
.mini-ci-padlock:nth-child(5),
.mini-ci-days > span:nth-child(5) { border-top-color: #c084fc; }
.mini-ci-padlock:nth-child(6),
.mini-ci-days > span:nth-child(6) { border-top-color: #f472b6; }
.mini-ci-padlock:nth-child(7),
.mini-ci-days > span:nth-child(7) { border-top-color: #facc15; }

.mini-ci-padlock svg {
  width: 9px;
  height: 9px;
  opacity: 0.9;
}

.mini-ci-days small {
  font-size: 7px;
  color: #cbd5e1;
}

.mini-ci-days b {
  font-size: 8.5px;
  color: #ffffff;
}

@keyframes breathingDot {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.65);
  }
  50% {
    transform: scale(1.24);
    box-shadow: 0 0 0 4px rgba(255, 0, 0, 0);
  }
}

.red-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF0000;
  display: inline-block;
  box-shadow: 0 0 0 1.5px var(--bg-l01);
  z-index: 4;
  animation: breathingDot 1.8s ease-in-out infinite;
}

.promo-tile-mini .red-dot {
  position: absolute;
  top: 6px;
  right: 6px;
}

/* 4. Welcome / Account Card & Quick 4 Tiles */
.welcome-card {
  position: relative;
  border-radius: 16px;
  padding: 14px 12px 12px;
  background-color: #202020;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, transparent 48%, rgba(255, 255, 255, 0.025) 100%),
    linear-gradient(25deg, rgba(0, 0, 0, 0.18) 0%, transparent 52%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid #323232;
  overflow: hidden;
}

.welcome-poly-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.welcome-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 74px;
  position: relative;
  z-index: 2;
}

.welcome-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #333333;
  border: 2px solid #525252;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@keyframes coinStackSheen {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 4px rgba(250, 204, 21, 0.22));
  }
  50% {
    filter: brightness(1.16) drop-shadow(0 0 12px rgba(250, 204, 21, 0.55));
  }
}

.welcome-coins-art {
  position: absolute;
  top: -14px;
  right: 6px;
  width: 140px;
  height: 126px;
  object-fit: contain;
  mix-blend-mode: lighten;
  pointer-events: none;
  z-index: 1;
  animation: coinStackSheen 3.2s ease-in-out infinite;
}

.bal-label {
  font-size: 12px;
  color: var(--txt-muted);
  margin-top: 6px;
}

.bal-val {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slanted-auth-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.btn-slant {
  flex: 1;
  height: 36px;
  border: none;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transform: skewX(-14deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-slant > span {
  transform: skewX(14deg);
}

.btn-slant-orange {
  background: var(--orange);
  color: #111111;
}

.btn-slant-yellow {
  background: var(--gold);
  color: #111111;
}

.quick-4-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.q-tile {
  height: 76px;
  border-radius: 12px;
  padding: 8px 4px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 10px rgba(0, 0, 0, 0.28);
  transition: transform 0.14s ease;
}

.q-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.q-tile:active {
  transform: scale(0.96);
}

.q-tile.dep {
  background: linear-gradient(180deg, #327236 0%, #1d4420 58%, #132c15 100%);
  border-color: rgba(110, 231, 120, 0.24);
}

.q-tile.wd {
  background: linear-gradient(180deg, #91491c 0%, #58290d 58%, #341606 100%);
  border-color: rgba(251, 146, 60, 0.26);
}

.q-tile.vip {
  background: linear-gradient(180deg, #1d5ca8 0%, #123a6c 58%, #0b2342 100%);
  border-color: rgba(96, 165, 250, 0.26);
}

.q-tile.off {
  background: linear-gradient(180deg, #5d339a 0%, #3a1f64 58%, #23113f 100%);
  border-color: rgba(192, 132, 252, 0.26);
}

.q-tile-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

/* 5. Combined Marquee + Search Row */
.marquee-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
}

.marquee-bar {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-l03);
  border-radius: 10px;
  padding: 0 10px;
  border: 1px solid #333333;
  cursor: pointer;
}

.bell-wrap {
  position: relative;
  display: inline-flex;
  color: #ffffff;
  flex-shrink: 0;
}

.bell-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: #FF0000;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  animation: breathingDot 1.8s ease-in-out infinite;
}

.marquee-viewport {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  padding-left: 100%;
  font-size: 12px;
  color: #e4e4e4;
  animation: marqueeScroll var(--marquee-speed, 28s) linear infinite;
}

.marquee-bar:hover .marquee-track,
.marquee-bar:active .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.search-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-search-panel {
  background: #232323;
  border: 1px solid #343434;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-search-panel input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
}

.search-input-wrap {
  flex: 1;
  height: 40px;
  background: var(--bg-l03);
  border: 1px solid #343434;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.search-input-wrap input {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 13px;
}

.search-btn-sq {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: none;
  background: #ff5900;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 89, 0, 0.3);
}

/* 6. Provider Strip & Game Grid */
.cat-strip-sticky {
  position: sticky;
  top: 56px;
  z-index: 30;
  background: var(--bg-l01);
  padding: 5px 0;
}

.cat-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg-l03);
  border-radius: 12px;
  padding: 5px;
}

.cat-strip::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #cfcfcf;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.cat-ico {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-pill.active {
  background: #ff5900;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 89, 0, 0.38);
}

.game-sec-card {
  background: var(--bg-l02);
  border-radius: 14px;
  padding: 0 10px 10px 10px;
  border: 1px solid #2b2b2b;
  overflow: hidden;
}

.sec-head-bar {
  position: relative;
  height: 42px;
  margin: 0 -10px 10px -10px;
  border-radius: 14px 14px 0 0;
  background: #272727;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
}

.sec-head-left {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  z-index: 2;
}

.sec-head-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: #111111;
}

.sec-head-slash {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  background: linear-gradient(90deg, #ff6a00 0%, #ffad00 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.sec-head-slash-mid {
  position: absolute;
  right: 36%;
  top: 0;
  bottom: 0;
  width: 14%;
  background: #333333;
  clip-path: polygon(35% 0, 100% 0, 65% 100%, 0 100%);
  z-index: 1;
}

.all-count-pill {
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
}

.game-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.g-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 3.92;
  background: #272727;
  border: 1px solid rgba(255, 255, 255, 0.22);
  cursor: pointer;
}

.g-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
  background: linear-gradient(160deg, #4b230d 0%, #1d1424 100%);
}

.g-prov-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffd875;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  text-transform: uppercase;
}

.g-fav-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(2px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.g-fav-btn.fav {
  background: rgba(255, 196, 0, 0.92);
  color: #111111;
}

.g-title-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 4px 4px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 70%);
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.display-all-btn {
  margin-top: 10px;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #373737;
  background: #262626;
  color: #d8d8d8;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Footer */
.site-footer {
  margin-top: 8px;
  background: #262626;
  border-top: 1px solid #363636;
  border-radius: 12px;
  padding: 18px 14px 132px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-sec-heading {
  font-size: 13px;
  font-weight: 800;
  color: #d4d4d4;
  letter-spacing: 0.2px;
}

.dl-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dl-btn {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #303030;
  border: 1px solid #3c3c3c;
  border-radius: 10px;
  padding: 0 12px;
  cursor: pointer;
  text-align: left;
}

.dl-btn-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.dl-btn-chevron {
  color: #9a9a9a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.dl-btn small {
  display: block;
  font-size: 10.5px;
  color: var(--txt-muted);
}

.dl-btn strong {
  font-size: 13px;
  color: #ffffff;
}

.recharge-partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1e1e1e;
  border: 1px solid #383838;
  border-radius: 8px;
  padding: 5px 10px;
}

.footer-partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 12px;
  align-items: center;
}

.footer-partner-tile {
  background: #1e1e1e;
  border: 1px solid #333333;
  border-radius: 10px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  text-align: center;
  align-items: start;
}

.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transition: transform 0.15s ease;
}

.footer-social-btn:active {
  transform: scale(0.92);
}

.footer-responsible-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.partner-pill {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-l03);
  border: 1px solid #343434;
  font-size: 11px;
  font-weight: 700;
  color: #dddddd;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: #cccccc;
}

.footer-links button {
  background: none;
  border: none;
  color: #dddddd;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.legal-txt {
  font-size: 11px;
  color: var(--txt-muted);
  line-height: 1.6;
  text-align: center;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #333333;
}

.footer-brand-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

/* Floating Widgets */
.float-left-stack {
  position: fixed;
  bottom: 88px;
  left: max(10px, calc(50% - 233px));
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 89, 0, 0.45);
}

.float-right-stack {
  position: fixed;
  bottom: 82px;
  right: max(8px, calc(50% - 235px));
  width: 64px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.float-widget-card {
  position: relative;
  width: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.float-x {
  position: absolute;
  top: -5px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.84);
  color: #ffffff;
  border: 1px solid #555555;
  font-size: 10px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 3;
}

@keyframes chestGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.45));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 11px rgba(255, 220, 0, 0.92));
    transform: scale(1.04);
  }
}

.fl-chest-glow {
  display: flex;
  justify-content: center;
  animation: chestGlowPulse 2.4s ease-in-out infinite;
}

.fl-invite-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #fde047;
  background: #14532d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.fl-invite-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.fl-invite-slide {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 3px;
  font-size: 8px;
  font-weight: 900;
  color: #fde047;
  text-align: center;
  white-space: nowrap;
}

@keyframes redPacketShake {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.1) rotate(0); }
  40% { transform: scale(1.1) rotate(-15deg); }
  50% { transform: scale(1.1) rotate(0); }
  60% { transform: scale(1.1) rotate(-15deg); }
  70% { transform: scale(1.1) rotate(0); }
  100% { transform: scale(1) rotate(0); }
}

.cash-rain-pill {
  width: 100%;
  background: linear-gradient(180deg, #ff4019 0%, #990d00 100%);
  border: 1.5px solid #ffdc00;
  border-radius: 9px;
  padding: 4px 5px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(230, 64, 33, 0.48);
  animation: redPacketShake 1s ease infinite;
  transform-origin: center bottom;
}

.cash-rain-pill .top {
  font-size: 8px;
  font-weight: 900;
  color: #ffdc00;
  line-height: 1.1;
}

.cash-rain-pill .amt {
  font-size: 9px;
  font-weight: 900;
  color: #ffffff;
}

.cash-rain-pill .clk {
  margin-top: 2px;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  color: #ffffff;
  padding: 1px 5px;
}

/* 10. Curved Concave Notched Bottom Tab Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 486px;
  height: calc(74px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
}

.bottom-nav-svg-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 -3px 12px rgba(255, 89, 0, 0.18));
}

.nav-item {
  position: relative;
  z-index: 2;
  height: 100%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.42);
  font-family: "Prompt", var(--font-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding-top: 6px;
}

.nav-item.active {
  color: #ff5900;
  font-weight: 600;
}

.nav-active-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #ff5900;
  box-shadow: 0 0 8px rgba(255, 89, 0, 0.65);
}

.nav-item.active:not(:has(.nav-active-bar))::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #ff5900;
  box-shadow: 0 0 8px rgba(255, 89, 0, 0.65);
}

.nav-item .nav-dot {
  position: absolute;
  top: 10px;
  right: calc(50% - 16px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF0000;
  animation: breathingDot 1.8s ease-in-out infinite;
}

.nav-center-slot {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

@keyframes physicsCollisionBounce {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  2.8% {
    transform: translate(-3px, -5px) rotate(68deg) scale(1.06);
  }
  5.6% {
    transform: translate(4px, 2px) rotate(142deg) scale(0.95);
  }
  8.4% {
    transform: translate(-3px, -4px) rotate(216deg) scale(1.05);
  }
  11.2% {
    transform: translate(3px, 2px) rotate(288deg) scale(0.97);
  }
  14% {
    transform: translate(-1px, -2px) rotate(338deg) scale(1.03);
  }
  16.67%, 100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

@keyframes orbHaloSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-center-orb {
  position: relative;
  transform: translateY(-42%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #ff7b00;
  background: #ff4500;
  box-shadow: 0 0 22px rgba(255, 89, 0, 0.72);
  overflow: visible;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-center-orb::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 89, 0, 0.92) 0deg,
    rgba(255, 220, 0, 0.85) 60deg,
    rgba(255, 89, 0, 0.08) 140deg,
    rgba(255, 89, 0, 0.75) 210deg,
    rgba(255, 220, 0, 0.65) 270deg,
    rgba(255, 89, 0, 0.08) 330deg,
    rgba(255, 89, 0, 0.92) 360deg
  );
  z-index: -1;
  filter: blur(2px);
  animation: orbHaloSpin 3.6s linear infinite;
  pointer-events: none;
}

.nav-center-orb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 8px #ff5900);
  animation: physicsCollisionBounce 18s linear infinite;
}

/* Global & Per-Feature Animation Disable */
body.no-anim *,
body.no-anim *::before,
body.no-anim *::after {
  animation: none !important;
}

body.no-anim-orb .nav-center-orb img,
body.no-anim-orb .nav-center-orb::before {
  animation: none !important;
}

body.no-anim-promo-float .promo-tile-mini {
  animation: none !important;
}

body.no-anim-promo-shine .hero-slide::after,
body.no-anim-promo-shine .promo-tile-mini::after {
  animation: none !important;
  display: none !important;
}

body.no-anim-cashrain .cash-rain-pill {
  animation: none !important;
}

body.no-anim-invite .fl-chest-glow {
  animation: none !important;
}

body.no-anim-marquee .marquee-track {
  animation: none !important;
  padding-left: 0;
}

body.no-anim-coins .welcome-coins-art {
  animation: none !important;
}

body.no-anim-dots .red-dot,
body.no-anim-dots .hero-red-dot,
body.no-anim-dots .nav-item .nav-dot,
body.no-anim-dots .bell-badge {
  animation: none !important;
}

body.no-anim-particles .bfx-layer,
body.no-anim-particles .mini-rays,
body.no-anim-particles .mini-genie-glow {
  display: none !important;
}

/* 7. VIP Badge Pill, Curved Concave Cutout L-Notch VIP Card & VIP Table */
.vip-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, #4b5563, #374151);
  border: 1px solid var(--vb-rim, #9ca3af);
  border-radius: 999px;
  padding: 2px 10px 2px 3px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.vip-shield-ico {
  display: inline-flex;
  align-items: center;
}

.vip-notch-wrap {
  position: relative;
  border-radius: 16px;
}

.vip-notch-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 148px;
}

.vip-notch-card::before {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -36px;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.015) 55%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}

.vip-notch-card::after {
  content: "";
  position: absolute;
  left: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.vip-notch-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.vip-notch-inner {
  position: relative;
  z-index: 2;
  padding: 14px;
}

.vip-notch-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  width: 108px;
  height: 38px;
  border-radius: 20px;
  background: #1c1c1c;
  color: #e5e5e5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.vip-recessed-card {
  position: relative;
  background: #262626;
  border: 1px solid #323232;
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
}

.vip-table-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 10px 12px;
  background: #262626;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #a3a3a3;
  text-align: center;
  margin-bottom: 8px;
}

.vip-table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 6px;
  align-items: center;
  padding: 11px 12px;
  background: #202020;
  border: 1px solid #2b2b2b;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.btn-maroon-disabled {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(255, 89, 0, 0.14);
  background: #2d0b03;
  color: #9a7d76;
  font-size: 14.5px;
  font-weight: 800;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 8. Offers: Events Banner Cards, Rebate 2-Column Layout, History/Reward */
.event-banner-card {
  background: #222222;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2f2f2f;
  cursor: pointer;
}

.event-banner-art {
  position: relative;
  height: 148px;
  width: 100%;
  overflow: hidden;
  background: #181818;
}

.event-banner-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-banner-art .red-dot {
  position: absolute;
  top: 10px;
  right: 10px;
}

.event-banner-badge,
.event-corner-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  border: 1px solid rgba(255, 220, 0, 0.45);
  color: #ffdc00;
  font-size: 10.5px;
  font-weight: 800;
  z-index: 2;
}

.event-banner-foot {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #222222;
}

.event-banner-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  flex: 1;
  min-width: 0;
}

.event-status-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  background: #2f2f2f;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.event-status-btn.active,
.event-status-btn.ongoing {
  background: #ff6b00;
  color: #ffffff;
}

.rebate-layout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rebate-sidebar {
  width: 82px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rebate-side-tab {
  width: 100%;
  background: #242424;
  border: 1px solid #2e2e2e;
  border-radius: 10px;
  padding: 9px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #b8b8b8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.rebate-side-tab.active {
  background: linear-gradient(180deg, rgba(255, 89, 0, 0.2) 0%, #242424 100%);
  border-color: rgba(255, 89, 0, 0.55);
  color: #ff5900;
}

.rebate-claim-btn {
  width: 100%;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255, 89, 0, 0.16);
  background: #2d0b03;
  color: #9a7d76;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.rebate-claim-btn.ready {
  background: var(--cta-grad);
  color: #111111;
  border: none;
}

.rebate-hist-btn {
  width: 100%;
  height: 38px;
  border-radius: 9px;
  border: none;
  background: linear-gradient(90deg, #ff5900 0%, #ff9d00 55%, #ffdc00 100%);
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.rebate-list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rebate-card {
  background: #232323;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  padding: 10px 12px;
}

.table-head-pill {
  background: #242424;
  border: 1px solid #303030;
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #a3a3a3;
  text-align: center;
}

.date-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.empty-state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 46px 20px;
  text-align: center;
  color: #8c8c8c;
  font-size: 13px;
  font-weight: 600;
}

/* 9. Royal Indigo Fantasy Agency Center */
.agency-fantasy-page {
  background: linear-gradient(180deg, #1b1754 0%, #1d1857 100%);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: 84px;
  color: #ffffff;
}

.agency-top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 50px;
  padding: 0 12px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2b2b2b;
}

.agency-hero-banner {
  position: relative;
  height: 224px;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
}

.agency-hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agency-hero-plate,
.agency-wooden-plate {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #8b4a1e 0%, #5c2d0c 100%);
  border: 2px solid #ffd54f;
  border-radius: 12px;
  padding: 6px 20px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.6px;
  color: #fff6c3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.agency-ribbon-hdr {
  margin: -14px auto 8px;
  width: 88%;
  max-width: 340px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3b44c9 0%, #24298a 100%);
  border: 2px solid #ffd54f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 900;
  color: #fff5b8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 3;
}

.agency-card {
  background: #28226b;
  border: 1px solid rgba(130, 145, 255, 0.28);
  border-radius: 14px;
  margin: 12px;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(10, 8, 40, 0.35);
}

.agency-social-8 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  align-items: center;
  justify-items: center;
}

.agency-soc-btn,
.agency-soc-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.agency-link-bar {
  background: rgba(15, 12, 50, 0.45);
  border: 1px solid rgba(130, 145, 255, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.agency-sub-box {
  background: #332c7e;
  border: 1px solid rgba(145, 160, 255, 0.2);
  border-radius: 10px;
  padding: 10px;
}

.agency-details-btn {
  background: #ff5900;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

.agency-chest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.agency-chest-tile {
  background: #1f1b56;
  border: 1px solid rgba(120, 130, 255, 0.22);
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

/* 10. Deposit, Profile, Side Drawer, Support, Auth Modal */
.dep-top-card {
  background: #1f1f1f;
  border-radius: 0 0 18px 18px;
  padding: 14px 12px 16px;
  border-bottom: 1px solid #2b2b2b;
}

.dep-method-pill {
  height: 46px;
  border-radius: 10px;
  background: #262626;
  border: 1px solid #363636;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  cursor: pointer;
}

.dep-method-pill.active {
  border-color: #ff5900;
  background: rgba(255, 89, 0, 0.14);
  color: #ffdc00;
}

.dep-chip {
  height: 52px;
  border-radius: 10px;
  border: 1px solid #363636;
  background: #262626;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
}

.dep-chip.active {
  border-color: #ff5900;
  background: rgba(255, 89, 0, 0.16);
  color: #ffdc00;
}

.dep-submit-btn {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: none;
  background: var(--cta-grad);
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.dep-submit-btn.is-disabled {
  background: #2d0b03;
  color: #9a7d76;
  border: 1px solid rgba(255, 89, 0, 0.14);
  cursor: not-allowed;
}

/* Profile Ambient Glow Header & Action Tiles */
.profile-hero-wrap {
  position: relative;
  padding: 16px 12px 12px;
  overflow: hidden;
}

.profile-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 212, 75, 0.22) 0%, rgba(255, 175, 40, 0.08) 42%, transparent 72%),
    radial-gradient(circle 1.5px at 18% 22%, rgba(255, 232, 130, 0.75) 100%, transparent 0),
    radial-gradient(circle 1px at 82% 18%, rgba(255, 232, 130, 0.7) 100%, transparent 0),
    radial-gradient(circle 1.5px at 72% 36%, rgba(255, 215, 90, 0.55) 100%, transparent 0),
    radial-gradient(circle 1px at 28% 38%, rgba(255, 232, 130, 0.5) 100%, transparent 0);
  pointer-events: none;
}

.prof-top-glow {
  position: relative;
  padding: 18px 12px 10px;
  background: radial-gradient(ellipse at 50% 0%, rgba(250, 204, 21, 0.16) 0%, transparent 68%);
}

.prof-wallet-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: center;
  padding: 10px 0 14px;
  border-bottom: 1px solid #2b2b2b;
}

.prof-action-btn,
.prof-gold-btn {
  height: 46px;
  border-radius: 11px;
  border: 1px solid rgba(255, 212, 75, 0.24);
  background: linear-gradient(180deg, #242424 0%, #2b2718 76%, #4a4018 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.prof-card-single {
  background: #232323;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.prof-card-group {
  background: #232323;
  border: 1px solid #2f2f2f;
  border-radius: 14px;
  overflow: hidden;
}

.prof-card-group > * + * {
  border-top: 1px solid #2f2f2f;
}

/* Profile Menu */
.prof-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  background: var(--bg-l03);
  border-radius: 12px;
  border: 1px solid #303030;
  cursor: pointer;
  margin-bottom: 8px;
}

.prof-menu-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
}

/* Cards, Tabs & Buttons */
.sub-tabs-bar {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 12px;
  background: var(--bg-l02);
  border-bottom: 1px solid #2b2b2b;
}

.sub-tabs-bar::-webkit-scrollbar {
  display: none;
}

.sub-tab-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--txt-muted);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 4px;
  cursor: pointer;
}

.sub-tab-btn.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.cta-btn {
  width: 100%;
  height: 46px;
  border-radius: 10px;
  border: none;
  background: var(--cta-grad);
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.cta-btn.muted {
  background: #2d0b03;
  color: #9a7d76;
  border: 1px solid rgba(255, 89, 0, 0.14);
}

.card-box {
  background: var(--bg-l03);
  border: 1px solid #323232;
  border-radius: 14px;
  padding: 14px;
}

.field-box {
  height: 46px;
  background: #1d1d1d;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}

.field-box input {
  flex: 1;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 14px;
  min-width: 0;
}

/* Deposit Amounts Grid */
.amt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.amt-chip {
  height: 52px;
  border-radius: 10px;
  border: 1px solid #363636;
  background: var(--bg-l03);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
}

.amt-chip small {
  font-size: 11px;
  color: #cccccc;
}

.amt-chip.active {
  border-color: var(--orange);
  background: rgba(255, 89, 0, 0.16);
  color: var(--gold);
}

/* 6-Box PIN Input */
.pin-6-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.pin-box {
  width: 100%;
  min-width: 0;
  height: 48px;
  border-radius: 8px;
  border: 1.5px solid #3c3c3c;
  background: var(--bg-l03);
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.pin-box:focus {
  border-color: var(--orange);
}

/* Redeem Banner */
.redeem-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 112px;
  background: #0f766e;
}

.redeem-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.redeem-hero-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 12px 14px;
  background: linear-gradient(90deg, rgba(13, 86, 78, 0.88) 0%, rgba(13, 86, 78, 0.45) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.redeem-pill {
  display: inline-block;
  align-self: flex-start;
  background: #064e3b;
  border: 1px solid #5eead4;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 900;
  color: #ffffff;
}

.redeem-amt {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fde047;
  margin-top: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

.redeem-sub {
  font-size: 11px;
  color: #ccfbf1;
  font-weight: 700;
}

/* Support Hero */
.support-hero-card {
  position: relative;
  border-radius: 16px;
  padding: 14px;
  background: radial-gradient(circle at 22% 50%, rgba(255, 200, 80, 0.08) 0%, #202020 68%);
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.support-hero-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(circle, #000000 58%, transparent 98%);
  mask-image: radial-gradient(circle, #000000 58%, transparent 98%);
  flex-shrink: 0;
}

/* Modals & Drawers Locked to 486px Centered Frame */
.modal-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 486px;
  z-index: 90;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.modal-backdrop.center {
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.auth-backdrop {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}

.auth-top-bar {
  width: 100%;
  max-width: 486px;
  min-height: 98px;
  padding: 14px 18px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
}

.auth-close-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.auth-sheet {
  flex: 1;
  width: 100%;
  max-width: 486px;
  min-height: calc(100dvh - 100px);
  background: #222222;
  border-top: 1.5px solid #ff5900;
  border-radius: 26px 26px 0 0;
  padding: 34px 22px 44px;
  position: relative;
  overflow-y: auto;
  box-shadow: 0 -10px 36px rgba(255, 89, 0, 0.12);
  animation: sheetUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-title {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.auth-sub {
  font-size: 14px;
  color: #8c8c8c;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.auth-switch-link {
  background: none;
  border: none;
  padding: 0;
  color: #ffdc00;
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field-box {
  height: 54px;
  background: #1a1a1a;
  border: 1px solid #353535;
  border-radius: 10px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-field-box:focus-within {
  border-color: #ff5900;
  box-shadow: 0 0 0 2px rgba(255, 89, 0, 0.18);
}

.auth-field-box input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

.auth-field-box input::placeholder {
  color: #7a7a7a;
}

.auth-divider {
  width: 1px;
  height: 22px;
  background: #404040;
  flex-shrink: 0;
}

.auth-remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #d4d4d4;
  margin-top: 2px;
}

.auth-remember-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.auth-remember-row input[type="checkbox"] {
  accent-color: #ff5900;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.auth-verify-bar {
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, rgba(26, 26, 26, 0.95) 65%);
  border: 1px solid rgba(34, 197, 94, 0.38);
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: #dcfce7;
  cursor: pointer;
}

.verify-dot-spin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid #22c55e;
  border-top-color: transparent;
  animation: wheelSpinLoop 1.1s linear infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.verify-dot-spin.verified,
.auth-verify-bar.verified .verify-dot-spin {
  animation: none;
  border-color: #22c55e;
  background: #22c55e;
  color: #052e16;
  font-size: 11px;
  font-weight: 900;
}

.verify-dot-spin.verified::after,
.auth-verify-bar.verified .verify-dot-spin::after {
  content: "\2713";
  line-height: 1;
}

.auth-cta-btn {
  width: 100%;
  height: 52px;
  margin-top: 10px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  background: linear-gradient(90deg, #ff5900 0%, #ffb700 100%);
  color: #111111;
  box-shadow: 0 6px 22px rgba(255, 89, 0, 0.38);
  transition: all 0.2s ease;
}

.auth-cta-btn.is-disabled,
.auth-cta-btn:disabled {
  background: #2b0b03;
  color: #8c7d78;
  box-shadow: none;
  cursor: not-allowed;
}

@keyframes sheetUp {
  from { transform: translateY(30px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

/* Fund Password Prompt Modal */
.fund-pwd-modal {
  max-width: 340px;
  width: 100%;
  background: #232323;
  border-radius: 18px;
  overflow: visible;
  padding: 0 18px 20px;
  text-align: center;
  position: relative;
  border: 1px solid #353535;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.fund-mascot-wrap {
  margin: -42px -18px 14px;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.fund-mascot-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.fund-pwd-msg {
  font-size: 13.5px;
  color: #d4d4d4;
  line-height: 1.45;
  margin: 0 0 16px;
}

.fund-pwd-confirm {
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff7a00, #ffc400);
  color: #111111;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}

/* Search Page */
.search-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-bar-box {
  height: 44px;
  background: #222222;
  border: 1px solid #363636;
  border-radius: 11px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.16s ease;
}

.search-bar-box:focus-within {
  border-color: #ff5900;
}

.search-bar-box input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 13.5px;
}

.search-bar-box input::placeholder {
  color: #777777;
}

.search-clear-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.search-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: #242424;
  border: 1px solid #343434;
  color: #d4d4d4;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.search-chip.active,
.search-chip:hover {
  border-color: #ff5900;
  color: #ffdc00;
  background: rgba(255, 89, 0, 0.14);
}

/* Check-In Modal */
.checkin-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.checkin-day-card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-size: 11px;
  color: #cccccc;
  position: relative;
}

.checkin-day-card.today {
  border-color: #ff5900;
  background: linear-gradient(180deg, rgba(255, 89, 0, 0.22) 0%, #1d1512 100%);
  box-shadow: 0 0 12px rgba(255, 89, 0, 0.28);
  color: #ffffff;
}

.checkin-day-card.claimed {
  border-color: rgba(83, 193, 84, 0.55);
  background: rgba(20, 83, 45, 0.28);
  color: #bbf7d0;
}

/* Lucky Draw Wheel */
.wheel-stage {
  position: relative;
  width: 268px;
  height: 268px;
  margin: 10px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 22px solid #ffdc00;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.7));
  z-index: 5;
  pointer-events: none;
}

.wheel-rotator {
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 4.2s cubic-bezier(0.14, 0.85, 0.22, 1);
}

.wheel-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #fffbeb;
  background: linear-gradient(180deg, #ffdc00 0%, #f59e0b 55%, #ea580c 100%);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  cursor: pointer;
  z-index: 6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 14px rgba(255, 220, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-center-btn:active {
  transform: translate(-50%, -50%) scale(0.95);
}

.wheel-center-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Event Detail, Report & Security Center Pages */
.event-detail-card {
  background: #222222;
  border: 1px solid #323232;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2e2e2e;
}

.event-tier-table th,
.event-tier-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #2a2a2a;
}

.event-tier-table th {
  background: #262626;
  color: #ffdc00;
  font-weight: 800;
}

.event-tier-table td {
  color: #e5e5e5;
  font-weight: 600;
}

.event-tier-table tr:last-child td {
  border-bottom: none;
}

.event-rules-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: #cccccc;
  line-height: 1.45;
}

.report-summary-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.report-stat-box {
  background: #222222;
  border: 1px solid #323232;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sec-row-card {
  background: #232323;
  border: 1px solid #323232;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.modal-card {
  width: 100%;
  max-width: 430px;
  background: var(--bg-l02);
  border: 1px solid #3f3f3f;
  border-radius: 16px;
  padding: 18px;
  position: relative;
}

.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Side Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 486px;
  z-index: 80;
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  justify-content: flex-end;
}

.drawer-frame {
  width: 100%;
  max-width: 486px;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.side-drawer,
.drawer-panel {
  width: 84%;
  max-width: 344px;
  height: 100%;
  background: #191919;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 14px 28px;
  border-left: 1px solid #2e2e2e;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.drawer-panel > * {
  flex-shrink: 0;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: none;
  background: #2a2a2a;
  color: #ff5900;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-welcome-box {
  position: relative;
  border-radius: 14px;
  padding: 14px 12px;
  background: radial-gradient(ellipse at 50% 115%, rgba(255, 89, 0, 0.34) 0%, rgba(255, 89, 0, 0.08) 48%, #222222 85%);
  border: 1px solid #323232;
  overflow: hidden;
}

.drawer-hot-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.drawer-prov-btn {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #232323;
  border: 1px solid #303030;
  border-radius: 11px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.drawer-prov-badge {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff5900, #ff9d00);
}

.drawer-prov-badge.pg { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.drawer-prov-badge.jili { background: linear-gradient(135deg, #f59e0b, #dc2626); }
.drawer-prov-badge.pp { background: linear-gradient(135deg, #a855f7, #ec4899); }
.drawer-prov-badge.spribe { background: linear-gradient(135deg, #ef4444, #991b1b); }
.drawer-prov-badge.evo { background: linear-gradient(135deg, #10b981, #047857); }
.drawer-prov-badge.cq9 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

.drawer-app-card {
  position: relative;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(135deg, #25130f 0%, #1d100d 100%);
  border: 1px solid rgba(255, 110, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  cursor: pointer;
}

.drawer-app-img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  mix-blend-mode: lighten;
}

/* Toast */
.toast-msg {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  max-width: min(440px, 90vw);
  padding: 10px 16px;
  border-radius: 10px;
  background: #14532d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-msg.err {
  background: #7f1d1d;
}

/* Game Frame Overlay */
.game-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 486px;
  z-index: 100;
  background: #000000;
  display: flex;
  flex-direction: column;
}

.game-topbar {
  height: 44px;
  background: #181818;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border-bottom: 1px solid #333333;
}

@media (max-width: 520px) {
  .app-shell,
  .bottom-nav,
  .modal-backdrop,
  .drawer-backdrop,
  .drawer-frame,
  .auth-top-bar,
  .auth-sheet,
  .game-overlay,
  .lang-popover-backdrop {
    max-width: 100%;
    box-shadow: none;
  }

  .lang-popover {
    right: 12px;
  }

  .float-left-stack {
    left: 10px;
  }

  .float-right-stack {
    right: 8px;
  }
}
