body {
    background-color: #111111;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

body {
    background-color: #111111;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(17, 17, 17, 0.506);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    gap: 20px;
}

.nav-right {
    gap: 15px;
}

.nav-left a {
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    color: #8d8d8d;
    font-size: 17px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-right a {
    color: #8d8d8d;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-left a:hover, .nav-left a.active, .nav-right a:hover {
    color: #ffffff;
}

.nav-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-center .logo img {
    width: 50px;
    height: auto;
    display: block;
    pointer-events: none;
}

.mega-menu-overlay {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    z-index: 2000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: top 0.4s ease-in-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mega-menu-overlay.show {
    top: 0;
}

.mega-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mega-menu-header .logo img {
    width: 50px;
    height: auto;
}

.mega-menu-close {
    color: #8d8d8d;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.mega-menu-close:hover {
    color: #ff4c4c;
}

.mega-menu-content {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.mega-menu-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 250px;
}

.mega-menu-category {
    color: #f0cb44;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-menu-column a {
    color: #8d8d8d;
    font-size: 16px;
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    padding-top: 7px;
    padding-bottom: 7px;
}

.mega-menu-column a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.nav-mobile {  
    display: none;
}

.mobile-nav-button {
    cursor: pointer;
    z-index: 999;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #a1a1a1;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: "";
    display: block;
    width: 25px;
    height: 3px;
    background-color: #a1a1a1;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.hamburger.active { background-color: transparent; }
.hamburger.active::before { transform: rotate(45deg); top: 0; }
.hamburger.active::after { transform: rotate(-45deg); top: 0; }

.mobile-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; 
    background-color: rgba(17, 17, 17, 0.98);
    overflow-y: auto; 
    padding: 30px 30px 0px 30px; 
    box-sizing: border-box;
    z-index: 998; 
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 40px;
}

.mobile-category {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-category h4 {
    color: #f0cb44;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-category a {
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    color: #8d8d8d;
    font-size: 15px;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
}

.mobile-category a:hover {
    color: #ffffff;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .navbar {
        padding: 30px 30px;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .mega-menu-overlay {
        display: none !important;
    }

    .nav-center {
        position: absolute;
        top: 50%;
        right: 30px;
        left: auto;
        transform: translateY(-50%);
    }

    .nav-mobile {
        display: block;
    }
}

.nav-right a.header-login-btn { 
    background: rgba(255, 255, 255, 0.03);
    color: #dcdcdc;
    backdrop-filter: blur(12px);
    padding: 8px 18px; 
    border-radius: 6px; 
    font-size: 15px !important; 
    font-family: 'Poppins', sans-serif;
    font-weight: 600; 
    text-decoration: none; 
    margin-left: 15px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s; 
}
.nav-right a.header-login-btn:hover { 
    background: rgba(255, 255, 255, 0.19);
    color: #fff !important;
}

.image-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.image-div img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.2;
    pointer-events: none;
}

.image-div .fade2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #111111 100%);
    z-index: 1;
}

@media (max-width: 768px) { 
    .image-div img {
        width: 300%;
        transform: translate(-30%, 0%);
    }
}

::-webkit-scrollbar {
    width: 3px;
    height: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #cecece;
    border-radius: 4px;
}
::-webkit-scrollbar-track {
    background-color: transparent;
}

.classic-wiki-container {
    margin-top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    overflow-y: auto;
    padding: 10px;
    background-color: #ffffff00;
    position: absolute;
    z-index: 10;
}

.wr-btn {
    position: relative; padding: 10px 20px; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 1px; color: #ffffff; background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 4px; cursor: pointer; overflow: hidden;
    transition: all 0.5s ease; display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
}
.wr-btn i { margin-right: 8px; }
.wr-btn::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%; background-color: #cfa200; transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1); z-index: -1; }
.wr-btn:hover { color: #fff; border-color: #cfa200; }
.wr-btn:hover::before { height: 100%; }