* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Cyberpunk Lottery Theme */
    --bg-primary: #0f0f23;
    --bg-secondary: #fff;
    --bg-card: #16213e;
    --bg-card-hover: #1f2b4a;
    
    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-pink: #ff006e;
    --neon-purple: #a855f7;
    --neon-green: #39ff14;
    --neon-orange: #ff8800;
    
    /* Grayscale */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #7a7a8c;
    
    /* Status Colors */
    --status-live: #ff006e;
    --status-upcoming: #00f5ff;
    --status-completed: #39ff14;
    
    /* Borders & Dividers */
    --border-glow: rgba(0, 245, 255, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Kanit', sans-serif;
    background: #fff;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(0, 245, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 0, 110, 0.08) 0%, transparent 70%);
    min-height: 100vh;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* ============================================
   HEADER - Futuristic Design
   ============================================ */
.main-header {
    background: #fff;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-glow);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.logo-icon {
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 0px;
    box-shadow: 
        0 0 30px rgba(0, 245, 255, 0.5),
        0 5px 20px rgba(0, 0, 0, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon img{
    border-radius: 5px;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(242, 207, 11, 0.5),
            0 5px 20px rgba(239, 103, 66, 0.3);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(248, 166, 16, 0.8),
            0 5px 30px rgba(238, 250, 67, 0.5);
    }
}

.logo-icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.header-live {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    padding: 12px 25px;
    border-radius: 30px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 5px 25px rgba(255, 0, 110, 0.5),
        0 0 50px rgba(255, 0, 110, 0.3);
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 5px 25px rgba(255, 0, 110, 0.5),
            0 0 50px rgba(255, 0, 110, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 8px 35px rgba(255, 0, 110, 0.7),
            0 0 70px rgba(255, 0, 110, 0.5);
    }
}

.header-live .dot {
    width: 10px;
    height: 10px;
    background: var(--text-primary);
    border-radius: 50%;
    animation: dotBlink 1.5s infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   COUNTDOWN SLIDER SECTION
   ============================================ */
.countdown-slider-section {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.slider-header {
    text-align: center;
    margin-bottom: 25px;
}

.slider-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-slider {
    position: relative;
    overflow: hidden;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.countdown-card {
    min-width: 280px;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid var(--border-subtle);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--neon-cyan), 
        var(--neon-pink), 
        var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.countdown-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 245, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.countdown-card:hover::before {
    opacity: 1;
}

.countdown-card.active {
    background: linear-gradient(135deg, 
        rgba(0, 245, 255, 0.1), 
        rgba(168, 85, 247, 0.1));
    border-color: var(--neon-cyan);
    box-shadow: 
        0 15px 50px rgba(0, 245, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-baji-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.card-time {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-time i {
    color: var(--neon-pink);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.time-unit {
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 10px;
    border-radius: 10px;
    min-width: 50px;
    border: 1px solid var(--border-subtle);
}

.time-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-green);
    display: block;
    line-height: 1;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.time-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
    display: block;
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-upcoming {
    background: rgba(0, 245, 255, 0.15);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.status-live {
    background: rgba(255, 0, 110, 0.15);
    color: var(--neon-pink);
    border: 1px solid var(--neon-pink);
    animation: statusPulse 1.5s infinite;
}

.status-completed {
    background: rgba(57, 255, 20, 0.15);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 20px;
    transition: all 0.3s ease;
}

.slider-nav-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
    transform: scale(1.1);
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   GAME SECTION - Hexagonal Cards
   ============================================ */
.game-section {
    background: #0639ff;
    border-radius: 25px;
    padding: 40px 35px;
    margin-bottom: 40px;
    border: 1px solid var(--border-subtle);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.game-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--neon-cyan) 0%, 
        var(--neon-pink) 50%, 
        var(--neon-purple) 100%);
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(0);
    }
    50% {
        opacity: 1;
        transform: translateX(10px);
    }
}

.game-section:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 70px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.game-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.game-icon img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

.game-title {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.game-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 110, 0.2);
    color: var(--neon-pink);
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--neon-pink);
    box-shadow: 
        0 5px 25px rgba(255, 0, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 
            0 5px 25px rgba(255, 0, 110, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 35px rgba(255, 0, 110, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

.game-live-badge i {
    animation: dotBlink 1.5s infinite;
}

/* ============================================
   FLASH MESSAGE - Neon Style
   ============================================ */
.flash-message-container {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    padding: 3px;
    background: linear-gradient(135deg, 
        var(--neon-cyan), 
        var(--neon-pink), 
        var(--neon-purple));
    border-radius: 18px;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.flash-message {
    color: var(--text-primary);
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.flash-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 245, 255, 0.1),
        transparent
    );
    animation: flashSweep 3s ease-in-out infinite;
}

@keyframes flashSweep {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ============================================
   DATE DISPLAY
   ============================================ */
.date-display {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 25px;
    padding: 12px 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    display: inline-block;
    border: 1px solid var(--border-subtle);
    letter-spacing: 1px;
}

/* ============================================
   RESULTS TABLE - Modern Grid
   ============================================ */
.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    background: transparent;
    margin-bottom: 30px;
}

.results-table thead {
    display: none;
}

.results-table tbody tr {
    /*background: linear-gradient(135deg, */
    /*    rgba(22, 33, 62, 0.8), */
    /*    rgba(26, 26, 46, 0.8));*/
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    position: relative;
}

.results-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, 
        var(--neon-cyan), 
        var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.results-table tbody tr:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.results-table tbody tr:hover::before {
    opacity: 1;
}

.results-table td {
    padding: 22px 20px;
    text-align: center;
    border: none;
}

.baji-cell {
    font-size: 22px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.time-cell {
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.time-cell i {
    color: var(--neon-pink);
    font-size: 14px;
}

.result-cell {
    font-size: 38px;
    font-weight: 700;
    color: #000;
    letter-spacing: 3px;
    font-family: 'Kanit', monospace;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

/* ============================================
   BUTTONS - Cyber Style
   ============================================ */
.refresh-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--text-primary);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 
        0 10px 35px rgba(0, 245, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.refresh-btn:hover::before {
    width: 300px;
    height: 300px;
}

.refresh-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 50px rgba(0, 245, 255, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.refresh-btn:active {
    transform: translateY(-1px);
}

.refresh-btn i {
    margin-right: 10px;
}

/* ============================================
   RECORD PANEL
   ============================================ */
.record-panel {
    max-width: max-content;
    margin: 0 auto 40px;
}

.record-panel a {
    text-decoration: none;
    display: block;
}

.section-header {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 15px;
    border: 2px solid var(--border-glow);
    background-color: rgba(0, 245, 255, 0.05);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header i {
    margin-right: 12px;
    color: var(--neon-cyan);
}

/* ============================================
   RECORD TABLE
   ============================================ */
.record-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 20px;
}

.record-row {
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    animation: recordSlide 0.6s ease-out;
    transition: all 0.3s ease;
}

@keyframes recordSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.record-row:hover {
    transform: scale(1.02);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(0, 245, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.record-date {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-purple);
    text-align: center;
    padding: 18px 25px;
    letter-spacing: 1.5px;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.record-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--border-subtle);
}

.record-item {
    padding: 22px;
    text-align: center;
    background: #0639ff;
    transition: all 0.3s ease;
}

.record-item:hover {
    background: var(--bg-card-hover);
}

.record-baji {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.record-time {
    font-size: 14px;
    color: #39ff14;
    margin-bottom: 12px;
}

.record-number {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    font-family: 'Kanit', monospace;
    text-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
}

/* ============================================
   FF KOLKATA GRID
   ============================================ */
#ffkolkataCurrentResults {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ffkolkata-card {
    background: var(--bg-card);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ffkolkata-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--neon-cyan), 
        var(--neon-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ffkolkata-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--border-glow);
}

.ffkolkata-card:hover::before {
    opacity: 1;
}

/* ============================================
   SCROLL BUTTONS
   ============================================ */
.scroll-btn {
    position: fixed;
    right: 25px;
    padding: 16px 24px;
    background: var(--bg-card);
    color: var(--neon-cyan);
    border: 2px solid var(--border-glow);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 
        0 5px 25px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 245, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.scroll-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: var(--neon-cyan);
    color: var(--bg-primary);
    box-shadow: 
        0 8px 35px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 245, 255, 0.6);
}

.scroll-btn i {
    margin-right: 8px;
}

.scroll-top {
    bottom: 25px;
}

.scroll-bottom {
    bottom: 95px;
}

.scroll-refresh,
.scroll-home {
    bottom: 168px;
}

/* ============================================
   DISCLAIMER SECTION
   ============================================ */
.disclaimer-section {
    background: linear-gradient(135deg, 
        rgba(255, 0, 110, 0.1), 
        rgba(255, 136, 0, 0.1));
    border-left: 5px solid var(--neon-pink);
    padding: 35px 45px;
    margin: 60px auto 40px;
    border-radius: 20px;
    max-width: 1360px;
    box-shadow: 
        0 15px 50px rgba(255, 0, 110, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.disclaimer-section h2 {
    font-size: 20px;
    color: var(--neon-pink);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.disclaimer-section p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}

.disclaimer-section strong {
    color: var(--neon-orange);
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 80px 20px 30px;
    margin-top: 80px;
    border-top: 2px solid var(--border-glow);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 22px;
    color: var(--neon-cyan);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.footer-logo-section {
    text-align: left;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-text {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(0, 245, 255, 0.1);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--neon-cyan);
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.5);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--neon-cyan);
    transform: translateX(8px);
    text-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.footer-links a i {
    margin-right: 10px;
    color: var(--neon-cyan);
}

.contact-info {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2;
}

.contact-info p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info i {
    color: var(--neon-cyan);
    width: 22px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-bottom a {
    color: var(--neon-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--neon-cyan);
    border-right: 5px solid var(--neon-pink);
    border-radius: 50%;
    animation: spinnerRotate 1s linear infinite;
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .logo-text {
        font-size: 18px;
        line-height: 1.1;
    }

    .header-live {
        padding: 10px 18px;
        font-size: 13px;
    }

    .countdown-card {
        min-width: 250px;
    }

    .card-baji-name {
        font-size: 20px;
    }

    .time-value {
        font-size: 24px;
    }

    .game-section {
        padding: 10px 10px;
    }

    .game-header {
        flex-direction: column;
    }

    .game-title {
        font-size: 28px;
    }

    .game-icon {
        width: 60px;
        height: 60px;
    }

    .results-table td {
        padding: 18px 15px;
    }

    .baji-cell {
        font-size: 18px;
    }

    .result-cell {
        font-size: 32px;
    }

    .record-results {
        grid-template-columns: 1fr 1fr;
        gap: 1px;
    }

    .record-item {
        padding: 18px;
    }

    #ffkolkataCurrentResults {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .disclaimer-section {
        padding: 30px 25px;
    }

    .scroll-btn {
        padding: 14px 20px;
        font-size: 13px;
        right: 20px;
    }

    .scroll-refresh,
    .scroll-home {
        bottom: 153px;
    }
}

@media (max-width: 480px) {
    body::before {
        background-size: 30px 30px;
    }

    .game-title {
        font-size: 24px;
    }

    .countdown-card {
        min-width: 220px;
    }

    .time-unit {
        min-width: 45px;
        padding: 10px 8px;
    }

    .time-value {
        font-size: 22px;
    }

    .results-table td {
        padding: 15px 12px;
    }

    .baji-cell {
        font-size: 16px;
    }

    .result-cell {
        font-size: 20px;;
    }

    .record-number {
        font-size: 26px;
    }

    .section-header {
        font-size: 24px;
    }

    #ffkolkataCurrentResults {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   UTILITY ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page load animation */
.game-section {
    animation: fadeIn 0.6s ease-out;
}

.game-section:nth-child(1) { animation-delay: 0.1s; }
.game-section:nth-child(2) { animation-delay: 0.2s; }
.game-section:nth-child(3) { animation-delay: 0.3s; }
.game-section:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   FINAL UPDATES - All Requested Changes
   ============================================ */

/* Remove theme and sound toggles - HIDDEN */
.theme-toggle,
.sound-toggle {
    display: none !important;
}

/* Hero Banner with Canvas Background */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 40px rgba(0, 245, 255, 0.5);
    animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 45px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(30, 35, 71, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 35px;
    border-radius: 20px;
    border: 2px solid var(--border-subtle);
    min-width: 160px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-item:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 50px rgba(0, 245, 255, 0.3);
}

/* Online Users - Highlighted */
.stat-users {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border-color: var(--neon-orange);
    box-shadow: 
        0 10px 30px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-users .stat-value {
    animation: userCountPulse 2s ease-in-out infinite;
}

@keyframes userCountPulse {
    0%, 100% {
        transform: scale(1);
        color: #ffc107;
    }
    50% {
        transform: scale(1.1);
        color: #ff9800;
    }
}

/* Next Draw - Centered with H:M:S */
.stat-next-draw {
    flex: 0 0 auto;
    min-width: 220px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(168, 85, 247, 0.2));
    border-color: var(--neon-cyan);
}

.stat-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Kanit', monospace;
}

.stat-countdown span {
    font-size: 42px;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
    animation: timeFlicker 1s ease-in-out infinite;
}

@keyframes timeFlicker {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.stat-item i {
    font-size: 32px;
    color: var(--neon-cyan);
    margin-bottom: 12px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.stat-value {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Image Slider Section */
.image-slider-section {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 25px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    height: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    color: var(--neon-cyan);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.8);
    transform: scale(1.3);
}

/* Admin Flash Message - Game Style */
.admin-flash-message {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.admin-flash-message > div:first-child {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    border-radius: 20px;
    padding: 35px 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 50px rgba(255, 0, 110, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: flashPulse 3s ease-in-out infinite;
}

@keyframes flashPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 15px 50px rgba(255, 0, 110, 0.4),
            inset 0 2px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 
            0 20px 70px rgba(255, 0, 110, 0.6),
            inset 0 2px 0 rgba(255, 255, 255, 0.3);
    }
}

.flash-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: flashGlowRotate 4s linear infinite;
}

@keyframes flashGlowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.flash-icon {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: rgba(255, 255, 255, 0.9);
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.15);
    }
}

.flash-content {
    position: relative;
    z-index: 2;
}

.flash-title {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.flash-text {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3);
    animation: textShine 2s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(0, 0, 0, 0.7),
            0 0 60px rgba(255, 255, 255, 0.5);
    }
}

.flash-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flash-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px #ffffff;
    animation: sparkFloat 3s ease-in-out infinite;
}

.flash-spark:nth-child(1) {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.flash-spark:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

.flash-spark:nth-child(3) {
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes sparkFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) scale(1.3);
        opacity: 0.7;
    }
}

/* Results Table - Center Time Column */
.results-table td.time-cell {
    text-align: center !important;
    vertical-align: middle;
    display: table-cell;
}

/* Search Container - Updated */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 280px;
    padding: 12px 45px 12px 45px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--border-subtle);
    border-radius: 30px;
    color: #ffffff !important;
    font-family: 'Kanit', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
    width: 320px;
}

.search-icon-left {
    position: absolute;
    left: 18px;
    color: var(--neon-pink);
    font-size: 16px;
    pointer-events: none;
}

.search-icon-right {
    position: absolute;
    right: 18px;
    color: var(--neon-cyan);
    font-size: 16px;
    pointer-events: none;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .contact-info p {
         display: block;
    }
    .hero-title {
        font-size: 38px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 20px 25px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .stat-countdown span {
        font-size: 32px;
    }
    
    .slider-container {
        height: 300px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .flash-icon {
        font-size: 40px;
        left: 25px;
    }
    
    .flash-title {
        font-size: 36px;
    }
    
    .flash-text {
        font-size: 22px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-input:focus {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 280px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 18px 20px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-countdown span {
        font-size: 28px;
        gap: 5px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .slider-container {
        height: 144px;
        border-radius: 0;
    }
    
    .flash-text {
        font-size: 24px;
    }
}


/* Additional Missing Styles */

.load-more-container {
    text-align: center;
    margin: 20px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.admin-flash-message .flash-wrapper {
    position: relative;
}


/* Availability Badge Styling */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #39ff14 0%, #00ff00 50%, #7fff00 100%);
    padding: 15px 35px;
    border-radius: 50px;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

.availability-badge i {
    font-size: 24px;
    color: #0f0f23;
}

.availability-badge span {
    font-size: 18px;
    font-weight: 700;
    color: #0f0f23;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(57, 255, 20, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(57, 255, 20, 0.7);
    }
}

@media (max-width: 768px) {
    .availability-badge {
        padding: 12px 10px;
    }
    
    .availability-badge i {
        font-size: 20px;
        display: none;
    }
    
    .availability-badge span {
        font-size: 14px;
    }
}

/* ============================================
   FILTER TABS - PROPER STYLING
   ============================================ */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 14px 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: 30px;
    color: var(--text-secondary);
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.filter-btn:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: var(--text-primary);
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 30px rgba(0, 245, 255, 0.5);
    transform: translateY(-3px);
}

/* ============================================
   BOTTOM NAVIGATION - MOBILE
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 15px;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.7);
    border-top: 2px solid var(--border-glow);
    z-index: 9999;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-family: 'Kanit', sans-serif;
    min-width: 60px;
    position: relative;
}

.nav-item i {
    font-size: 24px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item.active {
    color: var(--neon-cyan);
}

.nav-item.active i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

.nav-item:hover {
    color: var(--neon-cyan);
}

.nav-item.refresh-nav {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    color: var(--text-primary);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    margin-top: -35px;
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.6);
    border: 3px solid var(--bg-primary);
    flex-direction: column;
    gap: 0;
}

.nav-item.refresh-nav i {
    font-size: 28px;
    animation: rotateRefresh 2s ease-in-out infinite;
}

@keyframes rotateRefresh {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.nav-item.refresh-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.8);
}

.nav-item.refresh-nav span {
    display: none;
}

/* ============================================
   DESKTOP ONLY STYLES
   ============================================ */
.desktop-only {
    display: block;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */
@media (max-width: 768px) {
    /* Show bottom nav on mobile */
    .bottom-nav {
        display: flex !important;
    }
    
    /* Hide desktop scroll buttons */
    .desktop-only {
        display: none !important;
    }
    
    /* Add padding bottom for mobile nav */
    body {
        padding-bottom: 80px;
    }
    
    .container {
        padding-bottom: 30px;
    }
    
    /* Filter buttons on mobile */
    .filter-buttons {
        gap: 10px;
        margin: 20px 0;
        padding: 0 0px;
    }
    
    .filter-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* Search container on mobile */
    .search-container {
        width: 100%;
        margin-top: 15px;
    }
    
    .search-input {
        width: 100%;
        font-size: 14px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 18px;
        padding: 15px 0;
        text-align: center;
    }
    
    /* Footer padding for mobile nav */
    .footer {
        margin-bottom: 0;
        padding-bottom: 100px;
    }
    
    /* Disclaimer section padding */
    .disclaimer-section {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .slider-arrow {
        top: 80%;
    }
    .nav-item span {
        font-size: 10px;
    }
    
    .nav-item i {
        font-size: 20px;
    }
    
    .nav-item.refresh-nav {
        width: 60px;
        height: 60px;
        margin-top: -32px;
    }
    
    .nav-item.refresh-nav i {
        font-size: 24px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    .logo-icon {
        width: 40px;
    }
}

/* Desktop - hide bottom nav */
@media (min-width: 769px) {
    .bottom-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* ============================================
   RECORD TABLE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .record-date {
        font-size: 22px;
        padding: 15px;
    }
    
    .record-item:last-child {
        border-bottom: none;
    }
}


/* Updated Color Theme - Orange/Pink Gradient */
:root {
    /* Color Palette - Updated */
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1f2b4a;
    
    /* New Gradient Colors */
    --gradient-start: #ff006e;
    --gradient-mid: #ff8800;
    --gradient-end: #ffc107;
    
    /* Neon Accents - Updated */
    --neon-cyan: #ffc107;
    --neon-pink: #ff006e;
    --neon-purple: #ff8800;
    --neon-green: #39ff14;
    --neon-orange: #ff8800;
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c8;
    --text-muted: #7a7a8c;
    
    /* Borders */
    --border-glow: rgba(255, 193, 7, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.1);
}

/* Hero Title Gradient */
.hero-title {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Live Badge */
.header-live {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
}

/* Refresh Button */
.refresh-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
}

/* Filter Button Active */
.filter-btn.active {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
}

/* Bottom Nav Refresh */
.nav-item.refresh-nav {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
}

/* Section Title Gradient */
.section-title {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Logo Text Gradient */
.logo-text {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Logo Text */
.footer-logo-text {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Game Title */
.game-title {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Scroll Buttons */
.scroll-btn {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
}

/* Slider Navigation */
.slider-nav-btn {
    border-color: #ffc107;
    color: #ffc107;
}

.slider-nav-btn:hover {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    color: #fff;
}

/* Slider Dot Active */
.slider-dot.active {
    background: #ffc107;
    border-color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.8);
}

/* Share & Print Buttons */
.share-btn:hover, .print-btn:hover {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    border-color: #ffc107;
}

/* Search Input Focus */
.search-input:focus {
    border-color: #ffc107;
    box-shadow: 0 0 25px rgba(255, 193, 7, 0.4);
}

/* Search Icons */
.search-icon-right {
    color: #ffc107;
}

.search-icon-left {
    color: #ff006e;
}

/* Filter Button Hover */
.filter-btn:hover {
    border-color: #ffc107;
    color: #ffc107;
}

/* Nav Item Active */
.nav-item.active {
    color: #ffc107;
}

.nav-item.active i {
    filter: drop-shadow(0 0 10px #ffc107);
}

/* Social Links Hover */
.social-links a {
    border-color: #ffc107;
}

.social-links a:hover {
    background: linear-gradient(135deg, #ff006e 0%, #ff8800 50%, #ffc107 100%);
    color: #fff;
}

/* Footer Links Hover */
.footer-links a:hover {
    color: #ffc107;
}

.footer-links a i {
    color: #ffc107;
}

/* Contact Info Icons */
.contact-info i {
    color: #ffc107;
}

/* Footer Bottom Links */
.footer-bottom a {
    color: #ffc107;
}

/* Baji Cell Color */
.baji-cell {
    color: #ff006e;
}

/* Record Baji Color */
.record-baji {
    color: #ffc107;
}

/* Record Date Color */
.record-date {
    color: #ff8800;
}

/* Stat Users Highlighted */
.stat-users {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 136, 0, 0.2));
    border-color: #ff8800;
}

/* Stat Value User Animation */
.stat-users .stat-value {
    color: #ffc107;
}

/* Next Draw Stat */
.stat-next-draw {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 136, 0, 0.2));
    border-color: #ffc107;
}

/* Countdown Numbers */
.stat-countdown span {
    color: #ffc107;
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.6);
}

/* Canvas Particles */
/* Updated in JS to use rgba(255, 193, 7, opacity) */

/* Hero Banner Background */
.hero-banner {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}