/* ============================================================
   JAI CLUB THEME — Full UI Redesign
   Inspired by jaiclub.games design language
   ============================================================ */

:root {
    --jc-bg:        #191B2F;
    --jc-card:      #1E2145;
    --jc-card2:     #262A4F;
    --jc-card3:     #2E3358;
    --jc-pink:      #6C5CE7;
    --jc-blue:      #4ECAFF;
    --jc-purple:    #7C6CF6;
    --jc-green:     #00D084;
    --jc-gold:      #FFA726;
    --jc-red:       #EF4444;
    --jc-text:      #FFFFFF;
    --jc-muted:     #9BA4B8;
    --jc-border:    rgba(255,255,255,0.08);
    --jc-gradient:  linear-gradient(90deg, #6C5CE7, #4834D4);
    --jc-btn:       linear-gradient(90deg, #6C5CE7 0%, #4834D4 100%);
    --jc-header-bg: linear-gradient(135deg, #6C5CE7 0%, #4834D4 50%, #2D1F8E 100%);
    --jc-radius:    12px;
    --jc-radius-sm: 8px;
    --jc-shadow:    0 4px 20px rgba(0,0,0,0.5);
}

/* ===== GLOBAL RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    background: var(--jc-bg) !important;
    color: var(--jc-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
}

body { padding-bottom: 80px; }

.page-wrapper { background: var(--jc-bg) !important; min-height: 100vh; }

/* ===== HIDE LEGACY ELEMENTS ===== */
.header,
.preloader,
.scroll-to-top,
.footer-section,
.inner-hero, .inner-hero.bg_img,
.breadcrumb-section,
.mhp-footer,
.bonus-popup-overlay { display: none !important; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--jc-bg); }
::-webkit-scrollbar-thumb { background: var(--jc-purple); border-radius: 4px; }

/* ===== TOP BAR (Jai Club style) ===== */
.jc-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--jc-card);
    border-bottom: 1px solid var(--jc-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 48px;
}

.jc-topbar-balance {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.jc-topbar-rupee {
    color: #FFA726;
    font-size: 14px;
    font-weight: 600;
}

.jc-topbar-deposit-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    margin-left: 8px;
    flex-shrink: 0;
}

.jc-topbar-back {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-text);
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    background: var(--jc-card2);
    flex-shrink: 0;
}

.jc-topbar-logo {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.jc-topbar-logo-text {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
    -webkit-text-fill-color: initial;
}

.jc-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.jc-topbar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--jc-muted);
    font-size: 15px;
    text-decoration: none;
    position: relative;
}
.jc-topbar-icon:hover { color: #fff; }

.jc-topbar-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #FF3D3D;
    border-radius: 50%;
    font-size: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===== GAME QUICK LINKS ROW ===== */
.jc-quick-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 14px 0 8px;
}
.jc-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--jc-text);
}
.jc-quick-link span {
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    color: var(--jc-muted);
}
.jc-quick-link small {
    font-size: 9px;
    color: #FFA726;
    font-weight: 600;
}
.jc-quick-link-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.jc-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--jc-card2);
    border: 1px solid var(--jc-border);
    border-radius: 6px;
    padding: 5px 8px;
    color: var(--jc-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.jc-lang-btn img { width: 18px; height: 13px; border-radius: 2px; }

/* ===== USER INFO BAR (logged in) ===== */
.jc-user-bar {
    background: var(--jc-card);
    border-bottom: 1px solid var(--jc-border);
    padding: 8px 16px;
}

.jc-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.jc-user-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jc-avatar {
    width: 36px;
    height: 36px;
    background: var(--jc-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.jc-username {
    font-size: 14px;
    font-weight: 700;
    color: var(--jc-text);
}

.jc-user-id {
    font-size: 11px;
    color: var(--jc-muted);
}

.jc-balance-pill {
    background: var(--jc-card2);
    border: 1px solid var(--jc-border);
    border-radius: 20px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.jc-balance-pill .jc-currency {
    color: var(--jc-muted);
    font-size: 12px;
}

.jc-balance-pill .jc-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--jc-text);
}

.jc-wallet-actions {
    display: flex;
    gap: 8px;
}

.jc-wallet-btn {
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.jc-wallet-btn:hover { opacity: 0.9; color: #fff; }

.jc-wallet-btn.withdraw {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: var(--jc-text);
}

.jc-wallet-btn.deposit {
    background: var(--jc-btn);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
}

/* Online counter */
.jc-online-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(16,212,142,0.1);
    border: 1px solid rgba(16,212,142,0.25);
    border-radius: 20px;
    padding: 5px 12px;
    margin: 8px auto 0;
    width: fit-content;
    text-decoration: none;
    color: var(--jc-text);
    font-size: 12px;
}

.jc-online-dot {
    width: 8px;
    height: 8px;
    background: var(--jc-green);
    border-radius: 50%;
    animation: jcPulse 2s infinite;
}

@keyframes jcPulse {
    0% { box-shadow: 0 0 0 0 rgba(16,212,142,0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16,212,142,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,212,142,0); }
}

.jc-online-count { font-weight: 800; color: var(--jc-green); font-size: 14px; }

/* ===== HIDE OLD MOBILE BARS ===== */
.mobile-user-strip,
.mobile-nav-bar,
.mobile-expanded-menu,
.mhp-bottom-nav,
.header__bottom { display: none !important; }

/* ===== BOTTOM NAVIGATION ===== */
.jc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--jc-card);
    border-top: 1px solid var(--jc-border);
    display: flex;
    align-items: stretch;
    height: 60px;
    padding-bottom: env(safe-area-inset-bottom);
}

.jc-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--jc-muted);
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    transition: color 0.2s;
    position: relative;
}

.jc-nav-item i { font-size: 20px; }

