nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ===== ปุ่มเปลี่ยนภาษา ===== */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    min-width: 150px;
    display: none;
    margin-top: 5px;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.3s;
}

.lang-dropdown a:hover {
    background: #00aaff;
    color: #fff;
}

/* ===== ปุ่มดาวน์โหลด ===== */
.btn-download-nav {
    background-color: #3b9dff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-download-nav:hover {
    background-color: #2980d9;
}