         :root {
            --primary: #6a11cb;
            --primary-dark: #2575fc;
            --secondary: #ff9900;
            --dark: #1e1e2e;
            --light: #f5f7fa;
            --gray: #6b7280;
            --danger: #ff3860;
            --success: #23d160;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #0c0c1a, #1a1a3a);
            color: var(--light);
            line-height: 1.6;
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            padding: 1rem 5%;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
        }
        
        .logo i {
            color: var(--secondary);
            margin-right: 0.5rem;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin: 0 1.2rem;
            position: relative;
        }
        
        .nav-links li::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary);
            transition: width 0.3s ease;
        }
        
        .nav-links li:hover::after {
            width: 100%;
        }
        
        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            padding: 0.5rem 0;
        }
        
        .nav-links a:hover, .nav-links a.active {
            color: var(--secondary);
        }
        
        .user-actions {
            display: flex;
            align-items: center;
        }
        
        .login-btn, .register-btn {
            background: none;
            border: 2px solid white;
            color: white;
            padding: 0.6rem 1.4rem;
            border-radius: 30px;
            cursor: pointer;
            margin-left: 1rem;
            transition: all 0.3s;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        .login-btn:hover, .register-btn:hover {
            background-color: white;
            color: var(--primary);
            transform: translateY(-2px);
        }
        
        .user-icon {
            font-size: 1.5rem;
            margin-left: 1.2rem;
            cursor: pointer;
            color: white;
            transition: transform 0.3s;
        }
        
        .user-icon:hover {
            transform: scale(1.1);
            color: var(--secondary);
        }
        
        /* 主要内容区域公共样式 */
        .main-container {
            padding: 3rem 5% 4rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .page-title {
            font-size: 2.8rem;
            margin-bottom: 2.5rem;
            position: relative;
            display: inline-block;
            background: linear-gradient(90deg, var(--secondary), #ffcc00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            font-weight: 800;
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 0;
            width: 120px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 2px;
        }
        
        .section-title {
            font-size: 1.8rem;
            margin: 2.5rem 0 1.5rem;
            color: var(--secondary);
            position: relative;
            padding-left: 1rem;
        }
        
        .section-title::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 80%;
            background: var(--secondary);
            border-radius: 3px;
        }
        /*活动页面样式*/
         .events-container {
            display: flex;
            gap: 2rem;
        }
        
        .events-filters {
            flex: 0 0 280px;
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 15px;
            padding: 2rem;
            height: fit-content;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .filter-group {
            margin-bottom: 1.8rem;
        }
        
        .filter-title {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: #d0d0e0;
        }
        
        .filter-options {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }
        
        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        
        .filter-option input {
            accent-color: var(--primary);
        }
        
        .filter-option label {
            color: #b0b0c0;
            cursor: pointer;
        }
        
        .filter-option input:checked + label {
            color: white;
            font-weight: 500;
        }
        
        .events-grid {
            flex: 1;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
        }
        
        .event-card {
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .event-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(106, 17, 203, 0.3);
        }
        
        .event-image {
            height: 200px;
            position: relative;
            overflow: hidden;
        }
        
        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .event-card:hover .event-image img {
            transform: scale(1.05);
        }
        
        .event-date {
            position: absolute;
            top: 15px;
            left: 15px;
            background: rgba(106, 17, 203, 0.85);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 500;
            z-index: 2;
        }
        
        .event-details {
            padding: 1.5rem;
        }
        
        .event-title {
            font-size: 1.3rem;
            margin-bottom: 0.7rem;
            line-height: 1.4;
            color: white;
            font-weight: 600;
        }
        
        .event-location {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--secondary);
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
        
        .event-description {
            line-height: 1.6;
            color: #d0d0e0;
            margin-bottom: 1.5rem;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .event-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #4a4a63;
        }
        
        .event-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--secondary);
        }
        
        .event-button {
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            text-decoration: none;
            padding: 0.6rem 1.5rem;
            border-radius: 30px;
            font-weight: 500;
            transition: all 0.3s;
            display: inline-block;
        }
        
        .event-button:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }
        
        /* 活动详情样式 */
        .event-detail-container {
            display: flex;
            gap: 2.5rem;
        }
        
        .event-main-content {
            flex: 2;
        }
        
        .event-sidebar {
            flex: 1;
        }
        
        .event-banner {
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
            margin-bottom: 2rem;
            position: relative;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
        }
        
        .event-banner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .event-header {
            margin-bottom: 2rem;
        }
        
        .event-header h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: white;
        }
        
        .event-header-meta {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-bottom: 1rem;
        }
        
        .event-header-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray);
        }
        
        .event-header-meta-item i {
            color: var(--secondary);
        }
        
        .event-tags {
            display: flex;
            gap: 0.8rem;
            flex-wrap: wrap;
            margin-top: 1.5rem;
        }
        
        .event-tag {
            background: rgba(106, 17, 203, 0.2);
            color: #a56aff;
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .event-content {
            margin-bottom: 2.5rem;
        }
        
        .event-content p {
            line-height: 1.8;
            color: #d0d0e0;
            margin-bottom: 1.5rem;
        }
        
        .event-content h3 {
            font-size: 1.5rem;
            margin: 2rem 0 1rem;
            color: var(--secondary);
        }
        
        .ticket-info {
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 15px;
            padding: 2rem;
            margin-top: 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .ticket-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: white;
        }
        
        .ticket-options {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            margin-bottom: 2rem;
        }
        
        .ticket-option {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: rgba(42, 42, 66, 0.5);
            border-radius: 10px;
        }
        
        .ticket-info-left h4 {
            font-size: 1.1rem;
            margin-bottom: 0.3rem;
            color: white;
        }
        
        .ticket-info-left p {
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .ticket-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--secondary);
        }
        
        .ticket-action {
            display: flex;
            gap: 1rem;
            align-items: center;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .quantity-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .quantity-input {
            width: 50px;
            text-align: center;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            padding: 0.3rem;
            border-radius: 5px;
        }
        
        .buy-button {
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .buy-button:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }

        /* 社区论坛页面样式 */
        .forum-container {
            display: flex;
            gap: 2rem;
        }
        
        .forum-sidebar {
            flex: 0 0 280px;
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 15px;
            padding: 2rem;
            height: fit-content;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }
        
        .forum-categories {
            list-style: none;
            margin-top: 1.5rem;
        }
        
        .forum-categories li {
            margin-bottom: 1rem;
        }
        
        .forum-categories a {
            display: block;
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            color: #d0d0e0;
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .forum-categories a:hover, .forum-categories a.active {
            background: rgba(106, 17, 203, 0.2);
            color: white;
        }
        
        .forum-categories a i {
            margin-right: 0.8rem;
            width: 20px;
            text-align: center;
        }
        
        .new-topic-btn {
            width: 100%;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 0.9rem;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.8rem;
        }
        
        .new-topic-btn:hover {
            opacity: 0.9;
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(106, 17, 203, 0.4);
        }
        
        .forum-main {
            flex: 1;
        }
        
        .forum-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid rgba(106, 17, 203, 0.3);
        }
        
        .forum-search {
            position: relative;
            flex: 1;
            max-width: 400px;
        }
        
        .forum-search input {
            width: 100%;
            padding: 0.9rem 1.2rem;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 30px;
            color: white;
            font-size: 1rem;
            padding-right: 45px;
        }
        
        .forum-search input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 0 0 2px var(--primary);
        }
        
        .forum-search button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--gray);
            font-size: 1.2rem;
            cursor: pointer;
        }
        
        .forum-sort {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .forum-sort label {
            color: var(--gray);
        }
        
        .forum-sort select {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            border-radius: 8px;
            padding: 0.6rem 1rem;
            color: white;
        }
        
        .forum-sort select:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary);
        }
        
        .topic-list {
            list-style: none;
        }
        
        .topic-item {
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: all 0.4s;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .topic-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(106, 17, 203, 0.3);
        }
        
        .topic-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .topic-title {
            font-size: 1.3rem;
            color: white;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .topic-title:hover {
            color: var(--secondary);
        }
        
        .topic-tag {
            background: rgba(255, 153, 0, 0.2);
            color: var(--secondary);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-left: 0.8rem;
        }
        
        .topic-meta {
            display: flex;
            gap: 1.5rem;
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 1.2rem;
        }
        
        .topic-author {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .topic-author img {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .topic-stats {
            display: flex;
            gap: 1.5rem;
            background: rgba(42, 42, 66, 0.5);
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            margin-top: 1rem;
        }
        
        .topic-stat {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .topic-content {
            color: #d0d0e0;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .topic-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .topic-last-reply {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        
        .topic-last-reply img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .topic-reply-btn {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .topic-reply-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        .forum-pagination {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 2.5rem;
        }
        
        .pagination-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .pagination-btn.active, .pagination-btn:hover {
            background: var(--primary);
        }
        
        /* 搜索页面样式 */
        .search-container {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .search-form {
            display: flex;
            margin-bottom: 2.5rem;
            position: relative;
        }
        
        .search-input {
            flex: 1;
            padding: 1.2rem 1.5rem;
            font-size: 1.1rem;
            border: none;
            border-radius: 50px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s;
        }
        
        .search-input:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.15);
            box-shadow: 0 5px 20px rgba(106, 17, 203, 0.3);
        }
        
        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }
        
        .search-btn {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border: none;
            color: white;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .search-btn:hover {
            transform: translateY(-50%) scale(1.1);
        }
        
        .search-results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(106, 17, 203, 0.3);
        }
        
        .results-count {
            font-size: 1.1rem;
            color: var(--gray);
        }
        
        .filter-controls {
            display: flex;
            gap: 1rem;
        }
        
        .filter-btn {
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
        }
        
        .filter-btn.active, .filter-btn:hover {
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        }
        
        .result-item {
            display: flex;
            gap: 1.5rem;
            padding: 1.5rem;
            background: rgba(26, 26, 46, 0.6);
            border-radius: 10px;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }
        
        .result-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
            background: rgba(26, 26, 46, 0.8);
        }
        
        .result-thumbnail {
            width: 240px;
            height: 135px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
        }
        
        .result-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }
        
        .result-item:hover .result-thumbnail img {
            transform: scale(1.05);
        }
        
        .result-duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.8rem;
        }
        
        .result-details {
            flex-grow: 1;
        }
        
        .result-title {
            font-size: 1.3rem;
            margin-bottom: 0.8rem;
            line-height: 1.4;
            color: white;
            font-weight: 600;
        }
        
        .result-meta {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .result-description {
            line-height: 1.7;
            margin-bottom: 1.2rem;
            color: #d0d0e0;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .result-link {
            display: inline-block;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            color: white;
            text-decoration: none;
            margin-bottom: 100px;
            padding: 0.6rem 1.5rem;
            border-radius: 30px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .result-link:hover {
            opacity: 0.9;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
        }

        
        /* 页面切换公共样式 */
        .page {
            display: none;
            animation: fadeIn 0.5s ease-in-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .page:target {
            display: block;
        }
        
        .page.active {
            display: block;
        }
        
        /* 视频播放页面样式 */
        .video-container {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 视频比例 */
            margin-bottom: 2rem;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
            background: #0a0a14;
        }
        
        .video-player {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #000;
        }
        
        .video-info {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
        }
        
        .video-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
        }
        
        .video-meta {
            display: flex;
            align-items: center;
            color: var(--gray);
            font-size: 0.95rem;
            gap: 1.5rem;
        }
        
        .video-meta i {
            margin-right: 0.5rem;
            color: var(--primary);
        }
        
        .video-actions {
            display: flex;
            gap: 1.5rem;
            margin-top: 1rem;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
            font-size: 1rem;
        }
        
        .action-btn i {
            font-size: 1.3rem;
        }
        
        .action-btn:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-3px);
        }
        
        .action-btn.like.active {
            background: rgba(106, 17, 203, 0.3);
            color: #a56aff;
        }
        
        .related-videos {
            margin-top: 3.5rem;
        }
        
        
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2.5rem;
        }
        
        .video-card {
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.4s;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            position: relative;
        }
        
        .video-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(106, 17, 203, 0.3);
        }
        
        .video-thumbnail {
            position: relative;
            padding-top: 56.25%;
            overflow: hidden;
        }
        
        .video-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .video-card:hover .video-thumbnail img {
            transform: scale(1.1);
        }
        
        .video-duration {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.75);
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.85rem;
        }
        
        .video-details {
            padding: 1.5rem;
        }
        
        .video-card-title {
            font-size: 1.15rem;
            margin-bottom: 0.7rem;
            line-height: 1.4;
            color: white;
            font-weight: 600;
            height: 3.2em;
            overflow: hidden;
            display: -webkit-box;
            line-clamp: 2;
            -webkit-box-orient: vertical;
        }
        
        .video-card-meta {
            display: flex;
            align-items: center;
            color: var(--gray);
            font-size: 0.9rem;
            justify-content: space-between;
        }
        
        .video-card-views {
            display: flex;
            align-items: center;
            gap: 0.3rem;
        }
        
        /* 注册页面样式 */
        .register-page {
            min-height: calc(100vh - 60px);
        }
        
        .register-form {
            max-width: 600px;
            margin: 0 auto;
            background: linear-gradient(145deg, #1a1a2e, #151525);
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }
        
        .form-title {
            font-size: 1.8rem;
            margin-bottom: 2rem;
            text-align: center;
            color: var(--secondary);
            font-weight: 700;
        }
        
        .form-group {
            margin-bottom: 1.8rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 600;
            color: #d0d0e0;
        }
        
        .form-input {
            width: 100%;
            padding: 1rem;
            background: #252540;
            border: 2px solid #3a3a5a;
            border-radius: 8px;
            color: white;
            font-size: 1rem;
            transition: all 0.3s;
        }
        
        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.3);
        }
        
        .form-radio-group {
            display: flex;
            gap: 1.8rem;
            margin: 1.2rem 0;
        }
        
        .form-radio {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        
        .form-checkbox {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            margin: 1.2rem 0;
        }
        
        .form-submit {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border: none;
            border-radius: 8px;
            color: white;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            margin-top: 1rem;
            letter-spacing: 0.5px;
        }
        
        .form-submit:hover {
            opacity: 0.92;
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(106, 17, 203, 0.4);
        }
        
        .form-remember {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 1.5rem 0;
        }
        
        .form-link {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.3s;
            font-weight: 500;
        }
        
        .form-link:hover {
            color: var(--secondary);
            text-decoration: underline;
        }

        /* 登录页面样式 */
        .login-form {
            max-width: 600px;
            margin: 0 auto;
            background: linear-gradient(145deg, #1a1a2e, #151525);
            padding: 2.5rem;
            border-radius: 15px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        }

        .login-form .form-group {
            margin-bottom: 1.8rem;
        }

        .login-form .form-label {
           display: block;
           margin-bottom: 0.8rem;
           font-weight: 600;
           color: #d0d0e0;
        }

        .login-form .form-input {
           width: 100%;
           padding: 1rem;
           background: #252540;
           border: 2px solid #3a3a5a;
           border-radius: 8px;
           color: white;
           font-size: 1rem;
           transition: all 0.3s;
        }

        .login-form .form-input:focus {
           outline: none;
           border-color: var(--primary);
           box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.3);
        }

        .login-form .form-remember {
           display: flex;
           justify-content: space-between;
           align-items: center;
           margin: 1.5rem 0;
        }

        .login-form .form-link {
           color: var(--primary);
           text-decoration: none;
           transition: color 0.3s;
           font-weight: 500;
        }

        .login-form .form-link:hover {
           color: var(--secondary);
           text-decoration: underline;
        }

        .login-form .form-submit {
           width: 100%;
           padding: 1rem;
           background: linear-gradient(90deg, var(--primary), var(--primary-dark));
           border: none;
           border-radius: 8px;
           color: white;
           font-size: 1.1rem;
           font-weight: 700;
           cursor: pointer;
           transition: all 0.3s;
           margin-top: 1rem;
           letter-spacing: 0.5px;
}

        .login-form .form-submit:hover {
           opacity: 0.92;
           transform: translateY(-3px);
           box-shadow: 0 7px 15px rgba(106, 17, 203, 0.4);
        }

        .login-form .form-text {
           color: var(--gray);
           text-align: center;
           margin-top: 1.5rem;
        }
     
        /* 个人中心页面样式 */
        .profile-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2.5rem;
        }
        
        .profile-sidebar {
            flex: 1;
            min-width: 280px;
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 15px;
            padding: 2.5rem 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        .user-profile {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #4a4a63;
        }
        
        .profile-avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid var(--primary);
            margin-bottom: 1.5rem;
            box-shadow: 0 0 0 6px rgba(106, 17, 203, 0.2);
        }
        
        .user-name {
            font-size: 1.6rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 0.5rem;
        }
        
        .user-email {
            color: var(--gray);
            font-size: 1rem;
        }
        
        .profile-menu {
            list-style: none;
        }
        
        .profile-menu li {
            margin-bottom: 1.2rem;
        }
        
        .profile-menu a {
            display: flex;
            align-items: center;
            gap: 1rem;
            color: #d0d0e0;
            text-decoration: none;
            padding: 0.8rem 1.2rem;
            border-radius: 8px;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .profile-menu a:hover, .profile-menu a.active {
            background: rgba(106, 17, 203, 0.2);
            color: white;
        }
        
        .profile-menu a i {
            width: 25px;
            color: var(--primary);
            font-size: 1.2rem;
        }
        
        .profile-main {
            flex: 3;
            min-width: 0;
        }
        
        .profile-card {
            background: linear-gradient(145deg, #1a1a2e, #151525);
            border-radius: 15px;
            padding: 2.5rem;
            margin-bottom: 2.5rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        .profile-section-title {
            font-size: 1.7rem;
            margin-bottom: 1.8rem;
            position: relative;
            padding-bottom: 0.8rem;
            color: var(--secondary);
        }
        
        .profile-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 70px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--primary-dark));
            border-radius: 2px;
        }
        
        .user-info {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.8rem;
            margin-bottom: 2rem;
        }
        
        .info-item {
            display: flex;
            gap: 1.2rem;
            align-items: flex-start;
        }
        
        .info-label {
            width: 120px;
            color: var(--gray);
            font-weight: 500;
        }
        
        .info-value {
            font-weight: 500;
            color: #e0e0f0;
        }
        
        .watch-history {
            margin-top: 2.5rem;
        }
        
        .history-list {
            list-style: none;
        }
        
        .history-item {
            display: flex;
            gap: 1.5rem;
            padding: 1.2rem 0;
            border-bottom: 1px solid #4a4a63;
            transition: background 0.3s;
        }
        
        .history-item:hover {
            background: rgba(42, 42, 66, 0.3);
        }
        
        .history-thumbnail {
            width: 160px;
            height: 90px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            position: relative;
        }
        
        .history-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }
        
        .history-item:hover .history-thumbnail img {
            transform: scale(1.05);
        }
        
        .history-duration {
            position: absolute;
            bottom: 5px;
            right: 5px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 0.8rem;
        }
        
        .history-details {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .history-title {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            line-height: 1.4;
            color: white;
            font-weight: 600;
        }
        
        .history-time {
            color: var(--gray);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        /* 注册成功提示样式 */
        .success-message {
            display: none;
            background: rgba(10, 132, 255, 0.15);
            border-left: 4px solid #0a84ff;
            padding: 1.2rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
            color: #6ec6ff;
        }
        
        .success-message.active {
            display: block;
            animation: slideIn 0.5s ease-out;
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        /* 页脚样式 */
        .footer {
            background: linear-gradient(135deg, #151525, #0f0f1a);
            padding: 3rem 5% 2rem;
            border-top: 1px solid rgba(106, 17, 203, 0.3);
        }
        
        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
        }
        
        .footer-logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: white;
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .footer-logo i {
            color: var(--secondary);
            margin-right: 0.5rem;
        }
        
        .footer-desc {
            color: var(--gray);
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: all 0.3s;
        }
        
        .social-link:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }
        
        .footer-title {
            font-size: 1.3rem;
            color: white;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--primary);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 1rem;
        }
        
        .footer-links a {
            color: var(--gray);
            text-decoration: none;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        
        .footer-links a:hover {
            color: var(--secondary);
        }
        
        .footer-links a i {
            width: 20px;
            color: var(--primary);
        }
        
        .copyright {
            text-align: center;
            padding-top: 2rem;
            margin-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .nav-links li {
                margin: 0 0.8rem;
            }
            
            .test-content {
                grid-template-columns: 1fr;
            }
            
            .profile-container {
                flex-direction: column;
            }
            
            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .navbar {
                padding: 0.8rem 5%;
            }
            
            .nav-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .nav-links {
                margin: 1rem 0;
                flex-wrap: wrap;
            }
            
            .user-actions {
                width: 100%;
                justify-content: space-between;
                margin-top: 1rem;
                padding-top: 1rem;
                border-top: 1px solid rgba(255, 255, 255, 0.1);
            }
            
            .page-title {
                font-size: 2.2rem;
            }
            
            .user-info {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 576px) {
            .register-form {
                padding: 1.5rem;
            }
            
            .form-radio-group {
                flex-direction: column;
                gap: 0.8rem;
            }
            
            .video-actions {
                flex-wrap: wrap;
            }
            
            .action-btn {
                flex: 1;
                min-width: 140px;
                justify-content: center;
            }
        }
        
        /* 页面容器样式 */
        .page-container {
            min-height: 80vh;
        }
        
        /* 登录页面特定样式 */
        .login-page {
            min-height: 80vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        /* 返回按钮 */
        .back-button {
            display: inline-flex;
            align-items: center;
            margin-bottom: 1.5rem;
            color: var(--secondary);
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .back-button:hover {
            color: #ffcc00;
        }
        
        .back-button i {
            margin-right: 0.5rem;
        }
        
        /* 页面切换动画 */
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .page {
            animation: slideUp 0.4s ease-out;
        }
        
        /* 页面内容区域 */
        .page-content {
            background: rgba(30, 30, 46, 0.5);
            border-radius: 15px;
            padding: 2.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }