/**
 * KeoChuan Theme - Main Styles
 * Professional styling for sports betting website
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-top {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Banner */
.header-banner {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.header-banner .container {
    text-align: center;
}

.banner-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.9;
}

.banner-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

.site-logo {
    display: inline-block;
    text-decoration: none;
}

.site-logo .logo-image {
    height: 75px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.site-logo:hover .logo-image {
    opacity: 0.9;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .site-logo .logo-image {
        height: 50px;
        max-width: 220px;
    }
}

.site-logo:hover .logo-image {
    opacity: 0.8;
}

.site-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #2e7d32;
    text-decoration: none;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-controls select,
.header-controls button {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

/* ============================================
   MAIN NAVIGATION - MODERN PROFESSIONAL DESIGN WITH ICONS
   ============================================ */

.main-navigation {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #1b5e20 100%);
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 
                inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    overflow: visible;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Top accent line - subtle shimmer */
.main-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.4) 30%, 
        rgba(255,255,255,0.6) 50%, 
        rgba(255,255,255,0.4) 70%, 
        transparent 100%);
    animation: menuShimmer 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes menuShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Bottom subtle border */
.main-navigation::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.2), 
        transparent);
    z-index: 1;
}

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 2;
}

/* Menu Item */
.nav-menu li {
    margin: 0;
    position: relative;
    flex: 0 1 auto;
}

/* Subtle divider between items */
.nav-menu li:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 0;
    width: 1px;
    height: 50%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255,255,255,0.15) 50%, 
        transparent 100%);
    z-index: 1;
    opacity: 0.6;
}

/* Menu Link - Modern Design with Icons */
.nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.4;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 0;
    background: transparent;
    min-height: 52px;
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Menu Icon Styles */
.nav-menu a .menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.nav-menu a .menu-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.nav-menu a .menu-text {
    position: relative;
}

/* Live Icon Special Style */
.nav-menu a .live-play-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.95;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-right: 6px;
}

.nav-menu a .live-icon-wrapper {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 4px;
    margin-right: 8px;
}

.nav-menu a .live-icon-wrapper .live-icon {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: livePulse 0.8s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 68, 68, 0.7);
    flex-shrink: 0;
    display: inline-block;
}

/* Hover Effect - Modern (No white background) */
.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: rgba(255,255,255,0.9);
    transition: width 0.3s ease;
    z-index: 1;
}

/* Hover States - Enhanced */
.nav-menu a:hover {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.nav-menu a:hover::before {
    opacity: 0;
    background: transparent;
}

.nav-menu a:hover::after {
    width: 85%;
    height: 3px;
    box-shadow: 0 2px 8px rgba(255,255,255,0.4);
}

.nav-menu a:hover .menu-icon {
    transform: scale(1.15) translateY(-1px);
}

.nav-menu a:hover .menu-icon svg {
    opacity: 1;
    stroke-width: 2.8;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.4));
}

.nav-menu a:hover .live-play-icon {
    opacity: 1;
    transform: scale(1.1);
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}


/* Active/Current Menu Item - Enhanced */
.nav-menu .current-menu-item > a {
    color: #ffffff;
    font-weight: 700;
    background: transparent;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.nav-menu .current-menu-item > a::before {
    opacity: 0;
    background: transparent;
}

.nav-menu .current-menu-item > a::after {
    width: 90%;
    height: 3px;
    background: rgba(255,255,255,1);
    box-shadow: 0 0 12px rgba(255,255,255,0.6),
                0 2px 8px rgba(255,255,255,0.4);
}

.nav-menu .current-menu-item > a .menu-icon {
    transform: scale(1.1);
}

.nav-menu .current-menu-item > a .menu-icon svg {
    opacity: 1;
    stroke-width: 2.8;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}


/* Press Effect */
.nav-menu a:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

/* Live Icon - Premium Design */
.menu-item-live .live-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: livePulse 0.8s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 68, 68, 0.7),
                0 0 12px rgba(255, 68, 68, 0.4);
    vertical-align: middle;
    position: relative;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 6px rgba(255, 68, 68, 0.7),
                    0 0 12px rgba(255, 68, 68, 0.4);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.2);
        box-shadow: 0 0 10px rgba(255, 68, 68, 0.9),
                    0 0 20px rgba(255, 68, 68, 0.6);
    }
}

