/* ==========================================
   🌌 极光竞技 · 玻璃态科幻 (Aurora Gaming)
   完整版 - 顶部导航栏 + 左侧侧边栏
   版本: 3.0
   ========================================== */

/* ---------- 导入字体 ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,600;14..32,700;14..32,800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ---------- 全局变量 ---------- */
:root {
    --bg-primary: #080C14;
    --bg-secondary: #0E1626;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-primary: #F0F4FF;
    --text-secondary: #A0B4D0;
    --text-muted: #6A7F9F;

    --accent-cyan: #00F0FF;
    --accent-pink: #FF007A;
    --accent-purple: #A855F7;
    --gradient-aurora: linear-gradient(135deg, #00F0FF 0%, #A855F7 50%, #FF007A 100%);
    --shadow-glow: 0 8px 32px rgba(0, 240, 255, 0.15);
    
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* 金色渐变 */
.text-gold-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 霓虹红 */
.text-neon-red {
    background: linear-gradient(135deg, #FF0040 0%, #FF6B6B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 赛博蓝紫 */
.text-cyber {
    background: linear-gradient(135deg, #00D4FF 0%, #7B2FBE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 霓虹绿 */
.text-neon-green {
    background: linear-gradient(135deg, #00FF88 0%, #00CC66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 火焰橙 */
.text-fire {
    background: linear-gradient(135deg, #FF6B00 0%, #FF0033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- 全局重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    padding-left: 90px;
    padding-top: 80px;
    padding-bottom: 20px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: default;
    background-image: 
        radial-gradient(ellipse at 10% 20%, rgba(0, 240, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 80%, rgba(255, 0, 122, 0.05) 0%, transparent 60%);
    transition: padding-left 0.4s var(--transition-smooth);
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { 
    background: var(--gradient-aurora); 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { opacity: 0.7; }

/* ==========================================
   1. 鼠标跟随光晕
   ========================================== */
#cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: left 0.12s ease-out, top 0.12s ease-out;
    will-change: left, top;
}

/* ==========================================
   2. 粒子背景
   ========================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ==========================================
   3. 滚动进度条
   ========================================== */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-aurora);
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* ==========================================
   4. 顶部导航栏 (Top Navbar)
   ========================================== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    padding: 12px 30px;
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-navbar .brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-navbar .brand i {
    -webkit-text-fill-color: var(--accent-cyan);
    font-size: 1.5rem;
}

/* 右上角 Account 按钮 - 单个按钮 */
.top-navbar .account-section .auth-btn.account-btn {
    padding: 8px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    border: none;
    background: var(--gradient-aurora);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.top-navbar .account-section .auth-btn.account-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
}
/* ==========================================
   用户头像下拉菜单 - 点击切换
   ========================================== */

.top-navbar .account-section .user-avatar-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-aurora);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

/* ✅ 下拉菜单 - 默认隐藏 */
.top-navbar .account-section .user-avatar-top .dropdown-menu-top {
    position: absolute;
    top: 48px;
    right: 0;
    background: rgba(14, 22, 38, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 8px 0;
    min-width: 190px;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    z-index: 99999;
}

/* ✅ 下拉菜单 - 显示状态 */
.top-navbar .account-section .user-avatar-top .dropdown-menu-top.open {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ✅ 菜单项样式 */
.top-navbar .account-section .user-avatar-top .dropdown-menu-top a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.top-navbar .account-section .user-avatar-top .dropdown-menu-top a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.top-navbar .account-section .user-avatar-top .dropdown-menu-top a i {
    width: 18px;
    text-align: center;
}

.top-navbar .account-section .user-avatar-top .dropdown-menu-top a.danger {
    color: var(--accent-pink);
}

.top-navbar .account-section .user-avatar-top .dropdown-menu-top a.danger:hover {
    background: rgba(255, 0, 122, 0.1);
}

.top-navbar .account-section .user-avatar-top .dropdown-menu-top hr {
    border-color: rgba(255, 255, 255, 0.06);
    margin: 4px 12px;
}

/* ==========================================
   5. 左侧侧边栏 (Sidebar)
   ========================================== */
.sidebar {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 6px;
    background: rgba(8, 12, 20, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s var(--transition-bounce);
}

.sidebar:hover {
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 8px 50px rgba(0, 240, 255, 0.1);
}

.sidebar-brand {
    padding: 4px 0 8px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    text-align: center;
}

.sidebar-brand .brand-icon {
    font-size: 1.4rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    transition: transform 0.4s var(--transition-bounce);
    text-decoration: none;
}

.sidebar-brand .brand-icon:hover {
    transform: rotate(-10deg) scale(1.1);
}

.sidebar-brand .brand-short {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 2px;
    display: block;
    -webkit-text-fill-color: var(--text-muted);
}

.sidebar .nav-link-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    padding: 6px 4px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--transition-bounce);
    border: none;
    background: transparent;
    cursor: pointer;
    gap: 2px;
}

.sidebar .nav-link-side i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.sidebar .nav-link-side .link-label {
    font-size: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.sidebar .nav-link-side:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

.sidebar .nav-link-side:hover i {
    color: var(--accent-cyan);
    transform: scale(1.1);
}

.sidebar .nav-link-side:hover .link-label {
    color: var(--accent-cyan);
}

.sidebar .nav-link-side.active {
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.sidebar .nav-link-side.active i {
    color: var(--accent-cyan);
}

.sidebar .nav-link-side.active .link-label {
    color: var(--accent-cyan);
}

.sidebar .nav-link-side.active::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent-cyan);
    border-radius: 4px;
    box-shadow: 0 0 16px var(--accent-cyan);
}

.sidebar-divider {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

/* ==========================================
   6. 移动端底部导航
   ========================================== */
@media (max-width: 768px) {
    body {
        padding-left: 0;
        padding-top: 70px;
        padding-bottom: 80px;
    }
    
    .sidebar {
        display: none;
    }
    
    .top-navbar {
        padding: 10px 16px;
    }
    
    .top-navbar .brand {
        font-size: 1.1rem;
    }
    
    .top-navbar .account-section .auth-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    
    .top-navbar .account-section .auth-btn.register-btn {
        display: none;
    }
    
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(8, 12, 20, 0.85);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 8px 0 env(safe-area-inset-bottom);
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-bottom-nav .nav-link-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 0.5rem;
        padding: 4px 12px;
        border-radius: 10px;
        transition: all 0.3s ease;
        min-width: 48px;
        border: none;
        background: transparent;
        cursor: pointer;
    }
    
    .mobile-bottom-nav .nav-link-mobile i {
        font-size: 1.2rem;
    }
    
    .mobile-bottom-nav .nav-link-mobile.active {
        color: var(--accent-cyan);
    }
    
    .mobile-bottom-nav .nav-link-mobile.active i {
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    }
    
    .mobile-bottom-nav .nav-link-mobile:hover {
        color: var(--text-primary);
    }
}

@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
}

/* ==========================================
   7. 通用文字
   ========================================== */
.text-cyan { color: var(--accent-cyan) !important; }
.text-pink { color: var(--accent-pink) !important; }
.text-gradient {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text {
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.1);
    }
    50% { 
        text-shadow: 0 0 30px rgba(0, 240, 255, 0.6), 0 0 80px rgba(0, 240, 255, 0.2), 0 0 120px rgba(168, 85, 247, 0.1);
    }
}

/* ==========================================
   8. Hero 区域
   ========================================== */
.hero-section {
    padding: 40px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 240, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 0, 122, 0.05) 0%, transparent 50%);
    animation: auroraDrift 20s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes auroraDrift {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(2%, -2%) rotate(2deg) scale(1.05); }
    100% { transform: translate(-1%, 1%) rotate(-1deg) scale(0.95); }
}

.hero-section h1 {
    font-size: 3.2rem;
    margin-bottom: 16px;
    animation: fadeUp 1s var(--transition-bounce) both;
}

.hero-section p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 24px;
    animation: fadeUp 1s var(--transition-bounce) 0.2s both;
}

.hero-section .btn {
    animation: fadeUp 1s var(--transition-bounce) 0.4s both;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   9. 卡片
   ========================================== */
.card {
    background: var(--bg-card) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-glass) !important;
    border-radius: 16px !important;
    color: var(--text-primary) !important;
    transition: all 0.5s var(--transition-smooth);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: cardReveal 0.8s var(--transition-bounce) forwards;
    transform-style: preserve-3d;
    perspective: 800px;
}

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.25s; }

@keyframes cardReveal {
    0% { opacity: 0; transform: translateY(40px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.card:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: var(--shadow-glow);
}

.card .card-title {
    color: var(--text-primary) !important;
    font-family: 'Space Grotesk', sans-serif;
}

.card .card-text,
.card p {
    color: var(--text-secondary) !important;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: var(--gradient-aurora);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: 300% 300%;
    animation: borderFlow 4s ease infinite;
}

.card:hover::before {
    opacity: 0.5;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ==========================================
   10. 按钮
   ========================================== */
.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-aurora) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: btnShine 3s ease-in-out infinite;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

@keyframes btnShine {
    0%, 100% { transform: translate(-30%, -30%) scale(1); }
    50% { transform: translate(30%, 30%) scale(1.2); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(0, 240, 255, 0.6), 0 0 60px rgba(168, 85, 247, 0.2); }
}

.btn-outline-primary {
    background: transparent !important;
    border: 1.5px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    transition: all 0.3s ease !important;
}

.btn-outline-primary:hover {
    background: var(--accent-cyan) !important;
    color: var(--bg-primary) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
}

/* ==========================================
   11. 打字机效果 - 修复颜色显示
   ========================================== */
.typing-text {
    display: inline-block;
    border-right: 3px solid var(--accent-cyan);
    white-space: nowrap;
    overflow: hidden;
    animation: 
        typing 2.5s steps(30) 1s both,
        blink 0.75s step-end infinite;
    max-width: fit-content;
    margin: 0 auto;
}

/* 🔥 修复：让 span 内的渐变文字正常显示 */
.typing-text span {
    display: inline-block;
    white-space: normal;
}

@keyframes typing {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: var(--accent-cyan); }
    50% { border-color: transparent; }
}

@media (max-width: 768px) {
    .typing-text { 
        white-space: normal; 
        border-right: none;
        animation: none;
    }
}

/* ==========================================
   12. 数字滚动
   ========================================== */
.counter-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    line-height: 1.2;
}

/* ==========================================
   13. 登录/注册弹窗
   ========================================== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: authFadeIn 0.4s var(--transition-bounce);
}

.auth-modal-overlay.open {
    display: flex;
}

@keyframes authFadeIn {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.auth-modal {
    background: rgba(14, 22, 38, 0.95);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 36px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    max-height: 90vh;
    overflow-y: auto;
}

.auth-modal .close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.auth-modal .close-btn:hover {
    color: var(--accent-pink);
    background: rgba(255, 0, 122, 0.1);
    transform: rotate(90deg);
}

.auth-modal .auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-modal .auth-logo i {
    font-size: 2.8rem;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 6px;
}

.auth-modal .auth-logo h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-modal .auth-logo p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.auth-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tabs .tab-btn {
    flex: 1;
    padding: 10px 0;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.auth-tabs .tab-btn.active {
    background: var(--gradient-aurora);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.auth-tabs .tab-btn:hover:not(.active) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-group label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.auth-form .form-group .input-wrapper {
    position: relative;
}

.auth-form .form-group .input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.auth-form .form-group .input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.auth-form .form-group .input-wrapper input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
}

.auth-form .form-group .input-wrapper input:focus + i {
    color: var(--accent-cyan);
}

.auth-form .form-group .input-wrapper input::placeholder {
    color: var(--text-muted);
}

.auth-form .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.auth-form .form-options .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
}

.auth-form .form-options .remember-me input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.auth-form .form-options .forgot-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-form .form-options .forgot-link:hover {
    color: var(--accent-cyan);
}

.auth-form .submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: var(--gradient-aurora);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.25);
}

.auth-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 240, 255, 0.4);
}

.auth-form .submit-btn:active {
    transform: translateY(0);
}

.auth-form .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-form .divider::before,
.auth-form .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.auth-form .switch-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 18px;
}

.auth-form .switch-text a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.auth-form .switch-text a:hover {
    color: var(--accent-pink);
}

.auth-form.hidden {
    display: none;
}

.social-login {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-login button {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.social-login button:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.social-login button i {
    font-size: 1.2rem;
}

.social-login button.google:hover i { color: #EA4335; }
.social-login button.discord:hover i { color: #5865F2; }

/* ==========================================
   14. 表单控件
   ========================================== */
.form-control {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.form-control::placeholder {
    color: var(--text-muted) !important;
}

/* ==========================================
   15. 页脚
   ========================================== */
footer {
    background: var(--bg-secondary) !important;
    border-top: 1px solid var(--border-glass) !important;
    padding: 40px 0 20px;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

footer h5 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
}

footer p, footer a {
    color: var(--text-secondary) !important;
    text-decoration: none;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    transition: all 0.3s ease;
    color: var(--text-secondary) !important;
}

footer .social-links a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan) !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
/* ==========================================
   页脚 - Quick Links & Resources 悬停效果
   ========================================== */

/* Footer 链接容器 */
footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Footer 链接基础样式 */
footer .footer-links a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    position: relative;
    padding: 2px 0;
    font-size: 0.9rem;
}

/* 🔥 悬停效果 - 颜色变化 + 上浮 + 下划线 */
footer .footer-links a:hover {
    color: var(--accent-cyan) !important;
    transform: translateY(-2px);
}

/* 下划线滑入动画 (从左到右) */
footer .footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-aurora);
    transition: width 0.3s ease;
    border-radius: 2px;
}

footer .footer-links a:hover::after {
    width: 100%;
}

/* 可选：添加发光效果 */
footer .footer-links a:hover {
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 30px;
}

.copyright p {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

/* ==========================================
   16. 响应式
   ========================================== */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section { padding: 30px 0 20px; }
    .card { border-radius: 12px !important; }
    #cursor-glow { display: none; }
    .counter-number { font-size: 2rem; }
    .auth-modal { padding: 28px 20px; margin: 0 16px; }
}

@media (max-width: 576px) {
    .hero-section h1 { font-size: 1.8rem; }
    .btn { padding: 8px 16px !important; font-size: 0.85rem; }
    .top-navbar .brand { font-size: 0.95rem; }
    .top-navbar .brand i { font-size: 1.2rem; }
}
/* ==========================================
   Gallery 页面 - 统一图片大小
   ========================================== */
/* Gallery Lightbox - 确保标题可见 */
#imagePreviewModal .modal-content {
    position: relative;
    z-index: 1;
    overflow: hidden; /* 防止内容溢出 */
}

#imagePreviewModal .modal-header {
    position: relative;
    z-index: 10; /* ✅ 标题在最高层 */
    background: rgba(14, 22, 38, 0.95); /* ✅ 加背景防止透底 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 24px;
}

#imagePreviewModal .modal-body {
    position: relative;
    z-index: 1;
    overflow: auto;
    max-height: calc(90vh - 140px);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ✅ 图片不溢出，不覆盖标题 */
#previewModalImg {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}

/* ✅ Modal Footer 也在上层 */
#imagePreviewModal .modal-footer {
    position: relative;
    z-index: 10;
    background: rgba(14, 22, 38, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
}

.gallery-card .img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: rgba(0,0,0,0.2);
}

.gallery-card .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-card:hover .img-wrapper img {
    transform: scale(1.05);
}


/* 移动端适配 */
@media (max-width: 768px) {
    .gallery-card .img-wrapper {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-card .img-wrapper {
        height: 160px;
    }
}

/* ==========================================
   Team 页面 - 电竞风格 Logo 卡片 (增强版)
   ========================================== */

.team-logo-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 卡片悬停 - 上浮 + 发光 */
.team-logo-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: 0 16px 50px rgba(0, 240, 255, 0.25);
}

/* 霓虹边框流动 */
.team-logo-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: var(--gradient-aurora);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: 300% 300%;
    animation: borderFlow 4s ease infinite;
}

