@charset "UTF-8";
:root {
    --color-primary: 0, 236, 102; /* #00ec66 Vibrant Brand Neon Green */
    --color-primary-hex: #00ec66;
    --color-secondary: 56, 92, 254;
    --color-text-primary: 204, 214, 246; /* #ccd6f6 */
    --color-text-secondary: 146, 157, 191; /* #929dbf */
    --color-text-muted: 110, 122, 156;
    --color-background-primary: 12, 18, 30; /* #0c121e Main Dark */
    --color-background-primary-200: 22, 27, 40; /* #161b28 Cards & Panels */
    --color-background-primary-300: 31, 35, 49; /* #1f2331 Sub-cards & Inputs */
    --color-background-primary-400: 38, 42, 58; /* #262a3a */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-focus: rgba(0, 236, 102, 0.5);
    --color-danger: 240, 66, 72;
    --color-warning: 255, 193, 7;
    --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: #070a12;
    color: #ccd6f6;
    min-height: 100vh;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: 1.4rem;
    line-height: 1.5;
    background-color: #0c121e;
    color: #ccd6f6;
    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 60px rgba(0, 0, 0, 0.9);
        border-left: 1px solid rgba(255, 255, 255, 0.04);
        border-right: 1px solid rgba(255, 255, 255, 0.04);
    }
}

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: rgba(12, 18, 30, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    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: #00ec66;
    text-shadow: 0 0 20px rgba(0, 236, 102, 0.35);
    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(31, 35, 49, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #929dbf;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.jack-search-trigger:hover,
.jack-search-trigger:active {
    color: #fff;
    background: rgba(0, 236, 102, 0.15);
    border-color: rgba(0, 236, 102, 0.4);
}

/* User Wallet Capsule with Adaptive Auto-sizing */
.jack-wallet-capsule {
    display: inline-flex;
    align-items: center;
    background: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 3px 4px 3px 12px;
    height: 38px;
    gap: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    max-width: 100%;
}

.jack-wallet-amount {
    font-size: clamp(1.15rem, 3.8vw, 1.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.jack-wallet-amount .currency {
    color: #00ec66;
    margin-right: 2px;
}

.jack-wallet-deposit-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #00ec66;
    color: #0c121e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(0, 236, 102, 0.4);
    transition: transform 0.2s;
}

.jack-wallet-deposit-btn:active {
    transform: scale(0.92);
}

.jack-profile-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #161b28;
    border: 1.5px solid rgba(0, 236, 102, 0.6);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.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: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccd6f6;
    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: #1f2331;
    color: #fff;
}

.jack-btn-register {
    height: 38px;
    padding: 0 18px;
    border-radius: 20px;
    background: #00ec66;
    color: #0c121e;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(0, 236, 102, 0.35);
    transition: all 0.2s ease;
}

.jack-btn-register:hover {
    background: #00ff6f;
    box-shadow: 0 0 20px rgba(0, 236, 102, 0.55);
}

.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(30, 42, 53, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.jack-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    color: #929dbf;
    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: #00ec66;
    font-weight: 600;
}

.jack-nav-item.active .jack-nav-icon {
    color: #00ec66;
    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: linear-gradient(135deg, #181d2c 0%, #101420 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    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: rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    cursor: pointer;
}

.jack-dot.active {
    width: 20px;
    background: #00ec66;
    box-shadow: 0 0 8px rgba(0, 236, 102, 0.6);
}

/* Slider Arrow Buttons */
.jack-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(22, 27, 40, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ccd6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 5;
    transition: all 0.2s ease;
}

.jack-slider-btn.prev { left: 10px; }
.jack-slider-btn.next { right: 10px; }
.jack-slider-btn:hover {
    background: #00ec66;
    color: #0c121e;
}

/* =========================================================
   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: rgba(38, 42, 58, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0 16px;
    transition: border-color 0.2s, background 0.2s;
}

.jack-search-box:focus-within {
    border-color: #00ec66;
    background: rgba(38, 42, 58, 0.8);
    box-shadow: 0 0 12px rgba(0, 236, 102, 0.2);
}

.jack-search-icon {
    color: #929dbf;
    font-size: 1.5rem;
    margin-right: 12px;
}

.jack-search-input {
    flex: 1;
    color: #ccd6f6;
    font-size: 1.35rem;
    font-weight: 500;
}

.jack-search-input::placeholder {
    color: #929dbf;
    font-size: 1.3rem;
}

.jack-search-clear {
    color: #929dbf;
    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: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ccd6f6;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.jack-category-trigger:hover,
.jack-category-trigger.open {
    border-color: rgba(0, 236, 102, 0.4);
    background: #1a2030;
}

.jack-category-trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jack-category-trigger i.cat-icon {
    color: #00ec66;
}

.jack-category-trigger i.arrow-icon {
    color: #929dbf;
    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: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    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.6);
}

.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: #929dbf;
    cursor: pointer;
    transition: all 0.15s ease;
}

.jack-cat-opt:hover,
.jack-cat-opt.active {
    color: #00ec66;
    background: #1f2331;
}

.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: rgba(0, 236, 102, 0.15);
    color: #00ec66;
}

/* 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: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #929dbf;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jack-chip:hover,
.jack-chip.active {
    background: rgba(0, 236, 102, 0.12);
    border-color: rgba(0, 236, 102, 0.5);
    color: #00ec66;
}

/* =========================================================
   LIVE TICKER & QUICK ACTIONS
   ========================================================= */
.jack-ticker {
    margin: 8px 16px 12px;
    background: rgba(22, 27, 40, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 236, 102, 0.25);
    border-radius: 14px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.jack-ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 236, 102, 0.15);
    color: #00ec66;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 236, 102, 0.35);
    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: #929dbf;
}

.jack-marquee {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: jackMarquee 30s linear infinite;
}

.jack-marquee span {
    color: #ccd6f6;
    font-weight: 500;
    margin-right: 28px;
}

.jack-marquee span b {
    color: #00ec66;
    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: #141924;
    border: 1px solid rgba(255, 255, 255, 0.06);
    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, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.jack-quick-card:hover {
    border-color: rgba(0, 236, 102, 0.4);
    background: #1a2030;
    transform: translateY(-2px);
}

.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 10px rgba(0, 0, 0, 0.5));
    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.7));
}

