
        /* ===== Chatbox AI 风格紫色调配色方案 ===== */
        html, body {
            /* hidden: 旧浏览器回退；clip: 不创建滚动容器，修复移动端首次滚动高度误算 */
            overflow-x: hidden;
            overflow-x: clip;
            max-width: 100vw;
        }
        :root {
            --primary: #7c3aed;
            --primary-light: #8b5cf6;
            --primary-dark: #6d28d9;
            --secondary: #a78bfa;
            --accent: #c084fc;
            --bg-light: #faf8ff;
            --bg-white: #ffffff;
            --bg-glass: rgba(255, 255, 255, 0.72);
            --text-dark: #1e1033;
            --text-muted: #6b5f7b;
            --border-color: #e8e0f0;
            --radius-sm: 10px;
            --radius-md: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
            --shadow-md: 0 8px 30px rgba(124, 58, 237, 0.10);
            --shadow-lg: 0 20px 60px rgba(124, 58, 237, 0.14);
            --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
            --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        [data-bs-theme="dark"] {
            --primary: #a78bfa;
            --primary-light: #c4b5fd;
            --primary-dark: #8b5cf6;
            --secondary: #c4b5fd;
            --accent: #d8b4fe;
            --bg-light: #0f0d1a;
            --bg-white: #1a1625;
            --bg-glass: rgba(26, 22, 37, 0.80);
            --text-dark: #f0ecf5;
            --text-muted: #9b8fb0;
            --border-color: #2d2640;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
            --shadow-glow: 0 0 40px rgba(167, 139, 250, 0.12);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            -webkit-font-smoothing: antialiased;
        }

        /* ===== 导航栏 - 毛玻璃风格 ===== */
        .navbar {
            background: var(--bg-glass) !important;
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border-bottom: 1px solid var(--border-color);
            padding: 0.75rem 0;
            animation: slideDown 0.6s ease-out;
            z-index: 1050;
        }

        @keyframes slideDown {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .navbar-brand {
            font-weight: 800;
            font-size: 1.4rem;
            color: var(--text-dark) !important;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            letter-spacing: -0.02em;
        }

        .logo-placeholder {
            width: 38px;
            height: 38px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }

        .logo-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .logo-text {
            font-weight: 800;
            color: white;
            font-size: 1.1rem;
        }

        .nav-link {
            color: var(--text-muted) !important;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 1rem !important;
            border-radius: var(--radius-sm);
            position: relative;
        }

        .nav-link:hover {
            color: var(--primary) !important;
            background: rgba(124, 58, 237, 0.06);
        }

        /* ===== Hero Section - 渐变动画背景 ===== */
        .hero {
            padding: 8rem 0 5rem;
            background: linear-gradient(135deg, #ede9fe 0%, #faf8ff 40%, #f5f0ff 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, transparent 70%);
            border-radius: 50%;
            animation: float 10s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(-30px, -30px); }
        }

        .hero-content {
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
            animation: fadeInUp 0.8s ease-out 0.2s both;
            letter-spacing: -0.03em;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto 2.5rem;
            animation: fadeInUp 0.8s ease-out 0.4s both;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ===== 按钮系统 ===== */
        .hero-cta {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            align-items: center;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            padding: 0.9rem 2.2rem;
            border-radius: var(--radius-md);
            text-decoration: none;
            font-weight: 700;
            transition: var(--transition);
            border: none;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
            letter-spacing: -0.01em;
        }

        .btn-primary-custom::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: left 0.5s;
        }

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

        .btn-primary-custom:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
            color: white;
        }

        .btn-outline-custom {
            background: transparent;
            color: var(--primary);
            padding: 0.9rem 2.2rem;
            border-radius: var(--radius-md);
            text-decoration: none;
            font-weight: 700;
            border: 2px solid var(--primary);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            letter-spacing: -0.01em;
        }

        .btn-outline-custom::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: var(--primary);
            transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
        }

        .btn-outline-custom:hover::before { left: 0; }

        .btn-outline-custom:hover {
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
        }

        /* ===== 关于团队板块 ===== */
        .about-section {
            padding: 5rem 0;
            background: var(--bg-white);
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 4rem;
        }

        .about-text h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            letter-spacing: -0.02em;
        }

        .about-text p {
            color: var(--text-muted);
            font-size: 1.1rem;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .about-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .feature-item {
            display: flex;
            align-items: start;
            gap: 1rem;
            opacity: 0;
            transform: translateX(-20px);
            transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .feature-item.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .feature-icon {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            flex-shrink: 0;
            transition: transform 0.3s ease;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
        }

        .feature-item:hover .feature-icon {
            transform: rotate(10deg) scale(1.1);
        }

        .feature-text h4 {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.25rem;
        }

        .feature-text p {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin: 0;
        }

        /* ===== Projects Section ===== */
        .projects-section {
            padding: 5rem 0;
            background: var(--bg-light);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 800;
            text-align: center;
            color: var(--text-dark);
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-muted);
            margin-bottom: 3.5rem;
            font-size: 1.1rem;
        }

        /* ===== 项目卡片 - 毛玻璃效果 ===== */
        .project-card {
            background: var(--bg-glass);
            backdrop-filter: blur(12px);
            border-radius: var(--radius-lg);
            padding: 2rem;
            height: 100%;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            position: relative;
            opacity: 0;
            transform: translateY(30px);
            overflow: hidden;
        }

        .project-card.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            opacity: 0;
            transition: opacity 0.4s ease;
        }

        .project-card:hover {
            transform: translateY(-8px);
            border-color: rgba(124, 58, 237, 0.3);
            box-shadow: var(--shadow-lg);
        }

        .project-card:hover::before {
            opacity: 1;
        }

        .project-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            overflow: hidden;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
        }

        .project-card:hover .project-icon {
            transform: scale(1.1) rotate(5deg);
        }

        .project-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .project-icon i {
            font-size: 1.75rem;
            color: white;
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .project-desc {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .project-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }

        .project-btn:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
            color: white;
        }

        /* ===== 团队成员 ===== */
        .team-section {
            padding: 5rem 0;
            background: var(--bg-white);
        }

        .team-card {
            background: var(--bg-light);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            text-align: center;
            transition: var(--transition);
            height: 100%;
            opacity: 0;
            transform: scale(0.9);
        }

        .team-card.visible {
            opacity: 1;
            transform: scale(1);
        }

        .team-card:hover {
            border-color: var(--primary);
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-md);
        }

        .team-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 1.5rem;
            border: 4px solid var(--primary);
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .team-card:hover .team-avatar {
            transform: scale(1.1);
        }

        .team-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .team-role {
            color: var(--primary);
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .team-bio {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .contact-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .contact-link {
            width: 50px;
            height: 50px;
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.25rem;
        }

        .contact-link:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
        }

        /* ===== Stats Section - 渐变背景 ===== */
        .stats-section {
            padding: 4rem 0;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .stat-item {
            text-align: center;
            padding: 1.5rem;
            position: relative;
            z-index: 1;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 900;
            color: white;
            display: block;
            letter-spacing: -0.03em;
        }

        .stat-label {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1rem;
            margin-top: 0.5rem;
            font-weight: 500;
        }

        /* ===== 服务优势板块 ===== */
        .services-section {
            padding: 5rem 0;
            background: var(--bg-light);
        }

        .news-grid {
            display: flex;
            flex-direction: column;
            gap: 0.85rem;
            margin: 0 auto;
            min-width: 0;
        }
        .news-card {
            background: var(--bg-glass);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: var(--transition);
            min-width: 0;
        }

        .news-card {
            background: var(--bg-glass);
            backdrop-filter: blur(8px);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: var(--transition);
        }

        .news-card:hover {
            border-color: rgba(124, 58, 237, 0.3);
            box-shadow: var(--shadow-md);
            transform: translateX(4px);
        }

        .news-row-link {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.25rem;
            text-decoration: none;
            color: inherit;
            min-width: 0;
            overflow: hidden;
        }

        .news-row-link:hover {
            background: rgba(124, 58, 237, 0.03);
        }

        .news-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .news-type-notice .news-badge { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
        .news-type-activity .news-badge { background: linear-gradient(135deg, #16a34a, #22c55e); }
        .news-type-match .news-badge { background: linear-gradient(135deg, #ea580c, #f59e0b); }
        .news-type-security .news-badge { background: linear-gradient(135deg, #d97706, #f59e0b); }

        .news-time {
            color: var(--text-muted);
            font-size: 0.85rem;
            flex-shrink: 0;
        }

        .news-title {
            flex: 1;
            min-width: 0;
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .news-empty {
            grid-column: 1 / -1;
            text-align: center;
            color: var(--text-muted);
            padding: 2rem 1rem;
            background: var(--bg-white);
            border-radius: var(--radius-md);
            border: 1px dashed var(--border-color);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .service-item {
            background: var(--bg-glass);
            backdrop-filter: blur(8px);
            padding: 2.5rem 2rem;
            border-radius: var(--radius-lg);
            text-align: center;
            border: 1px solid var(--border-color);
            transition: var(--transition);
            opacity: 0;
            transform: translateY(20px);
        }

        .service-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .service-item:hover {
            border-color: var(--primary);
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
        }

        .service-item i {
            font-size: 3rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1.5rem;
            display: block;
            transition: transform 0.4s ease;
        }

        .service-item:hover i {
            transform: scale(1.15) rotate(5deg);
        }

        .service-item h4 {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
        }

        .service-item p {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.6;
            margin: 0;
        }

        /* ===== 联系方式 ===== */
        .contact-section {
            padding: 4rem 0;
            background: var(--bg-white);
        }

        .contact-box {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: var(--radius-xl);
            padding: 3rem 2rem;
            text-align: center;
            color: white;
            max-width: 900px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .contact-box::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .contact-box h2 {
            font-size: 2rem;
            font-weight: 800;
            margin-bottom: 0.75rem;
            position: relative;
        }

        .contact-box p {
            font-size: 1rem;
            margin-bottom: 2rem;
            opacity: 0.95;
            position: relative;
        }

        .contact-methods {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            position: relative;
        }

        .contact-method {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            padding: 1.25rem 1.5rem;
            border-radius: var(--radius-md);
            border: 1px solid rgba(255, 255, 255, 0.25);
            transition: var(--transition);
            min-width: 180px;
        }

        .contact-method:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .contact-method i {
            font-size: 1.75rem;
            display: block;
            margin-bottom: 0.5rem;
        }

        .contact-method h4 {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .contact-method p {
            font-size: 0.85rem;
            margin: 0;
            opacity: 0.9;
        }

        /* ===== Footer ===== */
        footer {
            margin-top: auto;
            height: 110px;
            padding: 0 1rem;
            background: #fdfdfd;
            border-top: 1px solid #e0e0e0;
            color: #444444;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        footer .container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        footer p {
            margin: 0;
            line-height: 1.8;
            word-break: break-word;
            font-size: 13px;
        }

        /* ===== Responsive ===== */
        @media (max-width: 992px) {
            .about-content { flex-direction: column; }
            .about-features { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            .section-title { font-size: 2rem; }
            .hero-cta { flex-direction: row; gap: 1rem; }
            .btn-primary-custom, .btn-outline-custom { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
            .contact-methods { flex-direction: column; }
            footer { height: 90px; }
            footer p { font-size: 0.9rem; }
        }

        .btn-primary-custom:focus {
            transform: none !important;
            box-shadow: none !important;
        }

        @media (max-width: 480px) {
            footer { height: 80px; }
            footer p { font-size: 0.85rem; }
        }

        /* ===== Shop Cards ===== */
        .shop-card {
            text-align: center;
        }

        .shop-icon {
            font-size: 2.5rem;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .shop-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }

        /* ===== Leaderboard Table ===== */
        .leaderboard-table,
        .violations-table {
            max-width: 1200px;
            margin: 0 auto;
            overflow-x: auto;
        }

        .leaderboard-table table,
        .violations-table table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: var(--bg-glass);
            backdrop-filter: blur(8px);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }

        .leaderboard-table thead,
        .violations-table thead {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
        }

        .leaderboard-table th,
        .violations-table th {
            padding: 1rem 1.25rem;
            font-weight: 600;
            font-size: 0.9rem;
            text-align: left;
        }

        .leaderboard-table td,
        .violations-table td {
            padding: 0.85rem 1.25rem;
            border-bottom: 1px solid var(--border-color);
            font-size: 0.9rem;
            color: var(--text-dark);
        }

        .leaderboard-table tbody tr:last-child td,
        .violations-table tbody tr:last-child td {
            border-bottom: none;
        }

        .leaderboard-table tbody tr:hover,
        .violations-table tbody tr:hover {
            background: rgba(124, 58, 237, 0.04);
        }

        .rank-gold td {
            background: linear-gradient(90deg, rgba(124, 58, 237, 0.06) 0%, transparent 100%);
            font-weight: 600;
        }

        .rank-gold td:first-child {
            color: var(--primary);
            font-weight: 800;
            font-size: 1.1rem;
        }

        .rank-gold .bi-trophy-fill {
            color: var(--primary);
            margin-right: 0.35rem;
        }

        /* ===== Violations Table ===== */
        .violations-table { margin-top: 2rem; }
        .violations-table table { background: rgba(255, 255, 255, 0.95); }

        .ban-permanent td { color: #d97706; }
        .ban-permanent td:nth-child(3) { font-weight: 700; color: #d97706; }
        .ban-temp td:nth-child(3) { font-weight: 600; color: #f59e0b; }

        #violations .section-title,
        #violations .section-subtitle {
            position: relative;
            z-index: 1;
        }

        #violations {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            padding: 5rem 0;
            position: relative;
            overflow: hidden;
        }

        #violations::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        /* ===== Nav Auth Buttons ===== */
        .nav-auth {
            display: flex;
            gap: 0.5rem;
            margin-left: 1.5rem;
            align-items: center;
        }

        /* ===== 语言切换器 ===== */
        .lang-switcher {
            position: relative;
            margin-right: 0.5rem;
        }

        .lang-btn {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.4rem 0.6rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            background: transparent;
            color: var(--text-muted);
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }

        .lang-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: rgba(124, 58, 237, 0.06);
        }

        .lang-btn i { font-size: 1rem; }
        .lang-current { font-weight: 600; }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 0.5rem);
            right: 0;
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-md);
            padding: 0.5rem;
            min-width: 140px;
            display: none;
            z-index: 1000;
        }

        .lang-dropdown.show {
            display: block;
            animation: fadeInDown 0.2s ease;
        }

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

        .lang-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            padding: 0.5rem 0.75rem;
            border: none;
            background: transparent;
            border-radius: 6px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.875rem;
            color: var(--text-dark);
        }

        .lang-option:hover { background: rgba(124, 58, 237, 0.06); }

        .lang-option.active {
            background: rgba(124, 58, 237, 0.1);
            color: var(--primary);
            font-weight: 600;
        }

        .lang-flag { font-size: 1.1rem; }
        .lang-name { flex: 1; text-align: left; }

        .btn-auth {
            padding: 0.4rem 1.1rem;
            border-radius: var(--radius-sm);
            font-size: 0.875rem;
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            white-space: nowrap;
        }

        .btn-login {
            color: var(--primary);
            border: 2px solid var(--primary);
            background: transparent;
        }

        .btn-login:hover {
            background: var(--primary);
            color: white;
        }

        .btn-register {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: 2px solid var(--primary);
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }

        .btn-register:hover {
            background: linear-gradient(135deg, var(--primary-dark), var(--primary));
            border-color: var(--primary-dark);
            color: white;
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
        }

        /* ===== 用户头像下拉 ===== */
        .user-avatar-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.65rem;
        }

        .user-avatar {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            text-decoration: none;
            transition: var(--transition);
            font-size: 1.1rem;
            flex-shrink: 0;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
        }

        .user-avatar img {
            display: block;
            width: 30px;
            height: 30px;
            object-fit: cover;
        }

        .user-avatar:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
        }

        .user-info-display {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.15rem;
            min-width: 0;
            max-width: 260px;
        }

        .user-info-top {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.65rem;
            min-width: 0;
            white-space: nowrap;
        }

        .user-info-bottom {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 0.25rem;
            width: 100%;
            white-space: nowrap;
        }

        .user-stat {
            display: inline-flex;
            align-items: baseline;
            gap: 0.2rem;
            min-width: 0;
        }

        .user-stat-label {
            font-size: 0.68rem;
            font-weight: 600;
            color: var(--text-muted);
            white-space: nowrap;
        }

        .user-stat-value {
            color: var(--text-dark);
            font-size: 0.78rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .user-nick-text {
            display: inline-block;
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            vertical-align: bottom;
        }

        .user-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            background: var(--bg-glass);
            backdrop-filter: blur(20px);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border-color);
            min-width: 160px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: var(--transition);
            z-index: 1000;
        }

        .user-avatar-wrapper:hover .user-dropdown,
        .user-avatar-wrapper.show .user-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .dropdown-item:first-child { border-radius: 14px 14px 0 0; }
        .dropdown-item:last-child { border-radius: 0 0 14px 14px; }

        .dropdown-item:hover {
            background: rgba(124, 58, 237, 0.06);
            color: var(--primary);
        }

        .dropdown-item i { font-size: 1rem; }

        @media (max-width: 992px) {
            .nav-auth { margin-left: 0; margin-top: 0.75rem; justify-content: center; }
            .user-info-display { max-width: 280px; }
            .user-dropdown { right: 50%; transform: translateX(50%) translateY(-10px); }
            .user-avatar-wrapper:hover .user-dropdown,
            .user-avatar-wrapper.show .user-dropdown { transform: translateX(50%) translateY(0); }
        }

        .navbar > .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem !important;
        }

        @media (max-width: 768px) {
            .navbar { padding: 0.75rem 0; }
            .navbar > .container { padding-left: 1rem !important; padding-right: 1rem !important; }
            .navbar-brand { margin-left: 0.5rem; }
            .navbar-toggler { margin-right: 0.5rem; padding: 0.5rem 0.75rem; }
            #navbarNav { padding: 1rem 0.5rem; }
            .navbar-nav { padding-left: 0.5rem; padding-right: 0.5rem; }
            .nav-link { padding: 0.75rem 1rem !important; }
        }

        @media (max-width: 576px) {
            .navbar > .container { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
            .navbar-brand img { height: 32px !important; width: auto !important; }
            .navbar-brand { margin-left: 0.25rem; }
            .navbar-toggler { margin-right: 0.25rem; padding: 0.4rem 0.6rem; }
            .user-info-top { gap: 0.4rem; flex-wrap: wrap; row-gap: 0.1rem; }
            .user-info-display { max-width: 240px; }
            .user-nick-text { max-width: 100px; }
        }

        /* ===== 主题切换按钮 ===== */
        .theme-toggle-btn {
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 50%;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle-btn:hover {
            background: rgba(124, 58, 237, 0.08);
            color: var(--primary);
        }

        [data-bs-theme="dark"] .theme-toggle-btn { color: #f0ecf5; }
        [data-bs-theme="dark"] .theme-toggle-btn:hover { background: rgba(167, 139, 250, 0.15); color: var(--primary); }

        /* ===== 动态流动网格背景 ===== */
        .grid-bg {
            position: absolute;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px),
                linear-gradient(90deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridMove 8s linear infinite;
            z-index: 0;
            top: 0;
        }

        .hero .grid-bg { height: 100vh; max-height: 650px; min-height: 400px; }
        .page-header .grid-bg, .activity-header .grid-bg, .rank-header .grid-bg, .uc-header .grid-bg { height: 100%; max-height: 320px; min-height: 200px; }

        @keyframes gridMove {
            0% { background-position: 0 0; }
            100% { background-position: 50px 50px; }
        }

        .title {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--text-dark);
            font-size: 46px;
            font-weight: bold;
            z-index: 10;
        }

        /* ===== 飞行方块动画 ===== */
        .flying-squares-container {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: hidden;
            top: 17%;
            left: 0;
        }

        .square-box {
            position: absolute;
            border-radius: 6px;
            background: rgba(124, 58, 237, 0.06);
            border: 1.5px solid;
            box-shadow: 0 0 10px rgba(0,0,0,0.05);
            animation: fly-burst 10s linear infinite;
        }

        @keyframes fly-burst {
            0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
            70% { opacity: 1; }
            85% { transform: translate(180px, -120px) rotate(180deg) scale(1.1); opacity: 0.5; }
            90% { transform: translate(200px, -150px) rotate(270deg) scale(0.8); opacity: 0.2; }
            100% { transform: translate(220px, -180px) rotate(360deg) scale(0); opacity: 0; }
        }

        .square-box:nth-child(1)  { top:10%; left:5%;  width:45px;height:45px; border-color:#8b5cf6; animation-duration:7s; animation-delay:0s; }
        .square-box:nth-child(2)  { top:5%;  left:20%; width:65px;height:65px; border-color:#c084fc; animation-duration:10s; animation-delay:1.5s; }
        .square-box:nth-child(3)  { top:15%; left:35%; width:35px;height:35px; border-color:#10b981; animation-duration:8s; animation-delay:2s; }
        .square-box:nth-child(4)  { top:8%;  left:50%; width:75px;height:75px; border-color:#f59e0b; animation-duration:12s; animation-delay:0.5s; }
        .square-box:nth-child(5)  { top:20%; left:65%; width:30px;height:30px; border-color:#f59e0b; animation-duration:6s; animation-delay:3s; }
        .square-box:nth-child(6)  { top:3%;  left:80%; width:85px;height:85px; border-color:#8b5cf6; animation-duration:11s; animation-delay:1.8s; }
        .square-box:nth-child(7)  { top:25%; left:90%; width:40px;height:40px; border-color:#a78bfa; animation-duration:9s; animation-delay:2.8s; }
        .square-box:nth-child(8)  { top:12%; left:10%; width:50px;height:50px; border-color:#8b5cf6; animation-duration:7.5s; animation-delay:0.2s; }
        .square-box:nth-child(9)  { top:30%; left:25%; width:55px;height:55px; border-color:#10b981; animation-duration:8.5s; animation-delay:3.5s; }
        .square-box:nth-child(10) { top:18%; left:45%; width:70px;height:70px; border-color:#c084fc; animation-duration:13s; animation-delay:1.2s; }
        .square-box:nth-child(11) { top:7%;  left:60%; width:28px;height:28px; border-color:#f59e0b; animation-duration:5.5s; animation-delay:2.2s; }
        .square-box:nth-child(12) { top:22%; left:75%; width:60px;height:60px; border-color:#f59e0b; animation-duration:9.5s; animation-delay:0.7s; }
