        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans SC', sans-serif;
            transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
        }
        
        body {
            background: linear-gradient(135deg, #e0f7fa, #bbdefb);
            color: #333;
            min-height: 100vh;
            padding: 20px;
        }
        
        body.dark-theme {
            background: linear-gradient(135deg, #1a237e, #0d47a1);
            color: #e0e0e0;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }
        
        /* 导航栏样式 */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 0 0 15px 15px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }
        
        .dark-theme .navbar {
            background: rgba(26, 35, 126, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        }
        
        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px 30px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #1a237e;
            text-decoration: none;
        }
        
        .dark-theme .logo {
            color: #bbdefb;
        }
        
        .logo i {
            font-size: 1.8rem;
        }
        
        .logo span {
            font-size: 1.5rem;
            font-weight: 700;
        }
        
        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
        }
        
        .nav-link {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        
        .dark-theme .nav-link {
            color: #e0e0e0;
        }
        
        .nav-link:hover {
            color: #3f51b5;
        }
        
        .dark-theme .nav-link:hover {
            color: #bbdefb;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #3f51b5;
            transition: width 0.3s;
        }
        
        .dark-theme .nav-link::after {
            background: #bbdefb;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .nav-btn {
            background: #3f51b5;
            color: white;
            border: none;
            border-radius: 30px;
            padding: 8px 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .dark-theme .nav-btn {
            background: #5c6bc0;
        }
        
        .nav-btn:hover {
            background: #283593;
            transform: translateY(-3px);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #333;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .dark-theme .mobile-menu-btn {
            color: #e0e0e0;
        }
        
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            height: 100%;
            background: white;
            border-left: 1px solid #eee;
            display: flex;
            flex-direction: column;
            padding: 40px 20px;
            transition: right 0.3s ease;
            z-index: 1001;
        }
        
        .dark-theme .mobile-menu {
            background: #1a237e;
            border-left: 1px solid #303f9f;
        }
        
        .mobile-menu.show {
            right: 0;
        }
        
        .mobile-menu .close-menu {
            align-self: flex-end;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #333;
            cursor: pointer;
        }
        
        .dark-theme .mobile-menu .close-menu {
            color: #e0e0e0;
        }
        
        .mobile-nav-links {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 25px;
            margin-top: 30px;
        }
        
        .mobile-nav-link {
            color: #333;
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 500;
        }
        
        .dark-theme .mobile-nav-link {
            color: #e0e0e0;
        }
        
        .mobile-nav-link:hover {
            color: #3f51b5;
        }
        
        .dark-theme .mobile-nav-link:hover {
            color: #bbdefb;
        }
        
        .mobile-menu .mobile-nav-btn {
            background: #3f51b5;
            color: white;
            border: none;
            border-radius: 30px;
            padding: 12px 25px;
            font-weight: 500;
            cursor: pointer;
            align-self: flex-start;
        }
        
        .dark-theme .mobile-menu .mobile-nav-btn {
            background: #5c6bc0;
        }
        
        .mobile-menu .mobile-nav-btn:hover {
            background: #283593;
        }
        
        /* 原有样式继续 */
        
        header {
            text-align: center;
            padding: 30px 0;
            margin-bottom: 30px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            margin-top: 70px; /* 为导航栏留出空间 */
        }
        
        .dark-theme header {
            background: rgba(26, 35, 126, 0.9);
            color: #e0e0e0;
        }
        
        h1 {
            font-size: 2.8rem;
            color: #1a237e;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .dark-theme h1 {
            color: #bbdefb;
        }
        
        .subtitle {
            font-size: 1.2rem;
            color: #5c6bc0;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .dark-theme .subtitle {
            color: #9fa8da;
        }
        
        .content {
            display: flex;
            flex-direction: column;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .participants-section {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: 25px;
            order: 2; /* 默认顺序 */
        }
        
        .leaderboard-section {
            background: rgba(255, 255, 255, 0.92);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            height: fit-content;
            position: sticky;
            top: 90px;
            order: 1; /* 默认在视频上方 */
        }
        
        .dark-theme .leaderboard-section {
            background: rgba(26, 35, 126, 0.92);
        }
        
        .leaderboard-title {
            text-align: center;
            color: #1a237e;
            font-size: 1.8rem;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e0e0e0;
        }
        
        .dark-theme .leaderboard-title {
            color: #bbdefb;
            border-bottom: 2px solid #5c6bc0;
        }
        
        .participant-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .dark-theme .participant-card {
            background: rgba(26, 35, 126, 0.95);
        }
        
        .participant-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }
        
        .card-header {
            display: flex;
            padding: 20px;
            background: linear-gradient(to right, #3f51b5, #5c6bc0);
            color: white;
        }
        
        .dark-theme .card-header {
            background: linear-gradient(to right, #1a237e, #303f9f);
        }
        
        .profile-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid white;
            margin-right: 20px;
        }
        
        .profile-info {
            flex: 1;
            padding-top: 10px;
        }
        
        .name {
            font-size: 1.6rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .class {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .video-container {
            position: relative;
            padding-top: 56.25%;
            background: #000;
        }
        
        .video-container video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .video-overlay:hover {
            opacity: 1;
        }
        
        .play-btn {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.3s;
        }
        
        .play-btn i {
            color: #3f51b5;
            font-size: 30px;
            margin-left: 5px;
        }
        
        .play-btn:hover {
            transform: scale(1.1);
        }
        
        .card-footer {
            padding: 20px;
        }
        
        .dark-theme .card-footer {
            background: rgba(26, 35, 126, 0.8);
        }
        
        .interaction {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .dark-theme .interaction {
            border-bottom: 1px solid #5c6bc0;
        }
        
        .like-btn {
            display: flex;
            align-items: center;
            background: #f5f5f5;
            border: none;
            border-radius: 50px;
            padding: 8px 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1rem;
            color: #666;
        }
        
        .dark-theme .like-btn {
            background: rgba(26, 35, 126, 0.5);
            color: #e0e0e0;
        }
        
        .like-btn:hover {
            background: #ffebee;
            color: #e53935;
        }
        
        .dark-theme .like-btn:hover {
            background: rgba(229, 57, 53, 0.2);
        }
        
        .like-btn.liked {
            background: #ffebee;
            color: #e53935;
        }
        
        .dark-theme .like-btn.liked {
            background: rgba(229, 57, 53, 0.3);
        }
        
        .like-btn i {
            margin-right: 8px;
            font-size: 1.2rem;
        }
        
        .like-count {
            font-weight: bold;
            margin-left: 5px;
        }
        
        .comments-section {
            margin-top: 15px;
        }
        
        .comments-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: #1a237e;
            display: flex;
            align-items: center;
        }
        
        .dark-theme .comments-title {
            color: #bbdefb;
        }
        
        .comments-title i {
            margin-right: 10px;
        }
        
        .comment-form {
            display: flex;
            margin-bottom: 20px;
        }
        
        .comment-input {
            flex: 1;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 30px 0 0 30px;
            font-size: 1rem;
            outline: none;
        }
        
        .dark-theme .comment-input {
            background: rgba(26, 35, 126, 0.5);
            border: 1px solid #5c6bc0;
            color: #e0e0e0;
        }
        
        .comment-btn {
            padding: 12px 20px;
            background: #5c6bc0;
            color: white;
            border: none;
            border-radius: 0 30px 30px 0;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }
        
        .dark-theme .comment-btn {
            background: #303f9f;
        }
        
        .comment-btn:hover {
            background: #3f51b5;
        }
        
        .dark-theme .comment-btn:hover {
            background: #283593;
        }
        
        .comment-list {
            max-height: 200px;
            overflow-y: auto;
            padding-right: 10px;
        }
        
        .comment {
            background: #f5f5f5;
            padding: 12px 15px;
            border-radius: 10px;
            margin-bottom: 10px;
            font-size: 0.95rem;
            position: relative;
        }
        
        .dark-theme .comment {
            background: rgba(26, 35, 126, 0.5);
        }
        
        .comment:last-child {
            margin-bottom: 0;
        }
        
        .comment-user {
            font-weight: bold;
            color: #3f51b5;
            margin-bottom: 5px;
        }
        
        .dark-theme .comment-user {
            color: #9fa8da;
        }
        
        /* 评论删除按钮 */
        .delete-comment {
            position: absolute;
            top: 8px;
            right: 8px;
            background: transparent;
            border: none;
            color: #e53935;
            cursor: pointer;
            font-size: 0.9rem;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .comment:hover .delete-comment {
            opacity: 1;
        }
        
        .dark-theme .delete-comment {
            color: #ff8a80;
        }
        
        /* 下拉菜单样式 - 优化 */
        .dropdown {
            position: relative;
            display: inline-block;
        }
        
        .dropdown-btn {
            background: none;
            border: none;
            color: #333;
            font-weight: 500;
            text-decoration: none;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 0;
            transition: color 0.3s;
            position: relative;
        }
        
        .dark-theme .dropdown-btn {
            color: #e0e0e0;
        }
        
        .dropdown-btn:hover {
            color: #3f51b5;
        }
        
        .dark-theme .dropdown-btn:hover {
            color: #bbdefb;
        }
        
        .dropdown-btn::after {
            content: '\f0d7';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 5px;
            transition: transform 0.3s;
        }
        
        .dropdown.open .dropdown-btn::after {
            transform: rotate(180deg);
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            border-radius: 10px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            width: 180px;
            z-index: 1000;
            display: none;
            animation: fadeIn 0.3s ease;
        }
        
        .dark-theme .dropdown-menu {
            background: rgba(26, 35, 126, 0.95);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .dropdown-menu.show {
            display: block;
        }
        
        .dropdown-item {
            padding: 12px 20px;
            color: #333;
            text-decoration: none;
            display: block;
            font-size: 0.95rem;
            transition: background-color 0.3s, color 0.3s;
            cursor: pointer;
        }
        
        .dark-theme .dropdown-item {
            color: #e0e0e0;
        }
        
        .dropdown-item:hover {
            background-color: #f0f4ff;
            color: #3f51b5;
        }
        
        .dark-theme .dropdown-item:hover {
            background-color: rgba(48, 63, 159, 0.5);
            color: #bbdefb;
        }
        
        .dropdown-item.selected {
            background-color: #e3f2fd;
            color: #3f51b5;
            font-weight: 500;
        }
        
        .dark-theme .dropdown-item.selected {
            background-color: rgba(48, 63, 159, 0.7);
            color: #bbdefb;
        }
        
        /* 移动端下拉菜单样式 */
        .mobile-dropdown {
            margin-top: 15px;
            position: relative;
        }
        
        .mobile-dropdown-btn {
            background: none;
            border: none;
            color: #333;
            font-weight: 500;
            text-decoration: none;
            font-size: 1.1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            width: 100%;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
        }
        
        .dark-theme .mobile-dropdown-btn {
            color: #e0e0e0;
            border-bottom: 1px solid #5c6bc0;
        }
        
        .mobile-dropdown-btn::after {
            content: '\f0d7';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            transition: transform 0.3s;
        }
        
        .mobile-dropdown.open .mobile-dropdown-btn::after {
            transform: rotate(180deg);
        }
        
        .mobile-dropdown-menu {
            position: relative;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            margin-top: 10px;
            display: none;
        }
        
        .dark-theme .mobile-dropdown-menu {
            background: rgba(26, 35, 126, 0.95);
        }
        
        .mobile-dropdown-menu.show {
            display: block;
        }
        
        .mobile-dropdown-item {
            padding: 10px 20px;
            color: #333;
            text-decoration: none;
            display: block;
            font-size: 1rem;
            transition: background-color 0.3s, color 0.3s;
            cursor: pointer;
        }
        
        .dark-theme .mobile-dropdown-item {
            color: #e0e0e0;
        }
        
        .mobile-dropdown-item:hover {
            background-color: #f0f4ff;
            color: #3f51b5;
        }
        
        .dark-theme .mobile-dropdown-item:hover {
            background-color: rgba(48, 63, 159, 0.5);
            color: #bbdefb;
        }
        
        .mobile-dropdown-item.selected {
            background-color: #e3f2fd;
            color: #3f51b5;
            font-weight: 500;
        }
        
        .dark-theme .mobile-dropdown-item.selected {
            background-color: rgba(48, 63, 159, 0.7);
            color: #bbdefb;
        }
        
        /* 排行榜样式 */
        .leaderboard-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background: white;
            border-radius: 10px;
            margin-bottom: 15px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s;
        }
        
        .dark-theme .leaderboard-item {
            background: rgba(26, 35, 126, 0.7);
        }
        
        .leaderboard-item:hover {
            transform: translateX(5px);
            background: #f0f4ff;
        }
        
        .dark-theme .leaderboard-item:hover {
            background: rgba(26, 35, 126, 0.9);
        }
        
        .rank {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #e8eaf6;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #3f51b5;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .dark-theme .rank {
            background: rgba(48, 63, 159, 0.5);
            color: #e0e0e0;
        }
        
        .rank-1 {
            background: #ffeb3b;
            color: #333;
        }
        
        .rank-2 {
            background: #e0e0e0;
            color: #333;
        }
        
        .rank-3 {
            background: #ffccbc;
            color: #333;
        }
        
        .dark-theme .rank-1 {
            background: #ffc107;
            color: #333;
        }
        
        .dark-theme .rank-2 {
            background: #9e9e9e;
            color: #333;
        }
        
        .dark-theme .rank-3 {
            background: #ffab91;
            color: #333;
        }
        
        .leaderboard-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .leaderboard-info {
            flex: 1;
        }
        
        .leaderboard-name {
            font-weight: bold;
            margin-bottom: 3px;
        }
        
        .leaderboard-class {
            font-size: 0.9rem;
            color: #666;
        }
        
        .dark-theme .leaderboard-class {
            color: #9e9e9e;
        }
        
        .leaderboard-likes {
            display: flex;
            align-items: center;
            font-weight: bold;
            color: #e53935;
        }
        
        .leaderboard-likes i {
            margin-right: 5px;
        }
        
        footer {
            text-align: center;
            padding: 25px;
            color: #5c6bc0;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }
        
        .dark-theme footer {
            background: rgba(26, 35, 126, 0.9);
            color: #9fa8da;
        }
        
        /* 班级筛选标签样式 */
        .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
            justify-content: center;
        }
        
        .filter-tag {
            padding: 8px 16px;
            background: #e8eaf6;
            border-radius: 20px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .dark-theme .filter-tag {
            background: rgba(48, 63, 159, 0.3);
            color: #e0e0e0;
        }
        
        .filter-tag:hover {
            background: #d1c4e9;
        }
        
        .dark-theme .filter-tag:hover {
            background: rgba(179, 157, 219, 0.3);
        }
        
        .filter-tag.active {
            background: #5c6bc0;
            color: white;
        }
        
        .dark-theme .filter-tag.active {
            background: #7986cb;
        }
        
        /* 响应式设计 */
        @media (min-width: 992px) {
            .content {
                flex-direction: row;
            }
            
            .participants-section {
                order: 1;
                flex: 3;
            }
            
            .leaderboard-section {
                order: 2;
                flex: 1;
                position: sticky;
                top: 90px;
            }
        }
        
        @media (max-width: 1100px) {
            .participants-section {
                grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            }
        }
        
        @media (max-width: 992px) {
            .nav-links {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            header {
                margin-top: 70px; /* 为导航栏留出空间 */
            }
            
            .leaderboard-section {
                position: static;
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .participants-section {
                grid-template-columns: 1fr;
            }
            
            h1 {
                font-size: 2.2rem;
            }
            
            .card-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .profile-img {
                margin-right: 0;
                margin-bottom: 15px;
            }
            
            .leaderboard-avatar {
                width: 40px;
                height: 40px;
            }
        }
        
        /* 导航窗口样式 */
        .nav-window {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .nav-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.95);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            color: #3f51b5;
            font-size: 1.5rem;
            border: none;
        }
        
        .nav-btn:hover {
            transform: translateY(-5px) scale(1.1);
            background: #3f51b5;
            color: white;
        }
        
        .dark-theme .nav-btn {
            background: rgba(26, 35, 126, 0.95);
            color: #bbdefb;
        }
        
        .dark-theme .nav-btn:hover {
            background: #3f51b5;
            color: white;
        }
        
        .nav-window .nav-btn:nth-child(1) {
            background: #3f51b5;
            color: white;
        }
        
        .dark-theme .nav-window .nav-btn:nth-child(1) {
            background: #5c6bc0;
        }
        
        /* 导航菜单 */
        .nav-menu {
            position: fixed;
            top: 50%;
            right: 30px;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            padding: 20px;
            z-index: 999;
            display: none;
            flex-direction: column;
            gap: 15px;
            width: 220px;
        }
        
        .dark-theme .nav-menu {
            background: rgba(26, 35, 126, 0.95);
        }
        
        .nav-menu.show {
            display: flex;
            animation: slideIn 0.3s ease-out;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50%) translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateY(-50%) translateX(0);
            }
        }
        
        .nav-menu h3 {
            text-align: center;
            color: #3f51b5;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }
        
        .dark-theme .nav-menu h3 {
            color: #bbdefb;
        }
        
        .nav-link {
            padding: 12px 20px;
            background: #f5f5f5;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #333;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .dark-theme .nav-link {
            background: rgba(48, 63, 159, 0.5);
            color: #e0e0e0;
        }
        
        .nav-link:hover {
            background: #3f51b5;
            color: white;
            transform: translateX(-5px);
        }
        
        .nav-link i {
            font-size: 1.2rem;
        }
        
        /* 主题切换按钮样式 */
        .theme-switch {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 100;
            font-size: 1.4rem;
            color: #3f51b5;
        }
        
        .dark-theme .theme-switch {
            background: rgba(26, 35, 126, 0.9);
            color: #bbdefb;
        }
        
        .theme-switch:hover {
            transform: rotate(30deg);
        }
        
        /* 管理员登录按钮 */
        .admin-btn {
            background: #f44336;
            color: white;
            border: none;
            border-radius: 30px;
            padding: 8px 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            margin-left: 10px;
        }
        
        .admin-btn:hover {
            background: #d32f2f;
            transform: translateY(-3px);
        }
        
        .dark-theme .admin-btn {
            background: #f44336;
        }
        
        /* 管理员登录模态框 */
        .admin-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .admin-modal-content {
            background: white;
            border-radius: 15px;
            padding: 30px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .dark-theme .admin-modal-content {
            background: #1a237e;
        }
        
        .close-admin {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
        }
        
        .dark-theme .close-admin {
            color: #e0e0e0;
        }
        
        .admin-title {
            text-align: center;
            margin-bottom: 25px;
            color: #1a237e;
        }
        
        .dark-theme .admin-title {
            color: #bbdefb;
        }
        
        .admin-input {
            width: 100%;
            padding: 12px 15px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 1rem;
        }
        
        .dark-theme .admin-input {
            background: rgba(26, 35, 126, 0.5);
            border: 1px solid #5c6bc0;
            color: #e0e0e0;
        }
        
        .admin-login-btn {
            width: 100%;
            padding: 12px;
            background: #3f51b5;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .dark-theme .admin-login-btn {
            background: #5c6bc0;
        }
        
        .admin-login-btn:hover {
            background: #283593;
        }
        
        /* 管理员指示器 */
        .admin-indicator {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: #4CAF50;
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            display: none;
            z-index: 1000;
            align-items: center;
            gap: 8px;
        }
        
        .admin-indicator i {
            font-size: 1.2rem;
        }
        
        .admin-indicator.show {
            display: flex;
            animation: fadeInUp 0.5s ease-out;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }