/* Navigation Styles - Preserving your original logic */
.nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
}

.nav .nav-link.active {
    color: white !important;
    font-weight: 700;
    border-bottom: 2px solid white;
}

.nav .nav-link:hover {
    color: white !important;
}

.sticky-top {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Default (desktop and mobile) - PRESERVED YOUR ORIGINAL STICKY LOGIC */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: linear-gradient(135deg, #0b9ca0 0%, #087c78 100%);
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile fix - PRESERVED YOUR ORIGINAL STICKY LOGIC */
@media (max-width: 767.98px) {
    .sticky-header {
        top: 0; /* ensure it stays at very top */
    }
    body {
        padding-top: 120px; /* prevent content being hidden under header */
    }
}

/* Desktop padding - PRESERVED YOUR ORIGINAL STICKY LOGIC */
@media (min-width: 768px) {
    body {
        padding-top: 140px; /* adjust for live scores + menu height */
    }
}

body {
    padding-top: 90px; /* adjust to match header + mobile menu height */
}

.text-warning {
    color: #12b2bb !important;
}

/* Mobile Menu Links Color - PRESERVED YOUR ORIGINAL LOGIC */
#mobileMenu .list-group-item > a {
    color: #12b2bb !important;
}

#mobileMenu .list-group-item > a:hover,
#mobileMenu .list-group-item > a:focus {
    color: #0fa3a7 !important;
    text-decoration: none;
}

/* Submenu Links - PRESERVED YOUR ORIGINAL LOGIC */
#mobileMenu .list-group-item .list-group-item > a {
    color: #12b2bb !important;
    font-weight: 500;
}

#mobileMenu .list-group-item .list-group-item > a:hover {
    color: #0fa3a7 !important;
}

.sticky-header {
    will-change: transform;
    backface-visibility: hidden;
}

/* Button hover effects matching footer */
#searchToggle:hover,
.btn[data-bs-toggle="collapse"]:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Subscribe button hover */
.btn[href*="subscribe"]:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* League icons hover */
.league-icon img {
    transition: all 0.3s ease;
}

.league-icon:hover img {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Enhanced nav link animations */
.nav .nav-link {
    position: relative;
}

.nav .nav-link:not(.active)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown animations */
.dropdown-menu {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
