/* Artistic Modern Responsive Navbar Styles for AIK Mining */

.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 0.3rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    width: 100px;
    height: 35px;
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: nowrap;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffd700;
}

.support-link, .login-link {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 15px;
    padding: 0.3rem 0.6rem !important;
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

.support-link:hover, .login-link:hover {
    background: #ffd700;
    color: #000 !important;
}

/* Mobile menu styles */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 0.5rem;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Mobile menu active states */
.mobile-menu.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu header */
.mobile-menu-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1002;
}

.mobile-menu-header .logo-container {
    width: 80px;
    height: 30px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .nav-links a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }
    
    .support-link, .login-link {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.2rem 0;
    }

    .header-container {
        padding: 0 0.3rem;
    }

    .logo-container {
        width: 80px;
        height: 30px;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu-header {
        display: flex;
        background: #000000;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000000;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #000000;
        z-index: -1;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 1.5rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1rem;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        background-color: #000000;
        color: #ffffff;
    }

    .nav-links a:hover {
        background-color: #1a1a1a;
        color: #ffd700;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Staggered animation for menu items */
    .nav-links a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links a:nth-child(2) { transition-delay: 0.15s; }
    .nav-links a:nth-child(3) { transition-delay: 0.2s; }
    .nav-links a:nth-child(4) { transition-delay: 0.25s; }
    .nav-links a:nth-child(5) { transition-delay: 0.3s; }
    .nav-links a:nth-child(6) { transition-delay: 0.35s; }
    .nav-links a:nth-child(7) { transition-delay: 0.4s; }
    .nav-links a:nth-child(8) { transition-delay: 0.45s; }
    .nav-links a:nth-child(9) { transition-delay: 0.5s; }

    .nav-links a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s ease;
    }

    .nav-links a.active::after {
        transform: rotate(180deg);
    }

    .support-link, .login-link {
        margin: 0.5rem 1.5rem;
        width: calc(100% - 3rem);
        border-radius: 8px;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #1a1a1a;
        border: 1px solid #ffd700;
    }

    .support-link:hover, .login-link:hover {
        background-color: #ffd700;
        color: #000000 !important;
    }

    .support-link::after,
    .login-link::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo-container {
        width: 70px;
        height: 25px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
} 