        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            -webkit-tap-highlight-color: transparent;  
        }

        :root {
            --primary-color: #6e8efb;
            --secondary-color: #a777e3;
            --text-color: #333;
            --light-text: #666;
            --bg-color: #f5f7fa;
            --white: #ffffff;
            --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
            --border-radius: 8px;
        }

        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            overflow-x: hidden;
        }

        /* 禁用右键菜单和选择 */
        body {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            -webkit-touch-callout: none; /* 禁用长按菜单 */
    -webkit-tap-highlight-color: transparent; /* 禁用点击高亮（二次保险） */
        }

        /* 顶部导航栏 */
        .header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 68px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            box-shadow: var(--shadow);
            z-index: 100;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: var(--white);
            position: relative;
            padding: 0 12px;
            letter-spacing: 1px;
            text-transform: uppercase;
            background: linear-gradient(to right, #fff 20%, #ff0 40%, #ff0 60%, #fff 80%);
            background-size: 200% auto;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shine 3s linear infinite;
        }

        @keyframes shine {
            to {
                background-position: 200% center;
            }
        }

        .logo::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
            border-radius: 50%;
            filter: blur(1px);
        }

        .search-icon {
            width: 24px;
            height: 24px;
            cursor: pointer;
            fill: var(--white);
            transition: var(--transition);
        }

        .search-icon:hover {
            transform: scale(1.1);
        }

        /* 分类选项卡 */
        .categories-container {
            position: fixed;
            top: 68px;
            left: 0;
            width: 100%;
            height: 64px;
            background-color: var(--white);
            z-index: 90;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .categories {
            display: flex;
            height: 100%;
            padding: 0 16px;
            overflow-x: auto;
            scrollbar-width: none;
            align-items: center;
        }

        .categories::-webkit-scrollbar {
            display: none;
        }

        .category {
            flex: 0 0 auto;
            padding: 0 22px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 15px;
            color: var(--light-text);
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            border-radius: 20px;
            margin: 0 6px;
            background-color: rgba(110, 142, 251, 0.08);
            border: 1px solid rgba(110, 142, 251, 0.1);
        }

        .category svg {
            width: 18px;
            height: 18px;
            margin-right: 8px;
            fill: currentColor;
        }

        .category.active {
            color: var(--white);
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
            border: none;
        }

        .category:not(.active):hover {
            background-color: rgba(110, 142, 251, 0.15);
            transform: scale(1.05);
        }

        /* 轮播图 */
        .banner-container {
            margin-top: 132px;
            width: 100%;
            height: 0;
            padding-bottom: 30%;
            overflow: hidden;
            position: relative;
            border-radius: var(--border-radius);
            margin-left: auto;
            margin-right: auto;
            max-width: 1200px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .banner {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
            display: flex;
            transition: transform 0.5s ease;
        }

        .banner-img {
            min-width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .banner-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            background-color: rgba(0, 0, 0, 0.3);
            padding: 6px 10px;
            border-radius: 20px;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            margin: 0 6px;
            cursor: pointer;
            transition: var(--transition);
        }

        .dot.active {
            background-color: var(--white);
            transform: scale(1.3);
        }

        /* 视频列表 */
        .content {
            padding: 24px;
            margin-top: 12px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .section-title {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            color: var(--text-color);
        }

        .section-title svg {
            width: 22px;
            height: 22px;
            margin-right: 10px;
            fill: var(--primary-color);
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 18px;
        }

        .video-card {
            background-color: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
        }

        .video-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
        }

        .video-thumbnail {
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            position: relative;
            overflow: hidden;
        }

        .video-thumbnail img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .video-card:hover .video-thumbnail img {
            transform: scale(1.08);
        }

        .video-info {
            padding: 14px;
        }

        .video-title {
            font-size: 15px;
            font-weight: 500;
            color: var(--text-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }

        /* 播放页面 */
        .player-page {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--white);
            z-index: 200;
            display: none;
            flex-direction: column;
        }

        .player-header {
            height: 68px;
            display: flex;
            align-items: center;
            padding: 0 24px;
            background-color: var(--white);
            box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
        }

        .back-icon {
            width: 26px;
            height: 26px;
            cursor: pointer;
            fill: var(--light-text);
            transition: var(--transition);
        }

        .back-icon:hover {
            fill: var(--primary-color);
            transform: translateX(-4px);
        }

        .player-title {
            flex: 1;
            text-align: center;
            font-size: 20px;
            font-weight: bold;
            color: var(--text-color);
            padding: 0 24px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .player-container {
            width: 100%;
            flex: 1;
            display: flex;
            flex-direction: column;
            background-color: var(--white);
            overflow-y: auto;
        }

        .video-player-wrapper {
            width: 100%;
            position: relative;
            background-color: #000;
        }

        .video-player {
            width: 100%;
            height: 0;
            padding-bottom: 56.25%;
            position: relative;
        }

        .video-player video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            outline: none;
        }

        .player-controls {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            padding: 12px;
            display: flex;
            flex-direction: column;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .video-player-wrapper:hover .player-controls {
            opacity: 1;
        }

        .progress-container {
            width: 100%;
            height: 6px;
            margin-bottom: 12px;
            cursor: pointer;
            position: relative;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
        }

        .progress {
            height: 100%;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            position: relative;
            border-radius: 3px;
            width: 0;
        }

        .progress-handle {
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            background-color: var(--white);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        .progress-container:hover .progress-handle {
            opacity: 1;
        }

        .control-buttons {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .left-controls,
        .right-controls {
            display: flex;
            align-items: center;
        }

        .control-btn {
            background: none;
            border: none;
            color: var(--white);
            font-size: 18px;
            margin: 0 6px;
            cursor: pointer;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .control-btn:hover {
            transform: scale(1.1);
        }

        .playback-speed {
            background-color: rgba(0, 0, 0, 0.5);
            color: var(--white);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 4px 8px;
            border-radius: 4px;
            margin-left: 10px;
            font-size: 13px;
            cursor: pointer;
            transition: var(--transition);
        }

        .playback-speed:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 2px rgba(167, 119, 227, 0.3);
        }

        .time-display {
            font-size: 13px;
            color: var(--white);
            margin-left: 12px;
            font-family: monospace;
        }

        .video-details {
            padding: 24px;
            background-color: var(--white);
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
        }

        .detail-title {
            font-size: 22px;
            font-weight: bold;
            margin-bottom: 12px;
            color: var(--text-color);
        }

        .detail-meta {
            display: flex;
            margin-bottom: 16px;
            color: var(--light-text);
            font-size: 15px;
            flex-wrap: wrap;
        }

        .detail-meta span {
            margin-right: 16px;
            display: flex;
            align-items: center;
        }

        .detail-meta svg {
            width: 16px;
            height: 16px;
            margin-right: 6px;
            fill: currentColor;
        }

        .detail-description {
            color: var(--text-color);
            line-height: 1.6;
            font-size: 15px;
        }

        /* 加载动画 */
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.95);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .spinner {
            width: 60px;
            height: 60px;
            border: 6px solid rgba(110, 142, 251, 0.2);
            border-radius: 50%;
            border-top-color: var(--primary-color);
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* 提示框 */
        .toast {
            position: fixed;
            bottom: -50px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.8);
            color: var(--white);
            padding: 12px 24px;
            border-radius: var(--border-radius);
            font-size: 15px;
            transition: bottom 0.3s;
            z-index: 1000;
            max-width: 80%;
            text-align: center;
            backdrop-filter: blur(5px);
        }

        .toast.show {
            bottom: 40px;
        }

        /* 打开APP悬浮按钮 */
        .open-app-btn {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: var(--white);
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(110, 142, 251, 0.3);
            transition: var(--transition);
            z-index: 150;
        }

        .open-app-btn:hover {
            transform: translateX(-50%) scale(1.05);
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .header {
                height: 60px;
                padding: 0 16px;
            }

            .logo {
                font-size: 22px;
            }

            .categories-container {
                top: 60px;
                height: 56px;
            }

            .category {
                padding: 0 16px;
                font-size: 14px;
                height: 36px;
            }

            .category svg {
                display: none;
            }

            .banner-container {
                padding-bottom: 50%;
                margin-top: 116px;
                border-radius: 0;
            }

            .content {
                padding: 16px;
            }

            .video-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
                gap: 12px;
            }

            .section-title {
                font-size: 18px;
            }

            .video-title {
                font-size: 14px;
            }

            .video-details {
                padding: 16px;
            }

            .detail-title {
                font-size: 20px;
            }
        }

        @media (min-width: 1200px) {
            .banner-container {
                padding-bottom: 25%;
            }
        }
      button, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}