.jc-nav-item:hover,
.jc-nav-item.active {
    color: var(--jc-pink);
}

.jc-nav-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--jc-gradient);
    border-radius: 0 0 4px 4px;
}

/* Center Promotion button */
.jc-nav-promo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--jc-text);
    font-size: 10px;
    font-weight: 700;
    gap: 0;
    margin-top: -18px;
}

.jc-nav-promo-orb {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(108,92,231,0.6), 0 4px 12px rgba(0,0,0,0.5);
    border: 3px solid var(--jc-card);
    margin-bottom: 3px;
}

.jc-nav-promo span { color: var(--jc-muted); font-size: 10px; }

/* ===== SECTION HEADERS (Jai Club style gradient banner) ===== */
.jc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(108,92,231,0.15), rgba(72,52,212,0.08));
    border-left: 3px solid var(--jc-purple);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin: 16px 0 10px;
}

.jc-section-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--jc-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.jc-section-title i { color: var(--jc-pink); font-size: 16px; }

.jc-section-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--jc-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}

.jc-section-all:hover { color: var(--jc-pink); }

/* ===== GAME GRID ===== */
.jc-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 12px;
}

.jc-game-card {
    text-decoration: none;
    color: var(--jc-text);
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--jc-radius-sm);
    overflow: hidden;
    background: var(--jc-card);
    transition: transform 0.15s;
}

.jc-game-card:hover { transform: scale(0.97); color: var(--jc-text); }

.jc-game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

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