.team-logo-card:hover::before {
    opacity: 0.7;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 卡片内部光晕 */
.team-logo-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.7s ease;
    pointer-events: none;
}

.team-logo-card:hover::after {
    width: 300%;
    height: 300%;
}

/* 固定 Logo 大小 + 悬停动画 */
.team-logo {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block !important;
    margin: 0 auto 12px auto !important;
    position: relative;
    z-index: 1;
}

/* Logo 悬停 - 放大 + 旋转 + 发光 */
.team-logo-card:hover .team-logo {
    transform: rotate(-10deg) scale(1.15);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.35), 0 0 80px rgba(0, 240, 255, 0.1);
    background: rgba(0, 240, 255, 0.05);
}

/* Logo 外围光环 */
.team-logo-card .logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid transparent;
    transform: translate(-50%, -50%) scale(0.8);
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 0;
}

.team-logo-card:hover .logo-ring {
    border-color: var(--accent-cyan);
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* 战队名称 */
.team-name-en {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-top: 4px;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    z-index: 1;
}

.team-logo-card:hover .team-name-en {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.team-name-cn {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.team-logo-card:hover .team-name-cn {
    color: var(--text-secondary);
}

/* 底部霓虹线 */
.team-logo-card .glow-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-aurora);
    border-radius: 4px;
    transition: all 0.5s ease;
    z-index: 1;
}

.team-logo-card:hover .glow-line {
    width: 60%;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

/* 入场动画 */
.team-logo-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);

.team-logo-card:nth-child(1) { animation-delay: 0.05s; }
.team-logo-card:nth-child(2) { animation-delay: 0.10s; }
.team-logo-card:nth-child(3) { animation-delay: 0.15s; }
.team-logo-card:nth-child(4) { animation-delay: 0.20s; }
.team-logo-card:nth-child(5) { animation-delay: 0.25s; }
.team-logo-card:nth-child(6) { animation-delay: 0.30s; }
.team-logo-card:nth-child(7) { animation-delay: 0.35s; }
.team-logo-card:nth-child(8) { animation-delay: 0.40s; }

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 点击反馈 */
.team-logo-card:active {
    transform: scale(0.93);
    transition: transform 0.1s ease;
}

/* 响应式 */
@media (max-width: 768px) {
    .team-logo {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
    }
    .team-logo-card {
        padding: 14px 8px;
    }
    .team-name-en {
        font-size: 0.8rem;
    }
    .team-name-cn {
        font-size: 0.6rem;
    }
    .team-logo-card .logo-ring {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .team-logo {
        width: 44px !important;
        height: 44px !important;
        max-width: 44px !important;
        max-height: 44px !important;
    }
    .team-logo-card {
        padding: 10px 4px;
        border-radius: 12px;
    }
    .team-name-en {
        font-size: 0.65rem;
    }
    .team-name-cn {
        font-size: 0.5rem;
    }
}
/* ==========================================
   Team 页面 - Profile Modal 电竞风格
   ========================================== */

/* ---------- 头像光环 ---------- */
.profile-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.profile-avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--gradient-aurora);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 2px));
    animation: ringSpin 4s linear infinite;
    pointer-events: none;
}

