/* 全局变量 */
:root {
    --primary-color: #ff6b00;
    --hover-color: #ff8533;
    --active-color: #e65c00;
    --text-color: #fff;
    --text-color-secondary: rgba(255,255,255,0.8);
    --text-color-light: rgba(255,255,255,0.6);
    --border-color: rgba(255,255,255,0.1);
    --bg-color: #000;
    --bg-color-secondary: #0a0a0a;
    --bg-gradient: linear-gradient(135deg, #ff6b00, #ff3300);
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-color);
    background: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/* 通用容器 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    background: var(--primary-color);
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 通用标题 */
.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

/* 通用卡片 */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
    }
}

/* 全局动画效果 */
@keyframes neonPulse {
    0% { box-shadow: var(--neon-shadow); }
    50% { box-shadow: 0 0 15px rgba(255,107,0,0.7), 0 0 30px rgba(255,107,0,0.5), 0 0 45px rgba(255,107,0,0.3); }
    100% { box-shadow: var(--neon-shadow); }
}

@keyframes borderGlow {
    0% { border-color: var(--primary-color); }
    50% { border-color: var(--hover-color); }
    100% { border-color: var(--primary-color); }
}

/* 布局容器 */
.main-content {
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
    background: var(--bg-color);
    position: relative;
    z-index: 1;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0.3;
}

.header-inner {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    height: 36px;
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
}

.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 107, 0, 0.3));
}

.main-nav {
    flex: 1;
    min-width: 0; /* 防止flex子项溢出 */
}

.main-nav ul {
    display: flex;
    gap: 1px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-item a {
    color: var(--text-color);
    font-size: 14px;
    padding: 0 12px;
    height: var(--header-height);
    line-height: var(--header-height);
    display: block;
    transition: var(--transition);
    position: relative;
    font-weight: 400;
    white-space: nowrap;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.nav-item:hover::before,
.nav-item.active::before {
    height: 3px;
    opacity: 1;
}

.nav-item:hover::after,
.nav-item.active::after {
    opacity: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-item:hover a,
.nav-item.active a {
    color: var(--primary-color);
    background: linear-gradient(to bottom, rgba(255, 107, 0, 0.15), rgba(255, 107, 0, 0.05));
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

/* 导航栏下载按钮 */
.btn-download {
    background: linear-gradient(45deg, var(--primary-color), #ff4500);
    color: var(--text-color);
    height: 36px;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.btn-download::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg,
        var(--primary-color),
        #ff4500,
        var(--primary-color)
    );
    z-index: -2;
    border-radius: 19px;
    animation: borderGlow 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-download::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2)
    );
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.4),
                0 0 40px rgba(255, 107, 0, 0.2);
    border-color: transparent;
}

.btn-download:hover::before {
    opacity: 1;
}

.btn-download:hover::after {
    transform: translateX(100%);
}

.btn-download svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
}

