﻿/* Design tokens (CSS custom properties) are managed in root.css */
@import "root.css";

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   1.  Reset & CSS Variables
   2.  Base / Typography
   3.  App Shell
   4.  Hero Background (gradient, sun, grid, palms)
   5.  Top Header (hamburger, wallet, profile)
   6.  Brand Logo
   7.  Dealer Stage (dealer image, casino table, cards)
   8.  Dashboard Layer (scrollable content area)
   9.  Glass Card (shared card style)
   10. Info Grid (quest + VIP side by side)
       10a. Daily Quest
       10b. VIP Dragon
   11. Top Games (horizontal scroll)
   12. Live Wins
   13. Category Nav
   14. Bottom Nav
   15. Utility / Visibility Helpers
   16. Overlays, Side Menu & Modals
       16a. Overlay Backdrop
       16b. Side Menu
       16c. Modal Base
       16d. Modal — Shared Components (CTA, inputs, chips, payments)
       16e. Modal — Notifications
       16f. Modal — Promotions
       16g. Modal — Profile
       16h. Modal — Game Preview
       16i. Modal — All Games Grid
       16j. Modal — All Wins
       16k. Modal — VIP
       16l. Modal — Rewards
       16m. Modal — Live Casino
   17. Interactive Hover Effects
   --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------------
   R1. Small Mobile  (max-width: 380px)
   R2. Desktop       (min-width: 900px)
   ========================================================================== */

/* ==========================================================================
   1. RESET & CSS VARIABLES
   ========================================================================== */

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

.logo-img {
  max-width: 150px;
}

/* All CSS custom properties moved to assets/css/root.css */

/* ==========================================================================
                                                                                                      2. BASE / TYPOGRAPHY
                                                                                                      ========================================================================== */

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;

}

/* ==========================================================================
                                                                                                      3. APP SHELL
                                                                                                      ========================================================================== */

.app {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;

}

.center-content {
  position: relative;
  z-index: 1;
  padding: 1rem;
  padding-top: 10rem;
  padding-bottom: 120px;
}

/* ==========================================================================
                                                                                                      4. HERO BACKGROUND
                                                                                                      ========================================================================== */

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url(../img/background/bg-desktop.webp) no-repeat center center;
  overflow: hidden;
  background-size: cover;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-img.is-active {
  opacity: 1;
}

.hero-bg .sunset-circle,
.hero-bg .grid-floor {
  z-index: 1;
}

.sunset-circle {
  position: absolute;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 200, 120, 0.55) 0%,
      rgba(255, 160, 100, 0.3) 35%,
      rgba(200, 120, 200, 0.12) 65%,
      transparent 100%);
  filter: blur(8px);
}

.grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  background:
    linear-gradient(to bottom, transparent 0%, rgba(100, 210, 230, 0.18) 100%),
    repeating-linear-gradient(90deg,
      rgba(100, 255, 241, 0.12) 0px,
      rgba(100, 255, 241, 0.12) 1px,
      transparent 1px,
      transparent 60px),
    repeating-linear-gradient(0deg,
      rgba(100, 255, 241, 0.10) 0px,
      rgba(100, 255, 241, 0.10) 1px,
      transparent 1px,
      transparent 40px);
  transform: perspective(400px) rotateX(35deg);
  transform-origin: bottom center;
}

/* -- Palm trees -- */

.palm {
  position: absolute;
  bottom: 12%;
  width: 180px;
  height: 420px;
  opacity: 0.15;
}

.palm::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 60%;
  background: linear-gradient(to top, #1a0a3a, #3a2a5a);
  border-radius: 8px;
}

.palm::after {
  content: '';
  position: absolute;
  top: 10%;
  width: 140px;
  height: 120px;
  border-radius: 50% 50% 60% 40%;
  background: radial-gradient(ellipse, #1a1a4a 0%, transparent 70%);
}

.palm-left {
  left: -30px;
}

.palm-left::after {
  left: -10px;
}

.palm-right {
  right: -30px;
}

.palm-right::after {
  right: -10px;
}

/* ==========================================================================
                                                                                                      5. TOP HEADER
                                                                                                      ========================================================================== */

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

/* Scroll-aware glass background (mobile only). Transparent at the top of the
                                                            page; once the app scroller moves down, .scrolled is toggled on via JS to
                                                            fade in a frosted-glass bar. Removed again when scrolled back to top. */

/* On very small screens the header is an inset floating bar, so round it */

/* -- Hamburger button -- */

.hamburger {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 5px;
  border-radius: 10px;
  max-height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: background 0.2s, box-shadow 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
}

.header-left {
  display: flex;
  grid-gap: 10px;
  align-items: center;
}

/* -- Font Awesome icons (replaces assets/img/icon PNGs) -- */

.app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
  font-style: normal;
  pointer-events: none;
  color: #fff;
}

.hamburger .app-icon--menu {
  font-size: 1.125rem;
}

.app-icon--sm {
  font-size: 0.8125rem;
}

.wallet-icon .wallet-coin-icon {
  font-size: 0.8125rem;
  color: #fff;
}

.wallet-icon .wallet-coin-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.wallet-caret-icon {
  font-size: 0.6875rem;
  transition: transform 0.25s ease;
}

.vip-caret-icon {
  font-size: 0.625rem;
  vertical-align: middle;
  margin-left: 2px;
  color: #fff;
}

.gem-icon-img {
  font-size: 0.875rem;
  vertical-align: middle;
  flex-shrink: 0;
  color: #fff;
}

.gem-icon-big,
.gem-icon.big {
  font-size: 2rem;
}

.perk-icon-img {
  font-size: 0.875rem;
  vertical-align: middle;
  margin-right: 6px;
  color: #fff;
}

.app-icon--header {
  font-size: 1.125rem;
}

.app-icon-img {
  display: inline-block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  pointer-events: none;
}

.app-icon--close {
  font-size: 1.125rem;
}

.wallet-dropdown-gem .app-icon {
  color: #69fff1;
}

/* -- Wallet dropdown -- */

.wallet-dropdown {
  position: relative;
  z-index: 25;
  margin-left: auto;
  flex-shrink: 0;
}

.wallet-dropdown.open .wallet-pill {
  border-color: rgba(155, 92, 255, 0.65);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 0 22px rgba(155, 92, 255, 0.38),
    0 0 14px rgba(105, 255, 241, 0.18);
}

.wallet-dropdown.open .wallet-caret-icon {
  transform: rotate(180deg);
}

.wallet-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 50px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg,
      rgba(155, 92, 255, 0.22),
      rgba(60, 20, 120, 0.30));
  border: 1px solid rgba(155, 92, 255, 0.40);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 0 14px rgba(155, 92, 255, 0.22),
    0 0 8px rgba(105, 255, 241, 0.08);
  backdrop-filter: blur(var(--liq-blur));
  -webkit-backdrop-filter: blur(var(--liq-blur));
  flex-shrink: 0;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  margin-left: 0;
  font: inherit;
  color: inherit;
  width: 100%;
}

.wallet-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 120% 80% at 18% 0%,
      rgba(155, 92, 255, 0.20) 0%,
      rgba(105, 255, 241, 0.06) 42%,
      transparent 68%);
  opacity: 0.85;
}

.wallet-pill>* {
  position: relative;
  z-index: 1;
}

.wallet-pill:hover {
  border-color: rgba(155, 92, 255, 0.58);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.2),
    0 0 22px rgba(155, 92, 255, 0.32),
    0 0 14px rgba(105, 255, 241, 0.14);
}

.wallet-pill:focus-visible {
  outline: 2px solid rgba(105, 255, 241, 0.7);
  outline-offset: 2px;
}

.wallet-pill-caret {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  opacity: 0.9;
}

.wallet-dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  padding: 0;
  max-height: 420px;
  display: flex;
  flex-direction: column;
  border-radius: var(--liq-radius);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(155, 92, 255, 0.30) 0%, transparent 60%),
    linear-gradient(160deg,
      rgba(28, 8, 65, 0.96) 0%,
      rgba(16, 5, 40, 0.98) 60%,
      rgba(8, 2, 20, 1) 100%);
  border: 1px solid rgba(155, 92, 255, 0.38);
  box-shadow:
    var(--liq-shadow),
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 0 28px rgba(155, 92, 255, 0.22),
    0 0 16px rgba(105, 255, 241, 0.10);
  backdrop-filter: blur(var(--liq-blur-heavy));
  -webkit-backdrop-filter: blur(var(--liq-blur-heavy));
  z-index: 26;
}

.wallet-dropdown-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 44%;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 120% at 50% 0%,
      rgba(155, 92, 255, 0.18) 0%,
      transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.wallet-dropdown-summary {
  position: relative;
  z-index: 1;
  padding: 4px 4px 8px;
}

.wallet-dropdown-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(155, 92, 255, 0.85);
  margin-bottom: 4px;
}

.wallet-dropdown-balance {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #fff 30%, #69fff1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(105, 255, 241, 0.35));
}

.wallet-dropdown-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.wallet-dropdown-gem {
  display: flex;
  align-items: center;
}

.wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b5cff, #6a2fd0);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.55);
}

.wallet-amount {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #fff 40%, #69fff1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -- Wallet dropdown panel inner UI -- */

.wdp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(155, 92, 255, 0.25);
  flex-shrink: 0;
}

.wdp-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(155, 92, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.wdp-back-btn:hover {
  background: rgba(155, 92, 255, 0.3);
  color: #fff;
}

.wdp-title {
  flex: 1;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #9b5cff, #69fff1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wdp-header-spacer {
  width: 28px;
  flex-shrink: 0;
}

.wdp-main-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(155, 92, 255, 0.20);
  background: rgba(155, 92, 255, 0.08);
  flex-shrink: 0;
}

.wdp-main-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wdp-main-balance {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.wdp-allin-btn {
  padding: 4px 10px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #9b5cff, #6a2fd0);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 8px rgba(155, 92, 255, 0.45);
}

.wdp-allin-btn:hover {
  opacity: 0.9;
  box-shadow: 0 0 14px rgba(155, 92, 255, 0.65);
}

.wdp-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 92, 255, 0.3) transparent;
}

.wdp-list::-webkit-scrollbar {
  width: 4px;
}

.wdp-list::-webkit-scrollbar-track {
  background: transparent;
}

.wdp-list::-webkit-scrollbar-thumb {
  background: rgba(155, 92, 255, 0.35);
  border-radius: 4px;
}

.wdp-game-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(155, 92, 255, 0.12);
  transition: background 0.15s;
}

.wdp-game-row:last-child {
  border-bottom: none;
}

.wdp-game-row:hover {
  background: rgba(155, 92, 255, 0.08);
}

.wdp-game-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wdp-out-btn {
  padding: 3px 10px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.wdp-out-btn:hover {
  opacity: 0.85;
}

.wdp-game-balance {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  min-width: 42px;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.wdp-in-btn {
  padding: 3px 10px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.wdp-in-btn:hover {
  opacity: 0.85;
}

/* -- Header right actions -- */

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

/* Mobile: header-right content lives in side menu instead */
.smh-mobile-hdr {
  display: none;
}

.nav-item.desktop-only {
  display: block;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  color: #fff;
}

.icon-btn .app-icon {
  font-size: 1.125rem;
}

/* -- Profile pill -- */

.profile-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 101, 245, 0.4);
  box-shadow: 0 0 12px rgba(255, 101, 245, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: box-shadow 0.2s;
  user-select: none;
}

.profile-pill:hover {
  box-shadow: 0 0 20px rgba(255, 101, 245, 0.3);
}

.profile-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ff65f5, #9b5cff);
  flex-shrink: 0;
}

.profile-avatar-icon {
  font-size: 0.875rem;
  color: #fff;
}

.profile-avatar-img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.vip-caret {
  font-size: 9px;
  opacity: 0.7;
}

.vip-caret-icon {
  transition: transform 0.2s ease;
}

.profile-pill.open .vip-caret-icon {
  transform: rotate(180deg);
}

/* -- Profile Dropdown -- */

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: rgba(18, 14, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255, 101, 245, 0.28);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(255, 101, 245, 0.1);
  padding: 8px;
  z-index: 300;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-pill.open .profile-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.profile-dropdown-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px;
}

.profile-dropdown-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff65f5, #9b5cff);
  flex-shrink: 0;
  font-size: 1rem;
  color: #fff;
}

.profile-dropdown-avatar-img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.profile-dropdown-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.profile-dropdown-vip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #f1cf75;
  font-weight: 600;
  margin-top: 2px;
}

.profile-dropdown-vip-img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.profile-dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.profile-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.profile-dropdown-item i {
  width: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
  flex-shrink: 0;
}

.profile-dropdown-item--danger {
  color: rgba(255, 138, 138, 0.9);
}

.profile-dropdown-item--danger:hover {
  background: rgba(255, 92, 92, 0.12);
  color: #ff8a8a;
}

/* -- Auth Buttons (Login / Register) -- */

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(var(--liq-blur));
  -webkit-backdrop-filter: blur(var(--liq-blur));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow:
    inset 0 1px 1px var(--liq-highlight),
    0 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  flex-shrink: 0;
}

.auth-btn:hover {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 1px var(--liq-highlight),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

.auth-btn--register {
  background: linear-gradient(135deg,
      rgba(105, 255, 241, 0.3),
      rgba(155, 92, 255, 0.3));
  border-color: rgba(105, 255, 241, 0.35);
  box-shadow:
    inset 0 1px 1px var(--liq-highlight),
    0 0 12px rgba(105, 255, 241, 0.12);
}

.auth-btn--register:hover {
  background: linear-gradient(135deg,
      rgba(105, 255, 241, 0.4),
      rgba(155, 92, 255, 0.4));
  border-color: rgba(105, 255, 241, 0.5);
  box-shadow:
    inset 0 1px 1px var(--liq-highlight),
    0 0 20px rgba(105, 255, 241, 0.2);
}

.auth-btn .app-icon {
  font-size: 0.8125rem;
}

/* ==========================================================================
                                                                                                      6. BRAND LOGO
                                                                                                      ========================================================================== */

.brand-logo {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
}

.logo-emblem {
  margin: 0 auto 2px;
}

.logo-emblem .app-icon--logo-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  margin: 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.logo-holdem {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-size: 34px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffe5a0, #ffcc50, #ffe5a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 200, 80, 0.5));
}

.logo-hub {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 8px;
  color: #c9a0ff;
  text-shadow: 0 0 16px rgba(155, 92, 255, 0.45);
}

/* ==========================================================================
                                                                                                      7. DEALER STAGE
                                                                                                      ========================================================================== */

.dealer-stage {
  position: absolute;
  left: 50%;
  top: 140px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100%;
  height: 240px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dealer-img {
  width: 100%;
  max-width: 425px;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.dealer-img.placeholder {
  display: block;
  width: 240px;
  height: 180px;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(200, 160, 255, 0.25) 0%, rgba(100, 200, 230, 0.1) 100%);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

/* -- Casino table & cards -- */

.casino-table {
  position: relative;
  margin-top: -20px;
  width: 100%;
  z-index: 1;
}

.table-surface {
  width: 100%;
  height: 22px;
  background: linear-gradient(90deg, transparent, rgba(160, 100, 200, 0.25) 20%, rgba(160, 100, 200, 0.35) 50%, rgba(160, 100, 200, 0.25) 80%, transparent);
  border-radius: 50%;
}

.cards-row {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: -6px;
}

.card-mini {
  width: 28px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #1a1a3a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  line-height: 1.1;
}

.suit {
  font-size: 9px;
}

.suit.heart,
.suit.diamond {
  color: #e74c3c;
}

.suit.spade,
.suit.club {
  color: #1a1a3a;
}

/* ==========================================================================
                                                                                                      8. DASHBOARD LAYER (scrollable content area)
                                                                                                      ========================================================================== */

.dashboard-layer {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}

.dashboard-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  pointer-events: auto;
}

.dashboard-right {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  pointer-events: auto;
}

/* ==========================================================================
                                                                                                      8b. TAB CONTENT (Swiper-driven category panes)
                                                                                                      ========================================================================== */

.tab-content-section {
  position: relative;
  z-index: 5;
  width: 100%;
  margin-top: 10px;
}

.tab-content-swiper {
  width: 100%;
  overflow: hidden;
}

.tab-content-swiper > .swiper-wrapper {
  /* flex-start (not stretch) so each pane keeps its natural content height —
     lets Swiper's autoHeight measure short panes (e.g. Slots) correctly instead
     of inheriting the tallest pane's height. Direct child only, so the nested
     swipers inside pane 0 are untouched. Desktop sets an explicit height:100%
     on the slides, so it is unaffected. */
  align-items: flex-start;
}

.tab-content-swiper>.swiper-wrapper>.swiper-slide.tab-pane {
  height: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Placeholder card shown for categories without dedicated content yet */
.tab-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 20px;
  text-align: center;
  min-height: 220px;
}

.tab-placeholder-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 18px rgba(111, 255, 241, 0.10), 0 0 20px rgba(255, 101, 245, 0.06);
}

.tab-placeholder-icon img {
  max-width: 100%;
}

.tab-placeholder h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

.tab-placeholder p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 280px;
  margin: 0;
  line-height: 1.45;
}

.tab-placeholder-cta {
  margin-top: 4px;
}

/* ==========================================================================
                                                                                                      8b2. SLOTS PROVIDER GRID
                                                                                                      ========================================================================== */

.slots-tab {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}

.slots-tab-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slots-tab-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(76, 255, 122, 0.55));
}

.slots-tab-header h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0;
}

.slots-prov-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 4px 6px 8px;
  box-sizing: border-box;
}

/* Wrapper holding the scroll viewport. The up/down arrows are positioned
   absolutely so they overlay directly ON the product images (top & bottom
   centre) instead of sitting in their own rails outside the content. */
.slots-prov-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Scroll viewport that clamps the grid to 2 rows */
.slots-prov-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

.slots-prov-scroll::-webkit-scrollbar {
  display: none;
}

/* Small centered arrow pills overlaid on the top & bottom of the content */
.slots-prov-arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 44px;
  height: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 12px;
  background: rgba(20, 12, 40, 0.82);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  transition: opacity 0.18s, background 0.18s;
}

.slots-prov-arrow--up {
  top: 6px;
}

.slots-prov-arrow--down {
  bottom: 6px;
}

.slots-prov-arrow:hover {
  background: rgba(168, 85, 247, 0.9);
}

.slots-prov-wrap.has-overflow .slots-prov-arrow {
  display: flex;
}

/* Fade (but keep the space of) the rail you've already reached, so the
   content doesn't jump when an arrow becomes inactive. */
.slots-prov-wrap.at-top .slots-prov-arrow--up,
.slots-prov-wrap.at-bottom .slots-prov-arrow--down {
  opacity: 0.25;
  pointer-events: none;
}

/* Looping nudge + glow so users notice the grid is scrollable. Only the
   actionable arrow animates (the one pointing toward unseen content); the
   faded end-of-scroll arrow above stays still. */
@keyframes slotsProvNudgeDown {
  0%, 100% { transform: translate(-50%, 0); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
  50%      { transform: translate(-50%, 3px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(168, 85, 247, 0.65); }
}

@keyframes slotsProvNudgeUp {
  0%, 100% { transform: translate(-50%, 0); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
  50%      { transform: translate(-50%, -3px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 12px rgba(168, 85, 247, 0.65); }
}

.slots-prov-wrap.has-overflow:not(.at-bottom) .slots-prov-arrow--down {
  animation: slotsProvNudgeDown 1.6s ease-in-out infinite;
}

.slots-prov-wrap.has-overflow:not(.at-top) .slots-prov-arrow--up {
  animation: slotsProvNudgeUp 1.6s ease-in-out infinite;
}

/* Pause the motion on hover so it doesn't fight the click target */
.slots-prov-arrow:hover {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .slots-prov-wrap.has-overflow .slots-prov-arrow {
    animation: none !important;
  }
}

.slots-prov-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: rgba(10, 4, 28, 0.72);
  transition: transform 0.18s, box-shadow 0.18s;
}

.slots-prov-card:hover {
  transform: translateY(-4px);
}

.slots-prov-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Per-card glow colours */
.slots-prov-card--1 {
  box-shadow: 0 0 0 1.5px #a855f7, 0 4px 16px rgba(168, 85, 247, 0.35);
}

.slots-prov-card--2 {
  box-shadow: 0 0 0 1.5px #ec4899, 0 4px 16px rgba(236, 72, 153, 0.35);
}

.slots-prov-card--3 {
  box-shadow: 0 0 0 1.5px #3b82f6, 0 4px 16px rgba(59, 130, 246, 0.35);
}

.slots-prov-card--4 {
  box-shadow: 0 0 0 1.5px #f97316, 0 4px 16px rgba(249, 115, 22, 0.35);
}

.slots-prov-card--5 {
  box-shadow: 0 0 0 1.5px #22c55e, 0 4px 16px rgba(34, 197, 94, 0.35);
}

.slots-prov-card--6 {
  box-shadow: 0 0 0 1.5px #14b8a6, 0 4px 16px rgba(20, 184, 166, 0.35);
}

.slots-prov-card--7 {
  box-shadow: 0 0 0 1.5px #ef4444, 0 4px 16px rgba(239, 68, 68, 0.35);
}

.slots-prov-card--8 {
  box-shadow: 0 0 0 1.5px #eab308, 0 4px 16px rgba(234, 179, 8, 0.35);
}

.slots-prov-card--9 {
  box-shadow: 0 0 0 1.5px #06b6d4, 0 4px 16px rgba(6, 182, 212, 0.35);
}

.slots-prov-card--10 {
  box-shadow: 0 0 0 1.5px #d946ef, 0 4px 16px rgba(217, 70, 239, 0.35);
}

.slots-prov-card--11 {
  box-shadow: 0 0 0 1.5px #6366f1, 0 4px 16px rgba(99, 102, 241, 0.35);
}

.slots-prov-card--12 {
  box-shadow: 0 0 0 1.5px #f59e0b, 0 4px 16px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
                                                                                                      8c. CATEGORY TABS SWIPER (slideable nav strip)
                                                                                                      ========================================================================== */

.category-tabs-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: var(--category-nav-radius, 18px);
}

.category-tabs-swiper .swiper-wrapper {
  align-items: stretch;
}

.category-tabs-swiper .cat-btn.swiper-slide {
  width: auto;
  height: auto;
  /* flex:0 0 auto so flex-basis:0 from .cat-btn can't override the
                                                                       per-slide width Swiper sets inline for slidesPerView:5 */
  flex: 0 0 auto;
}

/* ==========================================================================
                                                                                                      9. GLASS CARD (shared card style)
                                                                                                      ========================================================================== */

.glass-card {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.20),
      rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(111, 255, 241, 0.10),
    0 0 20px rgba(255, 101, 245, 0.06);
  padding: 12px;
  flex-shrink: 0;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-header-row h3 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.timer {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 600;
  flex-shrink: 0;
}

.view-all {
  font-size: 11px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  flex-shrink: 0;
}

/* ==========================================================================
                                                                                                      10. INFO GRID (Quest + VIP side by side)
                                                                                                      ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
                                                                                                      10a. Daily Quest
                                                                                                      -------------------------------------------------------------------------- */

/* ===== Check-in Bonus Card ===== */
.checkin-bonus.glass-card {
  padding: 0;
  /* Figma: linear violet glass  rgba(126,38,193,.47) -> rgba(63,19,97,1), white gradient border, 42px blur */
  background:
    radial-gradient(ellipse 70% 55% at 12% 6%, rgba(177, 89, 245, 0.30) 0%, transparent 60%),
    linear-gradient(155deg, rgba(126, 38, 193, 0.47) 0%, rgba(63, 19, 97, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(21px);
  backdrop-filter: blur(21px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ---- Header ---- */
.checkin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px 0;
  position: relative;
  z-index: 1;
}

.checkin-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

.checkin-cal-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  border-radius: 7px;
  background: linear-gradient(135deg, #7e26c1 0%, #1f0930 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 2px 8px rgba(20, 6, 40, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.checkin-title-row h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin: 0 0 1px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

.checkin-subtitle {
  font-size: 8.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Streak badge ---- */
.checkin-streak-row {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px 3px 4px;
  border-radius: 50px;
  background: rgba(31, 9, 48, 0.8);
  border: 1px solid rgba(177, 89, 245, 1);
}

.checkin-fire {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  color: #ff8a2a;
  background: #2a154f;
  border: 1px solid #c98722;
  box-shadow: 0 0 8px rgba(255, 140, 40, 0.35);
}

.checkin-fire-lv {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5.5px;
  font-weight: 900;
  color: #2a1500;
  background: linear-gradient(90deg, #ffe27a, #ffb020);
  padding: 1px 3px;
  border-radius: 4px;
  white-space: nowrap;
}

.checkin-streak-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
  color: #ffc300;
}

.checkin-streak-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.checkin-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.checkin-dot.is-active {
  background: radial-gradient(circle at 50% 35%, #ffe27a, #ffae18);
  box-shadow: 0 0 6px rgba(255, 190, 50, 0.8);
}

/* ---- Progress track ---- */
.checkin-track {
  display: flex;
  align-items: flex-start;
  padding: 10px 10px 12px;
  position: relative;
  z-index: 1;
}

/* The horizontal line connecting all circles */
.checkin-track-rail {
  position: absolute;
  /* vertically centred on the node circles (day-label ~14px + gap 4px + circle-radius 16px) */
  top: calc(10px + 14px + 4px + 16px);
  left: calc(10px + 18px);
  right: calc(10px + 18px);
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(177, 89, 245, 1) 0%, rgba(31, 9, 48, 1) 100%);
  pointer-events: none;
}

.checkin-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  position: relative;
}

.checkin-node-day {
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #d8acfa;
  white-space: nowrap;
}

.checkin-node--claimed .checkin-node-day {
  color: #fff;
}

.checkin-node--jackpot .checkin-node-day {
  color: #ffc300;
}

.checkin-node-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.checkin-node--claimed .checkin-node-dot {
  /* Figma 63:2748 — purple gradient fill (was flat #9d2ff2) */
  background: linear-gradient(160deg, #c265f5 0%, #7e26c1 100%);
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(157, 47, 242, 0.75), 0 0 22px rgba(210, 130, 255, 0.35);
  color: #fff;
}

.checkin-node--locked .checkin-node-dot {
  background: rgba(31, 9, 48, 0.8);
  border: 1px solid rgba(177, 89, 245, 1);
  color: #7e26c1;
  font-size: 11px;
}

/* Milestone nodes share the same locked look in the Figma design */
.checkin-node--ms .checkin-node-dot {
  border-color: rgba(177, 89, 245, 1);
  color: #7e26c1;
}

.checkin-node--jackpot .checkin-node-dot {
  width: 38px;
  height: 38px;
  font-size: 16px;
  background:
    radial-gradient(ellipse 70% 45% at 50% 22%, rgba(255, 245, 190, 0.6) 0%, transparent 60%),
    #ffba00;
  border: 2px solid #fdd55b;
  box-shadow: 0 0 16px rgba(255, 180, 30, 0.6), 0 0 32px rgba(255, 160, 20, 0.28);
  color: #5a2e00;
  animation: checkinBigGlow 2.4s ease-in-out infinite;
}

.checkin-node-crown {
  filter: drop-shadow(0 0 5px rgba(255, 220, 80, 0.8));
}

.checkin-node-val {
  font-size: 11px;
  font-weight: 800;
  color: #d8acfa;
}

.checkin-node--claimed .checkin-node-val {
  color: #fff;
}

.checkin-node--jackpot .checkin-node-val {
  color: #ffc300;
  font-size: 12px;
  text-shadow: 0 0 8px rgba(255, 190, 40, 0.5);
}

/* Buttons row — use .checkin-node-btn-gap as placeholder to keep uniform height */
.checkin-node-btn-gap {
  display: block;
  height: 18px;
}

.checkin-node-btn {
  display: block;
  width: 100%;
  padding: 3px 2px;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: default;
  color: #fff;
  background: #9d2ff2;
  box-shadow: 0 2px 6px rgba(120, 30, 190, 0.5);
  white-space: nowrap;
}

.checkin-claim-btn {
  display: block;
  width: 100%;
  padding: 3px 2px;
  border: 1px solid rgba(255, 247, 5, 0.5);
  border-radius: 50px;
  font-family: inherit;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  cursor: pointer;
  color: #5a2e00;
  background: linear-gradient(135deg, #fdd05e, #f79b0d);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s;
  animation: checkinClaimPulse 2.2s ease-in-out infinite;
  white-space: nowrap;
}

.checkin-claim-btn:hover {
  transform: translateY(-1px);
}

/* Milestone tag — small floating label below button gap */
.checkin-node-ms-tag {
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: #d290ff;
  background: rgba(31, 9, 48, 0.8);
  border: 1px solid rgba(177, 89, 245, 1);
  border-radius: 50px;
  padding: 1.5px 6px;
  white-space: nowrap;
}

@keyframes checkinClaimPulse {

  0%,
  100% {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  }

  50% {
    box-shadow: 0 2px 12px rgba(255, 210, 74, 0.75);
  }
}

@keyframes checkinBigGlow {

  0%,
  100% {
    box-shadow: 0 0 16px rgba(255, 180, 30, 0.6), 0 0 32px rgba(255, 160, 20, 0.28);
  }

  50% {
    box-shadow: 0 0 24px rgba(255, 200, 50, 0.85), 0 0 48px rgba(255, 170, 30, 0.44);
  }
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.progress-bar {
  flex: 1;
  height: 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-width: 0;
}

.progress-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}

.progress-label {
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.reward-row {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  flex-wrap: wrap;
}

.reward-text {
  color: var(--text-soft);
}

.gem-icon {
  color: #fff;
  font-size: 12px;
}

.gem-amount {
  font-weight: 700;
  color: var(--neon-purple);
  font-size: 11px;
}

.claim-btn {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.claim-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------------------------
                                                                                                      10b. VIP Dragon
                                                                                                      -------------------------------------------------------------------------- */

.vip-dragon {
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.vip-dragon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(155, 92, 255, 0.2);
}

.vip-dragon h3 {
  margin-bottom: 6px;
}

.vip-body {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-info {
  flex: 1;
  min-width: 0;
}

.vip-bar {
  margin-bottom: 6px;
}

.vip-level {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 2px;
}

.vip-xp {
  font-size: 10px;
  color: var(--text-soft);
  white-space: nowrap;
}

.dragon-placeholder {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dragon-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dragon-placeholder img.placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.3), rgba(105, 255, 241, 0.2));
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.dragon-fallback {
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.35), rgba(105, 255, 241, 0.25));
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 10px;
}

/* ==========================================================================
                                                                                                      10b. DASHBOARD BANNER SWIPER
                                                                                                      ========================================================================== */

.dash-banner-swiper {
  width: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.dash-banner-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 24px;
  min-height: 110px;
  overflow: hidden;
}

.dash-banner-slide--image {
  display: block;
  padding: 0;
  aspect-ratio: 38 / 15;
  min-height: 0;
  background: rgba(10, 4, 28, 0.76);
}

.dash-banner-slide--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dash-banner-slide--image::before,
.smh-banner--image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(4, 0, 18, 0.88) 0%,
      rgba(16, 4, 42, 0.70) 34%,
      rgba(16, 4, 42, 0.18) 58%,
      transparent 78%);
  pointer-events: none;
}

.banner-promo-copy {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 2;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  color: #fff;
  pointer-events: none;
  transform: translateY(-50%);
}

.banner-promo-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.8px;
  color: #1b0838;
  background: linear-gradient(180deg, #ffec8b, #ffb03d);
  box-shadow: 0 0 12px rgba(255, 190, 70, 0.55);
  white-space: nowrap;
}

.banner-promo-copy strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(50, 10, 95, 0.88),
    0 0 14px rgba(155, 92, 255, 0.55);
}

.banner-promo-copy small {
  max-width: 100%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.banner-promo-copy--smh {
  left: 14px;
  max-width: 50%;
  gap: 3px;
}

.banner-promo-copy--smh .banner-promo-kicker {
  min-height: 16px;
  padding-inline: 7px;
  font-size: 8px;
}

.banner-promo-copy--smh strong {
  font-size: 16px;
}

.banner-promo-copy--smh small {
  font-size: 9px;
}

/* Dashboard banner — Figma node 63:2838 */
.banner-promo-copy--dash .banner-promo-kicker {
  /* frosted-glass pill (Figma 63:2843) — overrides the gold pill */
  color: #fff;
  letter-spacing: 0.6px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(162deg, rgba(255, 255, 255, 0.47) 0%, rgba(255, 255, 255, 0) 173.79%);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  box-shadow: none;
}

.banner-promo-copy--dash strong {
  font-size: 16px;
}

.banner-promo-copy--dash small {
  font-weight: 400;
}

.dash-banner-slide--1 {
  background: linear-gradient(120deg, #2d0e5a 0%, #7a1fa0 55%, #c040dd 100%);
}

.dash-banner-slide--2 {
  background: linear-gradient(120deg, #0a2060 0%, #1a5aaa 55%, #40aaff 100%);
}

.dash-banner-slide--3 {
  background: linear-gradient(120deg, #1a3a10 0%, #2e7a18 55%, #6abf30 100%);
}

.dash-banner-slide--4 {
  background: linear-gradient(120deg, #5a2800 0%, #aa5800 55%, #e08020 100%);
}

.dash-banner-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 40% 60% at 5% 80%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.dash-banner-slide--image::before {
  z-index: 1;
  /* Figma node 63:2839 — diagonal purple wash over the banner image */
  background:
    linear-gradient(137.6deg, rgb(177, 89, 245) 0%, rgba(255, 255, 255, 0) 110.84%);
}

.dash-banner-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.dash-banner-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.dash-banner-content h2 {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dash-banner-content p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 10px;
}

.dash-banner-btn {
  padding: 6px 14px;
  border-radius: 50px;
  border: none;
  /* Figma node 63:2847 — lavender gradient, purple label */
  background: linear-gradient(180deg, rgb(250, 240, 249) 8.93%, rgb(235, 213, 252) 100%);
  color: #7e26c1;
  font-size: 10px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}

.dash-banner-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.dash-banner-art {
  position: relative;
  z-index: 1;
  height: 90px;
  width: 90px;
  flex-shrink: 0;
  margin-left: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dash-banner-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
}

.dash-banner-pagination {
  display: none !important;
}

/* ==========================================================================
                                                                                                      11. TOP GAMES (horizontal scroll)
                                                                                                      ========================================================================== */

.top-games {
  flex-shrink: 0;
}

.games-swiper {
  overflow: hidden;
  padding-bottom: 4px;
}

.game-card {
  position: relative;
  width: 78px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}

.game-card:hover {
  transform: translateY(-3px);
}

.badge {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 5px;
  border-radius: 5px;
  background: #e74c3c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  z-index: 2;
  color: #fff;
}

.game-thumb {
  width: 78px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.7), rgba(30, 20, 60, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 4px;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-thumb img.placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a1a5e, #1a1040);
}

.game-card p {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
                                                                                                      12. LIVE WINS
                                                                                                      ========================================================================== */

.live-wins {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* LIVE badge */
.lxtx-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  background: #e02020;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(220, 30, 30, 0.5);
}

.lxtx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: lxtx-pulse 1.2s ease-in-out infinite;
}

@keyframes lxtx-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

/* Swiper wrapper */
.lxtx-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.lxtx-swiper .swiper-wrapper {
  align-items: stretch;
}

/* Pagination sits outside the swiper element — no clipping issue */
.lxtx-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 8px;
}

.lxtx-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: width 0.2s, background 0.2s;
}

.lxtx-pagination .swiper-pagination-bullet-active {
  width: 16px;
  background: rgba(255, 255, 255, 0.75);
}

/* Section blocks */
.lxtx-section {
  border-radius: 10px;
  overflow: hidden;
  padding: 8px 10px;
}

.lxtx-section--deposit {
  background: linear-gradient(160deg, rgba(20, 100, 40, 0.55) 0%, rgba(10, 60, 20, 0.65) 100%);
  border: 1px solid rgba(40, 180, 70, 0.35);
}

.lxtx-section--withdraw {
  background: linear-gradient(160deg, rgba(100, 20, 20, 0.55) 0%, rgba(60, 10, 10, 0.65) 100%);
  border: 1px solid rgba(180, 40, 40, 0.35);
}

.lxtx-section-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lxtx-section-title em {
  font-style: normal;
  color: #ff4444;
}

.lxtx-section--deposit .lxtx-section-title em {
  color: #6dff9a;
}

/* Rows */
.lxtx-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lxtx-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* Rank badges */
.lxtx-rank {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
}

.lxtx-rank--1 {
  background: linear-gradient(135deg, #ffd700, #e08000);
  box-shadow: 0 0 6px rgba(255, 180, 0, 0.5);
}

.lxtx-rank--2 {
  background: linear-gradient(135deg, #c0c0c0, #888);
}

.lxtx-rank--3 {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
}

.lxtx-rank--4 {
  background: rgba(255, 255, 255, 0.15);
}

.lxtx-rank--5 {
  background: rgba(255, 255, 255, 0.15);
}

.lxtx-user {
  flex: 1;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lxtx-amount {
  font-size: 10px;
  font-weight: 700;
  color: #6dff9a;
  flex-shrink: 0;
  white-space: nowrap;
}

.lxtx-amount--withdraw {
  color: #ff7070;
}

/* keep .amount for modal usage */
.amount {
  color: var(--amount-green);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
                                                                                                      13. CATEGORY NAV (hidden on mobile, visible on desktop)
                                                                                                      ========================================================================== */

.category-nav {
  display: none;
  flex-shrink: 0;
}

/* When the category nav is wrapped inside the Swiper tabs strip, it acts
                                                                                                as the swiper-wrapper and stays visible on all viewports. */
.category-tabs-swiper .category-nav {
  display: flex;
}

.category-nav-section {
  padding-top: 1rem;
}

/* Active highlight lives on the <button>; hide legacy inner glows inside this strip */
.category-nav .cat-btn.active .cat-btn-inner::before,
.category-nav .cat-btn.active .cat-btn-inner::after {
  display: none !important;
}

/* Mobile / tablet: category strip spans full viewport width */

.cat-btn-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
  isolation: isolate;
}

.cat-btn.active .cat-btn-inner::before {
  content: '';
  position: absolute;
  inset: -6px -3px -8px;
  border-radius: 14px;
  background:
    linear-gradient(165deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.07) 40%,
      rgba(75, 48, 120, 0.45) 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  z-index: -1;
  pointer-events: none;
}

.cat-btn.active .cat-btn-inner::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -6px;
  height: 52%;
  border-radius: 0 0 14px 14px;
  background: radial-gradient(ellipse 100% 88% at 50% 100%,
      rgba(255, 205, 155, 0.65) 0%,
      rgba(255, 130, 85, 0.32) 42%,
      transparent 74%);
  z-index: -2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.cat-btn-label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #c482f7;
  line-height: 1.1;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cat-btn .cat-btn-icon {
  font-size: 1.625rem;
  line-height: 1;
  width: auto;
  height: auto;
  color: #fff;
  opacity: 0.82;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

.cat-btn .cat-btn-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.cat-btn.active .cat-btn-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.cat-btn.active .cat-btn-label {
  color: #fff;
}

.cat-btn {
  position: relative;
  z-index: 0;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font: inherit;
  cursor: pointer;
  border-radius: 16px;
  white-space: nowrap;
  transition: color 0.22s, transform 0.2s;
}

.cat-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.cat-btn+.cat-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  transform: translateX(-0.5px);
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.18) 38%,
      rgba(255, 255, 255, 0.18) 62%,
      transparent 100%);
  pointer-events: none;
  z-index: 4;
}

.cat-btn:hover:not(.active) {
  color: #fff;
}

.cat-btn:hover:not(.active) .cat-btn-label {
  color: rgba(255, 255, 255, 0.92);
}

.cat-btn:hover:not(.active) .cat-btn-icon {
  opacity: 1;
}

/* ==========================================================================
                                                                                                      14. BOTTOM NAV
                                                                                                      ========================================================================== */

.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 26px;
  padding: 0 6px;
  border: 1px solid rgb(255 255 255 / 41%);
  background: linear-gradient(113deg, rgba(216, 172, 250, 0.47) 0%, rgba(255, 255, 255, 0.00) 110.84%);
  box-shadow: 0 0 9.7px 4px rgba(196, 130, 247, 0.30) inset;
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  justify-content: center;
  text-decoration: none;
  color: rgb(255 255 255);
  font-size: 12px;
  letter-spacing: 0.4px;
  /* padding: 6px 4px; */
  border-radius: 12px;
  transition: color 0.2s, background 0.2s;
  flex: 1;
  height: 100%;
}

.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 40%,
      rgba(255, 255, 255, 0.25) 60%,
      transparent 100%);
  pointer-events: none;
}

.nav-item.deposit-item::after {
  content: none;
  display: none;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-item.deposit-item:hover {
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
}

/* First & last items: round outer corners to match the pill so the
   hover highlight nestles into the bottom-nav's rounded corners */
.bottom-nav .nav-group--left .nav-item:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.bottom-nav .nav-group--right .nav-item:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.nav-item .nav-icon {
  font-size: 1.375rem;
  color: #fff;
}

.nav-item .nav-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.deposit-btn .deposit-icon {
  font-size: 2rem;
  color: #fff;
}

.deposit-btn .nav-icon-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.deposit-btn span {
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-item span {
  white-space: nowrap;
}

.deposit-item {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 11;
}

.deposit-btn {
  width: 102px;
  height: 102px;
  border-radius: 50% 50% 15px 15px;
  background: radial-gradient(circle at 50% 40%,
      rgba(255, 220, 195, 0.92),
      rgba(255, 185, 155, 0.88),
      rgba(235, 140, 155, 0.82));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow:
    0 0 24px rgba(255, 170, 120, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: box-shadow 0.2s, transform 0.15s;
}

.deposit-btn:hover {
  transform: scale(1.05);
}

.deposit-item:hover .deposit-btn {
  transform: none;
}

.deposit-item>span {
  display: none;
}

.nav-group {
  display: flex;
  flex: 1;
  align-items: center;
  height: 100%;
}

.nav-group--left {
  justify-content: flex-end;
  padding-right: 54px;
}

.nav-group--right {
  justify-content: flex-start;
  padding-left: 54px;
}

/* ==========================================================================
                                                                                                      15. UTILITY / VISIBILITY HELPERS
                                                                     mobile-only  — visible on screens < 900px, hidden on desktop
                                                                     desktop-only — visible on screens ≥ 900px, hidden on mobile
                                                                     ========================================================================== */

/* Hidden on desktop by default — shown on mobile */
.mobile-only {
  display: block !important;
}

/* Hidden on mobile by default — shown on desktop */
.desktop-only {
  display: none !important;
}

/* Flex variant for mobile */
.mobile-only-flex {
  display: flex !important;
}

/* ==========================================================================
                                                                                                      16. OVERLAYS, SIDE MENU & MODALS
                                                                                                      ========================================================================== */

/* --------------------------------------------------------------------------
                                                                                                      16a. Overlay Backdrop
                                                                                                      -------------------------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* --------------------------------------------------------------------------
                                                                                                      16b. Side Menu
                                                                                                      -------------------------------------------------------------------------- */

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  z-index: 100;
  isolation: isolate;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.05) 38%,
      rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(165deg,
      rgba(50, 30, 90, 0.45),
      rgba(24, 14, 52, 0.62));
  backdrop-filter: blur(var(--liq-blur-heavy));
  -webkit-backdrop-filter: blur(var(--liq-blur-heavy));
  border-right: 1px solid var(--liq-border);
  box-shadow:
    var(--liq-shadow),
    inset 1px 0 0 rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    12px 0 48px rgba(0, 0, 0, 0.28),
    0 0 36px var(--liq-glow-cyan),
    0 0 48px rgba(255, 101, 245, 0.06);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.side-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(52vh, 420px);
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 120% 90% at 0% 0%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      transparent 70%);
}

.side-menu::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(90deg,
      rgba(105, 255, 241, 0.06) 0%,
      transparent 28%);
  opacity: 0.7;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 20px;
  border-bottom: 1px solid var(--liq-border-subtle);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 100%);
}

.side-menu-profile {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff65f5, #9b5cff);
  overflow: hidden;
  flex-shrink: 0;
}

.sm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sm-name {
  font-size: 14px;
  font-weight: 700;
}

.sm-vip {
  font-size: 11px;
  color: var(--neon-cyan);
}

.side-menu-close {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.05));
  border: 1px solid var(--liq-border);
  backdrop-filter: blur(var(--liq-blur));
  -webkit-backdrop-filter: blur(var(--liq-blur));
  border-radius: 10px;
  cursor: pointer;
  padding: 6px;
  opacity: 0.92;
  transition: background 0.2s, opacity 0.2s, box-shadow 0.2s;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 12px rgba(105, 255, 241, 0.08);
}

.side-menu-close .app-icon {
  font-size: 1.125rem;
}

.side-menu-close:hover {
  opacity: 1;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 18px var(--liq-glow-cyan);
}

.side-menu-nav {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.sm-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2px 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
}

.sm-link:hover {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(var(--liq-blur));
  -webkit-backdrop-filter: blur(var(--liq-blur));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 16px rgba(105, 255, 241, 0.08);
}

.sm-link.active {
  color: var(--neon-cyan);
  background: linear-gradient(135deg,
      rgba(105, 255, 241, 0.12),
      rgba(155, 92, 255, 0.08));
  border-color: rgba(105, 255, 241, 0.22);
  border-left-width: 3px;
  border-left-color: var(--neon-cyan);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 20px rgba(105, 255, 241, 0.1);
}

.sm-link .sm-link-icon {
  flex-shrink: 0;
  opacity: 0.85;
  font-size: 1.125rem;
  min-width: 1.35em;
}

.sm-link.active .sm-link-icon {
  opacity: 1;
  color: #fff;
}

/* -- Game Category Grid -- */
.sm-game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 12px 12px 8px;
}

.sm-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sm-game-item--full {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
}

.sm-game-icon {
  font-size: 1.25rem;
  color: rgba(105, 255, 241, 0.7);
}

.sm-game-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(105, 255, 241, 0.25);
  color: #fff;
}

.sm-game-item:hover .sm-game-icon {
  color: var(--neon-cyan);
}

.sm-game-item.active {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.18), rgba(155, 92, 255, 0.12));
  border-color: rgba(105, 255, 241, 0.35);
  color: #fff;
}