.jack-quick-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ccd6f6;
    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: #929dbf;
    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: #ccd6f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jack-games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 10px;
    padding: 0 16px 24px;
}

@media (max-width: 360px) {
    .jack-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.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: #161b28;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* 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: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccd6f6;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.jack-more-games-btn i {
    font-size: 1.1rem;
    color: #929dbf;
    transition: color 0.2s ease, transform 0.2s ease;
}

.jack-more-games-btn:hover {
    background: #1f2536;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.jack-more-games-btn:hover i {
    color: #00ec66;
    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, #00ec66 0%, #059669 100%);
    color: #0c121e;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 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: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.jack-card-provider-text {
    font-size: 1.05rem;
    color: #929dbf;
    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: #141924;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.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: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jack-winners-title i {
    color: #ffd13b;
    font-size: 1.5rem;
}

.jack-live-badge {
    font-size: 1rem;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 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: #ef4444;
    box-shadow: 0 0 6px #ef4444;
    animation: jackPulse 1.2s infinite;
}

/* =========================================================
   TOP 3 WINNERS PODIUM
   ========================================================= */
.jack-top3-section {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    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, 215, 0, 0.7));
    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: #10141e;
    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 #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.45), inset 0 0 10px rgba(255, 215, 0, 0.2);
}

.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, #ffd700, #f59e0b);
    color: #000;
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.5);
}

.jack-top3-item.rank-1 .jack-top3-name {
    border-color: rgba(255, 215, 0, 0.6);
    color: #ffd700;
    background: rgba(255, 215, 0, 0.08);
}

.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 0 12px rgba(203, 213, 225, 0.35);
}

.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: #000;
}

/* 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 #d97706;
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.35);
}

.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, #f59e0b, #b45309);
    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 #141924;
    z-index: 2;
}

.jack-top3-name {
    margin-top: 8px;
    padding: 3px 8px;
    background: #1a2030;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ccd6f6;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
}

.jack-top3-amount {
    margin-top: 4px;
    color: #00ec66;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    text-shadow: 0 0 8px rgba(0, 236, 102, 0.3);
    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: #929dbf;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.jack-recent-subtitle i {
    color: #00ec66;
    font-size: 1.1rem;
}

.jack-rt-pill {
    font-size: 0.9rem;
    font-weight: 700;
    color: #929dbf;
    background: rgba(255, 255, 255, 0.05);
    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: rgba(22, 28, 42, 0.85);
    border-radius: 14px;
    padding: 9px 12px;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    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.3);
}

.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: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jack-winner-game-tag {
    color: #929dbf;
    font-weight: 500;
    font-size: 1.05rem;
    margin-left: 4px;
}

.jack-winner-amt {
    font-size: 1.2rem;
    color: #ccd6f6;
    font-weight: 600;
}

.jack-winner-amt span {
    color: #00ec66;
    font-weight: 800;
    font-size: 1.25rem;
}

/* =========================================================
   FOOTER & LEGAL SECTION
   ========================================================= */
.jack-footer-legal {
    background: #080b12;
    padding: 24px 16px 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.jack-legal-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.jack-legal-badge {
    background: #161b28;
    border: 1px solid rgba(255, 255, 255, 0.06);
    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: rgba(0, 236, 102, 0.3);
    transform: translateY(-2px);
}

.jack-legal-badge .jack-legal-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    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: #00ec66;
}

.jack-legal-badge span {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ccd6f6;
}

.jack-footer-legal h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #00ec66;
    margin-bottom: 8px;
}

.jack-footer-legal p {
    font-size: 1.15rem;
    color: #929dbf;
    line-height: 1.7;
    margin-bottom: 12px;
}

.jack-footer-copy {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 1.1rem;
    color: rgba(204, 214, 246, 0.4);
    font-weight: 600;
}
