/**
██   ██ ██    ██ ██████  ██  ██████ ███    ███ ███████ 
██   ██ ██    ██ ██   ██ ██ ██      ████  ████ ██      
███████ ██    ██ ██   ██ ██ ██      ██ ████ ██ ███████ 
██   ██ ██    ██ ██   ██ ██ ██      ██  ██  ██      ██ 
██   ██  ██████  ██████  ██  ██████ ██      ██ ███████ 
            ===========================================
 * @Sign
================================
        Keep calm and get rich.
                    Is the best huudi.
 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #800080;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden; /* 防止横向滚动 */
    position: relative;
    width: 100%;
}

html {
    overflow-x: hidden; /* 防止html元素也出现横向滚动 */
    width: 100%;
}

.qtsq-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden; /* 确保内容不会溢出 */
}

/* 容器溢出修复 */
.qtsq-header-container,
.qtsq-search-container,
.qtsq-video-grid-container,
.qtsq-footer-container,
.qtsq-detail-container,
.qtsq-player-page,
.qtsq-pagination-container {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* 粒子容器定位修复 */
.qtsq-header-particles,
.qtsq-grid-particles,
.qtsq-footer-particles,
.qtsq-pagination-particles,
.qtsq-detail-particles,
.qtsq-play-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden; /* 确保粒子不会溢出容器 */
}

/* 粒子样式修复 */
.qtsq-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* 移动端特别修复 */
@media (max-width: 768px) {
    body, html, .qtsq-wrapper {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* 确保粒子容器不超出视口宽度 */
    .qtsq-header-particles,
    .qtsq-grid-particles,
    .qtsq-footer-particles,
    .qtsq-pagination-particles,
    .qtsq-detail-particles,
    .qtsq-play-particles {
        max-width: 100vw;
        left: 0 !important;
        right: 0 !important;
    }
    
    /* 防止粒子动画导致页面宽度增加 */
    @keyframes qtsq-float-mobile {
        0% {
            transform: translateY(0) translateX(0);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            transform: translateY(-100%) translateX(0);
            opacity: 0;
        }
    }
}

/* 渐变顶部效果 */
.qtsq-header-container {
    position: relative;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.qtsq-header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.qtsq-header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    z-index: 2;
}

.qtsq-logo-container {
    display: flex;
    align-items: center;
    position: relative;
}

.qtsq-logo-container a {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    transition: all 0.3s ease;
}

.qtsq-logo-container a:hover {
    text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
}

.qtsq-logo-container i {
    margin-right: 10px;
    font-size: 28px;
    color: #ff00ff;
    animation: qtsq-pulse 2s infinite;
}

.qtsq-site-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
}

.qtsq-category-toggle {
    display: none;
    margin-left: 15px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 10px #00ffff;
}

/* 导航栏 */
.qtsq-main-nav {
    position: relative;
}

.qtsq-main-nav ul {
    display: flex;
    list-style: none;
}

.qtsq-main-nav li {
    margin: 0 10px;
    position: relative;
}

.qtsq-main-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qtsq-main-nav li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    transition: width 0.3s ease;
}

.qtsq-main-nav li a:hover:before,
.qtsq-main-nav li.active a:before {
    width: 100%;
}

.qtsq-main-nav li a:hover {
    text-shadow: 0 0 10px #00ffff;
}

.qtsq-main-nav li.active a {
    text-shadow: 0 0 10px #ff00ff;
}

.qtsq-main-nav li i {
    margin-right: 5px;
}

