/* ==========================================================================
   AriyoGame - Clean Modular Navbar & Links Stylesheet
   ========================================================================== */

/* Universal Link Reset to prevent browser default blue/purple colors */
a, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}

/* Header Container */
.cyber-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 9, 13, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    width: 100%;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Brand Logo */
.brand-wrapper {
    display: flex;
    align-items: center;
}

.brand-wrapper a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #ffffff;
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #f59e0b;
    background: #121218;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-titles .title-main {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
}

.brand-titles .title-sub {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    color: #f59e0b;
    letter-spacing: 1.5px;
}

/* Nav Menu & Horizontal Links */
.clean-nav-menu {
    display: flex;
    align-items: center;
}

.clean-nav-menu ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.2rem;
}

.clean-nav-menu ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Links inside Navbar */
.clean-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.5rem 0.35rem;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.clean-nav-link i {
    font-size: 0.9rem;
    color: #64748b;
    transition: color 0.2s ease;
}

.clean-nav-link:hover,
.clean-nav-link.active {
    color: #ffffff !important;
}

.clean-nav-link:hover i,
.clean-nav-link.active i {
    color: #f59e0b;
}

/* Floating Dropdown */
.clean-dropdown {
    position: relative;
}

.clean-dropdown-box {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 260px;
    background: #0d0e14;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 158, 11, 0.15);
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 99999;
}

.clean-dropdown:hover .clean-dropdown-box {
    display: flex;
}

.clean-dropdown-box a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.9rem;
    color: #94a3b8 !important;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.clean-dropdown-box a:hover {
    background: rgba(245, 158, 11, 0.14);
    color: #ffffff !important;
    transform: translateX(-4px);
}

/* Mobile responsive drawer */
@media (max-width: 992px) {
    .clean-nav-menu {
        position: fixed;
        top: 78px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 78px);
        background: #090a10;
        border-left: 1px solid rgba(245, 158, 11, 0.25);
        padding: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        z-index: 9999;
        display: flex;
        flex-direction: column;
    }

    .clean-nav-menu.open {
        right: 0;
    }

    .clean-nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .clean-nav-menu ul li {
        width: 100%;
    }

    .clean-nav-link {
        width: 100%;
        font-size: 1rem;
        padding: 0.6rem 0.5rem;
    }

    .clean-dropdown-box {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.06);
        display: flex;
        width: 100%;
    }
}