.sm-game-item.active .sm-game-icon {
  color: var(--neon-cyan);
}

/* -- Promo Tiles -- */
.sm-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 12px 12px;
}

.sm-promo-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  overflow: hidden;
  min-height: 52px;
  transition: filter 0.2s, transform 0.15s;
}

.sm-promo-tile--full {
  grid-column: 1 / -1;
}

.sm-promo-tile:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.sm-promo-label {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.sm-promo-icon {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.sm-promo-icon--lg {
  font-size: 2rem;
}

.sm-promo-tile--red {
  background: linear-gradient(135deg, #e03030, #c0202a);
}

.sm-promo-tile--orange {
  background: linear-gradient(135deg, #e06820, #c05018);
}

.sm-promo-tile--yellow {
  background: linear-gradient(135deg, #c8a020, #a88010);
}

.sm-promo-tile--green {
  background: linear-gradient(135deg, #28a040, #189030);
}

.sm-promo-tile--cyan {
  background: linear-gradient(135deg, #0898c8, #0070a8);
}

.sm-promo-tile--purple {
  background: linear-gradient(135deg, #6030b0, #4820a0);
}

.sm-promo-tile--blue {
  background: linear-gradient(135deg, #2050c8, #1840b0);
}

/* -- Footer Links -- */
.side-menu-footer {
  position: relative;
  z-index: 1;
  padding: 8px 0 24px;
  border-top: 1px solid var(--liq-border-subtle);
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 100%);
}

.sm-footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.sm-footer-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.sm-footer-icon {
  font-size: 1rem;
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.sm-footer-arrow {
  margin-left: auto;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.sm-logout {
  color: rgba(255, 100, 100, 0.8);
}

.sm-logout:hover {
  color: #ff6b6b;
  background: linear-gradient(135deg,
      rgba(255, 100, 100, 0.12),
      rgba(255, 100, 100, 0.04));
  border-color: rgba(255, 100, 100, 0.25);
  box-shadow: 0 0 14px rgba(255, 100, 100, 0.12);
}

/* --------------------------------------------------------------------------
                                                                                                     16b-x. Side Menu - HUB Variant (.side-menu--hub)
                                                                                                     Used on the homepage. Scoped via .side-menu--hub so other pages keep
                                                                                                     their existing flat menu layout.
                                                                                                     -------------------------------------------------------------------------- */

.side-menu--hub {
  width: min(380px, 92vw);
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%,
      rgba(155, 92, 255, 0.22) 0%,
      transparent 58%),
    radial-gradient(ellipse 65% 45% at 110% 28%,
      rgba(105, 255, 241, 0.14) 0%,
      transparent 62%),
    linear-gradient(170deg,
      rgba(18, 8, 40, 0.88) 0%,
      rgba(12, 5, 28, 0.92) 45%,
      rgba(8, 3, 18, 0.96) 100%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-right: 1px solid rgba(155, 92, 255, 0.18);
  box-shadow:
    inset -1px 0 0 rgba(255, 255, 255, 0.06),
    4px 0 32px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(155, 92, 255, 0.08);
}

.side-menu--hub::before,
.side-menu--hub::after {
  display: none;
}

/* tiny floating sparkle layer on top of background */
.side-menu--hub>.smh-body::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 8%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 14%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 32% 28%, rgba(105, 255, 241, 0.6) 50%, transparent 100%),
    radial-gradient(1px 1px at 88% 38%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 18% 52%, rgba(155, 92, 255, 0.6) 50%, transparent 100%),
    radial-gradient(1px 1px at 64% 60%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 90% 72%, rgba(105, 255, 241, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 84%, rgba(255, 255, 255, 0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 72% 92%, rgba(155, 92, 255, 0.5) 50%, transparent 100%);
  background-size: 480px 480px;
  background-repeat: repeat;
  opacity: 0.7;
  z-index: 0;
}

/* ===== Profile header ===== */
.side-menu--hub .smh-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(155, 92, 255, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(155, 92, 255, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.20);
}

.side-menu--hub .smh-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.smh-avatar-wrap {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.smh-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.25), rgba(155, 92, 255, 0.35));
  overflow: hidden;
  border: 2px solid rgba(105, 255, 241, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.30),
    0 0 12px rgba(105, 255, 241, 0.35),
    0 0 22px rgba(155, 92, 255, 0.22);
}

.smh-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smh-avatar-crown {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #ffd96b;
  font-size: 14px;
  text-shadow:
    0 0 6px rgba(255, 200, 70, 0.9),
    0 0 12px rgba(255, 200, 70, 0.5);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.smh-avatar-crown img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.smh-avatar-vip {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #ff8c1a, #c64618);
  border: 1px solid rgba(255, 200, 100, 0.7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 0 8px rgba(255, 140, 30, 0.5);
  pointer-events: none;
}

.smh-profile-info {
  flex: 1;
  min-width: 0;
}

.smh-name {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  text-shadow: 0 0 8px rgba(155, 92, 255, 0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smh-vip-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.smh-vip-gem {
  font-size: 10px;
  color: #d670ff;
  text-shadow: 0 0 6px rgba(214, 112, 255, 0.7);
}

.smh-vip-gem-img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(214, 112, 255, 0.7));
}

.smh-vip {
  font-size: 11px;
  font-weight: 700;
  color: #d670ff;
  text-shadow: 0 0 6px rgba(214, 112, 255, 0.45);
  letter-spacing: 0.3px;
}

.smh-vip-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.smh-vip-bar {
  flex: 1;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.smh-vip-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff5cc8, #9b5cff 60%, #5cb6ff);
  box-shadow:
    0 0 8px rgba(155, 92, 255, 0.8),
    0 0 14px rgba(255, 92, 200, 0.45);
  position: relative;
}

.smh-vip-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(106deg, #FCA9C5 11.61%, #FC98ED 50.19%, #D066FF 88.77%);
  border-radius: inherit;
}

.smh-vip-progress {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

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

.smh-notify-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 0 10px rgba(155, 92, 255, 0.25);
  transition: transform .15s, box-shadow .2s, background .2s;
}

.smh-notify-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 18px rgba(155, 92, 255, 0.6),
    0 0 24px rgba(105, 255, 241, 0.25);
}

.smh-notify-dot {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5c8a, #ff2a4a);
  box-shadow: 0 0 8px rgba(255, 60, 100, 0.9);
}

.side-menu--hub .side-menu-close.smh-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 0;
  display: grid;
  place-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 0 10px rgba(155, 92, 255, 0.20);
  opacity: 1;
}

.side-menu--hub .smh-close-btn::before {
  content: '';
  width: 18px;
  height: 12px;
  background:
    linear-gradient(#fff, #fff) 0 0 / 18px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 5px / 18px 2px no-repeat,
    linear-gradient(#fff, #fff) 0 10px / 18px 2px no-repeat;
  border-radius: 2px;
}

.side-menu--hub .smh-close-btn .smh-burger-line {
  display: none;
}

.side-menu--hub .smh-close-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 18px rgba(105, 255, 241, 0.55);
}

/* ===== Scrollable body wrapper ===== */
.side-menu--hub .smh-body {
  position: relative;
  z-index: 1;
  padding: 14px 14px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-menu--hub .smh-body>* {
  position: relative;
  z-index: 1;
}

/* ===== Promo banner carousel ===== */
.smh-banner-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.smh-banner-swiper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.smh-banner-swiper .swiper-slide {
  height: auto;
}

.smh-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 14px 14px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 120% 80% at 110% 50%, var(--banner-accent, rgba(155, 92, 255, 0.20)), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--banner-border, rgba(155, 92, 255, 0.35));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.30),
    0 0 22px var(--banner-glow, rgba(155, 92, 255, 0.15));
  transition: transform .15s, box-shadow .2s;
}

.smh-banner--image {
  display: block;
  padding: 0;
  aspect-ratio: 38 / 15;
  min-height: 0;
  background: rgba(10, 4, 28, 0.76);
  border-color: rgba(255, 255, 255, 0.18);
}

.smh-banner--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Per-slide color themes */
.smh-banner--jackpot {
  --banner-accent: rgba(255, 80, 200, 0.22);
  --banner-border: rgba(155, 92, 255, 0.35);
  --banner-glow: rgba(155, 92, 255, 0.18);
}

.smh-banner--deposit {
  --banner-accent: rgba(105, 255, 241, 0.22);
  --banner-border: rgba(105, 255, 241, 0.32);
  --banner-glow: rgba(105, 255, 241, 0.14);
}

.smh-banner--cashback {
  --banner-accent: rgba(77, 214, 110, 0.22);
  --banner-border: rgba(77, 214, 110, 0.32);
  --banner-glow: rgba(77, 214, 110, 0.14);
}

.smh-banner--vip {
  --banner-accent: rgba(255, 200, 85, 0.25);
  --banner-border: rgba(255, 200, 85, 0.32);
  --banner-glow: rgba(255, 200, 85, 0.14);
}

.smh-banner:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 22px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(155, 92, 255, 0.45);
}

.smh-banner-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 18% 22%, rgba(255, 255, 255, 0.95) 50%, transparent 100%),
    radial-gradient(1px 1px at 55% 18%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 55%, rgba(105, 255, 241, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 22% 78%, rgba(255, 255, 255, 0.7) 50%, transparent 100%),
    radial-gradient(1px 1px at 70% 88%, rgba(255, 200, 255, 0.8) 50%, transparent 100%);
  opacity: 0.85;
}

.smh-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.smh-banner-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #69fff1;
  text-shadow: 0 0 8px rgba(105, 255, 241, 0.6);
}

.smh-banner-title {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.4px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.35),
    0 0 22px rgba(155, 92, 255, 0.45);
}

.smh-banner-cta {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #ff5cc8 0%, #c93dff 55%, #5b3dff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 12px rgba(255, 92, 200, 0.35),
    0 0 16px rgba(155, 92, 255, 0.45);
}

.smh-banner-cta i {
  font-size: 9px;
}

.smh-banner-art {
  position: relative;
  width: 110px;
  height: 84px;
  flex-shrink: 0;
}

.smh-banner-slot {
  position: absolute;
  inset: 0 0 0 auto;
  width: 86px;
  height: 70px;
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, #fff 0%, #f4d8ff 40%, #ffb0ff 100%);
  border: 2px solid #ff8cf0;
  box-shadow:
    inset 0 -3px 6px rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.7),
    0 0 14px rgba(255, 92, 200, 0.5),
    0 0 22px rgba(155, 92, 255, 0.35);
  transform: rotate(-6deg);
}

.smh-banner-slot span {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #ff3aa0 0%, #c61c80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.smh-banner-coin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 12px;
  color: #5a3a00;
  background:
    radial-gradient(circle at 35% 30%, #fff8c4 0%, #ffd24a 45%, #b87800 100%);
  border: 1px solid #e0a020;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 8px rgba(255, 200, 60, 0.7),
    0 2px 4px rgba(0, 0, 0, 0.3);
}

.smh-banner-coin--a {
  left: 0;
  top: 8px;
  transform: rotate(-12deg);
}

.smh-banner-coin--b {
  left: 18px;
  bottom: 4px;
  transform: rotate(14deg);
  width: 18px;
  height: 18px;
  font-size: 10px;
}

/* Icon art variant (deposit / cashback / vip banners) */
.smh-banner-art--icon {
  width: 90px;
}

.smh-banner-icon-wrap {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72px;
  height: 70px;
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 0 14px var(--banner-accent, rgba(155, 92, 255, 0.30));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: rotate(-6deg);
}

.smh-banner-icon-wrap i {
  font-size: 22px;
  color: #fff;
  text-shadow: 0 0 10px var(--banner-glow, rgba(155, 92, 255, 0.6));
}

.smh-banner-pct {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px var(--banner-glow, rgba(155, 92, 255, 0.6));
}

.smh-banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 0 0;
  min-height: 14px;
}

.smh-banner-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  transition: width .25s, background .25s;
}

.smh-banner-dot.active {
  width: 16px;
  background: linear-gradient(270deg, #B159F5 0%, #D8ACFA 100%);
  box-shadow: 0 0 4.7px 1px rgba(157, 47, 242, 0.50);
}

/* ===== Circular game hub ===== */
.smh-hub {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 10px 6px 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 4px 16px rgba(0, 0, 0, 0.20),
    0 0 20px rgba(155, 92, 255, 0.10);
}

.smh-hub-lines {
  position: absolute;
  inset: 6px 4px 30px;
  width: calc(100% - 8px);
  height: calc(100% - 36px);
  z-index: 0;
  pointer-events: none;
}

.smh-hub-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 4px 6px;
  aspect-ratio: 1 / 0.92;
}

.smh-hub-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 4px 2px 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: transform .15s;
}

.smh-hub-item:hover {
  transform: translateY(-2px);
}

.smh-hub-pedestal {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 64%;
  max-width: 76px;
  height: 16px;
  border-radius: 50%;
  /* background:
    radial-gradient(ellipse at center,
      color-mix(in srgb, var(--hub-color, #9b5cff) 55%, #1a0744) 0%,
      color-mix(in srgb, var(--hub-color, #9b5cff) 22%, #0c0420) 60%,
      rgba(12, 4, 32, 0) 100%); */
  filter: blur(0.5px);
  pointer-events: none;
  opacity: 0.95;
  /* box-shadow: 0 0 14px color-mix(in srgb, var(--hub-color, #9b5cff) 40%, transparent); */
}

