/* Sports Navigation Container */
.sports-nav-wrapper {
    position: relative;
    z-index: 1000;
}

/* Main Menu List */
.sports-main-menu {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Parent Menu Item */
.sports-menu-parent {
    position: relative;
}

/* Parent Link Styling */
.sports-parent-link {
    display: block;
    padding: 22px 20px;
    text-decoration: none;
    color: #274e9b;
    font-weight: 700;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    background: transparent;
    overflow: hidden;
}

@media (min-width: 1500px) {
    .sports-parent-link {
    	font-size: 24px;
	}
}

/* Shimmer effect on parent link */
.sports-parent-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.sports-parent-link:hover::before {
    left: 100%;
}

.sports-parent-link:hover {
    background: linear-gradient(135deg, #274e9b 0%, #F41E1E 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 30, 30, 0.3);
}

/* Bottom border animation */
.sports-parent-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, #F41E1E 0%, #274e9b 100%);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.sports-parent-link:hover::after {
    width: 85%;
}

/* Mega Dropdown Menu */
.sports-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: visible;
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

@media (min-width: 768px) {
    .sports-mega-dropdown {
        min-width: 320px;
    }
}

.sports-menu-parent:hover .sports-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Dropdown arrow pointer */
.sports-mega-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 40px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: 0;
}

/* Category Items */
.sports-category-item {
    position: relative;
    list-style: none;
    margin: 2px 0;
}

/* Category Links */
.sports-category-link {
    display: block;
    padding: 16px 28px;
    color: #274e9b;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: transparent;
    position: relative;
}

@media (min-width: 1500px) {
    .sports-category-link {
    	font-size: 22px;
	}
}

/* Gradient hover effect for categories */
.sports-category-link:hover {
    background: linear-gradient(135deg, #F41E1E 0%, #c62828 100%);
    color: #ffffff;
    border-left-color: rgba(255, 255, 255, 0.8);
    padding-left: 35px;
    transform: translateX(6px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    /* Sub Menu - FIXED POSITIONING */
    .sports-sub-menu {
        position: absolute;
        top: 0;
        left: 100%;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateX(15px) scale(0.9);
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border: 1px solid rgba(0, 0, 0, 0.06);
        margin-left: 12px;
        z-index: 1003;
        list-style: none;
        padding: 6px 0;
        margin-top: 0;
        pointer-events: auto;
        min-width: 240px;
    }
}

.sports-category-item:hover .sports-sub-menu,
.sports-sub-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
    transition-delay: 0.1s;
}

/* Sub Menu Links */
.sports-sub-link {
    display: block;
    padding: 14px 24px;
    color: #274e9b;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    white-space: nowrap;
}

@media (min-width: 1500px) {
    .sports-sub-link {
    	font-size: 20px;
	}
}

/* Accent bar animation for sub links */
.sports-sub-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(135deg, #274e9b 0%, #F41E1E 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.sports-sub-link:hover {
    background: rgba(39, 78, 155, 0.08);
    color: #F41E1E;
    padding-left: 32px;
    transform: translateX(4px);
}

.sports-sub-link:hover::before {
    transform: scaleY(1);
}

/* Direct Menu Items */
.sports-direct-item {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    list-style: none;
    margin: 4px 0 0 0;
    padding-top: 4px;
}

.sports-direct-link {
    display: block;
    padding: 18px 28px;
    color: #274e9b;
    text-decoration: none;
    font-weight: 600;
    font-size: 22px;
    transition: all 0.35s ease;
    background: rgba(39, 78, 155, 0.02);
    position: relative;
    overflow: hidden;
}

.sports-direct-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F41E1E 0%, #274e9b 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.sports-direct-link:hover::before {
    left: 0;
}

.sports-direct-link:hover {
    color: #ffffff;
    transform: translateX(12px);
    box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.3);
}

/* Staggered Animation Effects */
.sports-menu-parent:hover .sports-mega-dropdown .sports-category-item:nth-child(1) {
    animation: sportsSlideIn 0.4s ease-out 0.1s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-category-item:nth-child(2) {
    animation: sportsSlideIn 0.4s ease-out 0.2s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-category-item:nth-child(3) {
    animation: sportsSlideIn 0.4s ease-out 0.3s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-category-item:nth-child(4) {
    animation: sportsSlideIn 0.4s ease-out 0.4s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-direct-item:nth-child(5) {
    animation: sportsSlideIn 0.4s ease-out 0.5s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-direct-item:nth-child(6) {
    animation: sportsSlideIn 0.4s ease-out 0.6s both;
}

.sports-menu-parent:hover .sports-mega-dropdown .sports-direct-item:nth-child(7) {
    animation: sportsSlideIn 0.4s ease-out 0.7s both;
}

@keyframes sportsSlideIn {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse effect on hover */
.sports-category-item:hover,
.sports-direct-item:hover {
    animation: sportsPulse 0.6s ease-in-out;
}

@keyframes sportsPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .sports-nav-wrapper {
        align-content: center;
    }

    .sports-main-menu {
        flex-direction: column;
        width: 100%;
    }

    .sports-parent-link {
        padding: 18px 20px;
        text-align: center;
        font-size: 20px;
    }

    .sports-mega-dropdown {
        /* position: static; */
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: #ffffff;
        margin-top: 0;
        width: 100%;
    }

    .sports-menu-parent:hover .sports-mega-dropdown {
        opacity: 1;
        visibility: visible;
    }

    .sports-sub-menu {
    	display: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        margin: 0;
        padding: 0;
        background: #ffffff;
        box-shadow: none;
        border: none;
        width: 100%;
        list-style: none;
        pointer-events: auto;
    }

    /* .sports-menu-parent:hover .sports-sub-menu { */
    .sports-category-item:hover .sports-sub-menu,
    .sports-sub-menu:hover {
    	display: block;
        position: static;
        opacity: 1;
        visibility: visible;
    }

    .sports-category-link,
    .sports-sub-link,
    .sports-direct-link {
        padding: 5px 20px;
    }

    .sports-category-link {
        padding-left: 20px;
        font-size: 18px;
    }

    .sports-sub-link {
        padding-left: 40px;
        font-size: 14px;
    }

    .sports-direct-link {
        padding-left: 20px;
        font-size: 18px;
    }

    .sports-parent-link:hover,
    .sports-category-link:hover,
    .sports-sub-link:hover,
    .sports-direct-link:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Enhanced Visual Effects */
.sports-nav-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, rgba(244, 30, 30, 0.3), transparent);
}

/* Smooth transitions */
.sports-category-item,
.sports-direct-item {
    transition: all 0.3s ease;
}

/* Focus states */
.sports-parent-link:focus,
.sports-category-link:focus,
.sports-sub-link:focus,
.sports-direct-link:focus {
    outline: 2px solid #274e9b;
    outline-offset: 2px;
}

/* Dropdown overflow fix */
.sports-mega-dropdown,
.sports-sub-menu {
    overflow: visible !important;
}

/* Hover area extension */
.sports-category-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: -12px;
    width: 12px;
    height: 100%;
    background: transparent;
    z-index: 1004;
}