@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------- Profile 信息卡片项 ---------- */
.profile-info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px 14px;
    transition: all 0.3s ease;
}

.profile-info-item:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.04);
}
.profile-info-item .label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan) !important;  /* 改为青色，更醒目 */
    font-weight: 600;
    margin-bottom: 2px;
}
.profile-info-item .value {
    display: block;
    font-weight: 700;
    color: var(--text-primary) !important;  /* 亮白色 */
    font-size: 0.95rem;
}

/* ---------- Profile Modal 内容区域 ---------- */
#playerProfileModal .modal-content {
    background: rgba(14, 22, 38, 0.95) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    color: var(--text-primary) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Roster Modal 内容区域 ---------- */
#teamRosterModal .modal-content {
    background: rgba(14, 22, 38, 0.95) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    color: var(--text-primary) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Modal 入场动画 ---------- */
@keyframes modalIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ---------- Modal 滚动条 ---------- */
#teamRosterModal .modal-body::-webkit-scrollbar {
    width: 4px;
}

#teamRosterModal .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

#teamRosterModal .modal-body::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 10px;
}

/* ---------- Roster 队员列表项悬停 ---------- */
#teamRosterModal .roster-player-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#teamRosterModal .roster-player-item:hover {
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.15);
    transform: translateX(4px);
}