.smh-hub-pedestal::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 1px;
  height: 2px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--hub-color, #9b5cff) 80%, white);
  box-shadow: 0 0 8px color-mix(in srgb, var(--hub-color, #9b5cff) 90%, white);
  opacity: 0.75;
}

.smh-hub-pedestal--center {
  width: 70%;
  max-width: 90px;
  height: 18px;
  background:
    radial-gradient(ellipse at center,
      rgba(105, 255, 241, 0.55) 0%,
      rgba(155, 92, 255, 0.28) 55%,
      rgba(12, 4, 32, 0) 100%);
  /* box-shadow:
    0 0 18px rgba(105, 255, 241, 0.55),
    0 0 28px rgba(155, 92, 255, 0.45); */
}

.smh-hub-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background:
    radial-gradient(circle at 32% 28%,
      color-mix(in srgb, var(--hub-color, #9b5cff) 30%, white) 0%,
      var(--hub-color, #9b5cff) 45%,
      color-mix(in srgb, var(--hub-color, #9b5cff) 55%, black) 100%);
  border: 1px solid color-mix(in srgb, var(--hub-color, #9b5cff) 75%, white);
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.55),
    inset 0 -4px 6px rgba(0, 0, 0, 0.35),
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 0 12px color-mix(in srgb, var(--hub-color, #9b5cff) 60%, transparent),
    0 0 18px color-mix(in srgb, var(--hub-color, #9b5cff) 35%, transparent);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: box-shadow .2s, transform .15s;
}

.smh-hub-icon img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.34));
}

.smh-hub-icon--home img {
  width: 78%;
  height: 78%;
}

.smh-hub-icon::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  width: 14px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
  pointer-events: none;
  transform: rotate(-20deg);
}

.smh-hub-item:hover .smh-hub-icon {
  box-shadow:
    inset 0 2px 2px rgba(255, 255, 255, 0.7),
    inset 0 -4px 6px rgba(0, 0, 0, 0.35),
    0 8px 16px rgba(0, 0, 0, 0.5),
    0 0 18px color-mix(in srgb, var(--hub-color, #9b5cff) 80%, transparent),
    0 0 28px color-mix(in srgb, var(--hub-color, #9b5cff) 50%, transparent);
}

.smh-hub-icon--home {
  width: 60px;
  height: 60px;
  font-size: 26px;
  animation: smh-home-pulse 2.6s ease-in-out infinite;
}

@keyframes smh-home-pulse {

  0%,
  100% {
    box-shadow:
      inset 0 2px 2px rgba(255, 255, 255, 0.7),
      inset 0 -4px 8px rgba(120, 50, 0, 0.5),
      0 8px 18px rgba(0, 0, 0, 0.5),
      0 0 18px rgba(255, 200, 80, 0.7),
      0 0 28px rgba(255, 140, 50, 0.45),
      0 0 38px rgba(155, 92, 255, 0.35);
  }

  50% {
    box-shadow:
      inset 0 2px 2px rgba(255, 255, 255, 0.8),
      inset 0 -4px 8px rgba(120, 50, 0, 0.5),
      0 8px 22px rgba(0, 0, 0, 0.5),
      0 0 24px rgba(255, 200, 80, 0.85),
      0 0 36px rgba(255, 140, 50, 0.6),
      0 0 50px rgba(155, 92, 255, 0.5);
  }
}

.smh-hub-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  margin-top: 2px;
}

/* RECENT bookmark below hub center */
.smh-hub-recent-wrap {
  position: relative;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.smh-hub-recent {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px 8px;
  background: linear-gradient(180deg, rgba(42, 21, 101, 0.80) 0%, rgba(24, 8, 58, 0.75) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(155, 92, 255, 0.40);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(155, 92, 255, 0.28);
}

.smh-hub-recent::before,
.smh-hub-recent::after {
  content: '';
  position: absolute;
  top: 0;
  width: 6px;
  height: 6px;
  background: rgba(42, 21, 101, 0.80);
}

.smh-hub-recent::before {
  left: -6px;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.smh-hub-recent::after {
  right: -6px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.smh-hub-recent i {
  font-size: 11px;
  color: #69fff1;
  text-shadow: 0 0 6px rgba(105, 255, 241, 0.6);
}

/* ===== Promo card grid (3 columns) ===== */
.side-menu--hub .smh-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.smh-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 10px 8px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(160deg,
      color-mix(in srgb, var(--promo-color-a, #4a1f9a) 40%, rgba(255, 255, 255, 0.10)) 0%,
      color-mix(in srgb, var(--promo-color-b, #1a0944) 35%, rgba(255, 255, 255, 0.04)) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid color-mix(in srgb, var(--promo-color-a, #4a1f9a) 40%, rgba(255, 255, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 0 12px color-mix(in srgb, var(--promo-color-a, #4a1f9a) 25%, transparent);
  transition: transform .15s, box-shadow .2s;
}

.smh-promo-card::before {
  /* content: ''; */
  position: absolute;
  inset: -30% -30% auto auto;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, color-mix(in srgb, var(--promo-color-a, #4a1f9a) 70%, white) 0%, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

.smh-promo-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.45),
    0 0 22px color-mix(in srgb, var(--promo-color-a, #4a1f9a) 60%, transparent);
}

.smh-promo-icon-3d {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
  background:
    radial-gradient(circle at 30% 25%,
      color-mix(in srgb, var(--promo-color-a, #4a1f9a) 30%, white) 0%,
      var(--promo-color-a, #4a1f9a) 55%,
      color-mix(in srgb, var(--promo-color-b, #1a0944) 60%, black) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -3px 4px rgba(0, 0, 0, 0.35),
    0 4px 8px rgba(0, 0, 0, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.smh-promo-icon-3d img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.34));
}

.smh-promo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.15;
}

.smh-promo-text strong {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.smh-promo-text small {
  font-size: 8.5px;
  font-weight: 600;
  color: #d8acfa;
}

.smh-promo-arrow {
  position: absolute;
  bottom: 7px;
  right: 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

/* Per-tile color tokens */
.smh-promo--reward {
  --promo-color-a: #c93dff;
  --promo-color-b: #6b15a6;
}

.smh-promo--redemption {
  --promo-color-a: #ff7a3d;
  --promo-color-b: #b73d6b;
}

.smh-promo--mission {
  --promo-color-a: #3da0ff;
  --promo-color-b: #1a4a9a;
}

.smh-promo--play2earn {
  --promo-color-a: #4dd66e;
  --promo-color-b: #1a6638;
}

.smh-promo--wheel {
  --promo-color-a: #7a5cff;
  --promo-color-b: #2a1565;
}

.smh-promo--promotion {
  --promo-color-a: #ff5c6a;
  --promo-color-b: #8a1a3a;
}

/* ===== Invite Friends banner ===== */
.smh-invite-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  -webkit-backdrop-filter: blur(18px);
  transition: transform .15s, box-shadow .2s;
  background: linear-gradient(113deg, rgba(255, 255, 255, 0.47) 0%, rgba(255, 255, 255, 0.00) 110.84%);
  border: 1px solid rgb(255 255 255 / 29%);
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 3px 8px rgba(0, 0, 0, 0.22);
}

.smh-invite-banner:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(155, 92, 255, 0.55);
}

.smh-invite-art {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.smh-invite-user {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.smh-invite-user--back {
  top: 2px;
  left: 0;
  background: radial-gradient(circle at 30% 30%, #69fff1, #1f6e8a);
}

.smh-invite-user--front {
  bottom: 0;
  right: 0;
  background: radial-gradient(circle at 30% 30%, #ff8cf0, #8a1a8a);
}

.smh-invite-plus {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffd24a, #ff7a3d);
  border: 1px solid #fff;
  font-size: 10px;
  font-weight: 900;
  color: #5a2a00;
  box-shadow: 0 0 8px rgba(255, 180, 60, 0.7);
}

.smh-invite-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.smh-invite-text strong {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(155, 92, 255, 0.5);
}

.smh-invite-text small {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.7);
}

.smh-invite-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff 0%, #ffd6f5 100%);
  color: #6a1a8a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(0, 0, 0, 0.3),
    0 0 14px rgba(255, 200, 240, 0.6);
}

/* ===== Quick links to all pages (wallet / account / support) ===== */
.smh-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.smh-links-title {
  margin: 4px 0 0;
  padding-left: 2px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
}

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

.smh-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(113deg, rgba(255, 255, 255, 0.47) 0%, rgba(255, 255, 255, 0.00) 110.84%);
  1px
  solid rgba(255, 255, 255, 0.70): 1px solid color-mix(in srgb, var(--link-color, #7a5cff) 35%, rgba(255, 255, 255, 0.18));
  border: 1px solid rgb(255 255 255 / 29%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 3px 8px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, box-shadow 0.2s;
}

.smh-link:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 5px 12px rgba(0, 0, 0, 0.4),
    0 0 16px color-mix(in srgb, var(--link-color, #7a5cff) 50%, transparent);
}

.smh-link-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%,
      color-mix(in srgb, var(--link-color, #7a5cff) 35%, white) 0%,
      var(--link-color, #7a5cff) 60%,
      color-mix(in srgb, var(--link-color, #7a5cff) 60%, black) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 2px 5px rgba(0, 0, 0, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.smh-link-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Status bar (Server / Secure / Support) ===== */
.smh-status-bar {
  display: flex;
  align-items: stretch;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 14px;
  border-radius: 15px;
  border: 1px solid rgb(255 255 255 / 29%);
  background: linear-gradient(180deg, #7E26C1 -30.36%, #1F0930 141.07%);

/* Main Blur Effect */
  backdrop-filter: blur(21px);
  background: linear-gradient(113deg, rgba(255, 255, 255, 0.47) 0%, rgba(255, 255, 255, 0.00) 110.84%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 10px rgba(0, 0, 0, 0.22);
}

.smh-status-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
}

.smh-status-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.smh-status-icon--cyan {
  color: #69fff1;
  text-shadow: 0 0 8px rgba(105, 255, 241, 0.7);
}

.smh-status-icon--green {
  color: #4dd66e;
  text-shadow: 0 0 8px rgba(77, 214, 110, 0.7);
}

.smh-status-icon--orange {
  color: #ff9a3d;
  text-shadow: 0 0 8px rgba(255, 154, 61, 0.7);
}

.smh-status-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.15;
  min-width: 0;
}

.smh-status-label {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.85);
}

.smh-status-value {
  font-size: 8.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smh-status-value--cyan {
  color: #69fff1;
}

.smh-status-value--green {
  color: #4dd66e;
}

.smh-status-value--orange {
  color: #ff9a3d;
}

.smh-status-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(155, 92, 255, 0.45), transparent);
}

/* --------------------------------------------------------------------------
                                                                                                     16c. Modal Base
                                                                                                     -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-glass {
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  background: linear-gradient(160deg,
      rgba(50, 30, 90, 0.48),
      rgba(30, 18, 65, 0.52));
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(155, 92, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-glass {
  transform: translateY(0) scale(1);
}

/* Bootstrap-triggered modals (data-bs-toggle) reuse this glass styling.
   Bootstrap toggles `.show` instead of the custom `.active` class, so bridge
   it to the same visibility + entrance animation. */
.modal.show {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.modal.show .modal-glass {
  transform: translateY(0) scale(1);
}

/* Keep Bootstrap's backdrop below the custom modal layer (z-index 95) */
.modal-backdrop {
  z-index: 90;
}

/* Marker .modal-dialog that exists only so Bootstrap's show() can find a
   dialog node (it queries `.modal-dialog` and throws if missing). The real
   themed content lives in the sibling .modal-glass, so hide this. */
.modal-dialog--bs {
  display: none;
}

.modal-glass.modal-lg {
  max-width: 540px;
}

/* Transparent purple promo modal */
.modal-glass--promo {
  background: linear-gradient(160deg,
      rgba(155, 92, 255, 0.30),
      rgba(110, 60, 210, 0.22));
  border-color: rgba(190, 140, 255, 0.40);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 50px rgba(155, 92, 255, 0.30),
    inset 0 1px 1px rgba(255, 255, 255, 0.20);
}

.promo-modal-icon {
  width: 64px;
  height: 64px;
  margin: 4px auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 0 24px rgba(155, 92, 255, 0.25);
}

.promo-modal-desc {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.promo-modal-meta {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0 0 20px;
}

.promo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-head h2 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.modal-close .modal-close-icon {
  font-size: 1rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  padding: 16px 20px 24px;
  overflow-y: auto;
  scrollbar-width: none;
}

.modal-body::-webkit-scrollbar {
  display: none;
}

.modal-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 10px 0;
}

/* --------------------------------------------------------------------------
                                                                                                      16d. Modal — Shared Components (CTA, inputs, chips, payments)
                                                                                                      -------------------------------------------------------------------------- */

/* CTA buttons */
.cta-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: linear-gradient(135deg,
      rgba(105, 255, 241, 0.35),
      rgba(180, 120, 255, 0.35));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-align: center;
  margin-top: 12px;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow:
    0 4px 20px rgba(105, 255, 241, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.cta-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn.small {
  width: auto;
  padding: 7px 16px;
  font-size: 11px;
  border-radius: 10px;
  margin-top: 0;
}

.cta-btn.outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  font-size: 13px;
  padding: 12px;
}

.cta-btn.outline:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

/* Glass input */
.glass-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.glass-input:focus {
  border-color: rgba(105, 255, 241, 0.6);
  box-shadow: 0 0 14px rgba(105, 255, 241, 0.2), inset 0 0 6px rgba(105, 255, 241, 0.05);
}

.input-group {
  margin: 10px 0;
}

.input-group label {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 6px;
  font-weight: 600;
}

/* Chip buttons (deposit amounts) */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn {
  flex: 1;
  min-width: 56px;
  padding: 10px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.chip-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
  color: #fff;
}

.chip-btn.active {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.2), rgba(155, 92, 255, 0.2));
  border-color: var(--neon-cyan);
  color: #fff;
  box-shadow: 0 0 12px rgba(105, 255, 241, 0.15);
}

/* Payment method buttons */
.payment-methods {
  display: flex;
  gap: 8px;
}

.pay-btn {
  flex: 1;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.pay-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
  color: #fff;
}

.pay-btn.active {
  background: rgba(155, 92, 255, 0.2);
  border-color: var(--neon-purple);
  color: #fff;
}

/* --------------------------------------------------------------------------
                                                                                                      16e. Modal — Notifications
                                                                                                      -------------------------------------------------------------------------- */

.notify-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notify-item:last-child {
  border-bottom: none;
}

.notify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  margin-top: 6px;
  flex-shrink: 0;
}

.notify-item.unread .notify-dot {
  background: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(105, 255, 241, 0.4);
}

.notify-content {
  flex: 1;
  min-width: 0;
}

.notify-content strong {
  font-size: 13px;
  display: block;
  margin-bottom: 3px;
}

.notify-content p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.notify-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  display: block;
}

/* --------------------------------------------------------------------------
                                                                                                      16f. Modal — Promotions
                                                                                                      -------------------------------------------------------------------------- */

.promo-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-card:last-child {
  border-bottom: none;
}

.promo-thumb {
  width: 70px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 176, 143, 0.3), rgba(155, 92, 255, 0.3));
  flex-shrink: 0;
}

.promo-info {
  flex: 1;
}

.promo-info strong {
  font-size: 13px;
  display: block;
  margin-bottom: 2px;
}

.promo-info p {
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
                                                                                                      16g. Modal — Profile
                                                                                                      -------------------------------------------------------------------------- */

.profile-hero {
  text-align: center;
  padding: 10px 0 16px;
}

.profile-big-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff65f5, #9b5cff);
  margin: 0 auto 12px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-big-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-hero h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.profile-vip-tag {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 101, 245, 0.25), rgba(155, 92, 255, 0.25));
  border: 1px solid rgba(255, 101, 245, 0.3);
  font-size: 11px;
  font-weight: 700;
}

.profile-stats {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 12px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--neon-cyan);
}

.stat-lbl {
  display: block;
  font-size: 10px;
  color: var(--text-soft);
  margin-top: 2px;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
                                                                                                      16h. Modal — Game Preview
                                                                                                      -------------------------------------------------------------------------- */

.game-preview-img {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.7), rgba(30, 20, 60, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
}

.game-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-row span {
  color: var(--text-soft);
}

.meta-row strong {
  color: #fff;
}

.game-actions {
  display: flex;
  gap: 10px;
}

.game-actions .cta-btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
                                                                                                      16i. Modal — All Games Grid
                                                                                                      -------------------------------------------------------------------------- */

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 14px;
}

.search-bar .search-icon {
  flex-shrink: 0;
  font-size: 0.9375rem;
  opacity: 0.75;
}

.glass-input.search {
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 13px;
}

.games-grid-modal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.game-card-modal {
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  padding: 6px;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.game-card-modal:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.game-thumb-m {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.7), rgba(30, 20, 60, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
}

.game-card-modal p {
  font-size: 10px;
  color: var(--text-soft);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
                                                                                                      16j. Modal — All Wins
                                                                                                      -------------------------------------------------------------------------- */

.wins-list-modal {
  display: flex;
  flex-direction: column;
}

.win-item-m {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.win-item-m:last-child {
  border-bottom: none;
}

.avatar-m {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b5cff, #ff65f5);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
                                                                                                      16k. Modal — VIP
                                                                                                      -------------------------------------------------------------------------- */

.vip-hero {
  text-align: center;
  padding: 14px 0;
}

.vip-hero-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.35), rgba(105, 255, 241, 0.25));
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.vip-hero h3 {
  font-size: 22px;
  font-weight: 800;
}

.vip-hero p {
  font-size: 12px;
  color: var(--text-soft);
  margin: 4px 0 12px;
}

.vip-modal-bar {
  max-width: 240px;
  margin: 0 auto;
  height: 10px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
}

.perk-icon {
  color: #fff;
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
                                                                                                      16l. Modal — Rewards
                                                                                                      -------------------------------------------------------------------------- */

.rewards-balance {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.15), rgba(105, 255, 241, 0.1));
  border: 1px solid rgba(155, 92, 255, 0.25);
}

.gem-icon.big {
  font-size: 32px;
}

.rewards-gems {
  font-size: 20px;
  color: var(--neon-purple);
}

.rewards-balance p {
  font-size: 12px;
  color: var(--text-soft);
}

.reward-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reward-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px;
}

.reward-item span {
  flex: 1;
  font-weight: 600;
}

.reward-item strong {
  color: var(--neon-purple);
  font-size: 12px;
  margin-right: 8px;
}

/* --------------------------------------------------------------------------
                                                                                                      16m. Modal — Live Casino
                                                                                                      -------------------------------------------------------------------------- */

.live-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.live-table-card {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.live-table-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.lt-thumb {
  width: 100%;
  height: 80px;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.6), rgba(30, 20, 60, 0.8));
}

.lt-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 2px;
}

.lt-info strong {
  font-size: 12px;
}

.lt-live {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e74c3c;
  letter-spacing: 0.5px;
}

.live-table-card>p {
  font-size: 10px;
  color: var(--text-soft);
  padding: 2px 10px 10px;
}

/* --------------------------------------------------------------------------
                                                                                                      16n. Modal — Login / Register (Auth)
                                                                                                      -------------------------------------------------------------------------- */

.auth-form .input-group {
  margin: 0 0 12px;
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 1;
}

.glass-input--icon {
  padding-left: 40px;
}

.pwd-toggle {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 4px 6px;
  font-size: 0.875rem;
  transition: color 0.2s;
  z-index: 1;
}

.pwd-toggle:hover {
  color: rgba(255, 255, 255, 0.7);
}

.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 8px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  accent-color: var(--neon-cyan);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.forgot-link {
  font-size: 12px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.forgot-link:hover {
  opacity: 0.8;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.auth-divider span {
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.social-login {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  width: 50px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 16px;
}

.auth-switch-link {
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
}

.auth-switch-link:hover {
  opacity: 0.8;
}

.terms-check {
  margin: 4px 0 4px;
}

.terms-check span {
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
                                                                                                      16o. Registration Wizard (4-step stepper)
                                                                                                      -------------------------------------------------------------------------- */

.reg-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 4px 0 20px;
}

.reg-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.reg-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.35s ease;
}

.reg-step.active .reg-step-num,
.reg-step.done .reg-step-num {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  color: #1a0e35;
  box-shadow: 0 0 16px rgba(105, 255, 241, 0.4);
}

.reg-step.done .reg-step-num {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border-color: var(--neon-purple);
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.3);
}

.reg-step-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.3px;
  transition: color 0.3s;
}

.reg-step.active .reg-step-label,
.reg-step.done .reg-step-label {
  color: #fff;
}

.reg-step-line {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 18px 6px 0;
  min-width: 20px;
  border-radius: 2px;
  transition: background 0.35s ease;
}

.reg-step-line.done {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 6px rgba(105, 255, 241, 0.2);
}

/* Step panels */
.reg-panel {
  display: none;
}

.reg-panel.active {
  display: block;
}

.reg-panel-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.reg-panel .input-group {
  margin: 0 0 14px;
}

.reg-panel .glass-input {
  border: 1px solid rgba(105, 255, 241, 0.45);
  box-shadow: 0 0 10px rgba(105, 255, 241, 0.12), inset 0 0 4px rgba(105, 255, 241, 0.04);
  background: rgba(255, 255, 255, 0.04);
}

.reg-panel .glass-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(105, 255, 241, 0.3), 0 0 40px rgba(105, 255, 241, 0.08), inset 0 0 6px rgba(105, 255, 241, 0.06);
}

/* OTP row */
.reg-otp-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0 16px;
}

.otp-input {
  width: 46px !important;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 !important;
  border-radius: 12px !important;
  border-color: rgba(105, 255, 241, 0.45);
  box-shadow: 0 0 10px rgba(105, 255, 241, 0.12);
}

.otp-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(105, 255, 241, 0.3), 0 0 40px rgba(105, 255, 241, 0.08);
}

.reg-verify-text {
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.5;
  margin-top: 4px;
}

.reg-resend {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

/* Nav buttons */
.reg-nav {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.reg-btn {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
}

.reg-btn--next {
  background: linear-gradient(135deg, #ff65f5, #69fff1);
  color: #fff;
  box-shadow:
    0 4px 20px rgba(255, 101, 245, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.reg-btn--next:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.reg-btn--back {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
}

.reg-btn--back:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
                                                                                                      16o-b. Forgot Password Modal
                                                                                                      -------------------------------------------------------------------------- */

.forgot-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.forgot-hero-icon {
  font-size: 2rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 12px rgba(105, 255, 241, 0.4));
}

.forgot-step .input-group {
  margin: 0 0 14px;
}

.forgot-step .glass-input {
  border: 1px solid rgba(105, 255, 241, 0.45);
  box-shadow: 0 0 10px rgba(105, 255, 241, 0.12), inset 0 0 4px rgba(105, 255, 241, 0.04);
  background: rgba(255, 255, 255, 0.04);
}

.forgot-step .glass-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(105, 255, 241, 0.3), 0 0 40px rgba(105, 255, 241, 0.08), inset 0 0 6px rgba(105, 255, 241, 0.06);
}

/* --------------------------------------------------------------------------
                                                                                                      16p. Registration Success Modal
                                                                                                      -------------------------------------------------------------------------- */

.reg-success-glass {
  max-width: 360px;
  text-align: center;
}

.reg-success-body {
  padding: 36px 28px 28px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reg-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(105, 255, 241, 0.2),
      rgba(155, 92, 255, 0.15));
  border: 2px solid rgba(105, 255, 241, 0.4);
  margin-bottom: 20px;
  animation: successPulse 2s ease-in-out infinite;
}

.reg-success-icon i {
  font-size: 2.5rem;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 10px rgba(105, 255, 241, 0.5));
}

@keyframes successPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(105, 255, 241, 0.15);
  }

  50% {
    box-shadow: 0 0 35px rgba(105, 255, 241, 0.35), 0 0 60px rgba(105, 255, 241, 0.1);
  }
}

.reg-success-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.reg-success-text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 22px;
}

.reg-success-login {
  width: 100%;
}

.reg-success-close {
  color: var(--text-soft) !important;
  font-weight: 600 !important;
}

/* ==========================================================================
                                                                                                      18. SLOTS LOBBY (sl-* namespace)
                                                                                                      ========================================================================== */

.sl-lobby {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 6;
  padding-bottom: 10rem;
  padding-top: 7rem;
}

/* -- Banner Carousel -- */
.sl-banner-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 4px 20px rgba(0, 0, 0, 0.2);
}

.sl-banner-swiper {
  width: 100%;
}

.sl-banner-slide {
  position: relative;
  height: 35vh;
  min-height: 160px;
  max-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.6), rgba(30, 18, 60, 0.8));
}

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

.sl-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.45) 100%);
}

.sl-promo-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sl-promo-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.sl-promo-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.sl-promo-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.sl-banner-pagination {
  position: absolute;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
  justify-content: center;
}

.sl-banner-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.sl-banner-pagination .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.25);
}

/* -- Provider Filter Bar -- */
.sl-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  overflow: hidden;
  margin: 15px 0;
}

.sl-provider-nav {
  display: flex;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.sl-provider-nav::-webkit-scrollbar {
  display: none;
}

.sl-provider-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
  font-family: inherit;
}

.sl-provider-btn i,
.sl-provider-text {
  font-size: 1.25rem;
  line-height: 1;
}

.sl-provider-text {
  font-weight: 800;
  font-size: 1.125rem;
}

.sl-provider-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

.sl-provider-btn.active {
  color: #fff;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Dividers between provider buttons */
.sl-provider-btn+.sl-provider-btn {
  position: relative;
}

.sl-provider-btn+.sl-provider-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Search */
.sl-search-wrap {
  position: relative;
  flex-shrink: 0;
  width: 140px;
}

.sl-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.sl-search-input {
  padding: 8px 32px 8px 12px !important;
  font-size: 12px !important;
  border-radius: 10px !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.sl-search-input:focus {
  border-color: rgba(105, 255, 241, 0.5) !important;
}

/* -- Game Grid -- */
.sl-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 370px;
  overflow: auto;
}

.sl-game-card {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.sl-game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(105, 255, 241, 0.08);
}

.sl-game-card[hidden] {
  display: none;
}

.sl-game-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(60, 30, 90, 0.5), rgba(30, 18, 60, 0.7));
}

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

.sl-game-name {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
                                                                                                     18x. SLOTS — FULL-VIEWPORT LAYOUT (slx-* namespace)
                                                                                                     .page-slots .slx-shell — no vertical scroll, horizontal swipe everything
                                                                                                     ========================================================================== */

.slx-content {
  padding: 4.5rem 1.25rem 5.75rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ===== SLOTS TWO-COLUMN LAYOUT ===== */
.slx-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 14px;
  width: 100%;
  /* max-width: 1100px; */
  align-items: flex-start;
}

/* --- Sidebar --- */
.slx-sidebar {
  background: linear-gradient(180deg, rgba(34, 16, 66, 0.55) 0%, rgba(14, 7, 36, 0.78) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(155, 92, 255, 0.20);
  border-radius: 14px;
  padding: 14px 10px;
  /* Let the sidebar shrink inside the single-column mobile layout instead of
     forcing the whole page wider than the viewport (overflow on <375px). */
  min-width: 0;
  overflow-y: auto;
  max-height: calc(100dvh - 15rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
  box-shadow: inset 0 1px 0 rgba(155, 92, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slx-sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.slx-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: inherit;
}

.slx-filter-types {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.slx-ftype-btn {
  flex: 1;
  padding: 6px 4px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.slx-ftype-btn.active {
  background: linear-gradient(135deg, #9b5cff, #e044cc);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(155, 92, 255, 0.4);
}

.slx-ftype-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.slx-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.slx-filter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px 8px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9.5px;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  transition: all 0.2s;
  line-height: 1.2;
}

.slx-filter-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.slx-filter-item.active {
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.28), rgba(105, 255, 241, 0.18));
  border-color: rgba(155, 92, 255, 0.48);
  color: #fff;
  box-shadow: 0 0 10px rgba(155, 92, 255, 0.15);
}

.slx-prov-img {
  width: auto;
  height: 37px;
  max-width: 68px;
  object-fit: contain;
  display: block;
  filter: brightness(0.92) saturate(0.85);
  transition: filter 0.2s;
}

.slx-filter-item:hover .slx-prov-img,
.slx-filter-item.active .slx-prov-img {
  filter: brightness(1.1) saturate(1.1);
}

/* --- Games pagination --- */
.slx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.slx-page-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.slx-page-btn:not(:disabled):hover {
  background: rgba(155, 92, 255, 0.28);
  border-color: rgba(155, 92, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 14px rgba(155, 92, 255, 0.35);
  transform: scale(1.08);
}

.slx-page-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

.slx-page-info {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.8px;
  min-width: 44px;
  text-align: center;
}

/* --- Provider grid expand toggle (mobile only) --- */
.slx-filter-expand-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 6px;
  padding: 5px 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.slx-filter-expand-btn:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
}

.slx-filter-expand-btn i {
  transition: transform 0.35s ease;
}

.slx-filter-expand-btn.expanded i {
  transform: rotate(180deg);
}

/* --- Main right column --- */
.slx-main {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

/* --- Banner --- */
.slx-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(120deg, #2d1060 0%, #6b2fa0 55%, #c044dd 100%);
  padding: 22px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 24px rgba(0, 0, 0, 0.3);
  min-height: 110px;
}

.slx-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255, 100, 220, 0.25), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(105, 255, 241, 0.1), transparent 55%);
  pointer-events: none;
}

.slx-banner-text {
  position: relative;
  z-index: 1;
  flex: 1;
}

.slx-banner-text h1 {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slx-banner-text p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.slx-banner-art {
  position: relative;
  z-index: 1;
  height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  margin-left: 12px;
}

.slx-banner-art img {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

/* --- Search + Sort row --- */
.slx-search-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 8;
}

.slx-search-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: linear-gradient(180deg, rgba(34, 16, 66, 0.55) 0%, rgba(14, 7, 36, 0.78) 100%);
  border: 1px solid rgba(155, 92, 255, 0.20);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.slx-search-field i {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  flex-shrink: 0;
}

.slx-search-field input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
}

.slx-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.slx-sort-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: linear-gradient(180deg, rgba(34, 16, 66, 0.55) 0%, rgba(14, 7, 36, 0.78) 100%);
  border: 1px solid rgba(155, 92, 255, 0.20);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  overflow: visible;
}

.slx-sort-by {
  color: rgba(255, 255, 255, 0.58);
}

.slx-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.slx-sort-trigger:focus-visible {
  outline: 2px solid rgba(105, 255, 241, 0.72);
  outline-offset: 3px;
  border-radius: 7px;
}

.slx-sort-caret {
  transition: transform 0.2s ease, color 0.2s ease;
}

.slx-sort-field.open .slx-sort-caret {
  transform: rotate(180deg);
  color: rgba(105, 255, 241, 0.82);
}

.slx-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 100%;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(180deg, rgba(33, 16, 65, 0.98) 0%, rgba(15, 7, 35, 0.98) 100%);
  border: 1px solid rgba(155, 92, 255, 0.34);
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.slx-sort-menu[hidden] {
  display: none;
}

.slx-sort-field.open .slx-sort-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.slx-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 116px;
  padding: 8px 9px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.1;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.slx-sort-option:hover,
.slx-sort-option:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  outline: none;
}

.slx-sort-option.is-selected {
  color: #fff;
  background: rgba(155, 92, 255, 0.22);
}

.slx-sort-tick {
  opacity: 0;
}

.slx-sort-option.is-selected .slx-sort-tick {
  opacity: 1;
  color: rgba(105, 255, 241, 0.86);
}

.slx-sort-field i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
}

/* --- Games Grid --- */
.slx-games-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  width: 100%;
}

.slx-game-card {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* Allow the grid track to shrink below the image's intrinsic width so the
     grid never overflows the viewport on narrow screens. */
  min-width: 0;
  background: linear-gradient(180deg, rgba(34, 16, 66, 0.55) 0%, rgba(14, 7, 36, 0.78) 100%);
  border: 1px solid rgba(155, 92, 255, 0.20);
  transition: transform 0.2s, box-shadow 0.2s;
}

.slx-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(155, 92, 255, 0.35);
  border-color: rgba(155, 92, 255, 0.50);
}

.slx-game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.slx-game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 8px 8px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
}

.slx-game-name {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.slx-game-prov {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1px;
}

.slx-shell {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(180, 120, 40, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(180, 120, 40, 0.08), transparent 55%),
    linear-gradient(rgba(255, 255, 255, 0.13),
      rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  color: #fff;
  width: 100%;
  height: calc(100dvh - 10.25rem);
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.18),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 50px rgba(200, 160, 60, 0.08);
}

/* --- Row 1: Topbar --- */
.slx-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.slx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.slx-logo-badge {
  display: flex;
  gap: 1px;
  padding: 4px 7px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff5c5c 0%, #c41a1a 100%);
  border: 1px solid rgba(255, 200, 60, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 8px rgba(200, 60, 60, 0.5);
}

.slx-logo-badge span {
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #ffd24a;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

.slx-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.slx-logo-text strong {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
}

.slx-logo-text small {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.5px;
}

.slx-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.slx-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.slx-search-box i {
  position: absolute;
  left: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.slx-search-input {
  padding: 7px 12px 7px 30px;
  border: 1px solid rgba(200, 160, 60, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-family: inherit;
  width: 160px;
  transition: border-color .2s, box-shadow .2s;
}

.slx-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.slx-search-input:focus {
  outline: none;
  border-color: rgba(255, 200, 60, 0.6);
  box-shadow: 0 0 10px rgba(255, 200, 60, 0.2);
}

.slx-icon-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border: 1px solid rgba(200, 160, 60, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.slx-icon-btn i {
  font-size: 12px;
}

.slx-icon-btn:hover {
  background: rgba(255, 200, 60, 0.12);
  color: #ffd24a;
}

/* --- Row 2: Category tabs --- */
.slx-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.slx-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.slx-tab i {
  font-size: 12px;
}

.slx-tab:hover {
  color: rgba(255, 255, 255, 0.85);
}

.slx-tab.active {
  color: #ffd24a;
  border-bottom-color: #ffd24a;
  text-shadow: 0 0 10px rgba(255, 200, 60, 0.5);
}

.slx-tab.active i {
  color: #ffd24a;
}

/* --- Row 3: Provider carousel --- */
.slx-providers-wrap {
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slx-providers-swiper {
  overflow: visible;
}

.slx-providers-swiper .swiper-wrapper {
  align-items: center;
}

.slx-prov-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: color .2s, background .2s;
  border: 1px solid transparent;
  white-space: nowrap;
  width: auto !important;
  flex: 0 0 auto !important;
}

.slx-prov-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 160, 60, 0.15);
  color: rgba(255, 255, 255, 0.65);
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.slx-prov-text {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.slx-prov-slide:hover {
  color: rgba(255, 255, 255, 0.9);
}

.slx-prov-slide:hover .slx-prov-logo {
  background: rgba(255, 200, 60, 0.1);
  border-color: rgba(255, 200, 60, 0.35);
}

.slx-prov-slide.active {
  color: #ffd24a;
  background: rgba(255, 200, 60, 0.08);
  border-color: rgba(255, 200, 60, 0.25);
}

.slx-prov-slide.active .slx-prov-logo {
  background: linear-gradient(135deg, rgba(255, 200, 60, 0.2), rgba(200, 120, 20, 0.15));
  border-color: rgba(255, 200, 60, 0.55);
  color: #ffd24a;
  box-shadow: 0 0 12px rgba(255, 200, 60, 0.3);
}

/* --- Row 4: Tab content swiper --- */
.slx-tab-content-area {
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.slx-tab-swiper {
  height: 100%;
}

.slx-tab-swiper .swiper-wrapper {
  height: 100%;
}

.slx-tab-slide {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  padding: 8px;
}

/* --- Row 4: Showcase (legacy, used inside tab slides) --- */
.slx-showcase-area {
  flex: 1;
  min-height: 0;
  position: relative;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.slx-showcase-swiper {
  flex: 1;
  min-height: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(200, 160, 60, 0.35);
  background:
    radial-gradient(ellipse 60% 80% at 30% 40%, rgba(20, 80, 30, 0.4), transparent 55%),
    linear-gradient(135deg, #0e1a10 0%, #0c0a18 50%, #0e0b1e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 28px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(200, 160, 60, 0.12),
    0 0 80px rgba(200, 160, 60, 0.06);
}

.slx-showcase-slide {
  display: flex;
  align-items: stretch;
  height: 100%;
  padding: 14px;
  gap: 14px;
}

/* Featured card */
.slx-featured {
  position: relative;
  width: 28%;
  min-width: 180px;
  max-width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(20, 100, 50, 0.45), transparent 65%),
    linear-gradient(180deg, #0c1a0a 0%, #0a1208 100%);
  border: 1px solid rgba(200, 160, 60, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 18px rgba(0, 0, 0, 0.5);
}

.slx-featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 200, 60, 0.18);
  color: #ffd24a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 200, 60, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.slx-featured-badge i {
  font-size: 8px;
}

.slx-featured-art {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

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

.slx-featured-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 26, 10, 0.95) 100%);
}

.slx-featured-info {
  position: relative;
  z-index: 1;
  padding: 10px 12px 12px;
  margin-top: -48px;
}

.slx-featured-info h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 200, 60, 0.4);
}

.slx-featured-provider {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 200, 60, 0.7);
  letter-spacing: 0.4px;
}

.slx-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #ffd24a 0%, #c89a10 100%);
  color: #1a0e00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 10px rgba(255, 200, 60, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform .15s, box-shadow .2s;
}

.slx-featured-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 200, 60, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Game card strip (horizontal scroll inside each slide) */
.slx-card-strip {
  flex: 1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 2px;
  align-items: flex-start;
  align-content: flex-start;
}

.slx-card-strip::-webkit-scrollbar {
  display: none;
}

.slx-strip-card {
  position: relative;
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 160, 60, 0.15);
  cursor: pointer;
  transition: transform .15s, border-color .2s, box-shadow .2s;
}

.slx-strip-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 200, 60, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 14px rgba(255, 200, 60, 0.15);
}

.slx-strip-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.slx-strip-name {
  padding: 5px 6px 1px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slx-strip-prov {
  padding: 0 6px 5px;
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
}

.slx-hot-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ff3a3a, #c41a1a);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(200, 50, 50, 0.5);
}

/* Showcase arrows */
.slx-showcase-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(200, 160, 60, 0.45);
  color: #ffd24a;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  pointer-events: all;
}

.slx-showcase-arrow:hover {
  background: rgba(255, 200, 60, 0.2);
  box-shadow: 0 0 14px rgba(255, 200, 60, 0.45);
}

.slx-showcase-prev {
  left: 6px;
  transform: translateY(-50%);
}

.slx-showcase-next {
  right: 6px;
  transform: translateY(-50%);
}

/* Showcase dots */
.slx-showcase-dots {
  position: absolute;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slx-showcase-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  border-radius: 50%;
  transition: background .2s, transform .2s, width .2s;
}

.slx-showcase-dots .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ffd24a, #c89a10);
  box-shadow: 0 0 8px rgba(255, 200, 60, 0.6);
}

/* --- Row 5: Continue Playing --- */
.slx-continue-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 14px 12px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.slx-continue-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 14px;
  flex-shrink: 0;
  min-width: 120px;
}

.slx-continue-icon {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.4);
}

.slx-continue-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.slx-continue-text strong {
  font-size: 12px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}

.slx-continue-text em {
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  color: #ffd24a;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(255, 200, 60, 0.4);
}

.slx-continue-text small {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}

.slx-continue-swiper {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.slx-cont-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 160, 60, 0.1);
  transition: background .2s, border-color .2s;
  cursor: pointer;
  width: auto !important;
  flex: 0 0 auto !important;
}