/* Game-specific gradient backgrounds (thumbnail fallback + enhancement) */
.jc-thumb-wingo        { background: linear-gradient(135deg, #FF6B35 0%, #F7C59F 50%, #FF3D00 100%); }
.jc-thumb-color_prediction { background: linear-gradient(135deg, #FF416C 0%, #FF4B2B 50%, #F7971E 100%); }
.jc-thumb-trx_win      { background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%); }
.jc-thumb-aviator      { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.jc-thumb-bird_flight  { background: linear-gradient(135deg, #0052D4 0%, #4364F7 50%, #6FB1FC 100%); }
.jc-thumb-bird_crash   { background: linear-gradient(135deg, #C02425 0%, #F0CB35 100%); }
.jc-thumb-spin_wheel   { background: linear-gradient(135deg, #6A0572 0%, #AB2496 50%, #FF6CAB 100%); }
.jc-thumb-gold_slot    { background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #DAA520 100%); }
.jc-thumb-crazy_times  { background: linear-gradient(135deg, #1D976C 0%, #93F9B9 100%); }
.jc-thumb-dream_catcher { background: linear-gradient(135deg, #FC466B 0%, #3F5EFB 100%); }
.jc-thumb-chicken_road { background: linear-gradient(135deg, #FF9A3C 0%, #FF6000 100%); }
.jc-thumb-mines        { background: linear-gradient(135deg, #134E5E 0%, #71B280 100%); }
.jc-thumb-roulette     { background: linear-gradient(135deg, #1a1a1a 0%, #2d6a4f 100%); }
.jc-thumb-roulette_pro { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }
.jc-thumb-plinko       { background: linear-gradient(135deg, #4776E6 0%, #8E54E9 100%); }
.jc-thumb-craps        { background: linear-gradient(135deg, #373B44 0%, #4286f4 100%); }
.jc-thumb-keno         { background: linear-gradient(135deg, #0A3D62 0%, #1E6F9F 100%); }
.jc-thumb-head_tail    { background: linear-gradient(135deg, #232526 0%, #414345 100%); }
.jc-thumb-casino_dice  { background: linear-gradient(135deg, #005C97 0%, #363795 100%); }
.jc-thumb-blackjack    { background: linear-gradient(135deg, #1a1a1a 0%, #2C3E50 50%, #1a472a 100%); }
.jc-thumb-teen_patti   { background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%); }
.jc-thumb-poker        { background: linear-gradient(135deg, #200122 0%, #6F0000 100%); }
.jc-thumb-pro_poker    { background: linear-gradient(135deg, #373B44 0%, #4286f4 100%); }
.jc-thumb-rummy        { background: linear-gradient(135deg, #DA1212 0%, #E9B000 100%); }
.jc-thumb-andar_bahar  { background: linear-gradient(135deg, #B31217 0%, #E52D27 100%); }
.jc-thumb-fishing      { background: linear-gradient(135deg, #1CB5E0 0%, #000851 100%); }
.jc-thumb-default      { background: linear-gradient(135deg, #3B4371 0%, #F3904F 100%); }

/* Game icon overlay on thumbnail */
.jc-game-icon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    opacity: 0.9;
}

.jc-game-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

.jc-badge-hot  { background: #EF4444; color: #fff; }
.jc-badge-new  { background: var(--jc-green); color: #000; }
.jc-badge-popular { background: var(--jc-gold); color: #000; }
.jc-badge-live { background: #6C5CE7; color: #fff; }

.jc-game-players {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(0,0,0,0.6);
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 9px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
    z-index: 2;
}

.jc-game-players i { font-size: 7px; color: var(--jc-green); }

.jc-game-name {
    padding: 6px 6px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--jc-text);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== CATEGORY TABS ===== */
.jc-cat-tabs {
    display: flex;
    gap: 6px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 12px;
}

.jc-cat-tabs::-webkit-scrollbar { display: none; }

.jc-cat-tab {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    border: 1.5px solid var(--jc-border);
    background: var(--jc-card);
    color: var(--jc-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
}

.jc-cat-tab:hover,
.jc-cat-tab.active {
    background: var(--jc-gradient);
    border-color: transparent;
    color: #fff;
}

.jc-cat-count {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 1px 5px;
    font-size: 10px;
}

/* ===== MAIN CONTAINER ===== */
.jc-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0 16px;
}

/* ===== HERO BANNER ===== */
.jc-hero {
    background: linear-gradient(135deg, #1C2640 0%, #0C1220 100%);
    margin: 0;
    padding: 20px 16px;
    position: relative;
    overflow: hidden;
}

.jc-hero::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(108,92,231,0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.jc-hero::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -30px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(108,92,231,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.jc-hero-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.jc-hero-title span {
    background: var(--jc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.jc-hero-sub {
    color: var(--jc-muted);
    font-size: 13px;
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.jc-hero-btns {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    position: relative;
    z-index: 1;
}

.jc-btn-primary {
    flex: 1;
    padding: 12px 0;
    background: var(--jc-btn);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108,92,231,0.35);
    transition: opacity 0.2s;
}

.jc-btn-primary:hover { opacity: 0.9; color: #fff; }

.jc-btn-outline {
    flex: 1;
    padding: 12px 0;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.2s;
}

.jc-btn-outline:hover { border-color: var(--jc-pink); color: var(--jc-pink); }

/* ===== STATS TICKER ===== */
.jc-ticker {
    background: var(--jc-card);
    border-bottom: 1px solid var(--jc-border);
    overflow: hidden;
    height: 34px;
    display: flex;
    align-items: center;
}

.jc-ticker-label {
    flex-shrink: 0;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--jc-pink);
    border-right: 1px solid var(--jc-border);
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--jc-card2);
}

.jc-ticker-scroll {
    display: flex;
    animation: jcTicker 20s linear infinite;
    padding-left: 16px;
    white-space: nowrap;
}

.jc-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 30px;
    font-size: 12px;
    color: var(--jc-text);
}

.jc-ticker-win { color: var(--jc-green); font-weight: 700; }

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

/* ===== PAYMENT METHODS ===== */
.jc-payments {
    padding: 12px 16px;
    background: var(--jc-card);
    margin: 8px 12px;
    border-radius: var(--jc-radius);
    border: 1px solid var(--jc-border);
}

.jc-payments-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--jc-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.jc-pay-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.jc-pay-icon {
    padding: 6px 12px;
    background: var(--jc-card2);
    border: 1px solid var(--jc-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--jc-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.jc-pay-icon i { color: var(--jc-gold); }
.jc-pay-icon.upi i { color: #00BAF2; }
.jc-pay-icon.paytm i { color: #002970; }

/* ===== RECENT WINS ===== */
.jc-wins {
    padding: 0 12px;
    margin-bottom: 8px;
}

.jc-win-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--jc-card);
    border-radius: var(--jc-radius-sm);
    margin-bottom: 4px;
    border: 1px solid var(--jc-border);
}

.jc-win-avatar {
    width: 28px;
    height: 28px;
    background: var(--jc-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.jc-win-user { flex: 1; font-size: 12px; font-weight: 600; color: var(--jc-text); }
.jc-win-game { font-size: 10px; color: var(--jc-muted); }
.jc-win-amount { font-size: 13px; font-weight: 800; color: var(--jc-green); }

/* ===== BONUS BANNER ===== */
.jc-bonus-card {
    margin: 8px 12px;
    background: linear-gradient(135deg, #1E2145 0%, #2D1B4E 100%);
    border: 1px solid rgba(108,92,231,0.25);
    border-radius: var(--jc-radius);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.jc-bonus-card::before {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(108,92,231,0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.jc-bonus-crown {
    font-size: 28px;
    margin-bottom: 4px;
}

.jc-bonus-title {
    font-size: 22px;
    font-weight: 900;
    background: var(--jc-header-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.jc-bonus-sub {
    font-size: 12px;
    color: var(--jc-muted);
    margin-bottom: 12px;
}

.jc-bonus-tiers {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.jc-tier {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--jc-border);
    border-radius: 8px;
    padding: 8px 6px;
    text-align: center;
}

.jc-tier-pct {
    font-size: 18px;
    font-weight: 900;
    color: var(--jc-gold);
    display: block;
}

.jc-tier-label { font-size: 10px; color: var(--jc-muted); display: block; margin-top: 2px; }

.jc-bonus-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--jc-btn);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3);
    position: relative;
    z-index: 1;
}

/* ===== REFERRAL SECTION ===== */
.jc-referral {
    margin: 8px 12px;
    background: linear-gradient(135deg, #0A3D62 0%, #1E3A5F 100%);
    border: 1px solid rgba(78,202,255,0.2);
    border-radius: var(--jc-radius);
    padding: 16px;
}

.jc-referral-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.jc-referral-sub {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.jc-referral-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.jc-referral-table th {
    background: rgba(0,0,0,0.3);
    padding: 8px;
    color: var(--jc-blue);
    font-weight: 700;
    text-align: center;
}

.jc-referral-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff;
}

.jc-referral-table tr:last-child td { border-bottom: none; }

.jc-referral-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(90deg, #0052D4, #4364F7, #6FB1FC);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
}

/* ===== TRUST BADGES ===== */
.jc-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
}

.jc-trust-item {
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-sm);
    padding: 10px 6px;
    text-align: center;
}

.jc-trust-icon {
    font-size: 20px;
    color: var(--jc-purple);
    margin-bottom: 4px;
}

.jc-trust-label { font-size: 9px; color: var(--jc-muted); font-weight: 600; line-height: 1.3; }

/* ===== LOGIN PAGE ===== */
.jc-auth-page {
    min-height: 100vh;
    background: var(--jc-bg);
    padding: 0;
}

.jc-auth-header {
    background: var(--jc-header-bg);
    padding: 20px 20px 30px;
    text-align: center;
    position: relative;
}

.jc-auth-header-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.jc-auth-header-sub { font-size: 13px; color: rgba(255,255,255,0.8); }

.jc-auth-logo {
    display: block;
    margin: 0 auto 12px;
}

.jc-auth-body {
    background: var(--jc-card);
    margin: -12px 0 0;
    border-radius: 20px 20px 0 0;
    padding: 24px 20px;
    min-height: calc(100vh - 140px);
}

.jc-form-group { margin-bottom: 16px; }

.jc-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--jc-muted);
    margin-bottom: 8px;
}

.jc-form-label i { color: var(--jc-purple); font-size: 16px; }

.jc-input-wrap {
    display: flex;
    align-items: center;
    background: var(--jc-card2);
    border: 1.5px solid var(--jc-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.jc-input-wrap:focus-within { border-color: var(--jc-purple); }

.jc-input-prefix {
    padding: 0 12px;
    color: var(--jc-muted);
    font-size: 13px;
    font-weight: 600;
    border-right: 1px solid var(--jc-border);
    height: 46px;
    display: flex;
    align-items: center;
    background: var(--jc-card3);
    flex-shrink: 0;
}

.jc-input-prefix i { font-size: 18px; }

.jc-form-control {
    flex: 1;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: var(--jc-text) !important;
    font-size: 14px;
    outline: none;
    width: 100%;
    min-width: 0;
}

.jc-form-control::placeholder { color: var(--jc-muted); }

.jc-form-control option { background: var(--jc-card2); color: var(--jc-text); }

.jc-eye-btn {
    background: none;
    border: none;
    color: var(--jc-muted);
    padding: 0 12px;
    cursor: pointer;
    font-size: 16px;
    height: 46px;
    display: flex;
    align-items: center;
}

.jc-eye-btn:hover { color: var(--jc-text); }

.jc-phone-row {
    display: flex;
    align-items: center;
    background: var(--jc-card2);
    border: 1.5px solid var(--jc-border);
    border-radius: 10px;
    overflow: hidden;
}

.jc-phone-row:focus-within { border-color: var(--jc-purple); }

.jc-dial-select {
    width: 80px;
    background: var(--jc-card3);
    border: none;
    border-right: 1px solid var(--jc-border);
    color: var(--jc-text);
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    outline: none;
    -webkit-appearance: none;
    flex-shrink: 0;
}

.jc-invite-field {
    background: var(--jc-card2);
    border: 1.5px solid var(--jc-border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--jc-text);
    font-size: 14px;
    width: 100%;
    outline: none;
    border-color: rgba(108,92,231,0.25);
    background: rgba(108,92,231,0.05);
}

.jc-invite-field:focus { border-color: var(--jc-purple); }

.jc-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.jc-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--jc-purple);
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.jc-checkbox-label {
    font-size: 12px;
    color: var(--jc-muted);
    line-height: 1.5;
}

.jc-checkbox-label a { color: var(--jc-blue); text-decoration: none; }

.jc-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--jc-btn);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(108,92,231,0.35);
    transition: opacity 0.2s;
    display: block;
    text-align: center;
    text-decoration: none;
}

.jc-submit-btn:hover { opacity: 0.9; color: #fff; }

.jc-login-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--jc-text);
    border: 1.5px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s;
}

.jc-login-btn:hover { border-color: var(--jc-purple); color: var(--jc-text); }

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

.jc-divider-line { flex: 1; height: 1px; background: var(--jc-border); }
.jc-divider-text { font-size: 12px; color: var(--jc-muted); }

.jc-forgot {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 16px;
}

.jc-forgot a { font-size: 12px; color: var(--jc-blue); text-decoration: none; }

.jc-reg-toggle {
    display: flex;
    background: var(--jc-card2);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 16px;
}

.jc-reg-tab {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--jc-muted);
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.jc-reg-tab.active {
    background: var(--jc-gradient);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108,92,231,0.3);
}

/* ===== FORMS (existing, fix colors) ===== */
.form-control,
.form--control,
select.form-control,
input.form-control {
    background: var(--jc-card2) !important;
    border: 1.5px solid var(--jc-border) !important;
    color: var(--jc-text) !important;
    border-radius: 10px !important;
}

.form-control:focus,
input.form-control:focus {
    background: var(--jc-card2) !important;
    border-color: var(--jc-purple) !important;
    color: var(--jc-text) !important;
    box-shadow: 0 0 0 3px rgba(108,92,231,0.15) !important;
}

.input-group-text {
    background: var(--jc-card3) !important;
    border: 1.5px solid var(--jc-border) !important;
    color: var(--jc-muted) !important;
    border-right: none !important;
}

label, .form-label { color: var(--jc-muted) !important; font-size: 13px; font-weight: 600; }

.cmn-btn {
    background: var(--jc-btn) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    padding: 12px 20px !important;
    box-shadow: 0 4px 15px rgba(108,92,231,0.3) !important;
}

/* ===== LOGIN/REGISTER PAGE WRAPPERS ===== */
.login-section, .registration-section {
    background: var(--jc-bg) !important;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: 0 !important;
}

.login-area, .registration-area {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
    background: transparent !important;
}

.login-area-inner, .registration-area-inner {
    background: transparent !important;
    padding: 20px !important;
    box-shadow: none !important;
    border: none !important;
}

/* ===== INNER PAGES ===== */
.jc-page-header {
    background: var(--jc-header-bg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jc-page-header-back {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; text-decoration: none;
    flex-shrink: 0;
}

.jc-page-header-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    flex: 1;
}

.jc-page-header-action {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
    text-decoration: none;
}

/* ===== CARD COMPONENT ===== */
.jc-card {
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius);
    padding: 16px;
    margin: 0 12px 12px;
}

.jc-card-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--jc-text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jc-card-title i { color: var(--jc-pink); }

/* ===== DEPOSIT PAGE STYLES ===== */
.jc-balance-display {
    background: linear-gradient(135deg, #1C2640, #2D1B4E);
    border-radius: var(--jc-radius);
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(108,92,231,0.2);
}

.jc-balance-label { font-size: 12px; color: var(--jc-muted); margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.jc-balance-label i { color: var(--jc-gold); font-size: 14px; }
.jc-balance-value { font-size: 32px; font-weight: 900; color: #fff; display: flex; align-items: center; gap: 8px; }
.jc-balance-refresh { color: var(--jc-muted); font-size: 16px; cursor: pointer; }

.jc-gw-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 16px;
}

.jc-gw-grid::-webkit-scrollbar { display: none; }

.jc-gw-item {
    flex-shrink: 0;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.jc-gw-icon {
    width: 52px; height: 52px;
    background: var(--jc-card2);
    border: 2px solid var(--jc-border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    transition: all 0.2s;
}

.jc-gw-item.active .jc-gw-icon,
.jc-gw-item:hover .jc-gw-icon {
    border-color: var(--jc-purple);
    background: rgba(108,92,231,0.15);
}

.jc-gw-label { font-size: 10px; color: var(--jc-muted); font-weight: 600; text-align: center; }

.jc-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.jc-amount-pill {
    padding: 10px;
    background: var(--jc-card2);
    border: 1.5px solid var(--jc-border);
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--jc-text);
    cursor: pointer;
    transition: all 0.2s;
}

.jc-amount-pill:hover,
.jc-amount-pill.active {
    border-color: var(--jc-pink);
    background: rgba(108,92,231,0.1);
    color: var(--jc-pink);
}

/* ===== TABLE STYLES ===== */
.table { background: transparent !important; color: var(--jc-text) !important; }
.table th { background: var(--jc-card2) !important; color: var(--jc-muted) !important; border-color: var(--jc-border) !important; font-size: 12px !important; }
.table td { background: transparent !important; color: var(--jc-text) !important; border-color: var(--jc-border) !important; font-size: 13px !important; }
.table-bordered { border-color: var(--jc-border) !important; }

/* ===== BADGES / STATUS ===== */
.badge-success, .badge.bg-success { background: var(--jc-green) !important; }
.badge-danger, .badge.bg-danger { background: var(--jc-red) !important; }
.badge-warning, .badge.bg-warning { background: var(--jc-gold) !important; color: #000 !important; }
.text--success, .text-success { color: var(--jc-green) !important; }
.text--danger, .text-danger { color: var(--jc-red) !important; }
.text--base, a.text--base { color: var(--jc-pink) !important; }

/* ===== ALERT / NOTIFICATION ===== */
.alert { border-radius: 10px !important; border: 1px solid var(--jc-border) !important; }
.alert-success { background: rgba(16,212,142,0.1) !important; color: var(--jc-green) !important; border-color: rgba(16,212,142,0.3) !important; }
.alert-danger { background: rgba(239,68,68,0.1) !important; color: #ef4444 !important; }

/* ===== MODAL ===== */
.modal-content { background: var(--jc-card) !important; border: 1px solid var(--jc-border) !important; border-radius: var(--jc-radius) !important; color: var(--jc-text) !important; }
.modal-header { border-color: var(--jc-border) !important; }
.modal-footer { border-color: var(--jc-border) !important; }

/* ===== GAMES LIST PAGE ===== */
.games-section, .game-list-section { background: transparent !important; }

/* ===== SELECT2 ===== */
.select2-container--default .select2-selection--single {
    background: var(--jc-card2) !important;
    border-color: var(--jc-border) !important;
    color: var(--jc-text) !important;
}

.select2-dropdown { background: var(--jc-card2) !important; border-color: var(--jc-border) !important; }
.select2-results__option { color: var(--jc-text) !important; }
.select2-results__option--highlighted { background: var(--jc-purple) !important; }

/* ===== VIP PROGRESS ===== */
.jc-vip {
    margin: 0 12px 8px;
    background: linear-gradient(135deg, #1C2640, var(--jc-card));
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius);
    padding: 14px;
}

.jc-vip-level {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.jc-vip-badge {
    background: var(--jc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    font-weight: 900;
}

.jc-vip-next { font-size: 11px; color: var(--jc-muted); }

.jc-progress {
    height: 6px;
    background: var(--jc-card2);
    border-radius: 3px;
    overflow: hidden;
}

.jc-progress-bar {
    height: 100%;
    background: var(--jc-gradient);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 481px) {
    .jc-container { max-width: 480px; }
    .jc-bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); }
}

/* ===== ANIMATIONS ===== */
.jc-fade-in {
    animation: jcFadeIn 0.4s ease both;
}

@keyframes jcFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== DARK OVERRIDE FOR INNER PAGES ===== */
.section--bg, .bg-dark, .bg-base { background: var(--jc-card) !important; }

.dashboard-section,
.deposit-section, .withdraw-section,
.transaction-section, .game-log-section,
.referral-section, .profile-section {
    background: var(--jc-bg) !important;
    min-height: 100vh;
    padding: 0 !important;
}

/* Make containers full-width on mobile */
@media (max-width: 576px) {
    .container { max-width: 100% !important; padding: 0 12px !important; }
    .row { margin: 0 !important; }
    [class*="col-"] { padding: 0 4px !important; }
}

/* ===== DASHBOARD CARDS ===== */
.dashboard-card-wrap { padding: 12px; }

.jc-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px;
}

.jc-stat-card {
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-sm);
    padding: 14px;
    text-align: center;
}

.jc-stat-icon { font-size: 24px; margin-bottom: 6px; }
.jc-stat-value { font-size: 18px; font-weight: 900; color: var(--jc-text); }
.jc-stat-label { font-size: 11px; color: var(--jc-muted); margin-top: 2px; }

/* ===== FIX BREADCRUMB ===== */
.inner-hero { display: none !important; }

/* ============================================================
   PHASE 3: HOMEPAGE REDESIGN STYLES
   ============================================================ */

/* ===== BANNER CAROUSEL ===== */
.jc-banner-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.jc-banner-track {
    display: flex;
    transition: transform 0.4s ease;
}

.jc-banner-slide {
    flex-shrink: 0;
    width: 100%;
    min-width: 100%;
}

.jc-banner-img {
    width: 100%;
    min-height: 140px;
    border-radius: 0;
}

.jc-banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
}

.jc-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.jc-banner-dot.active {
    background: var(--jc-gold);
    width: 20px;
    border-radius: 4px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.jc-announcement-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin: 8px 12px;
    background: var(--jc-card);
    border-radius: var(--jc-radius-sm);
    border: 1px solid var(--jc-border);
}

.jc-announce-icon {
    flex-shrink: 0;
    color: var(--jc-gold);
    font-size: 16px;
}

.jc-announce-scroll {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.jc-announce-text {
    display: inline-block;
    font-size: 12px;
    color: var(--jc-muted);
    animation: jcScrollText 20s linear infinite;
}

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

.jc-announce-detail {
    flex-shrink: 0;
    background: linear-gradient(90deg, #6C5CE7, #4834D4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    text-decoration: none;
}

/* ===== UPDATED CATEGORY TABS (pill style, scrollable) ===== */
.jc-cat-tabs-wrap {
    padding: 12px 12px 0;
}

.jc-cat-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    border: 1.5px solid rgba(255,255,255,0.12);
    background: var(--jc-card2);
    color: var(--jc-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.jc-cat-tab-icon { font-size: 16px; }
.jc-cat-tab-label { font-size: 13px; }

.jc-cat-tab:hover,
.jc-cat-tab.active {
    background: linear-gradient(135deg, #6C5CE7, #4834D4);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 12px rgba(108,92,231,0.4);
}

/* ===== SECTION HEADER (with purple bar) ===== */
.jc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 8px;
}

.jc-section-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--jc-text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.jc-section-title-bar {
    width: 4px;
    height: 18px;
    background: var(--jc-gradient);
    border-radius: 2px;
    display: inline-block;
}

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

.jc-game-count {
    font-size: 12px;
    color: var(--jc-muted);
    font-weight: 600;
}

.jc-section-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--jc-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.jc-section-all:hover { color: var(--jc-gold); }

/* ===== CATEGORY SECTIONS ===== */
.jc-cat-section { /* visible by default */ }
.jc-hidden { display: none !important; }

.jc-coming-soon {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
}

/* ===== GAME CARD (updated) ===== */
.jc-game-card {
    text-decoration: none;
    color: var(--jc-text);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: var(--jc-card);
    transition: transform 0.15s;
    border: 1px solid rgba(255,255,255,0.06);
}

.jc-game-card:hover { transform: scale(0.97); color: var(--jc-text); }

.jc-game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--jc-card2);
}

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

.jc-game-icon-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jc-card2);
    font-size: 28px;
    font-weight: 900;
    color: var(--jc-muted);
}

.jc-game-name {
    padding: 6px 6px 8px;
    font-size: 10px;
    font-weight: 700;
    color: var(--jc-text);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

/* ===== WINNING INFO HORIZONTAL SCROLL ===== */
.jc-winning-scroll-wrap {
    overflow: hidden;
    padding: 0 12px;
}

.jc-winning-scroll {
    display: flex;
    gap: 8px;
    animation: jcWinScroll 25s linear infinite;
}

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

.jc-winning-card {
    flex-shrink: 0;
    width: 130px;
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-sm);
    padding: 10px 8px;
    text-align: center;
}

.jc-winning-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 4px;
    background: var(--jc-card2);
}

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

.jc-winning-name {
    font-size: 10px;
    color: var(--jc-muted);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jc-winning-badge {
    display: inline-block;
    background: linear-gradient(90deg, #FF6B6B, #FF3333);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 3px;
    margin: 3px 0;
    letter-spacing: 0.5px;
}

.jc-winning-amount {
    font-size: 10px;
    color: var(--jc-muted);
    line-height: 1.3;
}

.jc-winning-amount span {
    color: var(--jc-gold);
    font-weight: 800;
    font-size: 12px;
}

/* ===== EARNINGS CHART ===== */
.jc-earnings-card {
    margin: 0 12px;
    background: linear-gradient(180deg, #2d1b69 0%, #1a1a4e 40%, var(--jc-card) 100%);
    border-radius: var(--jc-radius);
    border: 1px solid var(--jc-border);
    overflow: hidden;
}

/* Podium */
.jc-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 12px 0;
    gap: 0;
}

.jc-podium-item {
    flex: 1;
    text-align: center;
    max-width: 120px;
}

.jc-podium-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--jc-card2);
    margin: 0 auto 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--jc-muted);
    border: 2px solid rgba(255,255,255,0.1);
}

.jc-podium-avatar-1 {
    width: 54px;
    height: 54px;
    font-size: 34px;
    border-color: var(--jc-gold);
}

.jc-podium-name {
    font-size: 10px;
    color: var(--jc-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.jc-podium-amount {
    font-size: 10px;
    color: var(--jc-gold);
    font-weight: 700;
    margin-bottom: 6px;
}

.jc-podium-amount-1 { font-size: 12px; }

.jc-podium-block {
    padding: 12px 0 8px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: 900;
    color: rgba(255,255,255,0.5);
}

.jc-podium-block span { display: block; }

.jc-podium-block-1 {
    background: linear-gradient(180deg, #FFD700 0%, #B8860B 100%);
    color: rgba(255,255,255,0.8);
    padding: 18px 0 12px;
}

.jc-podium-block-2 {
    background: linear-gradient(180deg, #C0C0C0 0%, #808080 100%);
    color: rgba(255,255,255,0.6);
}

.jc-podium-block-3 {
    background: linear-gradient(180deg, #CD7F32 0%, #8B4513 100%);
    color: rgba(255,255,255,0.6);
}

/* Earnings List */
.jc-earnings-list {
    padding: 8px 0;
}

.jc-earnings-row {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
}

.jc-earnings-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--jc-card2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--jc-gold);
    border: 1px solid rgba(255,167,38,0.3);
}

.jc-earnings-avatar-sm {
    font-size: 24px;
    color: var(--jc-muted);
}

.jc-earnings-name {
    flex: 1;
    font-size: 13px;
    color: var(--jc-text);
    font-weight: 600;
}

.jc-earnings-amt {
    font-size: 13px;
    color: var(--jc-gold);
    font-weight: 800;
}

/* ===== PROVIDER LOGOS GRID ===== */
.jc-providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 12px 16px;
}

.jc-provider-card {
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-sm);
    padding: 14px 8px;
    text-align: center;
    transition: border-color 0.2s;
}

.jc-provider-card:hover { border-color: rgba(108,92,231,0.4); }

.jc-provider-text {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* ===== HOME FOOTER ===== */
.jc-home-footer {
    padding: 16px 16px 24px;
    border-top: 1px solid var(--jc-border);
}

.jc-home-footer p {
    font-size: 12px;
    color: var(--jc-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.jc-footer-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6C5CE7;
    margin-right: 6px;
    vertical-align: middle;
}

.jc-footer-warning {
    color: var(--jc-red) !important;
    font-size: 11px !important;
    margin-top: 12px !important;
}

/* ===== FIRST DEPOSIT POPUP (exact competitor match) ===== */
.jc-fdp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.jc-fdp-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-height: 90vh;
}

.jc-fdp-card {
    background: #2A2D47;
    border-radius: 14px;
    width: 100%;
    max-width: 360px;
    max-height: 75vh;
    overflow-y: auto;
    border: 1px solid rgba(108,92,231,0.25);
}

.jc-fdp-header {
    padding: 18px 16px 8px;
    text-align: center;
}

.jc-fdp-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
}

.jc-fdp-subtitle {
    font-size: 12px;
    color: #9BA4B8;
    margin-top: 4px;
}

.jc-fdp-tiers {
    padding: 0 16px;
}

.jc-fdp-tier {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.jc-fdp-tier:last-child { border-bottom: none; }

.jc-fdp-tier-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.jc-fdp-tier-label {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.jc-fdp-label-text {
    font-size: 14px;
    font-weight: 700;
    color: #FFA726;
}

.jc-fdp-label-amount {
    font-size: 14px;
    font-weight: 800;
    color: #FFA726;
}

.jc-fdp-tier-bonus {
    font-size: 14px;
    font-weight: 800;
    color: #FFA726;
}

.jc-fdp-tier-desc {
    font-size: 11px;
    color: #9BA4B8;
    line-height: 1.5;
    margin-bottom: 8px;
}

.jc-fdp-tier-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jc-fdp-progress {
    flex: 1;
    height: 20px;
    background: #1a1c30;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.jc-fdp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6C5CE7, #4834D4);
    border-radius: 10px;
    transition: width 0.3s;
}

.jc-fdp-progress-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.jc-fdp-deposit-btn {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 6px;
    border: 1.5px solid #FFA726;
    color: #FFA726;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.jc-fdp-deposit-btn:hover {
    background: #FFA726;
    color: #000;
}

.jc-fdp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.jc-fdp-noremind {
    font-size: 12px;
    color: #9BA4B8;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.jc-fdp-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #9BA4B8;
    display: inline-block;
    transition: all 0.2s;
    position: relative;
}

.jc-fdp-radio.checked {
    border-color: #6C5CE7;
    background: #6C5CE7;
}

.jc-fdp-radio.checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: 900;
}

.jc-fdp-activity-btn {
    display: inline-block;
    padding: 8px 28px;
    background: linear-gradient(90deg, #FF6B6B, #FF3D3D);
    color: #fff;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s;
}

.jc-fdp-activity-btn:hover { opacity: 0.9; color: #fff; }

.jc-fdp-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* ============================================================
   PHASE 4: ACTIVITY / PROMOTION HUB
   ============================================================ */

/* Header Banner */
.jc-activity-header {
    background: linear-gradient(135deg, #6C5CE7 0%, #4834D4 40%, #2D1F8E 100%);
    border-radius: 0 0 16px 16px;
    padding: 20px 16px;
    text-align: center;
}

.jc-activity-logo {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

.jc-activity-logo span {
    color: #FFA726;
}

.jc-activity-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 12px;
}

.jc-activity-stat {
    flex: 1;
    text-align: center;
}

.jc-activity-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.25);
}

.jc-activity-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.jc-activity-stat-value {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-top: 2px;
}

.jc-activity-bonus-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 28px;
    border-radius: 22px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.jc-activity-bonus-btn:hover {
    background: rgba(0,0,0,0.5);
    color: #fff;
}

/* Quick Icon Grid */
.jc-activity-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 16px 12px 8px;
    justify-content: flex-start;
}

.jc-activity-icon-item {
    width: calc(25% - 3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 8px 0;
}

.jc-activity-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.jc-activity-icon-item span {
    font-size: 10px;
    color: var(--jc-muted);
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Two-Column Promo Cards */
.jc-activity-duo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px 12px;
}

.jc-activity-duo-card {
    background: var(--jc-card);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--jc-text);
    border: 1px solid var(--jc-border);
    transition: transform 0.15s;
}

.jc-activity-duo-card:hover {
    transform: scale(0.98);
    color: var(--jc-text);
}

.jc-activity-duo-img {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.jc-activity-duo-title {
    font-size: 14px;
    font-weight: 800;
    padding: 8px 10px 2px;
}

.jc-activity-duo-desc {
    font-size: 11px;
    color: var(--jc-muted);
    padding: 0 10px 10px;
    line-height: 1.4;
}

/* Full-Width Promo Banners */
.jc-activity-promos {
    padding: 4px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jc-activity-promo-card {
    background: var(--jc-card);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--jc-text);
    border: 1px solid var(--jc-border);
    transition: transform 0.15s;
}

.jc-activity-promo-card:hover {
    transform: scale(0.99);
    color: var(--jc-text);
}

.jc-activity-promo-img {
    min-height: 130px;
    padding: 16px;
    position: relative;
}

.jc-promo-badge {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 10px;
    font-weight: 800;
    color: #FFA726;
    letter-spacing: 1px;
}

.jc-activity-promo-label {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 800;
    color: var(--jc-text);
}

/* ============================================================
   PHASE 5: WALLET SYSTEM
   ============================================================ */

.jc-wallet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--jc-card);
    border-bottom: 1px solid var(--jc-border);
}

.jc-wallet-back {
    color: var(--jc-text);
    font-size: 18px;
    text-decoration: none;
    width: 30px;
}

.jc-wallet-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--jc-text);
}

/* Balance Card */
.jc-wallet-balance-card {
    background: linear-gradient(135deg, #6C5CE7 0%, #4ECAFF 50%, #a78bfa 100%);
    margin: 0;
    padding: 24px 16px 20px;
    text-align: center;
    border-radius: 0 0 16px 16px;
}

.jc-wallet-icon {
    font-size: 28px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 4px;
}

.jc-wallet-total {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
}

.jc-wallet-total-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    margin-bottom: 16px;
}

.jc-wallet-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.jc-wallet-stat-item { text-align: center; }

.jc-wallet-stat-val {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.jc-wallet-stat-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

/* Circles Card */
.jc-wallet-circles-card {
    background: var(--jc-card);
    margin: 12px 12px 0;
    border-radius: var(--jc-radius);
    padding: 20px 16px;
    border: 1px solid var(--jc-border);
}

.jc-wallet-circles {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 16px;
}

.jc-wallet-circle-item { text-align: center; }

.jc-wallet-circle {
    width: 80px;
    height: 80px;
    position: relative;
    margin: 0 auto 8px;
}

.jc-wallet-circle svg {
    width: 100%;
    height: 100%;
}

.jc-wallet-circle-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--jc-text);
}

.jc-wallet-circle-amt {
    font-size: 14px;
    font-weight: 800;
    color: var(--jc-text);
}

.jc-wallet-circle-lbl {
    font-size: 11px;
    color: var(--jc-muted);
    font-weight: 600;
}

/* Transfer Button */
.jc-wallet-transfer-btn {
    width: 100%;
    padding: 12px 0;
    background: linear-gradient(90deg, #6C5CE7 0%, #4ECAFF 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: opacity 0.2s;
}

.jc-wallet-transfer-btn:hover { opacity: 0.9; }
.jc-wallet-transfer-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Quick Actions */
.jc-wallet-actions {
    display: flex;
    justify-content: space-around;
    padding: 16px 12px;
}

.jc-wallet-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--jc-muted);
    font-size: 11px;
    font-weight: 600;
}

.jc-wallet-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.jc-wallet-action span { text-align: center; line-height: 1.3; }

/* Sub-Wallets Grid */
.jc-wallet-subs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 12px 16px;
}

.jc-wallet-sub-card {
    background: var(--jc-card);
    border: 1px solid var(--jc-border);
    border-radius: var(--jc-radius-sm);
    padding: 14px 8px;
    text-align: center;
}

.jc-wallet-sub-bal {
    font-size: 15px;
    font-weight: 800;
    color: var(--jc-text);
}

.jc-wallet-sub-name {
    font-size: 11px;
    color: var(--jc-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* ===== BOTTOM NAV (updated styling) ===== */
.jc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    background: linear-gradient(180deg, #1E2145 0%, #191B2F 100%);
    border-top: 1px solid var(--jc-border);
    padding: 6px 0 8px;
    z-index: 999;
}

.jc-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--jc-muted);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 0;
    transition: color 0.2s;
}

.jc-nav-item i { font-size: 22px; }

.jc-nav-item.active,
.jc-nav-item:hover { color: var(--jc-gold); }

.jc-nav-promo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--jc-muted);
    font-size: 10px;
    font-weight: 700;
    position: relative;
    margin-top: -18px;
}

.jc-nav-promo-orb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6C5CE7 0%, #4834D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(108,92,231,0.5);
    border: 3px solid var(--jc-bg);
}

/* ===== JAI ASSETS ICON UPDATES ===== */
.jc-nav-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    filter: grayscale(30%) brightness(0.7);
    transition: filter 0.2s;
}
.jc-nav-item.active .jc-nav-icon,
.jc-nav-item:hover .jc-nav-icon {
    filter: grayscale(0%) brightness(1.1);
}
.jc-cat-tab-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
    filter: grayscale(50%) brightness(0.7);
    transition: filter 0.2s;
}
.jc-cat-tab.active .jc-cat-tab-icon img,
.jc-cat-tab:hover .jc-cat-tab-icon img {
    filter: grayscale(0%) brightness(1.2);
}
.jc-nav-promo-orb img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* ===== PODIUM CROWN ICONS ===== */
.jc-podium-crown {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px;
}
.jc-podium-crown-1 {
    width: 34px;
    height: 34px;
}

/* ===== IMAGE-BASED TAB BUTTONS (Slots/PVC/Casino/Sports) ===== */
.jc-tab-img-btn {
    padding: 4px 8px !important;
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.12) !important;
}
.jc-tab-img-btn.active,
.jc-tab-img-btn:hover {
    background: rgba(108,92,231,0.15) !important;
    border-color: #6C5CE7 !important;
    box-shadow: 0 2px 12px rgba(108,92,231,0.3) !important;
}
