/* ===================================
   苹果CMSV10 酷炫黑色主题样式
   作者：模板定制
   =================================== */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: #00d4ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ff6b35;
}

/* 布局容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   头部样式
   =================================== */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);

}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
    gap: 15px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    max-height: 60px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.05);
}

/* 搜索区域 */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.search-box:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.search-box select {
    background: transparent;
    border: none;
    color: #00d4ff;
    padding: 8px 12px;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    outline: none;
}

.search-box input[type="text"] {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 15px;
    width: 200px;
    outline: none;
}

.search-box input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box button {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.search-box button:hover {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: translateY(-2px);
}

/* 热门搜索 */
.hot-search {
    padding: 10px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hot-search span {
    color: #888;
    font-size: 14px;
}

.hot-search a {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    font-size: 13px;
    color: #aaa;
}

.hot-search a:hover {
    background: #00d4ff;
    color: #fff;
}

/* ===================================
   导航菜单
   =================================== */
.navbar {
    background: linear-gradient(90deg, #1a1a2e, #16213e);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 25px;
    color: #e0e0e0;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
    border-bottom-color: #00d4ff;
}

.nav-menu > li:hover > a {
    color: #00d4ff;
}

/* 二级菜单 - PC端默认隐藏 */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #1a1a2e;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    padding: 10px 0;
    display: none;
}

.nav-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu li a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding-left: 25px;
}

/* PC端横向导航 */
.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    overflow-y: visible;
    padding-top: 0;
}

.nav-menu > li > a {
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    border-bottom-color: #00d4ff;
}

.nav-menu .sub-menu {
    position: absolute;
    left: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 212, 255, 0.3);
    background: #1a1a2e;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #00d4ff;
    color: #00d4ff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* 导航头部容器 */
.navbar-header {
    display: none;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
}

/* 汉堡菜单图标 */
.menu-toggle .hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: #00d4ff;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 导航遮罩层 */
.nav-overlay {
    display: none;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* 防止导航打开时背景滚动 */
body.nav-open {
    overflow: hidden;
}

/* 侧边滑出导航菜单 - 移动端 */
.nav-menu.mobile-nav {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e, #0f3460);
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.5);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    padding-top: 20px;
}

.nav-menu.mobile-nav.active {
    left: 0;
}

.nav-menu.mobile-nav > li > a {
    border-bottom: none;
    border-left: 3px solid transparent;
}

.nav-menu.mobile-nav > li > a:hover,
.nav-menu.mobile-nav > li > a.active {
    border-left-color: #00d4ff;
}

.nav-menu.mobile-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 0;
    padding-left: 20px;
}

/* ===================================
   主内容区域
   =================================== */
main {
    padding: 30px 0;
    min-height: calc(100vh - 400px);
}

.main-content {
    display: flex;
    gap: 30px;
	margin-top:20px;
}