.slx-cont-card:hover {
  background: rgba(255, 200, 60, 0.06);
  border-color: rgba(255, 200, 60, 0.3);
}

.slx-cont-card img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.slx-cont-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
}

.slx-cont-name {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slx-cont-prov {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.3px;
}

.slx-cont-progress {
  width: 36px;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  flex-shrink: 0;
}

.slx-cont-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd24a, #ff8c20);
  box-shadow: 0 0 4px rgba(255, 200, 60, 0.4);
}

.slx-cont-pct {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  width: 26px;
  text-align: right;
}

.slx-cont-play {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 60, 0.3);
  background: rgba(255, 200, 60, 0.1);
  color: #ffd24a;
  font-size: 9px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, box-shadow .2s;
}

.slx-cont-play:hover {
  background: rgba(255, 200, 60, 0.25);
  box-shadow: 0 0 10px rgba(255, 200, 60, 0.35);
}

/* --- Responsive: tablet --- */

/* --- Responsive: mobile — collapse sidebar into top filter strip --- */

/* **************************************************************************
                                                                                                     RESPONSIVE BREAKPOINTS
                                                                                                     ************************************************************************** */

/* ==========================================================================
                                                                                                      R1. SMALL MOBILE  —  max-width: 380px
                                                                                                      ==========================================================================
                                                                                                      Tighter spacing, smaller fonts, compact header & nav for narrow screens.
                                                                                                      ========================================================================== */

/* ==========================================================================
                                                                                                      R2. DESKTOP  —  min-width: 900px
                                                                                                      ==========================================================================
                                                                                                      Wider spacing, larger fonts, CSS Grid dashboard, category nav visible,
                                                                                                      desktop-only nav items shown.
                                                                                                      ========================================================================== */

/* ==========================================================================
                                                                  19. PROMOTION PAGE (promo-* namespace)
                                                                  ========================================================================== */

.promo-page-section {
  padding: 4.5rem 1.25rem 6.5rem;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Header --- */
.promo-page-header {
  text-align: center;
  margin-bottom: 1.25rem;
  width: 100%;
}

.promo-page-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin: 0 0 6px;
  text-shadow: 0 0 24px rgba(155, 92, 255, 0.4);
  font-family: inherit;
}

.promo-page-title i {
  color: #ffc855;
  font-size: 0.95em;
}

.promo-page-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* --- Filter Pills --- */
.promo-filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.promo-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  border-radius: 50px;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(155, 92, 255, 0.18) 0%, transparent 60%), linear-gradient(160deg, rgba(34, 18, 70, 0.86) 0%, rgba(12, 6, 30, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}

.promo-filter-btn i {
  font-size: 12px;
}

.promo-filter-btn:hover {
  background: rgba(155, 92, 255, 0.22);
  color: #fff;
  border-color: rgba(155, 92, 255, 0.6);
}

.promo-filter-btn.active {
  background: linear-gradient(135deg, #9b5cff, #5c2eb0);
  border-color: rgba(155, 92, 255, 0.55);
  color: #fff;
  box-shadow: 0 0 18px rgba(155, 92, 255, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* --- Carousel container --- */
.promo-carousel {
  position: relative;
  width: 100%;
  /* max-width: 1280px; */
  padding: 0 8px;
}

.promo-swiper {
  width: 100%;
  padding-bottom: 36px;
  /* room for pagination dots */
  overflow: hidden;
}

.promo-swiper .swiper-wrapper {
  align-items: stretch;
}

.promo-swiper .swiper-slide {
  height: auto;
  display: flex;
}

/* --- Card --- */
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(34, 16, 66, 0.55) 0%, rgba(14, 7, 36, 0.78) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(155, 92, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
}

/* --- Banner image --- */
.promo-card-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0420;
}

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

/* Category pill on banner */
.promo-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

.promo-card-cat--sport {
  background: rgba(15, 80, 35, 0.65);
  color: #5de87a;
  border: 1px solid rgba(77, 214, 110, 0.55);
}

.promo-card-cat--slots {
  background: rgba(58, 22, 120, 0.65);
  color: #c19bff;
  border: 1px solid rgba(155, 92, 255, 0.55);
}

.promo-card-cat--casino {
  background: rgba(95, 60, 6, 0.65);
  color: #ffd680;
  border: 1px solid rgba(255, 200, 85, 0.55);
}

/* --- Card body --- */
.promo-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.promo-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  font-family: inherit;
  line-height: 1.3;
}

.promo-card-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
}

.promo-card-cta {
  display: block;
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  transition: filter .2s, transform .15s, box-shadow .2s;
}

.promo-card-cta--sport {
  background: linear-gradient(135deg, #2ecc71, #1a9e55);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.32);
}

.promo-card-cta--slots {
  background: linear-gradient(135deg, #9b5cff, #5c2eb0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(155, 92, 255, 0.32);
}

.promo-card-cta--casino {
  background: linear-gradient(135deg, #ffc855, #cc8c00);
  color: #1a0b38;
  box-shadow: 0 4px 14px rgba(255, 200, 85, 0.32);
}

.promo-card-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.promo-card-cta:active {
  transform: translateY(0);
}

.promo-card-meta {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.34);
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

/* --- Navigation arrows --- */
.promo-nav {
  position: absolute;
  top: calc(50% - 18px);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 10, 50, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .15s, opacity .2s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.promo-nav--prev {
  left: -6px;
}

.promo-nav--next {
  right: -6px;
}

.promo-nav:hover {
  background: rgba(155, 92, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.32);
}

.promo-nav:disabled,
.promo-nav.swiper-button-disabled {
  opacity: 0.32;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- Pagination dots --- */
.promo-swiper .swiper-pagination.promo-pagination {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.promo-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
  border-radius: 50%;
  transition: background .2s, transform .2s, width .2s;
}

.promo-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(155, 92, 255, 0.55);
}

/* --- Empty state --- */
.promo-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  padding: 48px 16px;
  margin: 0;
}

/* --- Responsive --- */

/* ==========================================================================
                                                                  20. VIP PAGE (vip-page-* namespace)
                                                                  ========================================================================== */

.page-vip .center-content {
  padding: 5rem 2rem 7rem;
  width: 100%;
}

/* VIP page panels use the login modal's dark glass background so content
   stays readable over the bright app background (instead of the washed-out
   white glass-card). */
.page-vip .glass-card {
  background: linear-gradient(160deg, rgba(50, 30, 90, 0.48), rgba(30, 18, 65, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
}

.vip-page-section {
  padding: 4.5rem 0 6.5rem;
  min-height: 100dvh;
  width: 100%;
}

.vip-page-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* max-width: 1280px; */
  padding: 0;
}

/* Glass surfaces — match site-wide .glass-card theme */
.vip-page-section .vip-hero-card,
.vip-page-section .vip-card,
.vip-page-section .vip-summary-bar {
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.20),
      rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    0 0 18px rgba(111, 255, 241, 0.10),
    0 0 20px rgba(255, 101, 245, 0.06);
}

.vip-page-section .vip-hero-card {
  background:
    radial-gradient(ellipse 55% 70% at 8% 50%, rgba(155, 92, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 95% 80%, rgba(105, 255, 241, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06));
}

/* --- Hero status card --- */
.vip-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.vip-hero-badge {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 14px rgba(105, 255, 241, 0.35));
}

.vip-hero-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vip-hero-main {
  flex: 1;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.vip-hero-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
  color: #fff;
  text-shadow: 0 0 20px rgba(105, 255, 241, 0.25);
}

.vip-hero-levels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-hero-level {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vip-hero-level--next {
  align-items: flex-end;
}

.vip-hero-label {
  font-size: 10px;
  color: var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.vip-hero-value {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.vip-hero-progress-wrap {
  width: 100%;
}

.vip-hero-xp-row {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.vip-hero-xp {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.vip-hero-bar {
  height: 10px;
}

.vip-hero-bar .progress-fill {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
  box-shadow: 0 0 10px rgba(105, 255, 241, 0.35);
}

.vip-hero-reward {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--liq-border);
  background: var(--liq-bg-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 var(--liq-highlight);
  width: 100%;
  justify-content: center;
}

.vip-hero-reward-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--liq-bg-strong);
  border: 1px solid var(--liq-border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 14px;
  flex-shrink: 0;
}

.vip-hero-reward-text {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

/* --- Four-card grid --- */
.vip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.vip-card {
  padding: 14px;
  min-width: 0;
}

.vip-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.vip-card-head>i {
  font-size: 15px;
  color: var(--neon-cyan);
  flex-shrink: 0;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(105, 255, 241, 0.45));
}

.vip-card-head h2 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.vip-card-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
  margin: 3px 0 0;
  line-height: 1.4;
}

/* Benefits list */
.vip-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vip-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-benefit-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.5), rgba(110, 55, 200, 0.32));
  border: 1px solid rgba(155, 92, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ecdfff;
  flex-shrink: 0;
}

.vip-benefit strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}

.vip-benefit span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.35;
}

/* Task progress list */
.vip-task-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vip-task {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.vip-task-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.5), rgba(110, 55, 200, 0.32));
  border: 1px solid rgba(155, 92, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ecdfff;
  flex-shrink: 0;
}

.vip-task-body {
  flex: 1;
  min-width: 0;
}

.vip-task-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 5px;
}

.vip-task-top strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1px;
}

.vip-task-top span {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}

.vip-task-xp {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  flex-shrink: 0;
}

.vip-task-check {
  color: #4dd66e;
}

.vip-task-check i {
  margin-right: 3px;
}

.vip-task--done .progress-fill {
  background: linear-gradient(90deg, #4dd66e, #2ecc71);
}

.vip-task-bar {
  height: 6px;
}

.vip-task-bar .progress-fill {
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
}

/* Tier list */
.vip-tier-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.vip-tier-list::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, rgba(105, 255, 241, 0.35), rgba(255, 255, 255, 0.08));
  border-radius: 2px;
}

.vip-tier {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.vip-tier--active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(105, 255, 241, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 16px rgba(105, 255, 241, 0.12),
    0 0 20px rgba(255, 101, 245, 0.08);
}

.vip-tier-badge {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.vip-tier-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.vip-tier:not(.vip-tier--active) .vip-tier-badge img {
  filter: grayscale(0.6) brightness(0.75);
  opacity: 0.7;
}

.vip-tier--active .vip-tier-badge img {
  filter: drop-shadow(0 0 10px rgba(105, 255, 241, 0.45));
}

.vip-tier-info strong {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #fff;
  margin-bottom: 1px;
}

.vip-tier-info span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.48);
}

/* Stats grid */
.vip-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vip-stat {
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--liq-bg);
  border: 1px solid var(--liq-border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 var(--liq-refract);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  min-width: 0;
}

.vip-stat-icon {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.5), rgba(110, 55, 200, 0.32));
  border: 1px solid rgba(155, 92, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ecdfff;
}

.vip-stat-label {
  grid-column: 2;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-stat-value {
  grid-column: 2;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

/* Summary bar */
.vip-summary-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 12px 14px;
  justify-content: space-between;
}

.vip-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.vip-summary-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.vip-summary-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vip-summary-icon--fa {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.5), rgba(110, 55, 200, 0.32));
  border: 1px solid rgba(155, 92, 255, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ecdfff;
}

.vip-summary-label {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  margin-bottom: 1px;
}

.vip-summary-item strong {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* --- VIP privileges layout (reference structure) --- */
.page-vip {
  --vip-gold: #f1cf75;
}

/* tier color tokens */
.vip-tier--bronze {
  color: #e0904a;
}

.vip-tier--silver {
  color: #cfd6e0;
}

.vip-tier--gold {
  color: #f1cf75;
}

.vip-tier--platinum {
  color: #5fa8ff;
}

.vip-tier--diamond {
  color: #b98cff;
}

.vip-tier--elite {
  color: #4fd18b;
}

/* page title */
.vip-page-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 4px;
}

.vip-page-head-icon {
  color: var(--vip-gold);
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(241, 207, 117, 0.45));
}

.vip-page-head h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

/* top grid: current level + journey */
.vip-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.vip-level-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 18px;
  text-align: center;
  margin-bottom: 15px;
}

.vip-level-card-label {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.vip-level-badge {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vip-level-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(224, 144, 74, 0.45));
}

.vip-level-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.vip-level-btn {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.vip-level-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* journey column */
.vip-journey {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 15px;
}

/* steps */
.vip-steps {
  list-style: none;
  margin: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
}

.vip-step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.vip-step-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--vip-gold);
  background: rgba(241, 207, 117, 0.12);
  border: 1px solid rgba(241, 207, 117, 0.35);
}

.vip-step-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.25;
}

.vip-step-sep {
  display: none;
  flex: 0 0 auto;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 207, 117, 0.6), transparent);
}

/* next-level progress */
.vip-next {
  padding: 16px 18px;
}

.vip-next-track {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip-next-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.vip-next-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}

.vip-next-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vip-next-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.vip-next-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.vip-next-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #e0904a, #f1cf75);
  box-shadow: 0 0 10px rgba(241, 207, 117, 0.6);
}

.vip-next-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.vip-next-req {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.vip-next-req strong {
  font-weight: 800;
}

.vip-next-amt {
  color: var(--vip-gold);
  font-weight: 800;
  margin-left: 4px;
}

.vip-next-tc {
  border: 1px solid rgba(241, 207, 117, 0.4);
  background: rgba(241, 207, 117, 0.1);
  color: var(--vip-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}

.vip-next-tc:hover {
  background: rgba(241, 207, 117, 0.2);
}

/* --- VIP Terms & Conditions modal (Bootstrap-driven) --- */
/* The custom .modal system (opacity/pointer/flex/z-index toggled via .active)
               would fight Bootstrap's show/hide, so neutralize the base rules for this one
               modal and let Bootstrap's data API own visibility. */
#modalTnc.modal {
  display: none;
  opacity: 1;
  pointer-events: auto;
  padding: 0;
  z-index: 1056;
  /* above Bootstrap's .modal-backdrop (1050) */
}

.vip-tnc-dialog {
  max-width: 480px;
}

/* Glass panel look applied to Bootstrap's .modal-content */
.vip-tnc-glass {
  background: linear-gradient(160deg,
      rgba(50, 30, 90, 0.48),
      rgba(30, 18, 65, 0.52));
  backdrop-filter: blur(40px) saturate(1.4);
  -webkit-backdrop-filter: blur(40px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(155, 92, 255, 0.12),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #fff;
}

/* Back-arrow header: title centered, arrow pinned left */
.vip-tnc-head {
  position: relative;
  justify-content: center;
}

.vip-tnc-back {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.vip-tnc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.vip-tnc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.vip-tnc-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vip-gold);
  box-shadow: 0 0 6px rgba(241, 207, 117, 0.6);
}

.vip-tnc-list strong {
  color: var(--vip-gold);
  font-weight: 800;
}

/* --- VIP privileges comparison table --- */
.vip-cmp-card {
  padding: 0;
  overflow: hidden;
}

.vip-cmp-wrap {
  width: 100%;
  overflow-x: auto;
}

.vip-cmp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}

.vip-cmp-table thead th {
  padding: 16px 10px 14px;
  vertical-align: bottom;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vip-cmp-corner {
  text-align: left;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  position: sticky;
  align-content: center;
  left: 0;
  background: rgba(18, 10, 34, 0.96);
  z-index: 2;
}

.vip-cmp-lvl {
  text-align: center;
}

.vip-cmp-badge {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 6px;
}

.vip-cmp-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vip-cmp-name {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.vip-cmp-table tbody th[scope="row"] {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  white-space: nowrap;
  position: sticky;
  left: 0;
  background: rgba(18, 10, 34, 0.96);
  z-index: 1;
}

.vip-cmp-table tbody td {
  text-align: center;
  padding: 11px 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.vip-cmp-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vip-cmp-empty {
  color: rgba(255, 255, 255, 0.35) !important;
}

/* section subheader rows */
.vip-cmp-section th {
  text-align: left !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--vip-gold) !important;
  background: rgba(241, 207, 117, 0.07) !important;
  padding: 9px 14px !important;
  position: static !important;
}

/* highlighted current column (BRONZE) */
.vip-cmp-active {
  background: rgba(224, 144, 74, 0.12);
}

.vip-cmp-table thead th.vip-cmp-active {
  border-bottom-color: rgba(224, 144, 74, 0.5);
}

/* steps always stack vertically inside the narrow left column */
.vip-step-sep {
  display: none;
}

/* Landscape layout: cards on the left, privileges table on the right.
                                 Designed to fit a landscape viewport without vertical scrolling. */

/* --- Responsive --- */

/* ==========================================================================
                                                            21. REFERRAL PROGRAM PAGE (ref-* namespace)
                                                            ========================================================================== */

.page-referral .center-content {
  padding: 0;
  width: 100%;
}

.page-referral .ref-page-section {
  padding: 4.5rem 0 6.5rem;
  min-height: 100dvh;
  width: 100%;
}

.ref-page-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 1280px;
}

/* ===================== REFERRAL PROGRAM (affiliate redesign) ===================== */
.page-referral .ref-page-container {
  max-width: none;
  width: 100%;
  margin: 0;
  gap: 12px;
  padding-inline: 16px;
}

/* Main 2-column area: achievement table on the left, rebate + commission right */
.rp-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.rp-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.rp-card {
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(155, 92, 255, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(34, 18, 70, 0.66) 0%, rgba(16, 8, 38, 0.80) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 26px rgba(0, 0, 0, 0.35);
}

/* 1. Hero */
.rp-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(241, 207, 117, 0.45);
  background:
    radial-gradient(ellipse 80% 120% at 100% 0%, rgba(155, 92, 255, 0.35), transparent 60%),
    linear-gradient(135deg, rgba(60, 30, 110, 0.92), rgba(28, 14, 54, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 28px rgba(241, 207, 117, 0.12);
}

.rp-hero-info {flex: 1;min-width: 0;display: flex;}

.rp-hero-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
}

.rp-hero-title span { color: var(--vip-gold, #f1cf75); }

.rp-hero-link {display: flex;flex-direction: column;gap: 6px;flex: auto;}

.rp-hero-link-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.rp-hero-link-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rp-hero-link-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
}

.rp-hero-link-input:focus { outline: none; }

.rp-hero-copy {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #69fff1, #9b5cff);
}

.rp-hero-art {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(105, 255, 241, 0.5), rgba(155, 92, 255, 0.35));
  box-shadow: 0 0 24px rgba(105, 255, 241, 0.4);
}

/* 2. Stats */
.rp-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.rp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(105, 255, 241, 0.14), rgba(155, 92, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.rp-stat-value { font-size: 18px; font-weight: 900; color: #69fff1; }
.rp-stat-value--gold { color: var(--vip-gold, #f1cf75); }
.rp-stat-label { font-size: 11px; color: rgba(255, 255, 255, 0.7); text-align: center; }

/* 3. Rebate + income */
.rp-rebate-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rp-rebate { padding: 14px; }

.rp-card-title {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--vip-gold, #f1cf75);
}

.rp-rebate-text { margin: 0 0 10px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.78); }
.rp-rebate-text strong { color: #fff; }

.rp-tnc-btn {
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  color: #3a2700;
  background: linear-gradient(135deg, #ffb347, #f1cf75);
}

.rp-income {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
}

.rp-income-label { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.rp-income-value { font-size: 26px; font-weight: 900; color: var(--vip-gold, #f1cf75); }
.rp-income-art { position: absolute; right: 16px; bottom: 12px; font-size: 42px; color: rgba(255, 255, 255, 0.16); }

/* Sections */
.rp-section { padding: 14px; }

.rp-section-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.rp-q { color: #69fff1; font-size: 13px; }

/* 4. Achievement table */
.rp-ach-table { display: flex; flex-direction: column; gap: 4px; }

.rp-ach-head,
.rp-ach-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 13px;
}

.rp-ach-head {
  background: linear-gradient(180deg, rgba(105, 255, 241, 0.18), rgba(155, 92, 255, 0.22));
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.rp-ach-head span:last-child,
.rp-ach-row span:last-child { text-align: right; }

.rp-ach-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.rp-ach-row span:last-child { font-weight: 800; color: var(--vip-gold, #f1cf75); }

.rp-ach-row--top {
  background: linear-gradient(160deg, rgba(105, 255, 241, 0.12), rgba(155, 92, 255, 0.16));
  border-color: rgba(105, 255, 241, 0.3);
}

.rp-ach-row--top span:first-child { font-weight: 900; color: #fff; }

/* 5. Commission */
.rp-commission { display: grid; grid-template-columns: 1fr; gap: 12px; align-items: center; }
.rp-commission-text p { margin: 0 0 6px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.rp-commission-text strong { color: #fff; }
.rp-muted { color: rgba(255, 255, 255, 0.55) !important; }

.rp-level-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rp-level-list li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, 0.8); }
.rp-level-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.rp-level-dot--1 { background: #69fff1; }
.rp-level-dot--2 { background: #9b5cff; }
.rp-level-dot--3 { background: #ff5c8a; }

/* Pyramid */
.rp-pyramid { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.rp-pyramid-tier {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}

.rp-pyramid-tier--1 {
  width: 95px;
  height: 44px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  font-size: 18px;
  color: #04323a;
  background: linear-gradient(180deg, #69fff1, #3bbac0);
}

.rp-pyramid-tier--2 {width: 150px;height: 30px;background: linear-gradient(180deg, #5cc8e8, #3a8fb8);}
.rp-pyramid-tier--3 { width: 210px; height: 40px; background: linear-gradient(180deg, #5c9fe8, #3a6db8); }
.rp-pyramid-tier--4 {width: 297px;height: 40px;background: linear-gradient(180deg, #7a6cff, #4a3fb0);}

/* Income calculator */
.rp-calc {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(20, 40, 70, 0.6), rgba(12, 9, 38, 0.7));
  border: 1px solid rgba(105, 255, 241, 0.25);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rp-calc-label { font-size: 12px; font-weight: 700; color: #69fff1; }
.rp-calc-value { font-size: 26px; font-weight: 900; color: #fff; }
.rp-calc-slider { width: 100%; accent-color: #69fff1; }
.rp-calc-hint { font-size: 11.5px; color: rgba(255, 255, 255, 0.6); }
.rp-calc-hint strong { color: #69fff1; }

/* Footnote */
.rp-footnote { margin: 0 2px 0; font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, 0.55); }
.rp-footnote a { color: #69fff1; text-decoration: none; }
.rp-footnote strong { color: rgba(255, 255, 255, 0.8); }

/* Glass surfaces — darker purple-tinted glass to match design */
.ref-page-section .ref-card {
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(155, 92, 255, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, rgba(34, 18, 70, 0.62) 0%, rgba(16, 8, 38, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.12),
    0 0 18px rgba(111, 255, 241, 0.06),
    0 0 20px rgba(255, 101, 245, 0.05);
  padding: 15px;
  min-width: 0;
}

/* --- Page header --- */
.ref-page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 2px;
}

.ref-page-header-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #6a2ed0);
  box-shadow: 0 0 20px rgba(155, 92, 255, 0.45);
}

.ref-page-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 0 2px;
  color: #fff;
  text-shadow: 0 0 18px rgba(155, 92, 255, 0.35);
}

.ref-page-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* --- Card headers --- */
.ref-card-head {
  margin-bottom: 14px;
}

.ref-card-head h2 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.ref-card-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 4px 0 0;
  line-height: 1.4;
}

/* --- Top grid --- */
.ref-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* --- Copy field (link) --- */
.ref-copy-field {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
}

.ref-copy-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-family: inherit;
  outline: none;
}

/* --- Referral code --- */
.ref-code-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}

.ref-code-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed rgba(155, 92, 255, 0.5);
  background: rgba(155, 92, 255, 0.10);
  margin-bottom: 14px;
}

.ref-code-value {
  flex: 1;
  min-width: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ff65f5, #b06bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.ref-code-hint {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.45;
}

/* --- Middle grid --- */
.ref-mid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* --- Earnings stats --- */
.ref-earn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ref-earn {
  padding: 10px;
  border-radius: 12px;
  background: var(--liq-bg);
  border: 1px solid var(--liq-border-subtle);
  box-shadow: inset 0 1px 0 var(--liq-refract);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.ref-earn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}

.ref-earn-icon--purple {
  background: linear-gradient(135deg, #9b5cff, #6a2ed0);
}

.ref-earn-icon--pink {
  background: linear-gradient(135deg, #ff65f5, #c739b8);
}

.ref-earn-icon--blue {
  background: linear-gradient(135deg, #41b8e6, #2b6fd0);
}

.ref-earn-icon--orange {
  background: linear-gradient(135deg, #ffb24d, #f5832b);
}

.ref-earn-value {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.ref-earn-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.ref-earn-sub {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.ref-earn-link {
  font-size: 10px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
}

.ref-earn-link:hover {
  text-decoration: underline;
}

/* --- Referral rewards --- */
.ref-reward-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ref-reward {
  padding: 10px;
  border-radius: 12px;
  background: var(--liq-bg);
  border: 1px solid var(--liq-border-subtle);
  box-shadow: inset 0 1px 0 var(--liq-refract);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.ref-reward-dep {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.ref-reward-pct {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, #ff65f5, #b06bff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.ref-reward-cap {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* --- Recent referrals table --- */
.ref-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.ref-table thead th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.ref-table tbody td {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  padding: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.ref-table tbody tr:last-child td {
  border-bottom: none;
}

.ref-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.ref-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #cbb3ff;
  background: linear-gradient(135deg, rgba(155, 92, 255, 0.5), rgba(110, 55, 200, 0.32));
  border: 1px solid rgba(155, 92, 255, 0.4);
  flex-shrink: 0;
}

.ref-earning {
  color: #4dd66e;
  font-weight: 700;
}

.ref-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ref-status--completed {
  color: #5de87a;
  background: rgba(46, 204, 113, 0.16);
  border: 1px solid rgba(77, 214, 110, 0.5);
}

.ref-status--pending {
  color: #ffd166;
  background: rgba(255, 200, 85, 0.14);
  border: 1px solid rgba(255, 200, 85, 0.5);
}

/* --- Responsive --- */

/* ==========================================================================
                                                         22. PLAY 2 EARN PAGE (p2e-* namespace)
                                                         ========================================================================== */

.page-p2e .center-content {
  padding: 0;
  width: 100%;
}

.page-p2e .p2e-page-section {
  padding: 4.5rem 0 6.5rem;
  min-height: 100dvh;
  width: 100%;
}

.p2e-page-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
}

/* --- Outer panel: matches the index check-in glass card background --- */
.p2e-page-section .p2e-panel {
  background:
    radial-gradient(ellipse 70% 55% at 12% 6%, rgba(177, 89, 245, 0.30) 0%, transparent 60%),
    linear-gradient(155deg, rgba(126, 38, 193, 0.47) 0%, rgba(63, 19, 97, 1) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  box-shadow:
    0 0 22px rgba(126, 38, 193, 0.30),
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
  padding: 18px;
}

/* --- Header --- */
.p2e-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.p2e-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.p2e-header-icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #6a2ed0);
  box-shadow: 0 0 22px rgba(155, 92, 255, 0.45);
}

.p2e-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin: 0 0 3px;
  text-shadow: 0 0 18px rgba(155, 92, 255, 0.35);
}

.p2e-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 340px;
  line-height: 1.4;
}

.p2e-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p2e-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}

.p2e-action-btn i {
  color: #c4a6ff;
}

.p2e-action-btn:hover {
  background: rgba(155, 92, 255, 0.16);
  border-color: rgba(155, 92, 255, 0.5);
}

.p2e-action-btn:active {
  transform: translateY(1px);
}

/* --- Carousel --- */
.p2e-carousel {
  position: relative;
}

.p2e-swiper {
  overflow: hidden;
}

.p2e-swiper .swiper-slide {
  height: auto;
}

/* --- Game card --- */
.p2e-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(40, 22, 78, 0.55), rgba(18, 9, 40, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.p2e-card-banner {
  overflow: hidden;
}

.p2e-card-banner img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

.p2e-card-reward {
  margin: 10px;
  padding: 8px;
  text-align: center;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #3a2700;
  background: linear-gradient(180deg, #ffd23f, #f4a623);
  box-shadow: 0 2px 8px rgba(244, 166, 35, 0.3);
}

.p2e-card-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px 12px;
}

.p2e-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 2px 4px;
  text-align: center;
  min-width: 0;
}

.p2e-stat+.p2e-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.p2e-stat-label {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.2;
}

.p2e-stat-value {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.p2e-progress {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 10px 10px;
}

/* --- P2E Terms & Conditions modal --- */
.p2e-tnc-select {
  width: 100%;
  margin-bottom: 14px;
  cursor: pointer;
  color: #fff;
}

/* Native option list — force a dark, readable palette (defaults to white-on-white) */
.p2e-tnc-select option {
  background-color: #1e1142;
  color: #fff;
}

.p2e-tnc-select option:checked,
.p2e-tnc-select option:hover {
  background-color: #9b5cff;
  color: #fff;
}

.p2e-tnc-banner {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.p2e-tnc-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.p2e-tnc-heading {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
}

.tnc-intro {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Redemption claim (Congratulations) modal ===== */
.redempt-claim-glass {
  position: relative;
  max-width: 360px;
  text-align: center;
  overflow: hidden;
}

.redempt-claim-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
}

.redempt-claim-body {
  position: relative;
  z-index: 1;
  padding: 34px 24px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.redempt-claim-title {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffffff 0%, #c9b3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(155, 92, 255, 0.55));
}

.redempt-claim-sub {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.redempt-claim-sub span {
  color: #69fff1;
  font-weight: 900;
}

.redempt-claim-chip-wrap {
  position: relative;
  margin-top: 16px;
  width: 200px;
  height: 200px;
  display: grid;
  place-items: center;
}

/* Rotating ray sunburst behind the chip */
.redempt-claim-burst {
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(105, 255, 241, 0.30) 0%, transparent 60%),
    repeating-conic-gradient(from 0deg,
      rgba(155, 92, 255, 0.30) 0deg 5deg,
      transparent 5deg 13deg);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 74%);
  mask: radial-gradient(circle, #000 30%, transparent 74%);
  animation: redemptBurstSpin 22s linear infinite;
}

@keyframes redemptBurstSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Segmented poker chip */
.redempt-claim-chip {
  position: relative;
  z-index: 2;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: repeating-conic-gradient(#7a3ff0 0deg 18deg, #2a1565 18deg 36deg);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 42px rgba(155, 92, 255, 0.7);
}

.redempt-claim-chip::before {
  content: '';
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 32%, #d3c0ff 0%, #8a55f0 48%, #4a1f9a 100%);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.45),
    inset 0 -8px 14px rgba(0, 0, 0, 0.4);
}

.redempt-claim-chip-value {
  position: relative;
  z-index: 1;
  font-family: 'Impact', 'Arial Black', sans-serif;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(105, 255, 241, 0.7);
}

.p2e-tnc-list {
  margin: 0 0 18px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.p2e-tnc-list li {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.p2e-tnc-list li::marker {
  color: #9b5cff;
}

/* --- P2E Transaction / History table modal --- */
.p2e-table-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.p2e-entries-select {
  width: auto;
  min-width: 74px;
  margin-bottom: 0;
  padding-top: 6px;
  padding-bottom: 6px;
}

.p2e-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 92, 255, 0.5) transparent;
}

.p2e-table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.p2e-table thead th {
  padding: 11px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(105, 255, 241, 0.18), rgba(155, 92, 255, 0.32));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.p2e-table thead th:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.p2e-table thead th:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.p2e-table tbody td {
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.p2e-table-empty td {
  text-align: center;
  padding: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
}

.p2e-table-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
}

.p2e-page-btn {
  padding: 4px 2px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: color 0.15s;
}

.p2e-page-btn:hover {
  color: #69fff1;
}

.p2e-progress-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.p2e-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #69fff1, #9b5cff);
  box-shadow: 0 0 8px rgba(105, 255, 241, 0.55);
}

.p2e-progress-fill--green {
  background: linear-gradient(90deg, #4ad365, #1faf4a);
  box-shadow: 0 0 8px rgba(46, 204, 113, 0.55);
}

.p2e-progress-text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: right;
  color: rgba(255, 255, 255, 0.6);
}

.p2e-view-btn {
  margin: 0 10px 12px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #9b5cff, #6a2ed0);
  box-shadow: 0 4px 14px rgba(155, 92, 255, 0.32);
  transition: filter .15s, transform .15s;
}

.p2e-view-btn--green {
  background: linear-gradient(135deg, #4ad365, #1faf4a);
  box-shadow: 0 4px 14px rgba(46, 204, 113, 0.32);
}

.p2e-view-btn:hover {
  filter: brightness(1.1);
}

.p2e-view-btn:active {
  transform: translateY(1px);
}

/* --- Nav arrows --- */
.p2e-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(18, 9, 40, 0.72);
  backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s;
}

.p2e-nav:hover {
  background: rgba(155, 92, 255, 0.3);
  border-color: rgba(155, 92, 255, 0.6);
}

.p2e-nav--prev {
  left: -8px;
}

.p2e-nav--next {
  right: -8px;
}

.p2e-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* --- Pagination --- */
.p2e-pagination {
  position: relative;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.p2e-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: width .2s, background .2s;
}

.p2e-pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 5px;
  background: linear-gradient(90deg, #ff65f5, #b06bff);
}

/* --- Responsive --- */

/* --- Static category nav (event pages, no swiper) --- */
.event-cat-nav-section {
  width: 100%;
  margin-top: 95px;
}

.event-cat-nav {
  display: flex;
  width: 100%;
  border-radius: var(--category-nav-radius, 18px);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(145deg,
      rgba(72, 48, 118, 0.78) 0%,
      rgba(42, 28, 78, 0.88) 55%,
      rgba(32, 18, 62, 0.92) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 28px rgba(105, 255, 241, 0.10),
    0 0 40px rgba(255, 140, 100, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.event-cat-nav::-webkit-scrollbar {
  display: none;
}

.event-cat-nav .cat-btn {
  text-decoration: none;
}

/* Active highlight — matches the index category nav (frosted glass cell) */
.event-cat-nav .cat-btn.active .cat-btn-inner::before,
.event-cat-nav .cat-btn.active .cat-btn-inner::after {
  display: none;
}

.event-cat-nav .cat-btn.active {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.10) 55%,
      rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.event-cat-nav .cat-btn.active .cat-btn-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.event-cat-nav .cat-btn.active .cat-btn-label {
  color: #fff;
}

/* Mobile / tablet: horizontally scrollable strip */

/* Desktop: buttons fill the bar equally */

/* ==========================================================================
      ACCOUNT / WALLET SUB-NAV
      Same frosted-pill look as .event-cat-nav, used across the logged-in
      wallet pages (deposit, transfer, withdraw, history, etc.).
      ========================================================================== */
.account-cat-nav-section {
  width: 100%;
  margin: 2px 0 16px;
}

.account-cat-nav {
  display: flex;
  width: 100%;
  border-radius: var(--category-nav-radius, 18px);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(145deg,
      rgba(72, 48, 118, 0.78) 0%,
      rgba(42, 28, 78, 0.88) 55%,
      rgba(32, 18, 62, 0.92) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 0 28px rgba(105, 255, 241, 0.10),
    0 0 40px rgba(255, 140, 100, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.account-cat-nav::-webkit-scrollbar {
  display: none;
}

.account-cat-nav .cat-btn {
  text-decoration: none;
}

.account-cat-nav .cat-btn.active .cat-btn-inner::before,
.account-cat-nav .cat-btn.active .cat-btn-inner::after {
  display: none;
}

.account-cat-nav .cat-btn.active {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.10) 55%,
      rgba(255, 255, 255, 0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.account-cat-nav .cat-btn.active .cat-btn-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.account-cat-nav .cat-btn.active .cat-btn-label {
  color: #fff;
}

/* Mobile / tablet: horizontally scrollable strip */

/* Desktop: buttons fill the bar equally */

/* Placeholder body for not-yet-built wallet pages */
.account-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 48px 24px;
  min-height: 280px;
}

.account-placeholder-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.2), rgba(155, 92, 255, 0.2));
  border: 1px solid rgba(105, 255, 241, 0.4);
  color: #69fff1;
  font-size: 26px;
}

.account-placeholder h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

.account-placeholder p {
  margin: 0;
  max-width: 320px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
      ACCOUNT PAGES CONTENT (withdraw / history / addbank / pending / inbox / referral)
      ========================================================================== */
.acct-filters {
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* Generic transaction / list rows */
.txn-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.txn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.txn-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.txn-icon--in {
  background: rgba(77, 214, 110, 0.18);
  color: #4dd66e;
}

.txn-icon--out {
  background: rgba(255, 92, 92, 0.18);
  color: #ff8a8a;
}

.txn-icon--transfer {
  background: rgba(105, 255, 241, 0.16);
  color: #69fff1;
}

.txn-icon--bonus {
  background: rgba(241, 207, 117, 0.18);
  color: #f1cf75;
}

.txn-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.txn-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.txn-sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}

.txn-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex-shrink: 0;
}

.txn-amt {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.txn-amt--in {
  color: #4dd66e;
}

.txn-amt--out {
  color: #ff8a8a;
}

.txn-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

.txn-badge--done {
  background: rgba(77, 214, 110, 0.16);
  color: #7ee69a;
}

.txn-badge--pending {
  background: rgba(241, 207, 117, 0.18);
  color: #f1cf75;
}

.txn-badge--failed {
  background: rgba(255, 92, 92, 0.18);
  color: #ff8a8a;
}

/* Transaction History table (reuses .p2e-table base) */
.hist-table {
  min-width: 760px;
}

.hist-table tbody td {
  background: rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
  vertical-align: middle;
}

.hist-table tbody td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.hist-table tbody td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.hist-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.07);
}

.hist-time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== Account sub-nav dropup (Quick Access) =====
   The trigger is the bottom-nav .deposit-item (already position:absolute),
   which acts as the positioning anchor for the pop-up menu. */

.acct-dropup-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.03) 100%),
    linear-gradient(145deg, rgba(72, 48, 118, 0.62) 0%, rgba(32, 18, 62, 0.78) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s;
}

.acct-dropup-current {
  display: flex;
  align-items: center;
  gap: 10px;
}

.acct-dropup-caret {
  color: rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease;
}

.acct-dropup.open .acct-dropup-caret {
  transform: rotate(180deg);
}

/* The pop-up panel (opens upward, centered above the trigger) */
.acct-dropup-menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  width: min(440px, 92vw);
  z-index: 60;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(40, 24, 78, 0.95) 0%, rgba(16, 9, 38, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 -12px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 28px rgba(155, 92, 255, 0.12);
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.acct-dropup.open .acct-dropup-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.acct-dropup-title {
  display: block;
  margin: 2px 0 12px;
  padding-left: 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.acct-dropup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.acct-dropup-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.15s, transform 0.15s;
}

.acct-dropup-tile:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
  color: #fff;
}

.acct-dropup-tile-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%,
      color-mix(in srgb, var(--tile, #9b5cff) 35%, white) 0%,
      var(--tile, #9b5cff) 60%,
      color-mix(in srgb, var(--tile, #9b5cff) 60%, black) 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.4),
    0 0 14px color-mix(in srgb, var(--tile, #9b5cff) 40%, transparent);
}

.acct-dropup-tile-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-align: center;
}

/* Pending rows show a progress track */
.txn-row--pending {
  flex-wrap: wrap;
}

.txn-progress {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 4px;
}

.txn-progress>span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #69fff1, #9b5cff);
}

/* Inbox list reuses .notify-item; just stack with gaps */
.inbox-list {
  display: flex;
  flex-direction: column;
}

/* Referral page */
.ref-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding-bottom: 4px;
}

.ref-hero-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #ff65f5);
  box-shadow: 0 0 24px rgba(255, 101, 245, 0.4);
}

.ref-hero h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.ref-hero p {
  margin: 0;
  max-width: 340px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.ref-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px dashed rgba(105, 255, 241, 0.5);
  margin-top: 14px;
}

.ref-code {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #69fff1;
  word-break: break-all;
}

.ref-copy-btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 12px;
  color: #10122b;
  background: linear-gradient(135deg, #69fff1, #9b5cff);
}

.ref-share {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.ref-share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.ref-share-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ref-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ref-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ref-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #69fff1);
}

.ref-step-text strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.ref-step-text small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
      DEPOSIT PAGE
      ========================================================================== */
.page-deposit .center-content {
  padding: 5rem 1rem 7rem;
  width: 100%;
}

.deposit-page-section {
  min-height: 100dvh;
  width: 100%;
}

.deposit-page-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Match the info pages: constrain member content and centre it instead of
     spanning the full viewport width. */
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
}

/* --- Page title (mirrors the VIP page head) --- */
.deposit-page-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 2px 4px;
}

.deposit-page-head-icon {
  color: var(--vip-gold, #f1cf75);
  font-size: 18px;
  filter: drop-shadow(0 0 8px rgba(241, 207, 117, 0.45));
}

.deposit-page-head h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
}

/* --- Two-column layout --- */
.deposit-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}

.deposit-main {
  padding: 18px;
}

/* --- Wallet balance banner --- */
.deposit-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(155, 92, 255, 0.18) 0%, transparent 60%), linear-gradient(160deg, rgba(34, 18, 70, 0.86) 0%, rgba(12, 6, 30, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);

}

.deposit-balance-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deposit-balance-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.deposit-balance-amt {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.deposit-balance-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(241, 207, 117, 0.16);
  color: var(--vip-gold, #f1cf75);
  font-size: 18px;
}

/* --- Payment method grid --- */
.deposit-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.deposit-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.deposit-method i {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.18s;
}

.deposit-method:hover {
  background: rgba(255, 255, 255, 0.1);
}

.deposit-method.active {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.22), rgba(155, 92, 255, 0.2));
  border-color: rgba(105, 255, 241, 0.55);
  color: #fff;
}

.deposit-method.active i {
  color: #69fff1;
}

/* --- Bank chips --- */
.deposit-banks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.deposit-bank {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.deposit-bank-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  flex-shrink: 0;
}

.deposit-bank:hover {
  background: rgba(255, 255, 255, 0.1);
}

.deposit-bank.active {
  background: rgba(241, 207, 117, 0.14);
  border-color: rgba(241, 207, 117, 0.5);
  color: #fff;
}

/* --- Amount chips: let them wrap into a responsive row --- */
.deposit-chips {
  flex-wrap: wrap;
}

/* --- Bonus offers: compact click-to-select dropdown --- */
.deposit-bonus-dd {
  position: relative;
}

.deposit-bonus-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  text-align: left;
  min-width: 0;
}

.deposit-bonus-body strong {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.deposit-bonus-body small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.65);
}

/* Collapsed toggle (shows the current selection) */
.deposit-bonus-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.deposit-bonus-toggle:hover,
.deposit-bonus-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(105, 255, 241, 0.45);
}

.deposit-bonus-caret {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.deposit-bonus-toggle[aria-expanded="true"] .deposit-bonus-caret {
  transform: rotate(180deg);
}

/* Dropdown menu — glass panel matching the form */
.deposit-bonus-menu {
  width: 100%;
  margin-top: 6px;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(50, 30, 90, 0.92), rgba(30, 18, 65, 0.94));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.deposit-bonus-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.deposit-bonus-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.deposit-bonus-check {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.18s;
  flex-shrink: 0;
}

.deposit-bonus-item.active {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.16), rgba(155, 92, 255, 0.16));
}

.deposit-bonus-item.active .deposit-bonus-check {
  color: #69fff1;
}

/* --- Submit --- */
.deposit-submit {
  margin-top: 4px;
}

/* --- Right column --- */
.deposit-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.deposit-summary,
.deposit-note,
.deposit-bonus-card {
  padding: 18px;
}

/* The bonus label sits at the top of its own card */
.deposit-bonus-card .modal-label {
  margin-top: 0;
}

/* Keep the bonus card (and its open dropdown) above the sibling cards below */
.deposit-bonus-card {
  position: relative;
  z-index: 20;
  overflow: visible;
}

.deposit-bonus-menu {
  z-index: 1001;
}

.deposit-side-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.deposit-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.7);
}

.deposit-sum-row strong {
  color: #fff;
  font-weight: 700;
}

.deposit-sum-bonus {
  color: #4dd66e !important;
}

.deposit-sum-divider {
  height: 1px;
  margin: 8px 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.deposit-sum-total {
  font-size: 14px;
}

.deposit-sum-total strong {
  font-size: 18px;
  color: var(--vip-gold, #f1cf75);
}

/* --- Info / notes --- */
.deposit-note-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.deposit-note-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.deposit-note-list i {
  margin-top: 2px;
  color: #69fff1;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.deposit-history-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s;
}

.deposit-history-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Responsive --- */

/* Fit account pages to the 1440x900 (and similar) viewport: the container
   fills the scroll area, the page head stays put, and the main content
   region takes the remaining height and scrolls inside if it's too long. */

/* ==========================================================================
   TRANSFER PAGE (wallet-to-wallet)
   Builds on the deposit page layout; only the From/To pickers and the
   swap control are unique.
   ========================================================================== */
.transfer-wallets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.transfer-wallet {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.transfer-wallet:hover {
  background: rgba(255, 255, 255, 0.1);
}

.transfer-wallet-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  flex-shrink: 0;
}

.transfer-wallet-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.transfer-wallet-name {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transfer-wallet-bal {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}

.transfer-wallet.active .transfer-wallet-name {
  color: #fff;
}

/* Wallet pickers as dropdowns */
.transfer-dd {
  position: relative;
}

.transfer-dd-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}

.transfer-dd-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.transfer-dd-caret {
  margin-left: auto;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
}

.transfer-dd-toggle[aria-expanded="true"] .transfer-dd-caret {
  transform: rotate(180deg);
}

/* From = gold accent, To = cyan/purple accent (matches the active wallet) */
.transfer-from-toggle {
  background: rgba(241, 207, 117, 0.14);
  border-color: rgba(241, 207, 117, 0.5);
}

.transfer-from-toggle .transfer-wallet-logo {
  background: rgba(241, 207, 117, 0.22);
  color: var(--vip-gold, #f1cf75);
}

.transfer-to-toggle {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.22), rgba(155, 92, 255, 0.2));
  border-color: rgba(105, 255, 241, 0.55);
}

.transfer-to-toggle .transfer-wallet-logo {
  background: rgba(105, 255, 241, 0.2);
  color: #69fff1;
}

/* The dropdown menu (Bootstrap-positioned) holding the full wallet list */
.transfer-dd-menu {
  width: 100%;
  max-height: 264px;
  overflow-y: auto;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(40, 24, 78, 0.96) 0%, rgba(16, 9, 38, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(155, 92, 255, 0.45) transparent;
}

/* Only lay out as a flex column when Bootstrap opens it (.show) — otherwise
   Bootstrap's own `display:none` must win so the menu stays hidden. */
.transfer-dd-menu.show {
  display: flex;
}

.transfer-dd-menu .transfer-wallet {
  width: 100%;
}

/* From = gold accent, To = cyan/purple accent (mirrors deposit bank/method) */
.transfer-from.active {
  background: rgba(241, 207, 117, 0.14);
  border-color: rgba(241, 207, 117, 0.5);
}

.transfer-from.active .transfer-wallet-logo {
  background: rgba(241, 207, 117, 0.22);
  color: var(--vip-gold, #f1cf75);
}

.transfer-to.active {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.22), rgba(155, 92, 255, 0.2));
  border-color: rgba(105, 255, 241, 0.55);
}

.transfer-to.active .transfer-wallet-logo {
  background: rgba(105, 255, 241, 0.2);
  color: #69fff1;
}

/* Swap divider with rotating button */
.transfer-swap-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 2px;
}

.transfer-swap-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.transfer-swap-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.2), rgba(155, 92, 255, 0.2));
  border: 1px solid rgba(105, 255, 241, 0.5);
  color: #69fff1;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.35s ease, background 0.18s;
}

.transfer-swap-btn:hover {
  background: linear-gradient(135deg, rgba(105, 255, 241, 0.32), rgba(155, 92, 255, 0.32));
}

.transfer-swap-btn.spin {
  transform: rotate(180deg);
}

/* ==========================================================================
   FORTUNE WHEEL EVENT PAGE
   ========================================================================== */
.fw-header-icon {
  background: linear-gradient(135deg, #ffb347, #ff5c8a) !important;
  box-shadow: 0 0 22px rgba(255, 140, 80, 0.5) !important;
}

.fw-stage {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 22px;
}

/* Branding art (left) */
.fw-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  order: -1;
}

.fw-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.85;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fw-brand-top {
  font-size: 30px;
  color: #ffce4a;
  text-shadow: 0 2px 0 #b06a00, 0 0 18px rgba(255, 206, 74, 0.5);
}

.fw-brand-bottom {
  font-size: 38px;
  color: #fff;
  text-shadow: 0 2px 0 rgba(123, 63, 242, 0.9), 0 0 18px rgba(155, 92, 255, 0.55);
}

.fw-brand-art {
  max-width: 230px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

/* --- Wheel --- */
.fw-wheel-area {
  position: relative;
  width: min(320px, 82vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fw-glow {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 80, 0.35), transparent 70%);
  filter: blur(12px);
  z-index: 0;
}

.fw-wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(#7b3ff2 0deg 45deg,
      #ff65f5 45deg 90deg,
      #5c7cff 90deg 135deg,
      #ff8c4b 135deg 180deg,
      #7b3ff2 180deg 225deg,
      #ff65f5 225deg 270deg,
      #5c7cff 270deg 315deg,
      #ff8c4b 315deg 360deg);
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 0 6px rgba(123, 63, 242, 0.35),
    0 14px 40px rgba(0, 0, 0, 0.45),
    inset 0 0 30px rgba(0, 0, 0, 0.25);
  transition: transform 4.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.fw-labels {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fw-labels li {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  transform: rotate(calc(var(--i) * 45deg + 22.5deg));
}

.fw-labels li span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.fw-labels li span i {
  font-size: 14px;
}

.fw-labels li span small {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.85;
  text-transform: uppercase;
}

.fw-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 36px;
  line-height: 1;
  color: #ffce4a;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Center hub (decorative cap) */
.fw-hub {
  position: absolute;
  z-index: 2;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 5px solid #ffce4a;
  background: radial-gradient(circle at 38% 32%, #fff2c0, #ffb13a 60%, #ff8c1a);
  color: #b06a00;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 0 12px rgba(255, 255, 255, 0.5);
}

/* --- Token / spin panel --- */
.fw-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fw-panel-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fw-panel-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.6);
}

.fw-token {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.fw-token i {
  color: #ffce4a;
}

.fw-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 900;
  color: #ffce4a;
  font-variant-numeric: tabular-nums;
}

.fw-timer i {
  color: #fff;
  font-size: 18px;
}

.fw-panel-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

.fw-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(77, 214, 110, 0.2), rgba(105, 255, 241, 0.12));
  border: 1px solid rgba(77, 214, 110, 0.4);
}

.fw-result>i {
  font-size: 24px;
  color: #ffce4a;
}

.fw-result-text {
  display: flex;
  flex-direction: column;
}

.fw-result-text span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.fw-result-text strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.fw-spin-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #4a2700;
  background: linear-gradient(180deg, #ffd76a 0%, #ff9e2c 100%);
  box-shadow: 0 4px 14px rgba(255, 158, 44, 0.4);
  transition: filter 0.15s, transform 0.1s;
}

.fw-spin-now:hover {
  filter: brightness(1.07);
}

.fw-spin-now:active {
  transform: scale(0.98);
}

.fw-spin-now:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}

.fw-spin-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(74, 39, 0, 0.22);
  font-size: 12px;
}

.fw-more-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, rgba(124, 63, 242, 0.6), rgba(90, 40, 180, 0.6));
  transition: filter 0.15s;
}

.fw-more-info:hover {
  filter: brightness(1.12);
}

/* --- Recent winners --- */
.fw-winners {
  margin-top: 22px;
}

.fw-winners-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.fw-winner-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.fw-winner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.fw-winner-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #9b5cff, #ff65f5);
}

.fw-winner-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.fw-winner-prize {
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
  color: #ffce4a;
}

/* --- Responsive --- */

/* ==========================================================================
   DAILY CHECK-IN EVENT PAGE
   ========================================================================== */
.ci-panel { overflow: hidden; }

/* Header icon tint (matches the p2e-header pattern used by mission/p2e) */
.ci-header-icon {
  background: linear-gradient(135deg, #ffce4a, #ff8c1a) !important;
  box-shadow: 0 0 22px rgba(255, 180, 80, 0.45) !important;
}

/* Total-coins pill (sits in the header actions) */
.ci-total {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 206, 74, 0.4);
  white-space: nowrap;
}

.ci-total i { color: #ffce4a; }
.ci-total strong { color: #ffce4a; font-weight: 900; }

/* --- 7-day track --- */
.ci-days {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(132px, 1fr);
  align-items: start;            /* each card height follows its own content */
  gap: 12px;
  margin-top: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.ci-days::-webkit-scrollbar { display: none; }

/* --- Day card --- */
.ci-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.18s, transform 0.18s;
}

.ci-day--today {
  background: linear-gradient(165deg, rgba(255, 206, 74, 0.25), rgba(255, 140, 26, 0.12));
  border-color: rgba(255, 206, 74, 0.6);
  box-shadow: 0 0 22px rgba(255, 206, 74, 0.2);
}

.ci-day--bonus {
  background: linear-gradient(165deg, rgba(155, 92, 255, 0.3), rgba(255, 106, 213, 0.12));
  border-color: rgba(155, 92, 255, 0.6);
}

.ci-day.is-claimed { opacity: 0.85; }

.ci-day-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
}

.ci-day--today .ci-day-label,
.ci-day--bonus .ci-day-label { color: #fff; }

.ci-day-art {
  position: relative;
  width: 100%;
  /* height: 56px; */
  display: grid;
  place-items: center;
}

.ci-day-art img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.ci-day-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 30px;
  color: #ffce4a;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
  z-index: 0;
}

.ci-day--bonus .ci-day-icon { color: #ff77e1; }

.ci-day-coins {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.ci-day-coins i { color: #ffce4a; }

.ci-claim-btn {
  width: 100%;
  margin-top: 2px;
  padding: 7px 8px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  color: #4a2700;
  background: linear-gradient(180deg, #ffd76a 0%, #ff9e2c 100%);
  transition: filter 0.15s, transform 0.1s;
}

.ci-claim-btn:hover { filter: brightness(1.07); }
.ci-claim-btn:active { transform: scale(0.97); }

.ci-claim-btn--bonus {
  color: #fff;
  background: linear-gradient(180deg, #b06bff 0%, #7b3ff2 100%);
}

.ci-claim-btn.is-claimed,
.ci-claim-btn:disabled {
  background: rgba(77, 214, 110, 0.25);
  color: #8ff0ad;
  cursor: default;
  filter: none;
  border: 1px solid rgba(77, 214, 110, 0.4);
}

/* --- Claim modal success --- */
.ci-claim-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 8px 4px;
}

.ci-claim-check {
  font-size: 56px;
  color: #4dd66e;
  filter: drop-shadow(0 0 18px rgba(77, 214, 110, 0.5));
}

.ci-claim-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.ci-claim-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.ci-claim-text strong { color: #ffce4a; }

.ci-claim-success .cta-btn { margin-top: 6px; min-width: 160px; }

/* ==========================================================================
   MISSIONS EVENT PAGE
   ========================================================================== */
.ms-header-icon {
  background: linear-gradient(135deg, #9b5cff, #69fff1) !important;
  box-shadow: 0 0 22px rgba(155, 92, 255, 0.45) !important;
}

/* --- Mission carousel (Swiper) --- */
.ms-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 6px;
}

.ms-swiper .swiper-slide {
  height: auto;
  /* equal-height slides */
  display: flex;
}

/* Prev / next arrows */
.ms-nav {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.ms-nav:hover {
  background: rgba(105, 255, 241, 0.18);
  border-color: rgba(105, 255, 241, 0.4);
}

.ms-nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

/* --- Mission card (gift-art reward card) --- */
.ms-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 16px 14px 14px;
  border-radius: 16px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(155, 92, 255, 0.22) 0%, transparent 70%),
    linear-gradient(165deg, rgba(52, 32, 100, 0.7) 0%, rgba(24, 15, 50, 0.88) 100%);
  border: 1px solid rgba(140, 100, 220, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 22px rgba(105, 255, 241, 0.08);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.ms-card:hover {
  transform: translateY(-3px);
  border-color: rgba(105, 255, 241, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 6px 26px rgba(105, 255, 241, 0.18);
}

/* Corner status icon */
.ms-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 13px;
  color: #69fff1;
  background: rgba(105, 255, 241, 0.12);
  border: 1px solid rgba(105, 255, 241, 0.3);
}

.ms-card-title {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.ms-card-reward {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ms-card-reward--cyan {
  color: #69fff1;
  text-shadow: 0 0 14px rgba(105, 255, 241, 0.5);
}

.ms-card-reward--gold {
  color: #ffce4a;
  text-shadow: 0 0 14px rgba(255, 206, 74, 0.5);
}

.ms-card-reward--pink {
  color: #ff77e1;
  text-shadow: 0 0 14px rgba(255, 119, 225, 0.5);
}

/* Gift art (image with gold gift-icon fallback) */
.ms-card-art {
  position: relative;
  width: 100%;
  height: 96px;
  display: grid;
  place-items: center;
}

.ms-card-art img {
  max-width: 100px;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.4));
}

.ms-card-art-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 50px;
  color: #ffce4a;
  filter: drop-shadow(0 0 16px rgba(255, 206, 74, 0.5));
  z-index: 0;
}

/* Full-width CTA button */
.ms-card-btn {
  width: 100%;
  margin-top: 2px;
  padding: 9px 12px;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: filter 0.15s, transform 0.1s;
}

.ms-card-btn:hover {
  filter: brightness(1.08);
}

.ms-card-btn:active {
  transform: scale(0.98);
}

.ms-card-btn--open {
  background: linear-gradient(180deg, #ffd76a 0%, #ff9e2c 100%);
  color: #4a2700;
  box-shadow: 0 3px 12px rgba(255, 158, 44, 0.35);
}

.ms-card-btn--claim {
  background: linear-gradient(180deg, #5be08a 0%, #28b46a 100%);
  color: #04220f;
  box-shadow: 0 3px 12px rgba(40, 180, 106, 0.35);
}

/* --- Pagination dots (Swiper) --- */
.ms-pagination {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.ms-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  opacity: 1;
  transition: width 0.2s, background 0.2s;
}

.ms-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: linear-gradient(90deg, #9b5cff, #69fff1);
}
/* Redemption header icon tint (matches the p2e-header pattern) */
.rd-header-icon {
  background: linear-gradient(135deg, #ff7ed4, #9b5cff) !important;
  box-shadow: 0 0 22px rgba(155, 92, 255, 0.45) !important;
}

.redempt-banner {
  margin: 0 auto 30px;
  text-align: center;
  border-radius: 15px;
  position: relative;
}

.redempt-banner-wrap {
  position: absolute;
  top: 62%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.redempt-title {
  text-align: center;
  margin: 20px 0;
  font-weight: bold;
}

.redempt-title h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.redempt-title .date {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.redempt-title .date span {
  position: absolute;
  top: 65%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.redempt-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.redempt-total {
  padding: 10px 20px;
  border-radius: 5px;
  background: #005883;
  box-shadow: inset 0px 0px 1px #2fd8ce;
  border: 1px solid #019eff;
  font-weight: bold;
}

.redempt-total span {
  color: var(--main-color1);
}

.redempt-tnc-btn {
  background: linear-gradient(to bottom, #ffb016, #ffff2d);
  box-shadow: inset 0px 0px 1px rgba(255, 255, 45, 0.7), inset 0px 0px 2px 3px rgba(255, 255, 45, 0.6);
  border: 2px solid #f6cb73;
  border-top: 2px solid #ffff25;
  color: #5d2000;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.redempt-claim-btn {
  background: linear-gradient(to bottom, #ffb016, #ffff2d);
  box-shadow: inset 0px 0px 1px rgba(255, 255, 45, 0.7), inset 0px 0px 2px 3px rgba(255, 255, 45, 0.6);
  border: 2px solid #f6cb73;
  border-top: 2px solid #ffff25;
  color: #5d2000;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  bottom: 0;
  transform: translateY(50%);
}

.redempt-tnc-btn:hover {
  filter: brightness(1.2);
}

.redempt-carousel {
  width: 100%;
  margin: auto;
}

.redempt-swiper {
  width: 100%;
  overflow: hidden;
  padding: 14px 4px 22px;
}

.redempt-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
}

.redempt-grid .swiper-slide {
  height: auto;
  display: flex;
}
.redempt-banner img{
  max-height: 300px;
}
.redempt-item {
  width: 100%;
  background: #ffffff54;
  border-radius: 15px;
  padding: 34px 12px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 56px;
}

.redempt-item img {
  max-width: 112px;
  position: absolute;
  top: -56px;
  filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.3));
}

.redempt-points {
  color: var(--text-color);
  text-shadow: 2px 0 #5d2000, -2px 0 #5d2000, 0 2px #5d2000, 0 -2px #5d2000, 1.5px 1.5px #5d2000, 1.5px -1.5px #5d2000, -1.5px 1.5px #5d2000, -1.5px -1.5px #5d2000;
  font-size: clamp(18px, 1.55vw, 24px);
  font-weight: bold;
  margin: 38px 0px 6px;
}

@supports not (-webkit-text-stroke: 1px #000) {
  .redempt-points {
      color: var(--text-color);
      -webkit-text-stroke: 2px #5d2000;
      text-shadow: none;
  }
}

.redempt-min {
  font-size: 13px;
  color: #5d2000;
}

/* ==========================================================================
   R1b. EXTRA SMALL MOBILE — max-width: 375px
   ========================================================================== */

/* Below 340px there isn't room for the auth button labels — show icons only */