.menu-item-live a {
    position: relative;
    font-weight: 700;
}

.menu-item-live:hover .live-icon,
.menu-item-live.current-menu-item .live-icon {
    animation-duration: 0.6s;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.9),
                0 0 20px rgba(255, 68, 68, 0.6);
}

.menu-item-live:hover a,
.menu-item-live.current-menu-item > a {
    color: #ffffff !important;
}

.menu-item-live:hover a::before,
.menu-item-live.current-menu-item > a::before {
    background: linear-gradient(135deg, 
        rgba(255, 68, 68, 0.12) 0%, 
        rgba(255, 68, 68, 0.06) 100%);
    border-top-color: rgba(255, 68, 68, 0.3);
}

.menu-item-live.current-menu-item::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 68, 68, 0.9) 50%, 
        transparent 100%);
    box-shadow: 0 -2px 10px rgba(255, 68, 68, 0.5);
}

/* Enhanced Hover Glow */
.nav-menu li:hover {
    z-index: 10;
}

.nav-menu li:hover a::before {
    box-shadow: 0 4px 16px rgba(255,255,255,0.2), 
                inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Content Layout */
.site-content {
    padding: 20px 0;
}

.content-wrapper {
    display: flex;
    gap: 20px;
}

.main-content-area {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sidebar {
    width: 300px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Sidebar Toggle Mobile - Hidden on desktop */
.sidebar-toggle-mobile {
    display: none;
}

/* Footer */
.site-footer {
    margin-top: 60px;
    background: #1a1a1a;
    color: #e0e0e0;
}

.footer-main {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    color: #fff;
}

.footer-about {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-icon.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icon.zalo:hover {
    background: #0068ff;
    border-color: #0068ff;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #fff;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 15px;
    transform: translateX(5px);
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact-list {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.contact-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.footer-newsletter {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-newsletter h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.15);
}

.newsletter-form button {
    padding: 10px 20px;
    background: #fff;
    color: #2e7d32;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.footer-bottom {
    background: #1a1a1a;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.copyright strong {
    color: #2e7d32;
    font-weight: 600;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #2e7d32;
}

.footer-legal .separator {
    color: rgba(255,255,255,0.3);
}

/* Sidebar Leagues */
.sidebar-widget {
    margin-bottom: 20px;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.breadcrumb-nav {
    padding: 12px 15px;
    margin: 0;
    color: #666;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}

/* Hot Leagues Section */
.hot-leagues-section {
    background: #fff;
}

.hot-leagues-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid #1b5e20;
}

.hot-leagues-title:hover {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hot-leagues-title .toggle-icon {
    font-size: 0;
    transition: all 0.3s ease;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.hot-leagues-title .toggle-icon::before {
    content: "▶";
    font-size: 14px;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease;
    transform-origin: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hot-leagues-title .toggle-icon.active::before {
    content: "▼";
    transform: translate(-50%, -50%) rotate(0deg);
}

.hot-leagues-content {
    display: block;
    padding: 15px;
    will-change: height;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.league-category {
    margin-bottom: 20px;
}

.league-category:last-child {
    margin-bottom: 0;
}

.category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 1px solid #dee2e6;
    color: #495057;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.category-title:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #2e7d32;
    color: #1b5e20;
    box-shadow: 0 2px 4px rgba(46,125,50,0.1);
}

.category-title .toggle-icon {
    font-size: 0;
    transition: transform 0.2s ease;
    color: #2e7d32;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
    will-change: transform;
    transform: translateZ(0);
}

.category-title .toggle-icon::before {
    content: "▶";
    font-size: 12px;
    display: block;
    line-height: 1;
    transition: transform 0.3s ease;
    transform-origin: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.category-title .toggle-icon.active::before {
    content: "▼";
    transform: translate(-50%, -50%) rotate(0deg);
}

.league-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none !important;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    will-change: height;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.league-list.active {
    display: block !important;
}

.league-list li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.league-list li:last-child {
    border-bottom: none;
}

.league-list li:hover {
    background: #f8f9fa;
}

.league-link {
    display: flex;
    align-items: center;
    padding: 11px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
}

.league-link:hover {
    background: #e8f5e9;
    color: #2e7d32;
    padding-left: 18px;
}

.league-link.active {
    background: linear-gradient(90deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1b5e20;
    font-weight: 600;
    border-left: 3px solid #2e7d32;
    padding-left: 18px;
}

.league-icon {
    font-size: 18px;
    margin-right: 12px;
    display: inline-block;
    line-height: 1;
}

.league-logo {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px;
    background: transparent;
    padding: 0;
    flex-shrink: 0;
}

.sidebar-widget .league-logo,
.leagues-widget .league-logo,
.league-link .league-logo {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
}

.league-name {
    font-weight: 500;
    flex: 1;
}

/* Ranking Widget */
.ranking-widget {
    margin-top: 20px;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.ranking-widget .widget-title {
    padding: 14px 18px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    border-bottom: 2px solid #1b5e20;
}

/* Tăng padding cho bảng xếp hạng */
.ranking-widget .bxh-110 {
    padding: 0 15px 15px 15px;
}

.ranking-widget .bxh-110 .custom-select-02 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.ranking-widget .bxh-110 table tr td:first-child,
.ranking-widget .bxh-110 table tr th:first-child {
    padding-left: 15px !important;
}

.ranking-widget .bxh-110 .player-st-content-item {
    padding-left: 15px;
    padding-right: 15px;
}

.ranking-widget .bxh-110 .player-st-content-item-no {
    margin-right: 10px;
}

.ranking-widget .bxh-110 .lrdiv-title {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Mobile Menu Toggle Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none !important;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: #2e7d32;
    border: none;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

/* Ensure desktop navigation is visible */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .main-navigation {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        right: auto !important;
        overflow: visible !important;
    }
    
    .nav-menu {
        flex-direction: row !important;
        padding: 0 !important;
    }
    
    .nav-menu li {
        border: none !important;
    }
    
    .nav-menu a {
        padding: 12px 20px !important;
        font-size: 14px !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        width: auto !important;
        min-height: auto !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

.mobile-menu-toggle:hover {
    background: #1b5e20;
    transform: scale(1.05);
}

.mobile-menu-toggle.active {
    background: #d32f2f;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive - Desktop only, mobile styles moved to mobile.css */
/* @media (max-width: 768px) {
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Header Top - Mobile */
    .header-top {
        padding: 10px 0;
        position: relative;
        padding-right: 60px; /* Space for menu button */
    }
    
    .header-top-right {
        display: none; /* Hide controls on mobile */
    }
    
    .site-logo .logo-image {
        height: 50px !important;
        max-width: 200px !important;
    }
    
    /* Main Navigation - Mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation .container {
        padding: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px 0;
        margin: 0;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .nav-menu li::before,
    .nav-menu li::after {
        display: none;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 0;
        width: 100%;
    }
    
    .nav-menu a .menu-icon {
        display: inline-flex !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    .nav-menu a:hover {
        background: #f5f5f5;
        transform: none;
    }
    
    .menu-item-live .live-icon {
        margin-right: 10px;
    }
    
    /* Content Layout - Mobile */
    .content-wrapper {
        flex-direction: column;
        gap: 0;
    }
    
    .sidebar {
        width: 100%;
        order: 2; /* Sidebar below content on mobile */
    }
    
    .main-content-area {
        width: 100%;
        order: 1; /* Content first on mobile */
    }
    
    /* Sidebar Widgets - Mobile */
    .sidebar-widget {
        margin-bottom: 15px;
    }
    
    .hot-leagues-title {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .category-title {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .league-list {
        display: block;
    }
    
    .league-link {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    /* Footer - Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Header Banner - Mobile */
    .header-banner {
        padding: 8px 0;
    }
    
    .header-banner .container {
        padding: 0 10px;
    }
    
    /* Container - Mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Site Content - Mobile */
    .site-content {
        padding: 15px 0;
    }
    
    .footer-logo-img {
        height: 50px;
        max-width: 220px;
    }
    
    /* Ranking Widget - Mobile */
    .ranking-widget {
        margin-top: 15px;
    }
    
    .ranking-widget .widget-title {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    /* Touch-friendly buttons */
    button, .button, a.button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }
    
    /* Tables - Mobile */
    table {
        font-size: 12px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Forms - Mobile */
    input, select, textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 44px;
        padding: 12px;
    }
    
    /* Plugin shortcode containers - Mobile */
    #scrollIframe,
    .game-rate,
    .match-detail {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Sidebar collapse button for mobile */
    .sidebar-toggle-mobile {
        display: block;
        width: 100%;
        padding: 14px 15px;
        background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
        color: #fff;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 15px;
        margin-bottom: 15px;
        cursor: pointer;
        text-align: center;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        min-height: 48px;
    }
    
    .sidebar-toggle-mobile:hover {
        background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%);
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
    
    .sidebar-toggle-mobile:active {
        transform: translateY(0);
    }
    
    .sidebar.collapsed {
        display: none !important;
    }
    
    /* Sidebar on mobile - initially collapsed */
    .sidebar:not(.collapsed) {
        display: block;
    }
    
    /* Content spacing - Mobile */
    .site-content {
        padding: 10px 0;
    }
    
    .main-content-area {
        padding: 0;
    }
    
    /* Header banner - Mobile */
    .header-banner {
        padding: 5px 0;
    }
    
    /* Footer sections - Mobile */
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-section:last-child {
        margin-bottom: 0;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-newsletter {
        margin-top: 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    /* Plugin rate table - Mobile optimization */
    #rate_iframe,
    #scrollIframe #table_live {
        font-size: 11px;
    }
    
    /* Better spacing for mobile */
    .content-wrapper {
        gap: 15px;
    }
    
    /* Hide desktop-only elements */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-only elements */
    .mobile-only {
        display: block !important;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .content-wrapper {
        gap: 20px;
    }
    
    .sidebar {
        width: 280px;
    }
    
    .main-content-area {
        flex: 1;
    }
    
    .nav-menu a {
        padding: 12px 20px;
        font-size: 13px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .site-logo .logo-image {
        height: 45px !important;
        max-width: 180px !important;
    }
    
    .mobile-menu-toggle {
        top: 10px;
        right: 10px;
        padding: 8px;
    }
    
    .main-navigation {
        width: 260px;
    }
    
    .nav-menu a {
        padding: 14px 18px;
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hot-leagues-title {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .category-title {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .league-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .footer-content {
        padding: 25px 15px;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-menu a {
        font-size: 13px;
        padding: 8px 0;
    }
    
    /* Additional mobile optimizations */
    .main-content-area {
        padding: 15px 10px;
    }
    
    .sidebar-widget {
        padding: 15px;
    }
    
    /* Touch targets - minimum 44x44px */
    a, button, input[type="button"], input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Smooth scrolling */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* Plugin containers - full width on mobile */
    #scrollIframe,
    #rate_iframe,
    .game-rate {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Tables responsive */
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better text readability on mobile */
    body {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Ensure H1 tags in content are visible - Very aggressive */
    h1,
    .entry-content h1,
    .main-content-area h1,
    article h1,
    .site-content h1,
    main h1 {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        color: #333 !important;
        margin: 20px 0 15px 0 !important;
        line-height: 1.4 !important;
        height: auto !important;
        width: auto !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        z-index: auto !important;
    }
    
    /* Ensure entry-content is visible */
    .entry-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    @media screen and (max-width: 768px) {
        h1,
        .entry-content h1,
        .main-content-area h1,
        article h1,
        .site-content h1,
        main h1 {
            font-size: 20px !important;
            margin: 15px 0 10px 0 !important;
        }
    }
    
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
}

