/* Mobile Styling - Inspired by hongkonglive81.com */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&display=swap');

@media (max-width: 768px) {
    /* Toggle Panel Rules - MOBILE ONLY */
    .night-panel {
        display: none;
    }

    .night-panel.active {
        display: flex !important;
    }

    .day-panel.hidden {
        display: none !important;
    }

    /* === GLOBAL STYLES === */
    body {
        font-family: 'Nunito', sans-serif !important;
        background-color: #131222 !important;
        color: #c4d5f6 !important;
        font-size: 16px !important;
        line-height: 26px !important;
        overflow-x: hidden !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Nunito', sans-serif !important;
        color: #fff !important;
        font-weight: 700 !important;
    }
    
    /* Container */
    .container {
        width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Remove padding from sections on mobile */
    section {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* === HEADER === */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 999 !important;
        background: #8B0000 !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    .header.scrolled {
        background: #8B0000 !important;
        backdrop-filter: none !important;
    }
    
    .header-wrapper {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        width: 100% !important;
        background: none !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
    }
    /* Ensure content starts below fixed header */
    body {
        padding-top: 60px !important;
    }
    
    .hero-slider,
    .hero-section,
    .hero-slider-section {
        margin-top: 0 !important;
        height: auto !important;
        min-height: 300px !important;
        max-height: none !important;
    }
    
    .logo,
    .logo-section {
        padding: 0 !important;
        background: transparent !important;
    }
    
    .logo-section a {
        display: flex !important;
        align-items: center !important;
        text-decoration: none !important;
    }
    
    .logo-img {
        height: 30px !important;
        mix-blend-mode: screen !important;
        cursor: pointer !important;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        background: none !important;
        border: none !important;
        color: #fff !important;
        cursor: pointer !important;
        padding: 0 !important;
        border-radius: 0 !important;
        transition: none !important;
        gap: 5px !important;
        width: auto !important;
        height: auto !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    .mobile-menu-toggle span {
        display: block !important;
        width: 28px !important;
        height: 3px !important;
        background: #fff !important;
        transition: all 0.3s ease !important;
        border-radius: 0 !important;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle.active {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .mobile-menu-toggle:hover span,
    .mobile-menu-toggle.active span {
        background: #fff !important;
    }
    
    /* Mobile Menu Toggle Active Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-menu,
    .language-switcher {
        display: none !important;
    }
    
    /* Mobile Menu */
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background: #26253f !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
    }
    
    .mobile-menu.active {
        left: 0 !important;
    }
    
    .mobile-nav {
        padding: 20px !important;
    }
    
    .mobile-nav-menu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .mobile-nav-link {
        display: block !important;
        padding: 15px 0 !important;
        color: #fff !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(102, 102, 102, 0.3) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        color: #dc3545 !important;
        padding-left: 10px !important;
    }
    
    .mobile-language-switcher {
        margin-top: 30px !important;
        padding-top: 20px !important;
        border-top: 1px solid rgba(102, 102, 102, 0.3) !important;
    }
    
    .mobile-language-switcher label {
        color: #c4d5f6 !important;
        display: block !important;
        margin-bottom: 10px !important;
        font-weight: 600 !important;
    }
    
    .mobile-language-select {
        width: 100% !important;
        padding: 10px !important;
        background: #1e1d32 !important;
        border: 1px solid #dc3545 !important;
        color: #fff !important;
        border-radius: 3px !important;
    }
    
    /* Desktop Navigation - Hide on Mobile */
    .main-navigation {
        display: none !important;
    }
    
    /* === HERO SECTION === */
    /* Strong override for inline styles */
    .hero-slider {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: none !important;
        overflow: hidden !important;
        display: block !important;
        visibility: visible !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }
    
    .slider-container {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .slider-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }
    
    .slide {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        display: none !important;
    }
    
    .slide.active {
        display: block !important;
    }
    
    .slide-image {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
        display: block !important;
        z-index: 1 !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .slide-overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.3) !important;
        z-index: 2 !important;
    }
    
    /* Slide Content */
    .slide-date {
        position: absolute !important;
        bottom: 8px !important;
        left: 8px !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
        z-index: 30 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        padding: 4px 10px !important;
        border-radius: 10px !important;
        backdrop-filter: blur(5px) !important;
        border: none !important;
    }
    
    .date-label {
        opacity: 0.8 !important;
        margin-right: 2px !important;
    }
    
    .date-value {
        font-weight: bold !important;
        color: #fff !important;
    }
    
    .slide-actions {
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        display: flex !important;
        gap: 4px !important;
        z-index: 30 !important;
        flex-direction: row !important;
        width: auto !important;
        max-width: none !important;
    }
    
    .action-btn {
        padding: 5px 10px !important;
        border-radius: 16px !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        font-size: 10px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.1px !important;
        transition: all 0.3s ease !important;
        text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(8px) !important;
        border: 2px solid transparent !important;
        text-align: center !important;
        display: block !important;
        flex: 1 !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }
    
    .play-btn {
        background: linear-gradient(45deg, #ff9800, #ffc107) !important;
        color: #000 !important;
        box-shadow: 0 2px 8px rgba(255, 152, 0, 0.4) !important;
    }
    
    .play-btn:hover {
        background: linear-gradient(45deg, #ffc107, #ff9800) !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(255, 152, 0, 0.6) !important;
    }
    
    .check-btn {
        background: rgba(255, 255, 255, 0.15) !important;
        color: #fff !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .check-btn:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: #ff9800 !important;
        color: #ff9800 !important;
        transform: translateY(-1px) !important;
    }
    
    /* Slide Navigation */
    .slide-navigation {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 25 !important;
    }
    
    .prev-slide {
        left: 15px !important;
    }
    
    .next-slide {
        right: 15px !important;
    }
    
    .prev-slide,
    .next-slide {
        background: rgba(0, 0, 0, 0.5) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        padding: 10px 12px !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(5px) !important;
    }
    
    .prev-slide:hover,
    .next-slide:hover {
        background: rgba(213, 5, 127, 0.8) !important;
        border-color: #d5057f !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

    /* Slider dots indicator */
    .slider-dots {
        position: absolute !important;
        bottom: 50px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        gap: 0.8rem !important;
        z-index: 50 !important;
    }
    
    .dot {
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.5) !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .dot:hover,
    .dot.active {
        background: #d5057f !important;
        border-color: #d5057f !important;
        transform: scale(1.2) !important;
        box-shadow: 0 0 10px rgba(213, 5, 127, 0.6) !important;
    }
    
    .hero-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 70px 0 40px 0 !important;
        background: #171627 !important;
    }
    
    .intro-content {
        margin-top: 0 !important;
    }
    
    .hero-title,
    .layer-1 h2 {
        font-size: 24px !important;
        line-height: 36px !important;
        color: #fff !important;
        margin-bottom: 15px !important;
        text-transform: uppercase !important;
    }
    
    .hero-subtitle,
    .layer-2 p {
        font-size: 16px !important;
        line-height: 26px !important;
        color: #c4d5f6 !important;
        margin-bottom: 20px !important;
    }
    
    /* Buttons */
    .btn,
    .cta-button,
    .ready-btn {
        border: 1px solid #d5057f !important;
        background: #d5057f !important;
        color: #fff !important;
        padding: 10px 20px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        border-radius: 3px !important;
        transition: all 0.4s ease !important;
        display: inline-block !important;
    }
    
    .btn:hover,
    .cta-button:hover,
    .ready-btn:hover {
        background: transparent !important;
        color: #d5057f !important;
        border: 1px solid #d5057f !important;
    }
    
    /* === PAST RESULTS SECTION === */
    .past-results-section {
        width: 100% !important;
        margin: 0 !important;
        padding: 25px 0 !important;
        background: linear-gradient(135deg, #8B0000 0%, #6B0000 50%, #8B0000 100%) !important;
    }
    
    .past-results-header {
        padding: 0 15px !important;
        margin-bottom: 15px !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .past-results-title,
    .section-headline h3 {
        text-align: center !important;
        font-size: 24px !important;
        font-weight: 800 !important;
        color: #fff !important;
        margin: 0 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        line-height: 28px !important;
    }

    .golden-flower-icon {
        font-size: 28px !important;
        color: #FFD700 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        margin-bottom: 0 !important;
    }

    .golden-flower-icon i {
        display: inline-block !important;
    }

    /* Result Toggle for Past Results */
    .result-toggle {
        display: flex !important;
        gap: 10px !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

    .result-toggle .toggle-btn {
        flex: 1 !important;
        padding: 8px 15px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }

    .result-toggle .toggle-btn.active {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid #fff !important;
    }

    /* Past Results Container - 1 card visible with swipe */
    .past-results-section .container {
        padding: 0 15px !important;
        max-width: 100% !important;
    }
    
    .past-results-container {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 auto !important;
        background: transparent !important;
    }
    
    .results-slider-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
        position: relative !important;
    }
    
    .results-slider {
        width: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        height: auto !important;
        display: none !important;
    }
    
    .results-slider.active {
        display: block !important;
    }
    
    .results-slider::-webkit-scrollbar {
        display: none !important;
    }
    
    .slider-track {
        display: flex !important;
        gap: 0 !important;
        padding: 15px 0 !important;
        transition: transform 0.35s ease-out !important;
        will-change: transform !important;
        contain: layout paint !important;
        height: auto !important;
        touch-action: pan-y !important;
    }
    
    /* Day/Night Toggle Buttons */
    .draw-toggle-section {
        width: 100% !important;
        background: linear-gradient(180deg, #1a1620 0%, #171627 100%) !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    
    .toggle-container {
        display: flex !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .toggle-btn {
        flex: 1 !important;
        border: none !important;
        background: #26253f !important;
        color: #fff !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        border-radius: 0 !important;
        transition: all 0.3s ease !important;
        margin: 0 !important;
        letter-spacing: 0.5px !important;
    }
    
    .toggle-btn.day-btn.active {
        background: #ff9800 !important;
        color: #000 !important;
    }
    
    .toggle-btn.night-btn.active {
        background: #663333 !important;
        color: #fff !important;
    }
    
    .toggle-btn:hover {
        opacity: 0.8 !important;
    }
    
    /* Result Cards */
    .result-card {
        /* width & flex-basis set via JS in px */
        flex: 0 0 auto !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        min-height: auto !important;
        background: #2a2a2a !important;
        border: 2px solid rgba(213, 5, 127, 0.3) !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }
    
    .result-card:hover {
        box-shadow: 0 8px 30px rgba(0,0,0,0.5) !important;
        transform: translateY(-3px) !important;
    }
    
    .card-header {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)) !important;
        border-bottom: 1px solid rgba(213, 5, 127, 0.2) !important;
        padding: 15px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .result-date {
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    .draw-number {
        color: #fff !important;
        font-weight: 600 !important;
        font-size: 13px !important;
    }

    .result-content {
        padding: 12px 12px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        background: rgba(255, 255, 255, 0.96) !important;
    }

    .prize-badge {
        width: 38px !important;
        height: 38px !important;
        background: linear-gradient(135deg, #C41E3A 0%, #A01830 100%) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }

    .prize-number {
        color: #fff !important;
        font-size: 18px !important;
        font-weight: 800 !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    }

    .result-logo-container {
        text-align: center !important;
        flex-shrink: 0 !important;
    }

    .result-card-logo {
        height: 42px !important;
        width: auto !important;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) !important;
    }

    .result-numbers {
        display: flex !important;
        justify-content: flex-start !important;
        gap: 5px !important;
        flex: 1 !important;
    }

    /* Past Results number digits - mobile */
    .past-results-section .number-digit,
    .result-numbers .number-digit {
        background: #8B0000 !important;
        color: #fff !important;
        font-weight: 800 !important;
        border: none !important;
        border-radius: 5px !important;
        font-size: 16px !important;
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        text-align: center !important;
        box-shadow: 0 2px 5px rgba(139, 0, 0, 0.4) !important;
    }

    /* Past Results Navigation Buttons */
    .past-results-nav {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 20px !important;
        padding: 0 15px !important;
    }

    .past-nav-btn {
        width: 40px !important;
        height: 40px !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        background: transparent !important;
        color: #fff !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .past-nav-btn:hover {
        border-color: #fff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* Hide navigation arrows on mobile */
    .slider-navigation {
        display: none !important;
    }
    
    /* === GENERAL SECTIONS === */
    section {
        padding: 60px 0 !important;
    }
    
    .section-title {
        font-size: 28px !important;
        line-height: 36px !important;
        color: #fff !important;
        text-align: center !important;
        margin-bottom: 30px !important;
        text-transform: uppercase !important;
    }
    
    /* === FOOTER === */
    .footer-area {
        background: #12111e !important;
        padding: 60px 0 30px !important;
    }
    
    .footer-content {
        margin-bottom: 40px !important;
    }
    
    .footer-head h4 {
        color: #fff !important;
        font-size: 20px !important;
        margin-bottom: 20px !important;
        text-transform: uppercase !important;
    }
    
    .footer-list li a {
        color: #c4d5f6 !important;
        padding: 7px 0 7px 25px !important;
        display: block !important;
        position: relative !important;
        font-weight: 400 !important;
        transition: all 0.3s ease !important;
    }

    /* === LIVE RESULTS SECTION === */
    .live-results-section {
        padding: 0 !important;
        margin: 0 !important;
    }

    .live-results-container {
        display: block;
        position: relative;
        min-height: 600px;
        width: 100%;
    }

    .draw-panel {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px 15px;
        min-height: 600px;
        width: 100%;
    }

    .day-panel {
        display: flex !important;
    }

    .night-panel {
        display: none;
    }
    
    .night-panel.active {
        display: flex !important;
    }
    
    .day-panel.hidden {
        display: none !important;
    }

    .draw-background {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 0 !important;
        overflow: hidden !important;
    }

    .panel-bg-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        opacity: 1 !important;
        display: block !important;
    }

    .panel-overlay {
        display: none !important;
    }

    .draw-content {
        text-align: center !important;
        color: #fff !important;
        z-index: 10 !important;
        width: 100% !important;
        max-width: none !important;
        padding: 20px 15px !important;
        position: relative !important;
    }

    /* Draw Header */
    .draw-header {
        text-align: center !important;
        margin-bottom: 6px !important;
        position: relative !important;
    }

    .draw-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        margin: 0 0 6px 0 !important;
        color: #fff !important;
        text-transform: uppercase !important;
        letter-spacing: 1.2px !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    }

    .draw-time {
        font-size: 12px !important;
        color: #ffeb3b !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    .day-panel .draw-time {
        color: #ffeb3b !important;
    }

    .night-panel .draw-time {
        color: #e6e6fa !important;
    }

    /* Draw Logo */
    .draw-logo {
        margin-bottom: 8px !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .logo-image {
        height: 50px !important;
        width: auto !important;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5)) !important;
    }

    .sun-icon {
        font-size: 28px !important;
        color: #ffd700 !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    .moon-icon {
        font-size: 28px !important;
        color: #e6e6fa !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    /* Countdown */
    .countdown-container {
        margin: 8px 0 10px 0 !important;
        padding: 8px 0 !important;
    }

    .countdown {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        background: rgba(0, 0, 0, 0.2) !important;
        padding: 8px !important;
        border-radius: 8px !important;
    }

    .countdown-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        min-width: 50px !important;
    }

    .countdown-number {
        font-size: 19px !important;
        font-weight: 800 !important;
        text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.3) !important;
    }

    .day-panel .countdown-number {
        background: #ff9800 !important;
        color: #000 !important;
        padding: 8px 14px !important;
        border-radius: 8px !important;
        min-width: 52px !important;
        font-size: 18px !important;
        box-shadow: 0 3px 8px rgba(255, 152, 0, 0.4) !important;
    }

    .night-panel .countdown-number {
        background: #8B4513 !important;
        color: #fff !important;
        padding: 8px 14px !important;
        border-radius: 8px !important;
        min-width: 52px !important;
        font-size: 18px !important;
        box-shadow: 0 3px 8px rgba(139, 69, 19, 0.4) !important;
    }

    .countdown-label {
        font-size: 11px !important;
        margin-top: 4px !important;
        opacity: 0.95 !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        text-transform: uppercase !important;
    }

    .countdown-separator {
        font-size: 18px !important;
        font-weight: bold !important;
        margin: 0 2px !important;
        color: #fff !important;
        align-self: flex-end !important;
        margin-bottom: 2px !important;
    }

    /* Results Header */
    .results-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        margin: 8px 0 10px 0 !important;
        padding: 6px 0 !important;
        gap: 6px !important;
    }

    .results-title {
        font-size: 15px !important;
        font-weight: 800 !important;
        margin: 0 !important;
        color: #ffeb3b !important;
        text-transform: uppercase !important;
        letter-spacing: 1.2px !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    }

    .day-panel .results-title {
        color: #ffeb3b !important;
    }

    .night-panel .results-title {
        color: #e6e6fa !important;
    }

    .results-date {
        font-size: 12px !important;
        color: #fff !important;
        margin: 0 !important;
        font-weight: 700 !important;
        background: #ff9800 !important;
        padding: 5px 14px !important;
        border-radius: 6px !important;
        display: inline-block !important;
        box-shadow: 0 2px 6px rgba(255, 152, 0, 0.3) !important;
    }

    .night-panel .results-date {
        background: #8B4513 !important;
        box-shadow: 0 2px 6px rgba(139, 69, 19, 0.3) !important;
    }

    /* Live Results */
    .live-results {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 8px !important;
        width: 100% !important;
    }

    .result-row {
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.98) !important;
        padding: 8px 8px !important;
        border-radius: 8px !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25) !important;
        gap: 8px !important;
    }

    .result-row:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        transform: translateY(-1px) !important;
        transition: all 0.3s ease !important;
    }

    .position-logo {
        width: 40px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .position-img {
        width: 100% !important;
        height: auto !important;
        max-width: 40px !important;
    }

    .site-logo {
        width: 45px !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .result-logo {
        width: 100% !important;
        height: auto !important;
        max-width: 45px !important;
    }

    .result-digits {
        display: flex !important;
        gap: 8px !important;
        flex: 1 !important;
        justify-content: flex-end !important;
    }

    /* Live Results digits - mobile (smaller) */
    .live-results .digit,
    .result-digits .digit {
        background: #8B0000 !important;
        color: #fff !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        font-weight: bold !important;
        font-size: 16px !important;
        min-width: 35px !important;
        width: 35px !important;
        height: 35px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-shadow: 0 2px 5px rgba(139, 0, 0, 0.4) !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
    }

    /* Lucky Number - mobile smaller size */
    .lucky-news-section {
        padding: 2rem 0 !important;
    }

    .lucky-news-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .lucky-number-container {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .latest-news-container {
        order: 2 !important;
    }

    .lucky-numbers .number-digit {
        font-size: 1.5rem !important;
        width: 45px !important;
        height: 55px !important;
        line-height: 55px !important;
        border-width: 2px !important;
    }

    .lucky-number-bg {
        width: 100% !important;
        max-width: 350px !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        padding: 1rem !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .lucky-title {
        font-size: 1.5rem !important;
        margin: 0 0 0.5rem 0 !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    .lucky-buttons {
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .btn-get-now, .btn-copy {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.85rem !important;
        min-width: 90px !important;
    }

    /* Latest News - mobile */
    .latest-news-container {
        text-align: center !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        height: auto !important;
    }

    .news-slider-container {
        width: 100% !important;
        max-width: 350px !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .news-slider {
        width: 100% !important;
        height: 200px !important;
    }

    .news-title {
        font-size: 1.5rem !important;
        margin: 0 0 0.5rem 0 !important;
        padding: 0 !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }

    .news-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    /* === RESULT PAGE - MOBILE === */
    /* ===== RESULT PAGE MOBILE ===== */
    .result-page-section {
        padding: 20px 10px 30px !important;
        background: #8B0000 !important;
        min-height: 100vh !important;
    }

    .result-page-header {
        background: #6B0000 !important;
        padding: 20px 15px !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
    }

    .result-page-title {
        font-size: 1.8rem !important;
        margin-bottom: 8px !important;
        color: #fff !important;
        text-align: center !important;
        font-weight: 700 !important;
    }
    
    .result-page-title::after {
        content: 'Monthly View' !important;
        display: block !important;
        font-size: 1rem !important;
        font-weight: 400 !important;
        margin-top: 5px !important;
        color: rgba(255,255,255,0.8) !important;
    }

    .result-toggle {
        display: flex !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
    
    .result-toggle .toggle-btn {
        flex: 1 !important;
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        background: rgba(255,255,255,0.15) !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
    }
    
    .result-toggle .toggle-btn.active {
        background: #FFA500 !important;
        color: #000 !important;
        border-color: #FFA500 !important;
    }
    
    .result-filter {
        margin-top: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .calendar-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
    
    .date-picker {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        border: 2px solid #FFD700 !important;
        border-radius: 10px !important;
        background: rgba(139, 0, 0, 0.8) !important;
        color: #FFD700 !important;
        text-align: center !important;
        cursor: pointer !important;
        outline: none !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }
    
    .date-picker::placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker::-webkit-input-placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker:-moz-placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker::-moz-placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker:-ms-input-placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker::-ms-input-placeholder {
        color: #FFD700 !important;
        font-weight: 700 !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
    }
    
    .date-picker:placeholder-shown {
        color: #FFD700 !important;
        font-weight: 700 !important;
    }
    
    /* Flatpickr Custom Styles */
    .flatpickr-calendar {
        background: rgba(20, 20, 40, 0.98) !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.8) !important;
        border: 3px solid #FFD700 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 320px !important;
    }
    
    .flatpickr-calendar.inline {
        display: block !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
    }
    
    .flatpickr-months {
        background: #8B0000 !important;
        border-radius: 12px 12px 0 0 !important;
    }
    
    .flatpickr-current-month {
        color: #fff !important;
    }
    
    .flatpickr-months .flatpickr-month {
        background: #8B0000 !important;
    }
    
    .flatpickr-months .flatpickr-prev-month,
    .flatpickr-months .flatpickr-next-month {
        fill: #fff !important;
    }
    
    .flatpickr-weekdays {
        background: rgba(139, 0, 0, 0.5) !important;
    }
    
    .flatpickr-weekday {
        color: #FFD700 !important;
        font-weight: 600 !important;
    }
    
    .flatpickr-days {
        background: rgba(20, 20, 40, 0.98) !important;
    }
    
    .flatpickr-day {
        color: #fff !important;
        border-radius: 8px !important;
    }
    
    .flatpickr-day.selected {
        background: #8B0000 !important;
        color: #fff !important;
        font-weight: 700 !important;
        border-color: #FFD700 !important;
    }
    
    .flatpickr-day:hover {
        background: #FFD700 !important;
        color: #000 !important;
        border-color: #FFD700 !important;
    }
    
    .flatpickr-day.today {
        border-color: #FFD700 !important;
        color: #fff !important;
        font-weight: 700 !important;
        background: rgba(255, 215, 0, 0.3) !important;
    }

    .results-list-container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* Result Group - Compact List Style */
    .result-group {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-bottom: 25px !important;
        box-shadow: none !important;
    }
    
    .result-group-header {
        background: transparent !important;
        padding: 0 0 12px 0 !important;
        margin: 0 15px !important;
        border-radius: 0 !important;
        display: block !important;
        border-bottom: none !important;
    }
    
    .result-date-info {
        display: block !important;
        width: 100% !important;
    }
    
    .result-date {
        font-size: 1rem !important;
        color: #fff !important;
        font-weight: 600 !important;
        display: inline !important;
        margin-right: 10px !important;
    }
    
    .result-draw-no {
        font-size: 1rem !important;
        color: #FFD700 !important;
        font-weight: 700 !important;
        display: inline !important;
    }
    
    .result-prizes-container {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .prize-row {
        background: #fff !important;
        border: none !important;
        border-radius: 8px !important;
        padding: 15px !important;
        margin: 0 15px !important;
        display: flex !important;
        align-items: center !important;
        gap: 15px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    }
    
    .prize-badge-circle {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        background: #8B0000 !important;
        border: 3px solid #fff !important;
        box-shadow: 0 3px 10px rgba(0,0,0,0.3) !important;
        border-radius: 50% !important;
    }
    
    .prize-badge-circle span {
        font-size: 0.75rem !important;
        color: #fff !important;
        font-weight: 700 !important;
    }
    
    .prize-logo {
        width: 70px !important;
        min-width: 70px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .prize-logo img {
        width: 65px !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .prize-numbers {
        flex: 1 !important;
        display: flex !important;
        gap: 8px !important;
        justify-content: flex-end !important;
    }
    
    .prize-digit {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
        background: #8B0000 !important;
        border: 2px solid #FFD700 !important;
        border-radius: 8px !important;
    }
    
    .prize-digit.night-draw {
        background: #8B0000 !important;
    }
    
    .prize-digit {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem !important;
    }
    
    .prize-digit.night-draw {
        background: linear-gradient(135deg, #0066cc 0%, #004999 100%) !important;
    }
    
    .footer-list li a:hover {
        color: #dc3545 !important;
    }
    
    .footer-area-bottom {
        padding: 20px 0 !important;
        background: #1e1d32 !important;
        text-align: center !important;
    }
    
    .copyright-text {
        color: #c4d5f6 !important;
        font-size: 14px !important;
        margin: 0 !important;
    }
    
    .copyright-text a {
        color: #dc3545 !important;
    }
    
    .copyright-text a:hover {
        text-decoration: underline !important;
    }
    
    /* Mobile Pagination Styles */
    .pagination-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 30px !important;
        padding: 20px 10px !important;
        flex-wrap: wrap !important;
    }
    
    .pagination-btn {
        background: #fff !important;
        color: #8B0000 !important;
        border: 2px solid #FFD700 !important;
        padding: 10px 20px !important;
        border-radius: 25px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    }
    
    .pagination-btn:hover,
    .pagination-btn:active {
        background: #FFD700 !important;
        color: #8B0000 !important;
        transform: scale(1.05) !important;
    }
    
    .pagination-btn i {
        font-size: 0.8rem !important;
    }
    
    .pagination-info {
        font-size: 1rem !important;
        font-weight: 700 !important;
        color: #fff !important;
        padding: 0 10px !important;
    }
}
