 :root {
            --font-primary: 'Poppins', sans-serif;
            --font-pixel: 'Press Start 2P', cursive;
            --font-display: 'Orbitron', sans-serif;
            --color-dark-bg: #f0f4f8;
            --color-surface: #ffffff;
            --color-primary: #6f42c1;
            --color-secondary: #00c9a7;
            --color-accent: #ff6b6b;
            --color-highlight: #ffc107;
            --color-light-text-on-dark: #c0c0c0;
            --color-bg: #f0f4f8;
            --color-text: #333a56;
            --color-text-muted: #5a6181;
            --gradient-primary: linear-gradient(135deg, hsl(260, 70%, 30%), hsl(270, 80%, 85%));
            --gradient-secondary: linear-gradient(135deg, var(--color-secondary), #4ade80);
            --card-shadow: 0 8px 32px rgba(111, 66, 193, 0.1);
            scroll-behavior: smooth;
        }

        /* 基础重置 */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--font-primary);
            line-height: 1.6;
            color: var(--color-text);
            background-color: var(--color-bg);
            overflow-x: hidden;
        }

        /* 导航栏样式 */
        .navbar {
            background: rgba(30, 32, 42, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1rem;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        /* 导航控件容器 */
        .nav-controls {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .navbar.scrolled {
            background: rgba(30, 32, 42, 0.95);
            backdrop-filter: blur(15px);
            padding: 0.5rem 1rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-logo {
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

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

        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            transition: all 0.3s;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--color-secondary);
            transition: width 0.3s ease;
        }

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

        /* 主页横幅样式 */
        .hero {
            position: relative;
            height: 100vh;
            background-attachment: fixed;
            background-image: 
                linear-gradient(
                    to bottom right,
                    rgba(111, 66, 193, 0.7),
                    rgba(0, 201, 167, 0.7)
                ),
               url('herobg.jpg'); /* 相对于CSS文件的路径 */
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
            animation: pulse 8s ease-in-out infinite alternate;
            z-index: 1;
        }

        @keyframes pulse {
            0% { opacity: 0.6; }
            100% { opacity: 1; }
        }

        .hero-content {
            max-width: 800px;
            padding: 2rem;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s ease forwards;
            position: relative;
            z-index: 2;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

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

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 1rem;
            background: linear-gradient(120deg, #ffffff, #e0e0e0);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: none;
            font-family: var(--font-display);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            color: rgba(255, 255, 255, 0.95);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
        }

        .hero .btn-primary {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-weight: 600;
            padding: 1.2rem 3rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-shadow: none;
        }

        .hero .btn-primary:hover {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }

        .scroll-down {
            position: absolute;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-20px);
            }
            60% {
                transform: translateY(-10px);
            }
        }

        /* 主题切换按钮样式 */
        .theme-toggle {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            padding: 0.5rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle:hover {
            color: #4ade80;
            transform: scale(1.1);
        }

        .theme-toggle svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        [data-theme="dark"] .sun-icon {
            display: none;
        }

        [data-theme="light"] .moon-icon {
            display: none;
        }

        /* 语言选择器样式 */
        .language-select {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .language-select:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .language-select option {
            background: #333;
            color: white;
        }

        /* 社团数据样式 */
        .stats-beauty {
            display: flex;
            justify-content: center;
            gap: 2.5rem;
            flex-wrap: wrap;
            margin: 3rem 0;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.95);
            box-shadow: var(--card-shadow);
            border-radius: 1.5rem;
            padding: 2.5rem 2rem;
            min-width: 220px;
            min-height: 240px;
            display: flex;
            flex-direction: column;
            align-items: center;
            position: relative;
            backdrop-filter: blur(8px);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stat-card:hover {
            transform: translateY(-12px) scale(1.03);
            box-shadow: var(--card-hover-shadow);
        }

        .stat-card::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: var(--gradient-secondary);
            z-index: -1;
            border-radius: 1.6rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .stat-card:hover::after {
            opacity: 0.1;
        }

        .stat-icon {
            margin-bottom: 1.2rem;
            filter: drop-shadow(0 2px 8px rgba(74,222,128,0.12));
        }

        .stat-number {
            font-size: 2.8rem;
            font-weight: 800;
            color: #4ade80;
            margin-bottom: 0.5rem;
            letter-spacing: 1px;
            text-shadow: 0 2px 8px rgba(74,222,128,0.08);
            transition: color 0.3s;
        }

        .stat-label {
            font-size: 1.1rem;
            color: #333;
            font-weight: 500;
            letter-spacing: 0.5px;
            text-align: center;
            opacity: 0.85;
        }

        /* 社团介绍样式 */
        .section {
            position: relative;
            padding: 8rem 0;
            overflow: hidden;
        }

        /* 更新背景图案 */
        .section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(45deg, var(--color-primary) 25%, transparent 25%) -50px 0,
                linear-gradient(-45deg, var(--color-primary) 25%, transparent 25%) -50px 0,
                linear-gradient(45deg, transparent 75%, var(--color-primary) 75%),
                linear-gradient(-45deg, transparent 75%, var(--color-primary) 75%);
            background-size: 100px 100px;
            background-color: var(--color-bg);
            opacity: 0.03;
            z-index: -1;
        }

        .section::after {
            content: '';
            position: absolute;
            bottom: -100px;
            left: 0;
            right: 0;
            height: 100px;
            background: linear-gradient(to top, transparent, var(--color-bg));
            z-index: 1;
        }

        .section-wave {
            position: absolute;
            top: -2px;
            left: 0;
            width: 100%;
            height: 150px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f0f4f8'/%3E%3C/svg%3E");
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 2;
            filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
        }

        .section-wave-bottom {
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 150px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f0f4f8'/%3E%3C/svg%3E");
            background-size: cover;
            background-repeat: no-repeat;
            z-index: 2;
            transform: rotate(180deg);
            filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-size: 3rem;
            text-align: center;
            margin-bottom: 3rem;
            position: relative;
            padding-bottom: 1rem;
            font-family: var(--font-display);
        }

        /* 添加像素风格分隔线 */
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: repeating-linear-gradient(
                to right,
                var(--color-secondary),
                var(--color-secondary) 4px,
                transparent 4px,
                transparent 8px
            );
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 1.5rem;
            padding: 2.5rem;
            box-shadow: var(--card-shadow);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
        }

        .card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--card-hover-shadow);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                linear-gradient(45deg, transparent 25%, rgba(111, 66, 193, 0.03) 25%) -10px 0,
                linear-gradient(-45deg, transparent 25%, rgba(111, 66, 193, 0.03) 25%) -10px 0,
                linear-gradient(45deg, rgba(111, 66, 193, 0.03) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(111, 66, 193, 0.03) 25%, transparent 25%);
            background-size: 20px 20px;
            opacity: 0.5;
            z-index: -1;
        }

        .card h3 {
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            color: var(--color-text);
            font-family: var(--font-display);
        }

        .card p {
            color: var(--color-text-muted);
            line-height: 1.8;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .stats-beauty {
                gap: 1.2rem;
            }
            .stat-card {
                min-width: 150px;
                padding: 1.5rem 1rem 1rem 1rem;
            }
            .stat-number {
                font-size: 2rem;
            }
            .section-title {
                font-size: 2.5rem;
            }
            .card {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .stats-beauty {
                flex-direction: column;
                align-items: center;
            }
            .stat-card {
                width: 100%;
                max-width: 300px;
            }
        }

        /* 活动展示样式 */
        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tag {
            background: rgba(111, 66, 193, 0.1);
            color: var(--color-primary);
            padding: 0.6rem 1.2rem;
            border-radius: 2rem;
            font-size: 0.875rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(111, 66, 193, 0.1);
        }

        .tag:hover {
            background: var(--gradient-primary);
            color: white;
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
        }

        /* 作品展示样式 */
        .gallery {
            padding: 4rem 0;
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            overflow: hidden;
        }

        .gallery-container {
            display: flex;
            gap: 2rem;
            padding: 2rem;
            animation: scrollGallery 30s linear infinite;
            width: max-content;
        }

        .gallery-container:hover {
            animation-play-state: paused;
        }

        .gallery-item {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            width: 400px;
            height: 250px;
            flex-shrink: 0;
            cursor: pointer;
            box-shadow: var(--card-shadow);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-hover-shadow);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            font-family: var(--font-display);
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-title {
            transform: translateY(0);
        }

        @keyframes scrollGallery {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-50% - 1rem));
            }
        }

        /* 响应式设计补充 */
        @media (max-width: 768px) {
            .gallery-item {
                flex: 0 0 300px;
                height: 225px;
            }
            
            .gallery-title {
                font-size: 1rem;
                bottom: 15px;
                left: 15px;
            }
        }

        @media (max-width: 480px) {
            .gallery-item {
                flex: 0 0 250px;
                height: 187.5px;
            }
            
            .tags {
                justify-content: center;
            }
        }

        /* 社团成就样式 */
        .achievement-card {
            background-color: white;
            border-radius: 1rem;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .achievement-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .achievement-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 1.5rem;
            color: var(--color-secondary);
        }

        .achievement-icon svg {
            width: 100%;
            height: 100%;
        }

        .achievement-tags {
            margin-top: 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        /* 联系表单样式 */
        .contact-form-card {
            transform-style: preserve-3d;
            transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
            transform: perspective(1000px) rotateX(0) rotateY(0) scale(1);
            will-change: transform;
        }

        .contact-form-card:hover {
            transform: perspective(1000px) rotateX(3deg) rotateY(3deg) scale(1.03);
            box-shadow: 
                20px 20px 60px rgba(0, 0, 0, 0.1),
                -20px -20px 60px rgba(255, 255, 255, 0.8);
        }

        .contact-item {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            font-size: 1rem;
            color: var(--color-text);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--color-text);
            font-weight: 500;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 0.5rem;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #f8f8f8;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--color-secondary);
            box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.1);
            background-color: white;
            transform: translateX(5px);
        }

        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }

        .contact-form .btn-primary {
            margin-top: 1rem;
            font-size: 1rem;
            padding: 0.75rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .contact-form .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
        }

        .contact-form .btn-primary:active {
            transform: translateY(0);
        }

        /* 响应式设计补充 */
        @media (max-width: 768px) {
            .grid[style*="grid-template-columns:"] {
                grid-template-columns: 1fr !important;
            }
            
            .contact-form-card {
                margin-top: 2rem;
            }
        }

                /* 页脚样式 */
                .footer {
            background: var(--color-dark-bg);
            position: relative;
            overflow: hidden;
            color: var(--color-light-text-on-dark);
            padding: 4rem 2rem 2rem;
            margin-top: 0rem;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 10% 0%, rgba(111, 66, 193, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 90% 100%, rgba(0, 201, 167, 0.1) 0%, transparent 50%);
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .footer-section h4 {
            color: var(--color-secondary);
            font-size: 1.2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--color-secondary);
            display: inline-block;
            font-family: var(--font-display);
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 0.5rem;
        }

        .footer-section ul li a {
            color: var(--color-light-text-on-dark);
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .footer-section ul li a:hover {
            color: var(--color-secondary);
            opacity: 1;
        }

        .footer-bottom {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 0.8rem;
            color: #c0c0c0;
        }

        .footer-logo {
            max-width: 150px;
            margin-bottom: 1rem;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        .footer-logo:hover {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .footer-container {
                grid-template-columns: 1fr;
            }
        }


        /* 动态背景效果 */
        .animated-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
            z-index: 0;
        }

        .animated-bg::before,
        .animated-bg::after {
            content: '';
            position: absolute;
            width: 150%;
            height: 150%;
            background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
            opacity: 0.1;
            animation: rotate 60s linear infinite;
        }

        .animated-bg::after {
            background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
            animation-direction: reverse;
            animation-duration: 45s;
        }

        @keyframes rotate {
            from { transform: translate(-25%, -25%) rotate(0deg); }
            to { transform: translate(-25%, -25%) rotate(360deg); }
        }

        /* 项目展示样式 */
        .project-icon {
            width: 48px;
            height: 48px;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
            background: rgba(111, 66, 193, 0.1);
            border-radius: 12px;
            padding: 12px;
            transition: all 0.3s ease;
        }

        .card:hover .project-icon {
            background: var(--color-primary);
            color: white;
            transform: scale(1.1);
        }

        .project-status {
            margin: 1.5rem 0;
        }

        .status-bar {
            width: 100%;
            height: 6px;
            background: rgba(111, 66, 193, 0.1);
            border-radius: 3px;
            overflow: hidden;
        }

        .status-progress {
            height: 100%;
            background: var(--gradient-primary);
            border-radius: 3px;
            transition: width 1s ease;
        }

        .status-text {
            display: block;
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }

        .project-meta {
            display: flex;
            gap: 1rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }

        .meta-item svg {
            color: var(--color-primary);
        }

        /* 项目卡片特殊效果 */
        .card.project-card {
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.95);
        }

        .card.project-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.98);
        }

        .card.project-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: inherit;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: -1;
        }

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

        /* 页面过渡动画 */
        .page-transition {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--color-dark-bg);
            z-index: 9999;
            transform: translateY(100%);
            transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        }

        .page-transition.active {
            transform: translateY(0);
        }

        /* 图片淡入效果 */
        .lazy-image {
            opacity: 0;
            transition: opacity 0.5s ease-in-out;
        }

        .lazy-image.loaded {
            opacity: 1;
        }

        /* 滚动进度指示器 */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(255, 255, 255, 0.1);
            z-index: 1000;
        }

        .scroll-progress-bar {
            height: 100%;
            background: var(--gradient-primary);
            width: 0;
            transition: width 0.1s ease;
        }

        /* 图片查看器样式 */
        .image-viewer {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 9999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .image-viewer.active {
            display: flex;
            opacity: 1;
        }

        .viewer-content {
            position: relative;
            width: 90%;
            height: 90%;
            margin: auto;
        }

        .viewer-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            margin: auto;
            display: block;
        }

        .viewer-close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            cursor: pointer;
            z-index: 5000;
        }

        .viewer-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 40px;
            cursor: pointer;
            padding: 20px;
            background: rgba(0, 0, 0, 0.5);
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .viewer-nav:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .viewer-prev {
            left: 20px;
        }

        .viewer-next {
            right: 20px;
        }

 /* 作品展示样式 */
        .gallery {
            padding: 4rem 0; /* Section padding is on .section, gallery can have its own internal */
            position: relative;
            /* background: rgba(255, 255, 255, 0.05); */ /* Handled by .section usually */
            overflow: hidden;
        }

        .gallery-container {
            display: flex;
            gap: 2rem;
            padding: 2rem;
            animation: scrollGallery 30s linear infinite;
            width: max-content; /* Or 200% if 2 sets of items */
        }

        .gallery-container:hover {
            animation-play-state: paused;
        }

        .gallery-item {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            width: 400px;
            height: 250px;
            flex-shrink: 0;
            cursor: pointer;
            box-shadow: var(--card-shadow);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .gallery-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--card-hover-shadow);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1.5rem;
            background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
            color: white;
            font-family: var(--font-display);
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }

        .gallery-item:hover .gallery-title {
            transform: translateY(0);
        }

        @keyframes scrollGallery {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-50% - 1rem)); /* Adjust if padding/gap changes */
            }
        }


        /* 修改社团数据样式，合并到功能扩展区 */
        .stats-card {
            background: var(--gradient-primary);
            padding: 2rem;
            border-radius: 1.5rem;
            color: white;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .stat-item {
            text-align: center;
            position: relative;
        }

        .stat-item::after {
            content: '';
            position: absolute;
            right: -1rem;
            top: 50%;
            transform: translateY(-50%);
            width: 2px;
            height: 40%;
            background: rgba(255, 255, 255, 0.2);
        }

        .stat-item:last-child::after {
            display: none;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            font-family: var(--font-display);
            margin-bottom: 0.5rem;
            background: rgba(255, 255, 255, 0.1);
            padding: 1rem;
            border-radius: 1rem;
            display: inline-block;
            min-width: 120px;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.9;
        }

        @media (max-width: 768px) {
            .stats-card {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .stat-item:nth-child(2)::after {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .stats-card {
                grid-template-columns: 1fr;
            }
            
            .stat-item::after {
                display: none;
            }
        }

        /* 新增功能区样式 */
        .project-card, .calendar-card, .skin-preview-card {
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .calendar-events {
            margin: 1.5rem 0;
        }

        .event-item {
            display: flex;
            gap: 1rem;
            padding: 1rem;
            border-radius: 0.5rem;
            background: rgba(111, 66, 193, 0.05);
            margin-bottom: 1rem;
            transition: all 0.3s ease;
        }

        .event-item:hover {
            background: rgba(111, 66, 193, 0.1);
            transform: translateX(5px);
        }

        .event-date {
            font-family: var(--font-display);
            color: var(--color-primary);
            font-weight: 600;
            min-width: 80px;
        }

        .event-content h4 {
            margin: 0;
            font-size: 1rem;
            color: var(--color-text);
        }

        .event-content p {
            margin: 0.25rem 0 0;
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }

        .skin-preview {
            margin: 1.5rem 0;
            aspect-ratio: 1;
            background: rgba(111, 66, 193, 0.05);
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mt-4 {
            margin-top: 1.5rem;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
        }

        /* 皮肤预览样式 */
        .skin-preview {
            position: relative;
            width: 100%;
            height: 300px;
            background: rgba(111, 66, 193, 0.05);
            border-radius: 1rem;
            overflow: hidden;
        }

        .skin-model-container {
            width: 100%;
            height: 100%;
            position: relative;
            perspective: 1000px;
        }

        .skin-model {
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.5s ease;
        }

        .skin-controls {
            position: absolute;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 1rem;
            z-index: 2;
        }

        .skin-control-btn {
            background: rgba(255, 255, 255, 0.9);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.3s ease;
        }

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

        .skin-upload {
            margin-top: 1rem;
            text-align: center;
        }

        .skin-upload-btn {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .skin-upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
        }

        /* 添加像素风格阴影效果 */
        .pixel-shadow {
            position: relative;
        }

        .pixel-shadow::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: -4px;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.2);
            z-index: -1;
            clip-path: polygon(4px 0, 100% 0, 100% 100%, 0 100%, 0 4px);
        }

        @media (max-width: 768px) {
            .loader-cube {
                width: 80px;
                height: 80px;
            }

            .loader-cube .face {
                width: 80px;
                height: 80px;
                font-size: 28px;
            }

            .face.front  { transform: translateZ(40px); }
            .face.back   { transform: rotateY(180deg) translateZ(40px); }
            .face.right  { transform: rotateY(90deg) translateZ(40px); }
            .face.left   { transform: rotateY(-90deg) translateZ(40px); }
            .face.top    { transform: rotateX(90deg) translateZ(40px); }
            .face.bottom { transform: rotateX(-90deg) translateZ(40px); }

            .loading-text {
                font-size: 20px;
                margin-top: 30px;
            }
        }

        /* 添加像素风格的背景纹理 */
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
            background-size: 20px 20px;
            opacity: 0.1;
            z-index: 1;
        }

        .skin-preview {
            margin: 1.5rem 0;
            aspect-ratio: 1;
            background: rgba(111, 66, 193, 0.05);
            border-radius: 1rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .skin-model-container {
            width: 100%;
            height: 100%;
            position: relative;
        }

        #skinPreview {
            width: 100%;
            height: 100%;
            border-radius: 0.5rem;
        }

        .skin-controls {
            position: absolute;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.5rem;
            z-index: 2;
        }

        .skin-control-btn {
            background: rgba(255, 255, 255, 0.9);
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .skin-control-btn:hover {
            background: var(--color-primary);
            color: white;
            transform: translateY(-2px);
        }

        .skin-upload {
            margin-top: 1rem;
            text-align: center;
        }

        .skin-upload-btn {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
        }

        .skin-upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(111, 66, 193, 0.2);
        }

        .skin-upload-hint {
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: var(--color-text-muted);
        }
        
/* 小标签样式 */
.sub-title {
    font-size: 0.6em; /* 设置字体大小为0.6em，更小 */
    color: #d8bfd8; /* 设置字体颜色为稍深的浅紫色 */
    background-color: rgba(216, 191, 216, 0.2); /* 设置背景颜色为透明度20%的浅紫色 */
    padding: 2px 8px; /* 设置内边距 */
    border-radius: 15px; /* 设置圆角 */
    margin-left: 10px; /* 设置与标题的间距 */
    font-weight: normal; /* 设置字体权重为正常 */
    vertical-align: middle; /* 设置垂直对齐方式 */
    display: inline-block; /* 设置为内联块元素，以适应背景和内边距 */
}

