/* LU88 Vietnam 絲取����垸� - 2023�� */

/* 絲取����垸� */
.header {
    background: linear-gradient(to bottom,
            #2d8cff 0%,
            #0a4cbf 100%);

    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
    padding: 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* Logo�桁� */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 20px;
    width: 450px;
}

.logo a {
    display: block;
}

.logo img {
    width: auto;
    height: 86px;
    max-height: 86px;
    min-width: 400px;
    object-fit: contain;
    object-position: left center;
    transition: var(--transition-fast);
}

.logo img:hover {
    transform: scale(1.02);
}

/* 莅よ����� */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.auth-button {
    padding: 8px 20px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition-fast);
}

.register-button {
    background: rgba(255, 255, 255, 0.9);
    color: #04328a;
}

.register-button:hover {
    background: #ffffff;
    transform: translateY(-2px);
    color: #04328a;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.login-button {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.main-menu-container {
    background: linear-gradient(to bottom,
            #ff4d66 0%,
            #ff1a3c 100%);
}


.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.main-menu li a {
    display: block;
    padding: 15px 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.main-menu li a:hover {
    color: #ffffff;
}

.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: var(--transition-fast);
}

.main-menu li a:hover::after {
    width: 100%;
}

/* 腱糸����������� */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    color: #ffffff;
}

.side-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    z-index: 1001;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    border-right: 2px solid #04328a;
}

.side-nav.active {
    left: 0;
}

/* Close button */
.side-nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #04328a;
    cursor: pointer;
    transition: all 0.2s ease;
}
.side-nav-close:hover {
    color: #0a4cbf;
    transform: rotate(90deg);
}

/* Logo */
.side-nav-logo {
    padding: 20px;
    border-bottom: 1px solid #04328a;
    text-align: center;
}
.side-nav-logo img {
    height: 40px;
    width: auto;
}

/* Menu */
.side-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side-nav-menu li a {
    display: block;
    padding: 14px 20px;
    color: #04328a;
    border-bottom: 1px solid #04328a;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}
.side-nav-menu li a:hover {
    background: #e6f0ff;
    color: #0a4cbf;
    padding-left: 25px;
}

/* Auth Section */
.side-nav-auth {
    padding: 20px;
    text-align: center;
}
.side-nav-auth .auth-button {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #04328a;
    color: #04328a;
    background: #ffffff;
    transition: all 0.25s ease;
}
.side-nav-auth .auth-button:hover {
    background: #04328a;
    color: #ffffff;
}


/* ��秋絮� */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    display: none;
    transition: var(--transition-normal);
}

.overlay.active {
    display: block;
}

/* ��綺�綣顒乗� */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-menu-container {
        display: none;
    }

    .mobile-auth-buttons {
        display: flex;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        background: linear-gradient(rgb(255, 77, 102) 0%, rgb(255, 26, 60) 100%);;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-auth-buttons button {
        cursor: pointer;
        transition: all 0.25s ease-in-out;
        font-weight: 600;
        border-radius: 8px;
        padding: 10px 22px;
        font-size: 15px;
    }

    /* Register Button */
    .mobile-auth-buttons .register-button {
        background: linear-gradient(135deg, #ffffff, #e6f0ff);
        color: #04328a;
        border: none;
        box-shadow: 0 3px 8px rgba(255, 255, 255, 0.2);
    }

    .mobile-auth-buttons .register-button:hover {
        background: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 5px 12px rgba(255, 255, 255, 0.4);
    }

    /* Login Button */
    .mobile-auth-buttons .login-button {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.1);
    }

    .mobile-auth-buttons .login-button:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    }


    .header-content {
        padding: 5px 0;
    }

    .header-top {
        justify-content: center;
        position: relative;
    }

    .logo {
        width: 200px;
        padding: 2px 0;
        margin: 0;
        justify-content: center;
    }

    .logo img {
        height: 50px;
        max-height: 50px;
        min-width: 180px;
        width: 180px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 160px;
        padding: 2px 0;
    }

    .logo img {
        height: 45px;
        max-height: 45px;
        min-width: 140px;
        width: 140px;
    }
}

.nav-bar {
    background: #04328a;
    padding: 10px 0;
}

.nav-bar:hover {
    background: #032a73;
    transition: background-color 0.3s ease;
}