@charset "utf-8";
/* CSS Document */


        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }
        
        body {
			background:url('/assets/images/pattern/pattern.png');
			background-size: cover
            overflow-x: hidden;
            touch-action: pan-y;
            min-height: 100vh;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }
        
        #header {
            position: fixed;
			top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.85);
            backdrop-filter: blur(10px);
            z-index: 1000;
            display: flex;
            justify-content: center; /* 居中菜单 */
            align-items: center;
            padding: 10px 20px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
            transition: all 0.3s ease;
        }
        
        /* PC端菜单宽度限制 */
        @media (min-width: 1000px) {
            #header {
				background-color: #5a845c;
                color: #5a845c;
                max-width: 1000px;
                left: 50%;
                transform: translateX(-50%);
                border-radius: 0 0 20px 20px;
            }
        }
        
        #mainmenu {
			
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            max-width: 1000px; /* 限制菜单宽度 */
            width: 100%;
            justify-content: space-between; /* 均匀分布菜单项 */
        }
        
        #mainmenu li {
            margin: 0 15px; /* 减少间距 */
            position: relative;
        }
        
        #mainmenu li a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 20px;
            transition: all 0.3s ease;
            display: block;
        }
        
        #mainmenu li a.active,
        #mainmenu li a:hover {
            background: linear-gradient(45deg, #ff0050, #ff6a00);
        }
        
        /* 移除红点样式 */
        .home_icon, .contact_icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .circle_effect {
            display: none; /* 隐藏红点 */
        }
        
        .app-container {
			background-color: #000;
            color: #fff;
            width: 100%;
            max-width: 1000px;
            height: calc(100vh - 70px);
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border-radius: 20px;
            margin: 70px auto 0;
        }

        @media (max-width: 999px) {
            .app-container {
				background-color: #000;
            color: #fff;
                max-width: 100%;
                border-radius: 0;
                height: calc(100vh - 60px);
                box-shadow: none;
                margin-top: 60px;
				
            }
            
            body {
                padding: 0;
				
            }
            
            #mainmenu li {
                margin: 0 5px; /* 移动端减少间距 */
            }
            
            #mainmenu li a {
                padding: 8px 10px; /* 移动端减少内边距 */
                font-size: 14px;
            }
        }

        .video-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        @media (max-width: 999px) {
            .video-container {
                border-radius: 0;
            }
        }

        .video-wrapper {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
        }
        
        .video-item {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }
        
        video {
            background: #000;
            object-fit: contain;
            max-width: 100%;
            max-height: 100%;
        }
        
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 30%);
            z-index: 1;
        }
        
        /* 视频信息区域 - 优化位置和间距 */
        .video-info {
            position: absolute;
            bottom: 60px; /* 下移 */
            left: 15px;
            right: 15px;
            z-index: 10;
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
        }
        
        .video-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 8px;
            line-height: 1.4;
        }
        
        .video-description {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.95);
            line-height: 1.35; /* 缩小行高 */
            margin-bottom: 7px; /* 减少间距 */
            position: relative;
            max-height: 4em; /* 最多显示两行 */
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .video-description.expanded {
            max-height: none; /* 展开时显示全部 */
        }
        
        .expand-btn {
            color: rgba(255, 255, 255, 0.8);
            background: none;
            border: none;
            padding: 2px 0;
            font-size: 14px;
            cursor: pointer;
            margin-top: 3px;
            display: none; /* 默认隐藏 */
            transition: all 0.3s ease;
        }
        
        .expand-btn:hover {
            color: #ff0050;
        }
        
        .video-stats {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 13px;
            color: rgba(255, 255, 255, 0.85);
        }
        
        .video-stats i {
            margin-right: 5px;
        }
        
        .controls {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 5;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        
        .play-pause-btn {
            width: 70px;
            height: 70px;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s, transform 0.2s;
            transform: scale(0.9);
        }
        
        .play-pause-btn.show {
            opacity: 1;
            transform: scale(1);
        }
        
        .play-pause-btn i {
            font-size: 32px;
            color: rgba(255, 255, 255, 0.95);
        }
        
        .progress-container {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: rgba(255, 255, 255, 0.2);
            z-index: 10;
        }
        
        .progress-bar {
            height: 100%;
            width: 0;
            background: #ff0050;
            transition: width 0.1s linear;
        }
        
        .loading {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            z-index: 20;
            display: none;
        }
        
        .loading-spinner {
            width: 100%;
            height: 100%;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid #ff0050;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .swipe-indicator {
            position: absolute;
            bottom: 50px;
            left: 0;
            right: 0;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            z-index: 15;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
            padding: 8px 16px;
            background: rgba(0,0,0,0.4);
            border-radius: 20px;
            width: fit-content;
            margin: 0 auto;
        }
        
        .swipe-indicator.show {
            opacity: 1;
        }
        
        .current-index {
            position: absolute;
            top: 20px;
            right: 15px;
            background: rgba(0, 0, 0, 0.5);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            z-index: 10;
            backdrop-filter: blur(5px);
        }
        
        /* 侧边按钮 - 优化为更紧凑 */
        .side-controls {
            position: absolute;
            right: 3px; /* 距离右边框3px */
            bottom: 100px; /* 下移 */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 22px; /* 减少间距 */
            z-index: 10;
        }
        
        .control-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px; /* 减少间距 */
            cursor: pointer;
        }
        
        .control-icon {
            width: 28px; /* 缩小尺寸 */
            height: 28px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 18px; /* 缩小图标 */
            color: white;
            transition: all 0.2s;
            backdrop-filter: blur(5px);
        }
        
        .control-icon.active {
            color: #ff0050;
        }
        
        .control-icon.liked {
            animation: likeAnimation 0.6s ease;
        }
        
        @keyframes likeAnimation {
            0% { transform: scale(1); }
            25% { transform: scale(1.2); }
            50% { transform: scale(0.9); }
            75% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }
        
        .control-label {
            font-size: 12px; /* 缩小文字 */
            color: rgba(255, 255, 255, 0.9);
            font-weight: 500;
        }
        
        /* 头像 */
        .avatar {
            width: 42px; /* 缩小尺寸 */
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff0050, #ff6a00);
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid white;
            overflow: hidden;
            cursor: pointer;
        }
        
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 声音控制 */
        .sound-control {
            position: absolute;
            top: 20px;
            left: 15px;
            z-index: 10;
        }
        
        .sound-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 16px;
            color: white;
            backdrop-filter: blur(5px);
            cursor: pointer;
        }
        
        /* Logo */
        .logo {
            position: absolute;
            top: 20px;
            left: 60px;
            font-size: 20px;
            font-weight: bold;
            z-index: 10;
            background: linear-gradient(45deg, #ff0050, #ff6a00);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* 点赞动画 */
        .heart-animation {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 80px;
            color: #ff0050;
            opacity: 0;
            pointer-events: none;
            z-index: 50;
        }
        
        .heart-animation.show {
            animation: heartFloat 1s ease;
        }
        
        @keyframes heartFloat {
            0% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(0);
            }
            50% {
                opacity: 1;
                transform: translate(-50%, -100%) scale(1);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -150%) scale(0.5);
            }
        }
        
        /* 评论面板 - 优化手机显示 */
        .comments-panel {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100%;
            height: 65%; /* 降低高度 */
            background: rgba(0, 0, 0, 0.9);
            z-index: 100;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            padding: 15px; /* 减少内边距 */
            transition: bottom 0.4s ease;
            display: flex;
            flex-direction: column;
        }
        
        .comments-panel.show {
            bottom: 0;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            margin-bottom: 12px;
        }
        
        .comments-title {
            font-size: 17px;
            font-weight: bold;
        }
        
        .close-comments {
            font-size: 22px;
            cursor: pointer;
            padding: 5px;
        }
        
        .comments-list {
            flex: 1;
            overflow-y: auto;
            padding-right: 5px;
        }
        
        .comment-item {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .comment-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .comment-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-author {
            font-weight: bold;
            margin-bottom: 4px;
            font-size: 14px;
        }
        
        .comment-text {
            font-size: 14px;
            line-height: 1.4;
        }
        
        .comment-actions {
            display: flex;
            gap: 12px;
            margin-top: 6px;
            font-size: 12px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        .comment-action {
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
        }
        
        .comment-action i {
            font-size: 13px;
        }
        
        .comment-form {
            display: flex;
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .comment-input {
            flex: 1;
            padding: 10px 14px;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            font-size: 14px;
            outline: none;
        }
        
        .comment-submit {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #ff0050;
            border: none;
            color: white;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .no-comments {
            text-align: center;
            padding: 30px 0;
            color: rgba(255, 255, 255, 0.6);
            font-size: 15px;
        }
        
        /* 联系人模态框 - 优化手机显示 */
        .contact-modal {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 200;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
            padding: 15px; /* 添加内边距 */
        }
        
        .contact-modal.show {
            opacity: 1;
            pointer-events: all;
        }
        
        .contact-content {
            background: #1a1a1a;
            border-radius: 16px;
            padding: 25px; /* 减少内边距 */
            width: 100%;
            max-width: 320px; /* 缩小最大宽度 */
            text-align: center;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .contact-modal.show .contact-content {
            transform: translateY(0);
        }
        
        .contact-avatar {
            width: 90px; /* 缩小尺寸 */
            height: 90px;
            border-radius: 50%;
            margin: 0 auto 15px;
            overflow: hidden;
            border: 3px solid #ff0050;
        }
        
        .contact-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .contact-name {
            font-size: 22px; /* 缩小字体 */
            font-weight: bold;
            margin-bottom: 8px;
        }
        
        .contact-title {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
            font-size: 14px;
        }
        
        .contact-info {
            margin-bottom: 20px;
            text-align: left;
            background: rgba(255, 255, 255, 0.05);
            padding: 12px; /* 减少内边距 */
            border-radius: 10px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
        }
        
        .contact-item:last-child {
            margin-bottom: 0;
        }
        
        .contact-icon {
            width: 36px; /* 缩小尺寸 */
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 12px;
            font-size: 16px; /* 缩小图标 */
        }
        
        .contact-details {
            flex: 1;
        }
        
        .contact-label {
            font-size: 11px; /* 缩小字体 */
            color: rgba(255, 255, 255, 0.6);
            margin-bottom: 3px;
        }
        
        .contact-value {
            font-size: 15px; /* 缩小字体 */
            font-weight: 500;
        }

        
        .whatsapp-btn {
            display: block;
            width: 100%;
            padding: 14px;
            background: #25D366;
            color: white;
            border-radius: 10px;
            font-weight: bold;
            font-size: 16px;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.3s;
        }
        
        .whatsapp-btn:hover {
            background: #128C7E;
        }
        
        .close-contact {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 22px;
            color: white;
            cursor: pointer;
            padding: 5px;
        }
        
        /* 分享面板 - 优化手机显示 */
        .share-panel {
            position: absolute;
            bottom: -100%;
            left: 0;
            width: 100%;
            background: rgba(30, 30, 30, 0.95);
            z-index: 150;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            padding: 15px; /* 减少内边距 */
            transition: bottom 0.4s ease;
        }
        
        .share-panel.show {
            bottom: 0;
        }
        
        .share-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .share-title {
            font-size: 17px;
            font-weight: bold;
        }
        
        .close-share {
            font-size: 22px;
            cursor: pointer;
            padding: 5px;
        }
        
        .share-options {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 12px; /* 减少间隙 */
            text-align: center;
        }
        
        .share-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px; /* 减少间隙 */
            cursor: pointer;
        }
        
        .share-icon {
            width: 52px; /* 缩小尺寸 */
            height: 52px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px; /* 缩小图标 */
        }
        
        .share-label {
            font-size: 12px; /* 缩小字体 */
        }
        
        /* 分享成功消息 */
        .share-success {
            position: fixed;
            top: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            z-index: 300;
            display: flex;
            align-items: center;
            gap: 8px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
        }
        
        .share-success.show {
            opacity: 1;
        }
        
        /* 设备方向提示 */
        .orientation-hint {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 500;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s;
        }
        
        .orientation-hint.show {
            opacity: 1;
            pointer-events: all;
        }
        
        .orientation-icon {
            font-size: 50px;
            margin-bottom: 15px;
            color: #ff0050;
        }
        
        .orientation-text {
            font-size: 20px;
            margin-bottom: 25px;
            max-width: 280px;
            line-height: 1.4;
        }
        
        .orientation-continue {
            padding: 10px 25px;
            background: #ff0050;
            border-radius: 30px;
            font-size: 16px;
            cursor: pointer;
        }