/* 左侧侧边栏 */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-section {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sidebar-section h3 {
    color: #00d4ff;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00d4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.rank-list {
    list-style: none;
}

.rank-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.rank-list li:hover {
    background: rgba(0, 212, 255, 0.1);
    padding-left: 10px;
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank-list .num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.rank-list li:nth-child(1) .num {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.rank-list li:nth-child(2) .num {
    background: linear-gradient(135deg, #c0c0c0, #808080);
}

.rank-list li:nth-child(3) .num {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
}

.rank-list a {
    flex: 1;
    color: #ccc;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-list a:hover {
    color: #00d4ff;
}

.rank-list .hits {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
}

/* 右侧内容区 */
.content-area {
    flex: 1;
    min-width: 0;
}

/* ===================================
   Banner轮播
   =================================== */
.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s ease;
}

.banner-item.active {
    opacity: 1;
}

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

.banner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
}

.banner-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-info p {
    font-size: 14px;
    color: #aaa;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #00d4ff;
    transform: scale(1.2);
}

/* ===================================
   视频/文章卡片列表
   =================================== */
.video-section{
    margin-bottom: 40px;
}
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.section-title h2 {
    font-size: 22px;
    color: #00d4ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title h2::before {
    content: '';
    width: 5px;
    height: 25px;
    background: linear-gradient(180deg, #00d4ff, #ff6b35);
    border-radius: 3px;
}

.section-title .more {
    color: #888;
    font-size: 14px;
}

.section-title .more:hover {
    color: #00d4ff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.video-card {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: #00d4ff;
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.3);
}

.video-card .pic {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.video-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .pic img {
    transform: scale(1.1);
}

.video-card .pic .tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.video-card .pic .tag {
    background: rgba(0, 212, 255, 0.9);
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 3px;
}

.video-card .pic .tag.top {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.video-card .pic .score {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 107, 53, 0.9);
    color: #fff;
    padding: 3px 8px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
}

.video-card .pic .remarks {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 8px;
    text-align: center;
    font-size: 12px;
}

.video-card .info {
    padding: 15px;
}

.video-card .info h3 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-card .info h3:hover {
    color: #00d4ff;
}

.video-card .info p {
    font-size: 13px;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===================================
   筛选栏
   =================================== */
.filter-bar {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.filter-bar .filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-bar .filter-tags a {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-bar .filter-tags a:hover,
.filter-bar .filter-tags a.active {
    background: #00d4ff;
    color: #fff;
}

.filter-bar .filter-line {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-bar .filter-line:last-child {
    border-bottom: none;
}

.filter-bar .filter-line span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 60px;
}

.filter-bar .filter-line .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-bar .filter-line a {
    color: #ccc;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.filter-bar .filter-line a:hover,
.filter-bar .filter-line a.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

/* 当前位置 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 14px;
}

.breadcrumb li::after {
    content: '>';
    margin-left: 10px;
    color: #555;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb li:last-child {
    color: #00d4ff;
}

/* 页面标题区域 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px 25px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.page-header .page-title {
    font-size: 28px;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.page-header .page-count {
    font-size: 14px;
    color: #888;
    margin: 0;
    white-space: nowrap;
}

/* ===================================
   详情页样式
   =================================== */
.detail-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.detail-cover {
    width: 280px;
    flex-shrink: 0;
}

.detail-cover img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.detail-info .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: #888;
    font-size: 14px;
}

.detail-info .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-info .desc {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-actions a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.detail-actions .play-btn {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.detail-actions .play-btn:hover {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    transform: scale(1.05);
}

.detail-actions .fav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-actions .fav-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

/* 播放列表 */
.play-list-section {
    margin-top: 30px;
}

.play-list-group {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.play-list-title {
    font-size: 16px;
    color: #00d4ff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.play-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.play-list a {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.play-list a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

/* 播放器容器 */
.bofang_box {
    width:100%;
    aspect-ratio:16/9;
    background:#000;
    overflow:hidden;
    border-radius:12px;
}

.bofang_box iframe,
.bofang_box video,
.bofang_box embed {
    width:100%!important;
    height:100%!important;
    border:0;
}

/* 播放器头部 */
.player-header {
    margin-bottom: 15px;
}

.player-header h1 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 8px;
}

.player-tip {
    font-size: 14px;
    color: #888;
    padding: 8px 15px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* 播放导航 */
.play-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.play-nav a {
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.play-nav .prev-episode,
.play-nav .next-episode {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.play-nav .prev-episode:hover,
.play-nav .next-episode:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

.play-nav .back-detail {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    font-weight: bold;
}

.play-nav .back-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* 详情内容 */
.detail-content {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.detail-content h3 {
    color: #00d4ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

.detail-content .content-text {
    color: #ccc;
    line-height: 1.8;
}

/* 相关推荐 */
.related-section {
    margin-top: 30px;
}

.related-section h3 {
    color: #00d4ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

/* ===================================
   文章详情页
   =================================== */
.article-detail {
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
}

.article-header h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-header .meta {
    color: #888;
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-body {
    padding: 30px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    color: #ccc;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* ===================================
   搜索结果页
   =================================== */
.search-result {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
}

.search-result h2 {
    color: #fff;
    font-size: 20px;
}

.search-result h2 strong {
    color: #00d4ff;
}

/* ===================================
   分页样式
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.pagination a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-color: #00d4ff;
}

.pagination .active,
.pagination .current {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    border-color: #00d4ff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===================================
   底部样式
   =================================== */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-top: 2px solid #00d4ff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: #00d4ff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-section p {
    color: #888;
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #888;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 版权声明 */
.disclaimer {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.disclaimer p {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* ===================================
   友情连接
   =================================== */
.friend-links {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.friend-links h3 {
    font-size: 18px;
    color: #00d4ff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.friend-link-item {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s ease;
}

.friend-link-item:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* ===================================
   留言评论
   =================================== */
.mac_comment {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
}

.comment_form {
    margin-bottom: 20px;
}

.input_wrap {
    width: 100%;
}

.comment_content {
    width: 100%;
    min-height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    color: #ccc;
    resize: vertical;
    font-family: inherit;
}

.comment_content:focus {
    outline: none;
    border-color: #00d4ff;
}

.handle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.face {
    cursor: pointer;
    color: #888;
    font-size: 20px;
}

.face-box {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    background: #1a1a2e;
    border-radius: 8px;
}

.face-box img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.face-box img:hover {
    transform: scale(1.2);
}

.remaining {
    color: #666;
    font-size: 14px;
}

.smt {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mac_verify {
    width: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #ccc;
}

.comment_submit {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment_submit:hover {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
}

/* 评论列表 */
.cmt_item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cmt_item .face_wrap {
    flex-shrink: 0;
}

.cmt_item .face {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.cmt_item .item_con {
    flex: 1;
}

.cmt_item .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cmt_item .name {
    color: #00d4ff;
    font-weight: 500;
}

.cmt_item .fr {
    color: #666;
    font-size: 13px;
}

.cmt_item .con {
    color: #ccc;
    line-height: 1.6;
}

.gw-action {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.gw-action a {
    color: #666;
    font-size: 13px;
}

.gw-action a:hover {
    color: #00d4ff;
}

/* ===================================
   评分组件
   =================================== */
.rating-box {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 12px;
}

.rating-total {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.rating-total-item {
    font-size: 40px;
    color: #00d4ff;
    font-weight: bold;
}

.pingfen-total strong {
    font-size: 48px;
    color: #ff6b35;
}

.rating-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.rating-bar-item {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ff6b35);
    border-radius: 5px;
    transition: width 0.5s ease;
}

.rating-show {
    list-style: none;
}

.rating-show li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
}

.starstop {
    width: 60px;
    color: #888;
}

.power {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.power-item {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ff6b35);
    border-radius: 4px;
}

/* 评分按钮 */
#fenshu {
    display: flex;
    list-style: none;
    gap: 10px;
}

#fenshu li {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

#fenshu li:hover,
#fenshu li.active {
    background: #00d4ff;
    color: #fff;
}

/* ===================================
   分享组件
   =================================== */
.bdsharebuttonbox {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.bdsharebuttonbox a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.bdsharebuttonbox a:hover {
    background: #00d4ff;
    transform: scale(1.1);
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .detail-header {
        flex-direction: column;
    }

    .detail-cover {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .header-inner {
        flex-direction: column;
    }

    .search-box {
        width: 100%;
        max-width: 500px;
    }

    .navbar .container {
        display: flex;
        justify-content: flex-end;
    }

    .navbar-container {
        justify-content: flex-end;
    }

    .navbar-header {
        display: block;
    }

    /* 移动端导航遮罩 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .menu-toggle span {
        display: block;
    }

    .nav-menu {
        display: block;
        width: 280px;
    }

    .nav-menu > li > a {
        border-bottom: none;
    }

    /* 移动端下拉菜单 - 默认直接显示 */
    .nav-menu.mobile-nav .sub-menu {
        display: flex;
        flex-wrap: wrap;
        padding-left: 15px;
    }

    .nav-menu.mobile-nav .sub-menu li {
        width: 50%;
    }

    .nav-menu.mobile-nav .sub-menu li a {
        padding-left: 10px;
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .banner {
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
    }

    .nav-menu .sub-menu {
        display: flex;
        flex-wrap: wrap;
    }

    .nav-menu .sub-menu li {
        width: 50%;
    }

    .nav-menu .sub-menu li a {
        padding-left: 10px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .search-box input[type="text"] {
        width: 120px;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions a {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   动画效果
   =================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.video-card {
    animation: fadeIn 0.5s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.15s; }
.video-card:nth-child(3) { animation-delay: 0.2s; }
.video-card:nth-child(4) { animation-delay: 0.25s; }
.video-card:nth-child(5) { animation-delay: 0.3s; }