@charset "UTF-8";
:root {
    --color-primary: 255, 122, 0; /* #FF7A00 Primary Orange */
    --color-primary-hex: #FF7A00;
    --color-primary-deep: #F45100;
    --color-primary-golden: #FFA800;
    --color-primary-light: #FFE0B2;
    --color-secondary: 24, 189, 235; /* #18BDEB Cyan Blue */
    --color-text-primary: 51, 51, 51; /* #333333 */
    --color-text-secondary: 133, 133, 133; /* #858585 */
    --color-text-muted: 133, 133, 133; /* #858585 */
    --color-background-primary: 245, 242, 245; /* #F5F2F5 Main Screen Background */
    --color-background-primary-200: 255, 255, 255; /* #FFFFFF Cards */
    --color-background-primary-300: 245, 242, 245; /* #F5F2F5 Sub-cards */
    --color-background-primary-400: 232, 229, 232; /* #E8E5E8 Dividers */
    --color-border: #E8E5E8;
    --color-border-focus: #FF7A00;
    --color-danger: 245, 45, 79; /* #F52D4F */
    --color-warning: 255, 196, 0; /* #FFC400 */
    --color-success: 32, 200, 90; /* #20C85A */
    --color-success-light: #8BE000;
    --color-success-text: #3D9878;
    --color-violet: #7424D9;
    --color-purple-accent: #B54BEA;
    --color-cyan: #18BDEB;
    --color-yellow: #FFC400;
    --color-white: #FFFFFF;

    /* Named gradients */
    --gradient-primary: linear-gradient(90deg, #FF8A00, #FF5200);
    --gradient-reward: linear-gradient(90deg, #FFB000, #FF7900);
    --gradient-category-blue: linear-gradient(90deg, #12BDEB, #40C8F2);
    --gradient-category-green: linear-gradient(90deg, #20C85A, #8BE000);

    --font-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --header-height: 60px;
    --bottom-nav-height: 64px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 10px;
    background-color: #F5F2F5;
    color: #333333;
    min-height: 100vh;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: #F5F2F5;
    color: #333333;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: calc(var(--bottom-nav-height) + 12px);
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 481px) {
    body {
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
        border-left: 1px solid #E8E5E8;
        border-right: 1px solid #E8E5E8;
    }
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: none;
}

/* =========================================================
   APP UNIVERSAL HEADER
   ========================================================= */
.jack-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 480px;
    height: var(--header-height);
    background: linear-gradient(90deg, #FF8A00, #FF5200);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(255, 122, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    z-index: 1000;
}

@media (min-width: 481px) {
    .jack-header {
        left: 50%;
        transform: translateX(-50%);
    }
}

.jack-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.jack-brand-logo-text {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    text-shadow: none;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.jack-brand img {
    height: 40px;
    max-height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

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

.jack-search-trigger {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.jack-search-trigger:hover,
.jack-search-trigger:active {
    color: #FF7A00;
    background: #FFFFFF;
    border-color: #FFFFFF;
}

/* User Wallet Capsule with Adaptive Auto-sizing */
.jack-wallet-capsule {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 3px 4px 3px 12px;
    height: 38px;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.jack-wallet-amount {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
    font-weight: 700;
    color: #333333;
    letter-spacing: 0.1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.jack-wallet-amount .currency {
    color: #FF7A00;
    margin-right: 2px;
}

.jack-wallet-deposit-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(90deg, #FF8A00, #FF5200);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(255, 122, 0, 0.35);
    transition: transform 0.2s;
}

.jack-wallet-deposit-btn:active {
    transform: scale(0.92);
}

.jack-profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #FFFFFF;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.jack-profile-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Guest Action Buttons */
.jack-guest-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jack-btn-login {
    height: 38px;
    padding: 0 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.jack-btn-login:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #FFFFFF;
}

.jack-btn-register {
    height: 38px;
    padding: 0 18px;
    border-radius: 20px;
    background: #FFFFFF;
    color: #FF7A00;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.jack-btn-register:hover {
    background: #FFF5EC;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.jack-btn-register:active,
.jack-btn-login:active {
    transform: scale(0.96);
}

/* =========================================================
   BOTTOM NAVIGATION BAR (FLOATING GLASS PILL - EXACT REFERENCE)
   ========================================================= */
.jack-bottom-bar-wrap {
    position: fixed;
    bottom: 12px;
    left: 0;
    width: 100%;
    max-width: 480px;
    padding: 0 14px;
    z-index: 990;
    pointer-events: none;
}

@media (min-width: 481px) {
    .jack-bottom-bar-wrap {
        left: 50%;
        transform: translateX(-50%);
    }
}

.jack-bottom-bar {
    pointer-events: auto;
    width: 100%;
    height: 58px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid #E8E5E8;
    border-radius: 36px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jack-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    color: #858585;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    padding: 4px 0;
    text-decoration: none;
}

.jack-nav-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    transition: transform 0.2s ease, color 0.2s ease;
}

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

.jack-nav-item.active .jack-nav-icon {
    color: #FF7A00;
    transform: translateY(-1px);
}

.jack-nav-item:active {
    transform: scale(0.94);
}

/* =========================================================
   HERO BANNER & SLIDER
   ========================================================= */
.jack-hero-banner {
    position: relative;
    padding: 12px 14px 6px;
}

.jack-hero-slider-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    aspect-ratio: 16 / 9;
}

.jack-slider-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
}

.jack-slider-track:active {
    cursor: grabbing;
}

.jack-slider-track::-webkit-scrollbar {
    display: none;
}

.jack-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    pointer-events: none;
}

.jack-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.jack-slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.jack-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #E8E5E8;
    transition: all 0.25s ease;
    cursor: pointer;
}

.jack-dot.active {
    width: 20px;
    background: #FF7A00;
    box-shadow: none;
}

/* Slider Arrow Buttons */
.jack-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #E8E5E8;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.jack-slider-btn.prev { left: 10px; }
.jack-slider-btn.next { right: 10px; }
.jack-slider-btn:hover {
    background: #FF7A00;
    color: #FFFFFF;
    border-color: #FF7A00;
}

/* =========================================================
   SEARCH BAR & CATEGORY SELECTOR
   ========================================================= */
.jack-controls-section {
    padding: 8px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jack-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 50px;
    padding: 0 16px;
    transition: border-color 0.2s, background 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.jack-search-box:focus-within {
    border-color: #FF7A00;
    background: #FFFFFF;
    box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.15);
}

.jack-search-icon {
    color: #858585;
    font-size: 1.5rem;
    margin-right: 12px;
}

.jack-search-input {
    flex: 1;
    color: #333333;
    font-size: 1.35rem;
    font-weight: 500;
}

.jack-search-input::placeholder {
    color: #858585;
    font-size: 1.3rem;
}

.jack-search-clear {
    color: #858585;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px;
    display: none;
}

.jack-category-dropdown {
    position: relative;
    width: 100%;
}

.jack-category-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 18px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.jack-category-trigger:hover,
.jack-category-trigger.open {
    border-color: #FF7A00;
    background: #FFFFFF;
}

.jack-category-trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jack-category-trigger i.cat-icon {
    color: #FF7A00;
}

.jack-category-trigger i.arrow-icon {
    color: #858585;
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.jack-category-trigger.open i.arrow-icon {
    transform: rotate(180deg);
}

.jack-category-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 20px;
    padding: 8px;
    z-index: 100;
    display: none;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.jack-category-menu.show {
    display: flex;
}

.jack-cat-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #858585;
    cursor: pointer;
    transition: all 0.15s ease;
}

.jack-cat-opt:hover,
.jack-cat-opt.active {
    color: #FF7A00;
    background: #FFE0B2;
}

.jack-cat-opt .cat-opt-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jack-cat-opt .cat-badge {
    font-size: 1rem;
    padding: 2px 8px;
    border-radius: 12px;
    background: #FFE0B2;
    color: #F45100;
}

/* Category Horizontal Filter Chips */
.jack-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 14px 12px;
    scrollbar-width: none;
}
.jack-filter-chips::-webkit-scrollbar { display: none; }

.jack-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 30px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #858585;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.jack-chip:hover,
.jack-chip.active {
    background: linear-gradient(90deg, #FF8A00, #FF5200);
    border-color: #FF7A00;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

/* =========================================================
   LIVE TICKER & QUICK ACTIONS
   ========================================================= */
.jack-ticker {
    margin: 8px 16px 12px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 14px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.jack-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #FFE0B2;
    color: #F45100;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #FFA800;
    white-space: nowrap;
    flex-shrink: 0;
}

.jack-ticker-badge i {
    animation: jackPulse 1.2s infinite;
}

.jack-ticker-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    font-size: 1.2rem;
    color: #858585;
}

.jack-marquee {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: jackMarquee 30s linear infinite;
}

.jack-marquee span {
    color: #333333;
    font-weight: 500;
    margin-right: 28px;
}

.jack-marquee span b {
    color: #FF7A00;
    font-weight: 700;
}

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

.jack-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 16px 14px;
}

.jack-quick-card {
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 16px;
    padding: 10px 4px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.jack-quick-card:hover {
    border-color: #FF7A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 122, 0, 0.15);
}

.jack-quick-card:active {
    transform: scale(0.95);
}

.jack-quick-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    border: none;
}

.jack-quick-icon .jack-quick-3d-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.jack-quick-card:hover .jack-quick-3d-img {
    transform: scale(1.18) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
}

.jack-quick-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    letter-spacing: -0.1px;
}

/* =========================================================
   CLEAN & ELEGANT GAME CARDS (EXACT REFERENCE SITE STYLE)
   ========================================================= */
.jack-section-head {
    padding: 6px 16px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jack-section-back {
    color: #858585;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jack-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jack-games-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px 10px;
    padding: 0 16px 24px;
}

@media (max-width: 480px) {
    .jack-games-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px 8px !important;
        padding: 0 12px 20px !important;
    }
}

@media (max-width: 360px) {
    .jack-games-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px 6px !important;
        padding: 0 10px 18px !important;
    }
}

.jack-game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    cursor: pointer;
    background: transparent;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

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

.jack-game-card:active {
    transform: scale(0.95);
}

/* Rounded Artwork Thumbnail */
.jack-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    border: 1px solid #E8E5E8;
}

.jack-game-card.active .jack-card-thumb,
.jack-card-thumb.active {
    background: #FFE0B2;
    border-color: #FF7A00;
}

/* More Games Button (Clean Pill Below Grid) */
.jack-more-games-wrap {
    display: flex;
    justify-content: center;
    padding: 6px 16px 20px;
}

.jack-more-games-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 20px;
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    color: #333333;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.jack-more-games-btn i {
    font-size: 1.1rem;
    color: #858585;
    transition: color 0.2s ease, transform 0.2s ease;
}