.btn-download:hover svg {
    transform: scale(1.1);
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .btn-download {
        height: 32px;
        padding: 0 20px;
        font-size: 13px;
    }
    
    .btn-download svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .btn-download {
        padding: 0 16px;
        font-size: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .nav-item a {
        padding: 0 10px;
        font-size: 13px;
    }
    
    .header-inner {
        gap: 20px;
    }
    
    .btn-download {
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .nav-item a {
        padding: 0 8px;
    }
    
    .btn-download span {
        display: none;
    }
    
    .btn-download {
        padding: 0 12px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        justify-content: space-between;
    }
    
    .main-nav {
        display: none;
    }
    
    .btn-download {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        position: absolute;
        left: 0;
        transition: var(--transition);
    }
    
    .mobile-menu-btn span:nth-child(1) {
        top: 6px;
    }
    
    .mobile-menu-btn span:nth-child(2) {
        top: 14px;
    }
    
    .mobile-menu-btn span:nth-child(3) {
        top: 22px;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg);
        top: 14px;
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 14px;
    }
}

/* 页脚样式 */
.footer {
    background: #141414;
    color: var(--text-color);
    padding: 60px 0 30px;
    position: relative;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: normal;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-color-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.qrcode-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.qrcode-item {
    text-align: center;
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.qrcode-item p {
    font-size: 12px;
    color: var(--text-color-light);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-color-light);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
}

.copyright p {
    color: var(--text-color-light);
    font-size: 12px;
    line-height: 1.8;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(180deg, #0a0a0a, #141414);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    padding: 80px 0 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 107, 0, 0.3),
        transparent
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.qrcode-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.qrcode-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: all 0.3s ease;
}

.qrcode-item:hover {
    background: rgba(255, 107, 0, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.1);
}

.qrcode-item img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.qrcode-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 社交媒体部分 */
.footer-social {
    text-align: center;
    margin-bottom: 30px;
}

.social-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* 友情链接部分 */
.footer-links {
    text-align: center;
    margin-bottom: 30px;
}

.links-title {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.links-list {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.links-list a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 14px;
}

.links-list a:hover {
    color: var(--primary-color);
}

/* 底部信息 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-right {
    text-align: right;
}

.footer-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 15px;
    }
    
    .footer-right {
        text-align: center;
    }
    
    .links-list {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 15px;
    }
    
    .social-links {
        gap: 20px;
    }
} 
/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 40px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    :root {
        --max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .qrcode-list {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-inner {
        padding: 0 15px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .copyright p {
        font-size: 10px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}
/* 在 common.css 中添加或更新以下样式 */

/* 用户区域样式 */
.user-area {
    margin-left: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* 登录按钮组 */
.login-btns {
    display: flex;
    gap: 15px;
    height: 36px;
}

/* 登录按钮 */
.btn-login {
    padding: 0 24px;
    border: 1px solid rgba(255, 107, 0, 0.6);
    border-radius: 18px;
    font-size: 14px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-login:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 0, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2);
}

/* 注册按钮 */
.btn-register {
    padding: 0 24px;
    background: linear-gradient(45deg, #ff6b00, #ff4500);
    border-radius: 18px;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-register:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-register:hover:before {
    left: 100%;
}

/* 已登录状态 */
.user-info {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(255, 107, 0, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-dropdown {
    margin-left: 8px;
    padding: 0 8px;
}

.user-name {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.user-level {
    font-size: 12px;
    color: var(--primary-color);
}

/* 用户统计信息样式 */
.user-stats {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item i {
    width: 20px;
    margin-right: 8px;
    color: var(--primary-color);
}

.stat-label {
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.stat-value {
    margin-left: auto;
    font-weight: 500;
    color: #fff;
}

/* 菜单链接样式 */
.menu-links {
    padding: 5px 0;
}

.menu-links a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.menu-links a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.menu-links i {
    width: 20px;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.menu-links a:hover i {
    color: var(--primary-color);
}

/* 分割线 */
.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* 退出按钮 */
.logout-btn {
    color: #ff4d4f !important;
}

.logout-btn:hover {
    background: rgba(255, 77, 79, 0.1) !important;
}

.logout-btn i {
    color: #ff4d4f !important;
}

/* 下拉菜单容器 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 240px;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin-top: 10px;
    border: 1px solid rgba(255, 107, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu:before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: rgba(28, 28, 28, 0.95);
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 107, 0, 0.1);
    border-top: 1px solid rgba(255, 107, 0, 0.1);
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .user-area {
        margin-left: 0;
    }
    
    .login-btns {
        gap: 10px;
    }
    
    .btn-login, .btn-register {
        padding: 0 16px;
        font-size: 13px;
        height: 32px;
    }
    
    .user-dropdown {
        display: none;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
    }
}

/* 快捷功能区样式 */
.quick-actions {
    position: fixed;
    right: 40px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

/* 通用按钮样式 */
.quick-actions > div {
    width: 40px;
    height: 40px;
    background: rgba(28, 28, 28, 0.95);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.quick-actions > div:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.quick-actions i {
    font-size: 18px;
    color: #fff;
}

/* 返回顶部按钮 */
.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* QQ群样式 */
.qq-group {
    position: relative;
}

/* QQ客服样式 */
.qq-service {
    position: relative;
}

/* 当返回顶部按钮显示时，调整其他按钮的位置 */
.back-to-top.show ~ .qq-group {
    transform: translateY(-55px);
}

.back-to-top.show ~ .qq-service {
    transform: translateY(-55px);
}

.qq-qrcode {
    position: absolute;
    right: 50px;
    bottom: 0;
    background: rgba(28, 28, 28, 0.95);
    padding: 15px;
    border-radius: 12px;
    display: none;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 0, 0.1);
    text-align: center;
    width: 200px;
}

.qq-qrcode:before {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 14px;
    width: 12px;
    height: 12px;
    background: rgba(28, 28, 28, 0.95);
    transform: rotate(45deg);
    border-right: 1px solid rgba(255, 107, 0, 0.1);
    border-top: 1px solid rgba(255, 107, 0, 0.1);
}

.qq-qrcode img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
}

.qq-qrcode p {
    color: #fff;
    font-size: 12px;
    margin-top: 8px;
}

.qq-group:hover .qq-qrcode {
    display: block;
}

/* QQ客服按钮动画 */
.qq-service i {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0);
    }
    20%, 60% {
        transform: rotate(-12deg);
    }
    40%, 80% {
        transform: rotate(12deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .quick-actions {
        right: 20px;
        bottom: 20px;
        gap: 10px;
    }
    
    .quick-actions > div {
        width: 36px;
        height: 36px;
    }
    
    .quick-actions i {
        font-size: 16px;
    }
    
    .qq-qrcode {
        right: 45px;
        padding: 10px;
    }
    
    .qq-qrcode img {
        width: 120px;
        height: 120px;
    }
}