/* ---------- 响应式 ---------- */
@media (max-width: 576px) {
    .profile-avatar-wrapper img {
        width: 80px !important;
        height: 80px !important;
    }
    .profile-info-item {
        padding: 6px 10px;
    }
    .profile-info-item small {
        font-size: 0.6rem !important;
    }
    .profile-info-item span {
        font-size: 0.85rem !important;
    }
}
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

/* 保持与输入框一模一样的视觉表现 */
.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4); /* 匹配 input 占位符的淡紫色文字 */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ==========================================
   Contact 页面 - Select 下拉框 (最终真正修复版)
   ========================================== */

#contactForm .form-select {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #6A7F9F !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236A7F9F' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}

/* ✅ 聚焦时 - 保持透明背景，边框变青色发光，文字变白色 */
#contactForm .form-select:focus {
    border-color: #00F0FF !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    color: #F0F4FF !important;
    outline: none !important;
}

/* ✅ 当 select 有值的时候 - 文字变白色，背景保持透明 */
#contactForm .form-select:not(:placeholder-shown) {
    color: #F0F4FF !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
}

/* ✅ 下拉选项背景 - 深色 */
#contactForm .form-select option {
    background-color: #0E1626 !important;
    color: #F0F4FF !important;
    padding: 10px !important;
}