/* 搜索区域 */
.qtsq-search-container {
    background: linear-gradient(135deg, rgba(220,180,255,0.8) 0%, rgba(128,0,128,0.8) 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.qtsq-search-inner {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.qtsq-search-form {
    display: flex;
    position: relative;
}

.qtsq-search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    background: rgba(128,0,128,0.8);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.qtsq-search-input:focus {
    background: rgba(128,0,128,0.8);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.qtsq-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.qtsq-search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff00ff 0%, #00ffff 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.qtsq-search-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}

/* 特殊符号图标样式 */
.qtsq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-size: 18px;
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
    transition: all 0.3s ease;
}

.qtsq-logo-container .qtsq-icon {
    font-size: 24px;
    margin-right: 10px;
    animation: qtsq-pulse 2s infinite;
}

.qtsq-search-button .qtsq-icon {
    margin-right: 0;
    font-size: 16px;
    color: #fff;
}

.qtsq-play-icon {
    font-size: 50px;
    color: #fff;
    text-shadow: 0 0 20px #ff00ff;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.qtsq-video-card:hover .qtsq-play-icon {
    transform: scale(1);
    animation: qtsq-pulse-play 2s infinite;
}

.qtsq-meta-item .qtsq-icon {
    font-size: 14px;
    margin-right: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.qtsq-video-card:hover .qtsq-meta-item .qtsq-icon {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

.qtsq-contact-item .qtsq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* 热门搜索标签 */
.qtsq-hot-tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 15px;
    justify-content: center;
}

.qtsq-hot-tags li {
    margin: 5px;
}

.qtsq-hot-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(128,0,128,0.8);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
}

.qtsq-hot-tags a:hover {
    background: rgba(128,0,128,0.8);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 分类栏 */
.qtsq-category-bar {
    background: rgba(128,0,128,0.8);
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.qtsq-category-bar::-webkit-scrollbar {
    display: none;
}

.qtsq-category-list {
    display: flex;
    list-style: none;
    padding: 0 15px;
}

.qtsq-category-list li {
    margin-right: 15px;
}

.qtsq-category-list li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.qtsq-category-list li.active a,
.qtsq-category-list li a:hover {
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

/* 渐变动画 */
@keyframes qtsq-pulse {
    0% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    }
    50% {
        text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff;
    }
    100% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .qtsq-header-inner {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .qtsq-logo-container {
        margin-bottom: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    .qtsq-category-toggle {
        display: block;
    }
    
    .qtsq-main-nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .qtsq-main-nav.active {
        max-height: 300px;
        overflow-y: auto;
        z-index: 100;
        background: rgba(128,0,128,0.8);
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
    
    .qtsq-main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    .qtsq-main-nav li {
        margin: 5px 0;
        width: 100%;
    }
    
    .qtsq-main-nav li a {
        padding: 10px 15px;
        width: 100%;
        border-radius: 0;
    }
    
    .qtsq-search-container {
        padding: 15px 0;
    }
}

/* 视频列表样式 -  */
.qtsq-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
    position: relative;
}

.qtsq-video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(128,0,128,0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.qtsq-video-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 12px;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qtsq-video-card:hover:before {
    opacity: 1;
}

.qtsq-video-card-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 100%;
}

.qtsq-video-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}

.qtsq-thumb-container {
    position: relative;
    padding-bottom: 150%; /* 2:3比例 (2/3 = 0.6667, 1/0.6667 = 1.5 = 150%) */
    overflow: hidden;
    background: rgba(128,0,128,0.8);
}

.qtsq-thumb-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并填充整个容器 */
    transition: transform 0.5s ease, filter 0.5s ease;
}

.qtsq-video-card:hover .qtsq-thumb-container img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.qtsq-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.qtsq-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128,0,128,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qtsq-play-overlay i {
    font-size: 50px;
    color: #fff;
    text-shadow: 0 0 20px #ff00ff;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.qtsq-video-card:hover .qtsq-play-overlay {
    opacity: 1;
}

.qtsq-video-card:hover .qtsq-play-overlay i {
    transform: scale(1);
    animation: qtsq-pulse-play 2s infinite;
}

.qtsq-video-title {
    padding: 10px 12px;
    position: relative;
    height: auto; /* 改为自动高度，不再固定 */
    min-height: 35px; /* 设置最小高度 */
    overflow: hidden;
    display: flex;
    align-items: center; /* 垂直居中 */
}

.qtsq-video-title h3 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    width: 100%; /* 确保宽度占满 */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 限制最多显示一行 */
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
    white-space: nowrap; /* 强制不换行 */
}

.qtsq-video-card:hover .qtsq-video-title h3 {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.qtsq-video-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.qtsq-meta-item {
    display: flex;
    align-items: center;
}

.qtsq-video-card:hover .qtsq-meta-item i {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

/* 粒子效果容器 */
.qtsq-video-grid-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    background: linear-gradient(135deg, rgba(220,180,255,0.8) 0%, rgba(128,0,128,0.8) 100%);
    border-radius: 15px;
    margin-bottom: 30px;
}

.qtsq-grid-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.qtsq-category-header {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    padding: 0 20px;
}

.qtsq-category-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #fff;
    text-shadow: 0 0 10px #ff00ff;
}

.qtsq-category-title i {
    margin-right: 10px;
    color: #ff00ff;
    animation: qtsq-pulse 2s infinite;
}

.qtsq-category-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    max-width: 800px;
}

.qtsq-filter-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.qtsq-filter-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qtsq-filter-link {
    padding: 6px 15px;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(128,0,128,0.8);
}

.qtsq-filter-link:hover,
.qtsq-filter-link.active {
    background: linear-gradient(90deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

/* 边框动画 */
@keyframes qtsq-border-glow {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* 播放按钮脉冲动画 */
@keyframes qtsq-pulse-play {
    0% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff;
        transform: scale(1.1);
    }
    100% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
        transform: scale(1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .qtsq-video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .qtsq-category-title {
        font-size: 20px;
    }
    
    .qtsq-filter-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .qtsq-filter-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .qtsq-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .qtsq-video-card {
        border-radius: 8px;
    }
    
    .qtsq-video-card:before {
        border-radius: 10px;
    }
    
    .qtsq-video-card-inner {
        border-radius: 6px;
    }
    
    .qtsq-thumb-container {
        border-radius: 6px 6px 0 0;
    }
    
    .qtsq-video-title {
        padding: 8px 10px;
        min-height: 30px; /* 移动端减小最小高度 */
    }
    
    .qtsq-video-title h3 {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .qtsq-video-meta {
        padding: 0 10px 8px;
        justify-content: space-between;
    }
    
    .qtsq-meta-item {
        font-size: 11px;
        margin-right: 0;
    }
    
    .qtsq-meta-item .qtsq-icon {
        margin-right: 2px;
        font-size: 11px;
    }
    
    .qtsq-video-badge {
        top: 5px;
        right: 5px;
        padding: 2px 6px;
        font-size: 10px;
    }
    
    .qtsq-play-overlay i,
    .qtsq-play-icon {
        font-size: 30px;
    }
}

@media (max-width: 360px) {
    .qtsq-video-grid {
        gap: 8px;
        margin: 15px 0;
    }
    
    .qtsq-video-title {
        padding: 6px 8px;
        min-height: 25px; /* 更小屏幕进一步减小最小高度 */
    }
    
    .qtsq-video-title h3 {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .qtsq-video-meta {
        padding: 0 8px 6px;
    }
    
    .qtsq-meta-item:nth-child(3) {
        display: none;
    }
}

/* 底部 */
.qtsq-footer-container {
    position: relative;
    background: linear-gradient(135deg, rgba(220,180,255,0.8) 0%, rgba(128,0,128,0.8) 100%);
    color: #fff;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.qtsq-footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.qtsq-footer-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    z-index: 2;
}

.qtsq-footer-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00ffff, transparent);
    filter: blur(10px);
    border-radius: 50%;
    opacity: 0.7;
    z-index: 1;
}

.qtsq-footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.qtsq-footer-section {
    position: relative;
}

.qtsq-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.qtsq-footer-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px #ff00ff;
}

.qtsq-footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.qtsq-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.qtsq-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(128,0,128,0.8);
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.qtsq-social-links a:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 50%;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qtsq-social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.qtsq-social-links a:hover:before {
    opacity: 1;
}

.qtsq-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qtsq-footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.qtsq-footer-links li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #800080;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff00ff;
    transition: all 0.3s ease;
}

.qtsq-footer-links li:hover:before {
    background: #800080;
    box-shadow: 0 0 8px #00ffff;
}

.qtsq-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.qtsq-footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
    padding-left: 5px;
}

.qtsq-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.qtsq-contact-item i {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
}

.qtsq-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qtsq-friend-links a {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(128,0,128,0.8);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.qtsq-friend-links a:hover {
    background: rgba(128,0,128,0.8);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qtsq-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    position: relative;
}

.qtsq-footer-bottom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00ffff, transparent);
    filter: blur(1px);
}

.qtsq-footer-bottom p {
    margin: 5px 0;
}

/* 返回顶部按钮 */
.qtsq-back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
    background: rgba(128,0,128,0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    transform: translateY(20px);
    border: none;
    outline: none;
}

.qtsq-back-to-top:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 50%;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
}

.qtsq-back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.qtsq-back-to-top i,
.qtsq-back-to-top .qtsq-icon {
    font-size: 20px;
    animation: qtsq-float-up 2s infinite;
    position: relative;
    z-index: 2;
}

/* 移动端返回顶部按钮调整 */
@media (max-width: 768px) {
    .qtsq-back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
    
    .qtsq-back-to-top i,
    .qtsq-back-to-top .qtsq-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .qtsq-back-to-top {
        right: 10px;
        bottom: 70px; /* 避开可能的底部导航栏 */
        width: 35px;
        height: 35px;
    }
    
    .qtsq-back-to-top i,
    .qtsq-back-to-top .qtsq-icon {
        font-size: 16px;
    }
}

/* 分页渐变样式 */
.qtsq-pagination-container {
    margin: 40px 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.qtsq-pagination {
    display: flex;
    align-items: center;
    background: rgba(128,0,128,0.8);
    border-radius: 50px;
    padding: 8px 15px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    overflow: hidden;
}

.qtsq-pagination:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 50px;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0.7;
}

.qtsq-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 3px;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(128,0,128,0.8);
}

