/* Z-index fixes for League of Legends Champions Gallery */

/* Ensures proper navbar styling on the lore page */
.navbar {
    padding: 1rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 255, 140, 0.1);
    box-shadow: 0 4px 30px rgba(0, 255, 140, 0.05);
    transition: all 0.3s ease;
}

/* Completely remove all underlines from navbar links */
.navbar .nav-links a::after {
    display: none !important;
    content: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Remove underlines even from active links */
.navbar .nav-links a.active::after {
    display: none !important;
    content: none !important;
    background: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Ensures active state for the Character Lores navigation item only through color */
.navbar .nav-links a.active {
    color: #01c2cb;
}

/* Modal should be below navbar but above other content */
.lore-modal {
    z-index: 100;
    padding-top: 70px; /* Add padding to prevent content from appearing under navbar */
}

/* Champion cards should have lower z-index than both navbar and modal */
.champion-card:hover {
    z-index: 5;
}

/* Additional spacing to ensure content doesn't overlap with fixed navbar */
.league-hero-section {
    padding-top: 100px;
}