/* ✅ 第一个选项（占位文字）保持灰色 */
#contactForm .form-select option[value=""] {
    color: #6A7F9F !important;
}

/* ✅ 悬停 */
#contactForm .form-select:hover {
    border-color: rgba(0, 240, 255, 0.3) !important;
}

/* ✅ 当 select 被点击展开时 - 背景保持透明 */
#contactForm .form-select:active,
#contactForm .form-select:focus-within {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

/* ==========================================
   News 页面 - "Read More" 按钮样式增强
   ========================================== */

.news-card .btn-read-more {
    background: transparent;
    border: 1.5px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.news-card .btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-aurora);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 10px;
}

.news-card .btn-read-more:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}

.news-card .btn-read-more:hover::before {
    left: 0;
}

.news-card .btn-read-more i {
    transition: transform 0.3s ease;
}

.news-card .btn-read-more:hover i {
    transform: translateX(4px);
}

/* 阅读标签样式 */
.style-read-tag {
    background: rgba(46, 213, 115, 0.15) !important;
    border: 1px solid #2ed573 !important;
    color: #2ed573 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-weight: 500 !important;
    font-size: 0.7rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-read-tag:hover {
    background: rgba(46, 213, 115, 0.25) !important;
    transform: scale(1.05);
}

.style-read-tag .fa-times {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.style-read-tag:hover .fa-times {
    opacity: 1;
}

/* Reading Tracker Bar */
.reading-tracker-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px 24px;
    flex-wrap: wrap;
}

.reading-tracker-bar .read-badge {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.reading-tracker-bar .read-badge #read-count {
    color: var(--accent-cyan);
    font-weight: 700;
}

.btn-outline-danger-custom {
    background: transparent;
    border: 1.5px solid var(--accent-pink);
    color: var(--accent-pink);
    border-radius: 10px;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-danger-custom:hover {
    background: var(--accent-pink);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 0, 122, 0.3);
}
.game-tab-btn {
    font-family: 'Space Grotesk', sans-serif !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    letter-spacing: 0.03em !important;
    font-size: 0.85rem !important;
    position: relative !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary) !important;
}

.game-tab-btn:hover {
    background: rgba(0, 240, 255, 0.08) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--text-primary) !important;
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.15) !important;
}

.game-tab-btn.active {
    background: var(--gradient-aurora) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35) !important;
    transform: translateY(-2px) !important;
}

.game-tab-btn.active::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: btnShine 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btnShine {
    0%, 100% { transform: translate(-30%, -30%) scale(1); opacity: 0; }
    50% { transform: translate(30%, 30%) scale(1.2); opacity: 1; }
}

@media (max-width: 576px) {
    .game-tab-btn {
        padding: 6px 14px !important;
        font-size: 0.7rem !important;
        border-radius: 8px !important;
    }
}
/* ==========================================
   优化 Division Block 切换 - 消除延迟
   ========================================== */

.division-block {
    transition: opacity 0.15s ease;
}

.division-block[style*="display: none"] {
    opacity: 0;
    pointer-events: none;
}

.division-block[style*="display: block"] {
    opacity: 1;
    pointer-events: auto;
}
/* ==========================================
    📱 Social Media Share Plugin 样式
   ========================================== */

.social-share-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}

.share-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    margin-right: 4px;
}

.social-share-buttons {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-share {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.85rem;
    text-decoration: none;
}

.btn-share:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-share.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #fff;
}

.btn-share.twitter:hover {
    background: #000000;
    border-color: #000000;
    color: #fff;
}

.btn-share.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
}

.btn-share.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.btn-share.copy-link:hover {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-primary);
}

@media (max-width: 576px) {
    .btn-share {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    .share-label {
        font-size: 0.75rem;
    }
}
}
