/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, rgb(107, 1, 3) 0%, rgb(125, 13, 3) 50%, rgb(107, 1, 3) 100%);
    min-height: 100vh;
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: transparent !important;
    z-index: 1000 !important;
    padding: 1rem 0 !important;
    transition: all 0.3s ease !important;
}

.header.scrolled {
    position: fixed !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem 0 !important;
}

.header-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 2rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 50px !important;
}

/* Logo Section */
.logo-section {
    display: flex !important;
    align-items: center !important;
}

.logo-section a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.logo-img {
    height: 80px !important;
    width: auto !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
}

.logo-img:hover {
    transform: scale(1.05) !important;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
}

.language-select {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 107, 53, 0.4);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.language-select:hover,
.language-select:focus {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.language-select option {
    background: #2c3e50;
    color: #fff;
    padding: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none !important;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: #ff6b35;
}

/* Mobile Menu Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu - Hidden on Desktop */
.mobile-menu {
    display: none !important;
}

/* Show only on mobile */
@media (max-width: 768px) {
    .mobile-menu {
        display: block !important;
    }
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    padding-top: 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(255, 107, 53, 0.3));
    z-index: 2;
}

.slide-content {
    text-align: center;
    color: #fff;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

/* Slide Date - Left Corner */
.slide-date {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 30;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.date-label {
    opacity: 0.9;
    margin-right: 0.5rem;
}

.date-value {
    font-weight: bold;
    color: #ff6b35;
}

/* Slide Actions - Right Corner */
.slide-actions {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 30;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

.play-btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.play-btn:hover {
    background: linear-gradient(45deg, #f7931e, #e74c3c);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.check-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.check-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ff6b35;
    color: #ff6b35;
    transform: translateY(-3px);
}

.slide-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    animation: slideInDown 1s ease-out;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    animation: slideInUp 1s ease-out 0.3s both;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: slideInUp 1s ease-out 0.6s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 900;
}

.slider-nav:hover {
    background: rgba(255, 107, 53, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 2rem;
}

.next-slide {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 900;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #333;
}

/* Section Styles */
section {
    padding: 80px 0;
}

section:not(.hero-slider) {
    margin-top: 0;
    position: relative;
}

/* Hide Day/Night Draw Toggle on Desktop - Only show on mobile */
.draw-toggle-section {
    display: none !important;
}

@media (min-width: 769px) {
    .draw-toggle-section {
        display: none !important;
    }
}

/* Live section specific */
.live-section {
    background: #f8f9fa;
    margin-top: 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
}

/* Live Results Section */
.live-results-section {
    padding: 0;
    margin: 0;
}

.live-results-container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.draw-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

/* Both panels visible on desktop */
.night-panel {
    display: flex;
}

.draw-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.panel-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.draw-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    width: 100%;
    max-width: 500px;
}

/* Draw Header */
.draw-header {
    margin-bottom: 2rem;
}

.draw-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.draw-time {
    font-size: 1.2rem;
    color: #ff6b35;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Draw Logo */
.draw-logo {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-image {
    height: 60px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.sun-icon {
    font-size: 2rem;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.moon-icon {
    font-size: 2rem;
    color: #e6e6fa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Countdown */
.countdown-container {
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.day-panel .countdown-number {
    background: #ff9800;
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 50px;
}

.night-panel .countdown-number {
    background: #2c3e50;
    color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    min-width: 50px;
}

.countdown-label {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.9;
    font-weight: 600;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0.5rem;
}

/* Results Header */
.results-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
}

.results-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 0 0.5rem 0;
    color: #FFD700;
}

.results-date {
    font-size: 1rem;
    color: #FFA500;
    margin: 0;
    color: #ff6b35;
    font-weight: 600;
}

/* Live Results */
.live-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.position-logo {
    width: 50px;
    margin-right: 1rem;
}

.position-img {
    width: 100%;
    height: auto;
}

.site-logo {
    width: 80px;
    margin-right: 1rem;
}

.result-logo {
    width: 100%;
    height: auto;
}

.result-digits {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
}

.digit {
    background: #2c3e50;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.digit.waiting {
    background: #555;
    color: #ffeb3b;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.day-panel .digit {
    background: #d32f2f;
}

.night-panel .digit {
    background: #1976d2;
}

/* Responsive Design for Live Results */
@media (max-width: 992px) {
    .draw-title {
        font-size: 1.2rem;
    }
    
    .position-logo {
        width: 40px;
    }
    
    .site-logo {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .draw-title {
        font-size: 1.2rem;
    }
    
    .draw-time {
        font-size: 1rem;
    }
    
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .countdown-item {
        min-width: 35px;
    }
    
    .digit {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .position-logo {
        width: 35px;
    }
    
    .site-logo {
        width: 50px;
    }
}

/* Past Results Section */
.past-results-section {
    padding: 2rem 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    background: url('../images/pass_result_bg.229b5f2132c882ed.webp') center center / cover no-repeat;
}

.past-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.past-results-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.golden-flower-icon {
    font-size: 3rem;
    color: #FFD700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.past-results-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.result-toggle {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 0.5rem;
    gap: 0.5rem;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    background: transparent;
}

.toggle-btn.active {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #8B0000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.toggle-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
}

.past-results-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1020px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.results-slider-wrapper {
    overflow: visible;
    border-radius: 15px;
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.results-slider {
    display: none;
    width: 100%;
    height: auto;
    overflow: visible;
}

.results-slider.active {
    display: block;
    overflow: visible;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    padding: 0.5rem 0;
    height: auto;
    align-items: center;
    width: max-content;
}

.result-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 320px;
    height: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.6);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(255, 165, 0, 0.2));
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.result-date {
    font-weight: 600;
    color: #FFD700;
    font-size: 1.1rem;
}

.draw-number {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.result-content {
    padding: 0.5rem 0.6rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.result-content:last-child {
    border-bottom: none;
}

.prize-badge {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.prize-number {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.result-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.result-card-logo {
    height: 28px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.moon-icon-result {
    position: absolute;
    right: -20px;
    top: -10px;
    font-size: 1.5rem;
    color: #e6e6fa;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.result-numbers {
    display: flex;
    gap: 0.3rem;
    justify-content: flex-start;
    flex: 1;
}

/* Past Results Number Digits - Small display for cards */
.result-numbers .number-digit,
.past-results-section .number-digit {
    background: #C41E3A;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.result-numbers .number-digit:hover,
.past-results-section .number-digit:hover {
    transform: scale(1.1);
}

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-shrink: 0;
}

.nav-arrow {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-arrow:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.8);
    transform: scale(1.1);
    color: #fff;
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
}

.nav-arrow:disabled:hover {
    transform: none;
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Responsive Design for Past Results */
@media (max-width: 1150px) {
    .past-results-container {
        width: 95%;
        max-width: 1090px;
        height: auto;
    }
    
    .results-slider-wrapper {
        width: 100%;
    }
    
    .result-card {
        width: 290px;
    }
}


@media (max-width: 480px) {
    .past-results-title {
        font-size: 1.5rem;
    }
    
    .result-card {
        min-width: 280px;
    }
    
    .card-header {
        padding: 0.75rem 1rem;
    }
    
    .result-content {
        padding: 1.5rem 1rem;
    }
    
    .number-digit {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .result-numbers {
        gap: 0.5rem;
    }
}

/* Lucky Number & Latest News Section */
.lucky-news-section {
    padding: 4rem 0;
    background: transparent;
}

.lucky-news-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: flex-start;
}

/* Lucky Number Styles */
.lucky-number-container {
    position: relative;
    text-align: center;
}

.lucky-title {
    color: #FFD700;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    letter-spacing: 2px;
}

.lucky-number-bg {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 517px;
    height: 295px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 20px;
    border: 3px solid #FFD700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.lucky-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
}

.lucky-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

/* Lucky Number Digits - Large display */
.lucky-numbers .number-digit {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    width: 60px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border: 3px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

/* Live Results Number Digits - Different from Past Results */
.live-results .number-digit,
.digit {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    width: 60px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    background: linear-gradient(135deg, #DC143C, #8B0000);
    border: 3px solid #FFD700;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.4);
}

.live-results .number-digit.animate,
.digit.animate {
    animation: numberSpin 0.5s ease;
}

@keyframes numberSpin {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(180deg); }
    100% { transform: rotateY(0deg); }
}

.lucky-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    position: relative;
    left: -5px;
}

.btn-get-now, .btn-copy {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 100px;
}

.btn-get-now {
    background: linear-gradient(45deg, #dc2626, #ef4444);
    color: #fff;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.btn-get-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.btn-copy {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
    color: #000;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Latest News Styles */
.latest-news-container {
    position: relative;
}

.news-title {
    font-size: 2rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
}

.news-slider-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    max-width: 517px;
    margin: 0 auto;
}

.news-slider {
    position: relative;
    width: 517px;
    height: 295px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.news-slide.active {
    opacity: 1;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.news-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background: #FFD700;
    transform: scale(1.2);
}

/* Responsive Design */

/* Results Section */
.results-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.results-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.result-card {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    color: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-period {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.result-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.result-time {
    font-size: 1rem;
    opacity: 0.9;
}

.no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Results Main Section */
.results-main-section {
    padding: 80px 0;
    background: #fff;
}

.results-display {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.results-table-container {
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.results-table th {
    background: linear-gradient(45deg, #2c3e50, #34495e);
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: middle;
}

.results-table tr:hover {
    background: #f8f9fa;
}

.results-table tr:last-child td {
    border-bottom: none;
}

.period-badge {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.result-number-large {
    background: #2c3e50;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    display: inline-block;
    min-width: 80px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.no-results-main {
    text-align: center;
    color: #7f8c8d;
    padding: 3rem;
}

.no-results-main i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-results-main p {
    font-size: 1.2rem;
    font-style: italic;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e74c3c;
    font-weight: bold;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.live-player {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.live-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-info {
    padding: 1.5rem;
}

.stream-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stream-description {
    color: #666;
    margin-bottom: 1rem;
}

.stream-stats {
    display: flex;
    gap: 2rem;
}

.stream-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

/* Schedule Section */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    gap: 1rem;
}

.schedule-card:hover {
    transform: translateY(-5px);
}

.time {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: bold;
    height: fit-content;
}

.program h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.program p {
    color: #666;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background: url('../images/about/about-bg.31fcbe0ff4767640.webp') center center / cover no-repeat;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.features {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature i {
    font-size: 2rem;
    color: #ff6b35;
    width: 60px;
}

.feature h4 {
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.feature p {
    color: #666;
    font-size: 0.9rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #ff6b35;
    width: 40px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

/* ===========================
   RESULT PAGE STYLES
   =========================== */

.result-page-section {
    padding: 120px 0 50px;
    min-height: 100vh;
}

.result-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.result-page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.result-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 20px 0;
}

.result-toggle .toggle-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-toggle .toggle-btn.day {
    background: linear-gradient(135deg, #FFB347 0%, #FF8C42 100%);
    color: #fff;
    border-radius: 10px 0 0 10px;
}

.result-toggle .toggle-btn.night {
    background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
    color: #fff;
    border-radius: 0 10px 10px 0;
}

.result-toggle .toggle-btn.active {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Calendar Filter Styles */
.result-filter {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.calendar-wrapper {
    display: block !important;
    max-width: 350px;
    margin: 0 auto;
}

.date-picker {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    border: 2px solid #FFD700;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-align: center;
    cursor: pointer;
    outline: none;
    font-weight: 600;
}

.date-picker::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.date-picker::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.date-picker::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.date-picker:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.flatpickr-calendar {
    background: rgba(20, 20, 40, 0.98) !important;
    border: 3px solid #FFD700 !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6) !important;
}

.flatpickr-months {
    background: #8B0000 !important;
    border-radius: 12px 12px 0 0 !important;
}

.flatpickr-current-month {
    color: #FFD700 !important;
    font-weight: 700 !important;
}

.flatpickr-month {
    color: #FFD700 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: #FFD700 !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    fill: #FFF !important;
}

.flatpickr-weekdays {
    background: rgba(139, 0, 0, 0.5) !important;
}

.flatpickr-weekday {
    color: #FFD700 !important;
    font-weight: 700 !important;
}

.flatpickr-days {
    background: rgba(20, 20, 40, 0.98) !important;
}

.flatpickr-day {
    color: #fff !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
}

.flatpickr-day:hover {
    background: #FFD700 !important;
    color: #000 !important;
    border-color: #FFD700 !important;
}

.flatpickr-day.selected {
    background: #8B0000 !important;
    border-color: #FFD700 !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.flatpickr-day.today {
    border-color: #FFD700 !important;
    color: #fff !important;
    font-weight: 700 !important;
    background: rgba(255, 215, 0, 0.2) !important;
}

.flatpickr-day.today:hover {
    background: #FFD700 !important;
    color: #000 !important;
}

.results-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    gap: 25px;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.6);
}

.result-item-date {
    min-width: 80px;
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.date-day {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B0000;
    line-height: 1;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B0000;
    text-transform: uppercase;
    margin-top: 5px;
}

.result-item-content {
    flex: 1;
}

.result-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.draw-period {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
}

.draw-time {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 215, 0, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.result-item-numbers {
    display: flex;
    align-items: center;
    gap: 20px;
}

.result-item-logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
}

.number-digits {
    display: flex;
    gap: 8px;
}

.result-item .number-digit {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    border: 2px solid #FFD700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Result Group Style (1 date with 3 prizes) */
.result-group {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(80, 0, 0, 0.3) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.result-group-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.result-date-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-date, .result-draw-no {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    text-transform: uppercase;
}

.result-prizes-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prize-row {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.prize-row:hover {
    transform: translateX(5px);
    border-color: rgba(255, 215, 0, 0.5);
}

.prize-badge-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prize-badge-circle span {
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.prize-logo {
    flex-shrink: 0;
}

.prize-logo img {
    width: 60px;
    height: 40px;
    object-fit: contain;
}

.prize-numbers {
    display: flex;
    gap: 8px;
    flex: 1;
}

.prize-digit {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    border: 2px solid #FFD700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 2px 5px rgba(255, 255, 255, 0.1);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.prize-digit.night-draw {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff6b35;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff6b35;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
    .header-wrapper {
        gap: 2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}


    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .results-table-container {
        overflow-x: scroll;
    }
    
    .results-table th,
    .results-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .result-number-large {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .period-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

/* Mobile responsive styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2rem;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .results-table-container {
        overflow-x: scroll;
    }
    
    .results-table th,
    .results-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .result-number-large {
        font-size: 1.2rem;
        padding: 0.6rem 1rem;
    }
    
    .period-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Slider mobile */
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .slide-content {
        padding: 0 1rem;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-slide {
        left: 0.5rem;
    }
    
    .next-slide {
        right: 0.5rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    /* Mobile slide elements */
    .slide-date {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .slide-actions {
        bottom: 1rem;
        right: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination-btn {
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    color: #fff;
    border: 2px solid #FFD700;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pagination-btn:hover {
    background: linear-gradient(135deg, #660000 0%, #440000 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.pagination-btn i {
    font-size: 0.9rem;
}

.pagination-info {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
    padding: 0 20px;
}

/* Contact Page Styles */
.contact-section {
    background: linear-gradient(135deg, #1e1d32 0%, #2a2841 100%);
    min-height: 100vh;
    padding: 120px 0 80px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #8B0000 0%, #660000 100%);
    border-radius: 0;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.partner-section {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 60px 40px;
    background: rgba(139, 0, 0, 0.3);
    border-radius: 0;
    text-align: center;
}

.partner-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.partner-description {
    font-size: 1.1rem;
    color: #c4d5f6;
    line-height: 1.8;
    margin-bottom: 25px;
}

.partner-contact {
    font-size: 1.1rem;
    color: #c4d5f6;
    line-height: 1.8;
    margin: 25px 0;
}

.contact-link {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.partner-note {
    font-size: 1.1rem;
    color: #c4d5f6;
    line-height: 1.8;
    margin-top: 25px;
}

.trusted-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.trusted-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.trusted-subtitle {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-item p {
    font-size: 1rem;
    color: #c4d5f6;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .partner-section {
        padding: 40px 20px;
    }
    
    .partner-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Footer Styles */
.footer-area {
    background: #2b2b3d;
    color: #888;
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding-bottom: 30px;
}

.footer-column h3 {
    color: #888;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    color: #888;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-column p i {
    margin-right: 10px;
    color: #888;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links li a i {
    font-size: 6px;
    margin-right: 8px;
}

.footer-links li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #3a3a4d;
    border-radius: 5px;
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #4a4a5d;
    color: #fff;
}

.footer-banner {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.responsible-gaming-badges {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 15px 40px;
    border-radius: 50px;
}

.badge-18 {
    background: #fff;
    color: #e74c3c;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 3px solid #e74c3c;
}

.badge-text {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.footer-area-bottom {
    background: #1e1e2d;
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-logo img {
    height: 50px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: #888;
    margin: 5px 0;
    font-size: 0.9rem;
}

.brand-name {
    color: #dc3545;
    font-weight: 700;
}

.footer-bottom-links a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .responsible-gaming-badges {
        flex-wrap: wrap;
        padding: 15px 20px;
    }
}