/* 导航栏 */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    gap: 15px;
}

.logo .title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.logo .subtitle {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    display: block;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.3);
}

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

.nav-links li {
    margin-left: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #cccccc;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

.nav-links a.first {
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

.nav-links a.first::after {
    width: 100%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ccff, #0066ff);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 二维码悬停效果 */
.nav-links li {
    position: relative;
    display: inline-block;
}

.qrcode-popup {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin: 0;
    display: none;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 204, 255, 0.2);
    z-index: 1000;
    border: 1px solid rgba(0, 204, 255, 0.4);
    padding: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.qrcode-popup::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0, 204, 255, 0.4);
}

.qrcode-popup span {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #fff;
    margin: 5px 0;
    font-weight: 500;
}

.contact-link:hover + .qrcode-popup,
.qrcode-popup:hover {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.qrcode-image {
    width: 180px;
    height: 180px;
    display: block;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-image:last-child {
    margin-bottom: 0;
}

/* 联系我们链接样式增强 */
.contact-link {
    position: relative;
    padding: 5px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background-color: rgba(0, 204, 255, 0.1);
    transform: translateY(-2px);
}