.jack-more-games-btn:hover {
    background: linear-gradient(90deg, #FF8A00, #FF5200);
    color: #FFFFFF;
    border-color: #FF7A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.25);
}

.jack-more-games-btn:hover i {
    color: #FFFFFF;
    transform: translateX(2px);
}

.jack-more-games-btn:active {
    transform: scale(0.97);
}

.jack-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.jack-game-card:hover .jack-card-thumb img {
    transform: scale(1.08);
}

/* Badges: HOT, NEW, ORIGINAL */
.jack-card-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.jack-card-badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jack-card-badge.new {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.jack-card-badge.original {
    background: linear-gradient(135deg, #FF7A00 0%, #F45100 100%);
    color: #FFFFFF;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Minimal Title & Provider Below Image */
.jack-card-meta {
    padding: 6px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.jack-card-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.jack-card-provider-text {
    font-size: 1.05rem;
    color: #858585;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
   LIVE WINNERS FEED (EXACT JACKBIT STYLE)
   ========================================================= */
.jack-winners-card {
    margin: 10px 16px 20px;
    background: #FFFFFF;
    border: 1px solid #E8E5E8;
    border-radius: 20px;
    padding: 16px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.jack-winners-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.jack-winners-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jack-winners-title i {
    color: #FFA800;
    font-size: 1.5rem;
}

.jack-live-badge {
    font-size: 1rem;
    font-weight: 800;
    color: #F52D4F;
    background: #FFEBEF;
    border: 1px solid rgba(245, 45, 79, 0.3);
    padding: 3px 9px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.5px;
}

.jack-live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F52D4F;
    box-shadow: 0 0 6px #F52D4F;
    animation: jackPulse 1.2s infinite;
}

/* =========================================================
   TOP 3 WINNERS PODIUM
   ========================================================= */
.jack-top3-section {
    padding-bottom: 14px;
    border-bottom: 1px solid #E8E5E8;
    margin-bottom: 14px;
}

.jack-top3-podium {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 8px 6px 4px;
    gap: 8px;
}

.jack-top3-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.jack-top3-avatar-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.jack-top3-crown {
    width: 28px;
    height: 28px;
    margin-bottom: -6px;
    z-index: 3;
    filter: drop-shadow(0 2px 6px rgba(255, 168, 0, 0.5));
    animation: jackCrownFloat 2.4s ease-in-out infinite alternate;
}

@keyframes jackCrownFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-3px) scale(1.05); }
}

.jack-top3-avatar-ring {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F2F5;
    position: relative;
    overflow: hidden;
}

/* Rank 1 (Center) */
.jack-top3-item.rank-1 {
    order: 2;
    transform: translateY(-4px);
}

.jack-top3-item.rank-1 .jack-top3-avatar-ring {
    width: 68px;
    height: 68px;
    border: 2.5px solid #FFA800;
    box-shadow: 0 2px 10px rgba(255, 168, 0, 0.3);
}

.jack-top3-item.rank-1 .jack-top3-avatar {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.jack-top3-item.rank-1 .jack-top3-badge {
    background: linear-gradient(135deg, #FFA800, #F45100);
    color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.jack-top3-item.rank-1 .jack-top3-name {
    border-color: #FFA800;
    color: #F45100;
    background: #FFF5EC;
}

.jack-top3-item.rank-1 .jack-top3-amount {
    font-size: 1.3rem;
}

/* Rank 2 (Left) */
.jack-top3-item.rank-2 {
    order: 1;
}

.jack-top3-item.rank-2 .jack-top3-avatar-ring {
    width: 56px;
    height: 56px;
    border: 2px solid #CBD5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jack-top3-item.rank-2 .jack-top3-avatar {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.jack-top3-item.rank-2 .jack-top3-badge {
    background: linear-gradient(135deg, #E2E8F0, #94A3B8);
    color: #333333;
}

/* Rank 3 (Right) */
.jack-top3-item.rank-3 {
    order: 3;
}

.jack-top3-item.rank-3 .jack-top3-avatar-ring {
    width: 54px;
    height: 54px;
    border: 2px solid #F45100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jack-top3-item.rank-3 .jack-top3-avatar {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.jack-top3-item.rank-3 .jack-top3-badge {
    background: linear-gradient(135deg, #FFA800, #F45100);
    color: #FFFFFF;
}

/* Common Badge */
.jack-top3-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -6px;
    border: 2px solid #FFFFFF;
    z-index: 2;
}

.jack-top3-name {
    margin-top: 8px;
    padding: 3px 8px;
    background: #F5F2F5;
    border: 1px solid #E8E5E8;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333333;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.jack-top3-amount {
    margin-top: 4px;
    color: #20C85A;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-shadow: none;
    white-space: nowrap;
}

/* Recent Feed Sub-Header */
.jack-recent-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0 2px;
}

.jack-recent-subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #858585;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jack-recent-subtitle i {
    color: #FF7A00;
    font-size: 1.1rem;
}

.jack-rt-pill {
    font-size: 0.9rem;
    font-weight: 700;
    color: #858585;
    background: #F5F2F5;
    padding: 2px 7px;
    border-radius: 8px;
    letter-spacing: 0.4px;
}

@keyframes jackPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.35); }
}

.jack-winners-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jack-winner-row {
    display: flex;
    align-items: center;
    background: #F5F2F5;
    border-radius: 14px;
    padding: 9px 12px;
    gap: 12px;
    border: 1px solid #E8E5E8;
    transition: transform 0.3s ease;
}

.jack-winner-thumb {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.jack-winner-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jack-winner-user {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jack-winner-game-tag {
    color: #858585;
    font-weight: 500;
    font-size: 1.05rem;
    margin-left: 4px;
}

.jack-winner-amt {
    font-size: 1.2rem;
    color: #333333;
    font-weight: 600;
}

.jack-winner-amt span {
    color: #20C85A;
    font-weight: 800;
    font-size: 1.25rem;
}

/* =========================================================
   FOOTER & LEGAL SECTION
   ========================================================= */
.jack-footer-legal {
    background: #FFFFFF;
    padding: 24px 16px 36px;
    border-top: 1px solid #E8E5E8;
}

.jack-legal-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.jack-legal-badge {
    background: #F5F2F5;
    border: 1px solid #E8E5E8;
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.jack-legal-badge:hover {
    border-color: #FF7A00;
    transform: translateY(-2px);
}

.jack-legal-badge .jack-legal-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jack-legal-badge:hover .jack-legal-icon-img {
    transform: scale(1.15) translateY(-2px);
}

.jack-legal-badge i {
    font-size: 1.6rem;
    color: #FF7A00;
}

.jack-legal-badge span {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333333;
}

.jack-footer-legal h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #FF7A00;
    margin-bottom: 8px;
}

.jack-footer-legal p {
    font-size: 1.15rem;
    color: #858585;
    line-height: 1.7;
    margin-bottom: 12px;
}

.jack-footer-copy {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #E8E5E8;
    font-size: 1.1rem;
    color: #858585;
    font-weight: 600;
}