.qtsq-page-btn:hover {
    color: #fff;
    background: rgba(128,0,128,0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qtsq-page-btn:hover:after {
    opacity: 1;
}

.qtsq-page-btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qtsq-page-btn.current {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    color: #fff;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    transform: scale(1.1);
}

.qtsq-page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.qtsq-first-page,
.qtsq-prev-page,
.qtsq-next-page,
.qtsq-last-page {
    font-size: 20px;
}

.qtsq-page-info {
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* 添加分页粒子效果 */
.qtsq-pagination-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* 分页悬浮动画 */
@keyframes qtsq-pagination-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 响应式分页 */
@media (max-width: 768px) {
    .qtsq-pagination {
        padding: 6px 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .qtsq-page-btn {
        min-width: 32px;
        height: 32px;
        margin: 2px;
        font-size: 12px;
    }
    
    .qtsq-page-info {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 8px;
    }
}

/* 视频详情页样式 */
.qtsq-detail-container {
    position: relative;
    padding: 30px 0;
    background: linear-gradient(135deg, rgba(220,180,255,0.8) 0%, rgba(128,0,128,0.8) 100%);
    overflow: hidden;
}

.qtsq-detail-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.qtsq-detail-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 2;
}

/* 视频详情头部 */
.qtsq-video-detail-header {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    background: rgba(128,0,128,0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.qtsq-video-detail-header:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 17px;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0.5;
}

/* 左侧封面图 */
.qtsq-video-poster {
    flex: 0 0 300px;
    position: relative;
    margin-right: 30px;
}

.qtsq-poster-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3的宽高比 */
}

.qtsq-poster-container img {
    width: 100%;
    display: block;
    aspect-ratio: 2/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.qtsq-poster-container .qtsq-video-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.qtsq-poster-container:hover .qtsq-video-img {
    transform: scale(1.05);
}

.qtsq-status-badge, 
.qtsq-quality-badge {
    position: absolute;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}

.qtsq-status-badge {
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff00ff 0%, #ff3377 100%);
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.qtsq-quality-badge {
    bottom: 10px;
    left: 10px;
    background: linear-gradient(135deg, #00ffff 0%, #33ffff 100%);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.qtsq-play-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.qtsq-play-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.7);
}

.qtsq-play-now-btn:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0.7;
    border-radius: 32px;
}

.qtsq-play-now-btn .qtsq-icon {
    margin-right: 8px;
    animation: qtsq-pulse 2s infinite;
}

/* 右侧信息区域 */
.qtsq-video-info-container {
    flex: 1;
    min-width: 300px;
}

.qtsq-video-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    position: relative;
    display: inline-block;
}

.qtsq-video-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* 基本元数据 */
.qtsq-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.qtsq-video-meta-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.qtsq-video-meta-item .qtsq-icon {
    margin-right: 5px;
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

/* 评分展示 */
.qtsq-video-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.qtsq-rating-stars {
    display: flex;
    margin-right: 10px;
}

.qtsq-rating-star {
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    margin-right: 2px;
}

.qtsq-rating-star.empty {
    color: rgba(255, 255, 255, 0.3);
    text-shadow: none;
}

.qtsq-rating-score {
    font-size: 18px;
    font-weight: 600;
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
    margin-right: 5px;
}

.qtsq-rating-count {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 分类标签 */
.qtsq-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.qtsq-genre-item {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(128,0,128,0.8);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.qtsq-genre-item:hover {
    background: rgba(128,0,128,0.8);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qtsq-genre-item .qtsq-icon {
    margin-right: 5px;
    font-size: 12px;
}

/* 剧情简介 */
.qtsq-synopsis {
    margin-bottom: 20px;
}

.qtsq-synopsis-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.qtsq-synopsis-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.qtsq-synopsis-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.qtsq-synopsis-content.expanded {
    max-height: none;
}

.qtsq-synopsis-toggle {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8) 50%);
    padding: 5px 10px;
    color: #00ffff;
    font-size: 12px;
    cursor: pointer;
    border: none;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* 功能按钮 */
.qtsq-action-buttons {
    display: flex;
    gap: 15px;
}

.qtsq-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(128,0,128,0.8);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qtsq-action-btn:hover {
    transform: translateY(-2px);
}

.qtsq-action-btn .qtsq-icon {
    margin-right: 5px;
}

.qtsq-action-btn.qtsq-favorite {
    background: rgba(128,0,128,0.8);
}

.qtsq-action-btn.qtsq-favorite:hover {
    background: rgba(128,0,128,0.8);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.qtsq-action-btn.qtsq-share {
    background: rgba(128,0,128,0.8);
}

.qtsq-action-btn.qtsq-share:hover {
    background: rgba(128,0,128,0.8);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.qtsq-action-btn.qtsq-report {
    background: rgba(128,0,128,0.8);
}

.qtsq-action-btn.qtsq-report:hover {
    background: rgba(128,0,128,0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* 标签页内容区域 */
.qtsq-video-content-tabs {
    position: relative;
    background: rgba(128,0,128,0.8);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.qtsq-video-content-tabs:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    z-index: -1;
    border-radius: 17px;
    background-size: 400%;
    animation: qtsq-border-glow 6s linear infinite;
    opacity: 0.5;
}

.qtsq-tabs-nav {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.qtsq-tab-item {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.qtsq-tab-item:hover {
    color: #fff;
}

.qtsq-tab-item.active {
    color: #fff;
}

.qtsq-tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.qtsq-tab-content {
    display: none;
}

.qtsq-tab-content.active {
    display: block;
}

/* 剧集列表 */
.qtsq-episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.qtsq-episode-item {
    position: relative;
    background: rgba(128,0,128,0.8);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qtsq-episode-item a {
    display: block;
    padding: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.qtsq-episode-item:hover {
    background: rgba(128,0,128,0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qtsq-episode-item.current {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.3), rgba(0, 255, 255, 0.3));
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.qtsq-episode-item.current a {
    color: #fff;
    font-weight: 600;
}

/* 详细信息表格 */
.qtsq-detail-info-table {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qtsq-detail-info-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.qtsq-detail-info-label {
    flex: 0 0 120px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.qtsq-detail-info-value {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
}

.qtsq-detail-info-value a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.qtsq-detail-info-value a:hover {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.qtsq-full-desc {
    line-height: 1.8;
}

/* 相关视频布局优化 */
.qtsq-related-grid, 
.qtsq-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.qtsq-similar-grid {
    margin-top: 10px;
}

.qtsq-related-item,
.qtsq-similar-grid .qtsq-video-card {
    transition: all 0.3s ease;
}

.qtsq-related-item:hover,
.qtsq-similar-grid .qtsq-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 播放页响应式布局优化 */
@media (max-width: 768px) {
    .qtsq-main-content {
        grid-template-columns: 1fr;
    }
    
    .qtsq-related-grid, 
    .qtsq-similar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .qtsq-related-grid, 
    .qtsq-similar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .qtsq-related-name {
        padding: 20px 5px 5px;
        font-size: 12px;
        height: 40px;
    }
    
    .qtsq-sidebar-block {
        padding: 12px 10px;
    }
    
    .qtsq-block-title {
        font-size: 1rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
}

@media (max-width: 360px) {
    .qtsq-related-grid, 
    .qtsq-similar-grid {
        gap: 8px;
    }
    
    .qtsq-related-name {
        padding: 15px 5px 5px;
        font-size: 11px;
        height: 35px;
    }
}

/* 播放页样式 */
.qtsq-player-page {
    position: relative;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    padding: 20px 0;
    overflow: hidden;
}

.qtsq-play-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.qtsq-wrapper-video {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0, 128, 255, 0.3);
    width: 100%;
    padding-top: 56.25%; /* 16:9比例 */
    background: rgba(128,0,128,0.8);
}

.qtsq-video-ins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.qtsq-video-cl {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.qtsq-video-cl iframe,
.qtsq-video-cl video,
.qtsq-video-cl object,
.qtsq-video-cl embed {
    width: 100% !important;
    height: 100% !important;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: #800080;
}

/* 移动端竖屏调整比例 */
@media (max-width: 767px) and (orientation: portrait) {
    .qtsq-wrapper-video {
        padding-top: 56.25%; /* 保持16:9比例 */
    }
}

/* 移动端横屏时全屏 */
@media (max-width: 767px) and (orientation: landscape) {
    .qtsq-wrapper-video {
        padding-top: 56.25%; /* 保持16:9比例 */
    }
    
    .qtsq-player-page {
        padding: 0;
    }
    
    .qtsq-video-info-bar,
    .qtsq-main-content {
        margin-top: 20px;
    }
}

/* 平板电脑调整 */
@media (min-width: 768px) and (max-width: 1023px) {
    .qtsq-wrapper-video {
        padding-top: 56.25%; /* 保持16:9比例 */
    }
}

/* 大屏幕调整，限制最大高度 */
@media (min-width: 1600px) {
    .qtsq-wrapper-video {
        max-width: 1400px;
        padding-top: 787.5px; /* 1400 * 0.5625 */
        margin-left: auto;
        margin-right: auto;
    }
}

.qtsq-video-info-bar {
    position: relative;
    z-index: 2;
    background: rgba(128,0,128,0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgba(80, 120, 255, 0.2);
    box-shadow: 0 0 15px rgba(80, 120, 255, 0.15);
}

.qtsq-video-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(80, 120, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
    height: auto; /* 在信息栏中允许标题自然高度 */
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 4.2rem; /* 限制最大高度 */
}

.qtsq-video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.qtsq-meta-item {
    display: flex;
    align-items: center;
    color: #b8c7ff;
    font-size: 0.9rem;
}

.qtsq-meta-item .qtsq-icon {
    margin-right: 5px;
    font-size: 1.1rem;
}

.qtsq-meta-item a {
    color: #b8c7ff;
    text-decoration: none;
    transition: all 0.3s;
}

.qtsq-meta-item a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(80, 120, 255, 0.8);
}

.qtsq-video-actions {
    display: flex;
    gap: 10px;
}

.qtsq-action-btn {
    background: rgba(128,0,128,0.8);
    border: 1px solid rgba(80, 120, 255, 0.3);
    color: #b8c7ff;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.qtsq-action-btn .qtsq-icon {
    margin-right: 5px;
}

.qtsq-action-btn:hover {
    background: rgba(128,0,128,0.8);
    border-color: rgba(100, 150, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 50, 255, 0.2);
}

.qtsq-main-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.qtsq-content-left {
    background: rgba(128,0,128,0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(80, 120, 255, 0.2);
    box-shadow: 0 0 15px rgba(80, 120, 255, 0.15);
}

.qtsq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qtsq-sidebar-block {
    background: rgba(128,0,128,0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(80, 120, 255, 0.2);
    box-shadow: 0 0 15px rgba(80, 120, 255, 0.15);
}

.qtsq-block-title {
    font-size: 1.2rem;
    margin: 0 0 15px;
    color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(80, 120, 255, 0.2);
    padding-bottom: 10px;
}

.qtsq-block-title .qtsq-icon {
    margin-right: 8px;
    color: #b8c7ff;
}

.qtsq-related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.qtsq-related-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
}

.qtsq-related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 50, 255, 0.3);
}

.qtsq-related-poster {
    position: relative;
    padding-bottom: 150%; /* 2:3比例 */
    overflow: hidden;
}

.qtsq-related-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

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

.qtsq-related-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 10px 10px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap; /* 强制不换行 */
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto; /* 自动高度 */
    min-height: 35px; /* 设置最小高度 */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.qtsq-tabs-header {
    display: flex;
    border-bottom: 1px solid rgba(80, 120, 255, 0.2);
    margin-bottom: 15px;
}

.qtsq-tab-item {
    padding: 10px 20px;
    cursor: pointer;
    color: #b8c7ff;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.qtsq-tab-item.active {
    color: #fff;
    border-bottom-color: #5080ff;
    text-shadow: 0 0 10px rgba(80, 120, 255, 0.5);
}

.qtsq-tab-panel {
    display: none;
}

.qtsq-tab-panel.active {
    display: block;
}

.qtsq-source-block {
    margin-bottom: 20px;
}

.qtsq-source-title {
    font-size: 1.1rem;
    margin: 0 0 10px;
    color: #fff;
    display: flex;
    align-items: center;
}

.qtsq-source-title .qtsq-icon {
    margin-right: 8px;
    color: #b8c7ff;
}

.qtsq-episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
}

.qtsq-episode-item {
    position: relative;
}

.qtsq-episode-link {
    display: block;
    padding: 8px 5px;
    text-align: center;
    background: rgba(128,0,128,0.8);
    border: 1px solid rgba(80, 120, 255, 0.3);
    border-radius: 4px;
    color: #b8c7ff;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qtsq-episode-item.active .qtsq-episode-link,
.qtsq-episode-link:hover {
    background: rgba(128,0,128,0.8);
    border-color: rgba(100, 150, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 50, 255, 0.2);
}

.qtsq-detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.qtsq-detail-label {
    width: 80px;
    color: #b8c7ff;
    display: flex;
    align-items: center;
}

.qtsq-detail-label .qtsq-icon {
    margin-right: 5px;
}

.qtsq-detail-value {
    flex: 1;
    color: #fff;
}

.qtsq-tag-link {
    display: inline-block;
    background: rgba(128,0,128,0.8);
    border: 1px solid rgba(80, 120, 255, 0.3);
    border-radius: 4px;
    color: #b8c7ff;
    padding: 2px 8px;
    margin: 0 5px 5px 0;
    text-decoration: none;
    transition: all 0.3s;
}

.qtsq-tag-link:hover {
    background: rgba(128,0,128,0.8);
    border-color: rgba(100, 150, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 50, 255, 0.2);
}

.qtsq-synopsis {
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .qtsq-main-content {
        grid-template-columns: 1fr;
    }
    
    .qtsq-video-meta {
        gap: 10px;
    }
    
    .qtsq-meta-item {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .qtsq-episodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    
    .qtsq-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .qtsq-video-title {
        font-size: 1.2rem;
    }
    
    .qtsq-video-actions {
        flex-wrap: wrap;
    }
    
    .qtsq-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    /* 减小相关视频卡片间距 */
    .qtsq-related-item {
        margin-bottom: 8px;
    }
    
    /* 优化相关视频标题显示 */
    .qtsq-related-name {
        padding: 15px 5px 5px;
        font-size: 12px;
        height: 30px; /* 减小高度 */
    }
}

@media (max-width: 360px) {
    .qtsq-related-name {
        padding: 10px 5px 5px;
        font-size: 11px;
        height: 25px; /* 减小高度 */
    }
}

/* 相关视频卡片标题样式 */
.qtsq-related-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 10px 10px;
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap; /* 强制不换行 */
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto; /* 自动高度 */
    min-height: 35px; /* 设置最小高度 */
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (max-width: 576px) {
    /* 优化相关视频标题显示 */
    .qtsq-related-name {
        padding: 15px 5px 5px;
        font-size: 12px;
        min-height: 30px; /* 减小最小高度 */
    }
    
    .qtsq-similar-grid .qtsq-video-title {
        min-height: 30px; /* 减小最小高度 */
    }
}

@media (max-width: 360px) {
    .qtsq-related-name {
        padding: 10px 5px 5px;
        font-size: 11px;
        min-height: 25px; /* 减小最小高度 */
    }
    
    .qtsq-similar-grid .qtsq-video-title {
        min-height: 25px; /* 减小最小高度 */
    }
}

/* 猜你喜欢区域样式优化 */
.qtsq-similar-grid .qtsq-video-card {
    height: auto;
}

.qtsq-similar-grid .qtsq-video-title {
    height: auto; /* 自动高度 */
    min-height: 35px; /* 设置最小高度 */
    display: flex;
    align-items: center;
}

.qtsq-similar-grid .qtsq-video-title h3 {
    width: 100%; /* 确保宽度占满 */
    white-space: nowrap; /* 强制不换行 */
}

/* 确保相关推荐区域的卡片高度一致 */
.qtsq-related-grid .qtsq-related-item {
    height: 0;
    padding-bottom: calc(150% + 45px); /* 2:3比例的图片高度加上固定的标题高度 */
}

/* 详情页响应式调整 */
@media (max-width: 768px) {
    .qtsq-video-detail-header {
        flex-direction: column;
        padding: 20px;
    }
    
    .qtsq-video-poster {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .qtsq-video-title {
        font-size: 22px;
    }
    
    .qtsq-episode-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

@keyframes qtsq-float-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 页脚响应式调整 */
@media (max-width: 768px) {
    .qtsq-footer-sections {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .qtsq-footer-content {
        padding: 30px 15px 15px;
    }
}

@media (max-width: 480px) {
    .qtsq-footer-sections {
        grid-template-columns: 1fr;
    }
    
    .qtsq-social-links {
        justify-content: center;
    }
    
    .qtsq-footer-bottom {
        font-size: 11px;
    }
}
a.qtsq-dqy {background-color: rgb(227,68,73);color: rgb(255,255,255)}

/* 添加视频封面图片的样式 */
.lazy-load {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 0.3s ease, transform 0.5s ease;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: inherit;
  opacity: 0.5;
}

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

/* 详情页海报图片特殊处理 */
.qtsq-poster-container .lazy-load {
  opacity: 0.8;
}

.qtsq-poster-container .lazy-load.loaded {
  opacity: 1;
}

.qtsq-video-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}

/* 修复详情页海报样式 */
.qtsq-poster-img.lazy-load {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* 视频详情页标题 */
.qtsq-video-detail-header .qtsq-video-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(80, 120, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
    height: auto; /* 自动高度 */
    min-height: unset; /* 取消最小高度限制 */
    padding: 0;
    display: block; /* 改为块级显示 */
}

.qtsq-video-detail-header .qtsq-video-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* 播放页标题 */
.qtsq-video-info-bar .qtsq-video-title {
    font-size: 1.3rem;
    margin: 0 0 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(80, 120, 255, 0.5);
    font-weight: 600;
    letter-spacing: 0.5px;
    height: auto; /* 自动高度 */
    min-height: unset; /* 取消最小高度限制 */
    padding: 0;
    display: block; /* 改为块级显示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* 允许换行 */
    line-height: 1.4;
    max-height: 2.8rem; /* 限制最大高度为两行 */
}

@media (max-width: 576px) {
    .qtsq-video-detail-header .qtsq-video-title,
    .qtsq-video-info-bar .qtsq-video-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
}

@media (max-width: 360px) {
    .qtsq-video-detail-header .qtsq-video-title,
    .qtsq-video-info-bar .qtsq-video-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }
}

/* 详情页和播放页标题样式覆盖 */
.qtsq-video-detail-header .qtsq-video-title,
.qtsq-video-info-bar .qtsq-video-title {
    display: block !important;
    align-items: unset !important;
    white-space: normal !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.qtsq-video-detail-header .qtsq-video-title {
    font-size: 1.5rem !important;
    max-height: none !important;
}

.qtsq-video-info-bar .qtsq-video-title {
    font-size: 1.3rem !important;
    max-height: 2.8rem !important;
}

@media (max-width: 576px) {
    .qtsq-video-detail-header .qtsq-video-title {
        font-size: 1.2rem !important;
    }
    
    .qtsq-video-info-bar .qtsq-video-title {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 768px) {
    .qtsq-video-poster {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 20px;
    }
}