/* ===== 桌面端样式文件 ===== */

/* 通用重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fb;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding-top: 70px;
}

/* 头部容器样式 */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: linear-gradient(to right, #3494e6, #ec6ead);
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 60px;
    box-sizing: border-box;
}

.header-container img {
    width: 5%;
}

.title {
    font-size: 24px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    font-family: 'ZCOOL QingKe HuangYou', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 隐藏移动端搜索框 */
.mobile-search-container {
    display: none;
}

/* 桌面端显示筛选区域的搜索框 */
.filter-container .search-container {
    display: block;
}

/* 用户信息区域样式 */
.user-profile {
    position: relative;
    cursor: pointer;
    padding: 10px 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 夜间模式开关容器 */
.theme-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 夜间模式文字标签 */
.theme-switch-label {
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* 夜间模式下的文字标签颜色 */
body.dark-mode .theme-switch-label {
    color: #e0e0e0;
}

/* 夜间模式开关样式 */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* 夜间模式下的滑块外观 */
body.dark-mode .input:checked + .slider {
    background-color: #9c27b0;
}

body.dark-mode .input:focus + .slider {
    box-shadow: 0 0 1px #9c27b0;
}

/* 用户头像样式 */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FF6B6B, #FFE66D);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.8);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 下拉菜单样式 */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 12px 0;
    min-width: 200px;
    z-index: 1001;
    margin-top: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: inherit;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.08);
}

.dropdown-menu .user-info {
    padding: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 5px;
    background: transparent;
}

.dropdown-menu .user-info p {
    margin: 6px 0;
    color: #333;
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 2px 0;
}

.dropdown-menu .user-info p span:first-child {
    display: flex;
    align-items: center;
    gap: 2px;
}

.dropdown-menu .user-info .level-tag {
    background: linear-gradient(45deg, #3494e6, #ec6ead);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    margin-left: 2px;
}

.dropdown-menu .user-info a {
    font-size: 12px;
    text-decoration: none;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-left: 2px;
    white-space: nowrap;
}

.dropdown-menu .user-info a.edit {
    color: #3494e6;
}

.dropdown-menu .user-info a.upgrade {
    color: #dc3545;
}

.dropdown-menu .user-info a:hover {
    background: rgba(255,255,255,0.6);
}

.dropdown-menu .menu-items a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.dropdown-menu .menu-items a:hover {
    background: rgba(52, 148, 230, 0.1);
    color: #3494e6;
    padding-left: 22px;
}

.dropdown-menu .menu-items .danger {
    color: #dc3545;
}

.dropdown-menu .menu-items .danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* 筛选框样式 - 桌面端优化 */
.filter-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    width: 100%;
    flex-wrap: wrap;
    padding-left: 0;
}

/* 轮播图上方的搜索框样式 - 桌面端 */
.desktop-header-search {
    display: block;
    margin: 0 auto 30px auto;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.desktop-header-search .search-container {
    position: relative;
    z-index: 998;
    width: 100%;
}

.desktop-header-search .search-container form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.desktop-header-search .search-container input[type="text"] {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    min-width: 0;
}

.desktop-header-search .search-container input[type="text"]:focus {
    border-color: #3494e6;
    box-shadow: 0 0 0 3px rgba(52, 148, 230, 0.15);
}

.desktop-header-search .search-container button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #3494e6, #2980d6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 148, 230, 0.3);
}

.desktop-header-search .search-container button:hover {
    background: linear-gradient(135deg, #2980d6, #2168b3);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(52, 148, 230, 0.4);
}

/* 搜索框在筛选区域的样式 */
.filter-container .search-container {
    display: none; /* 隐藏筛选区域的搜索框 */
}

/* 移动端隐藏轮播图上方的搜索框 */
@media (max-width: 768px) {
    .desktop-header-search {
        display: none;
    }
}

/* 热门搜索在轮播图上方搜索框的样式 */
.desktop-header-search .hot-search-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid #eee;
    z-index: 999;
    display: none;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 5px;
}

.desktop-header-search .hot-search-container.show {
    opacity: 1;
    transform: translateY(0);
}

.desktop-header-search .hot-search-title {
    color: #333;
    font-weight: bold;
    margin-bottom: 12px;
    font-size: 14px;
}

.desktop-header-search .hot-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.desktop-header-search .hot-search-tag {
    background-color: #f0f4ff;
    color: #3494e6;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid #e0e8ff;
}

.desktop-header-search .hot-search-tag:hover {
    background-color: #3494e6;
    color: white;
    border-color: #3494e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 148, 230, 0.3);
}

.filter-container select {
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 130px;
}

.filter-container label {
    font-size: 1.1rem;
    color: #34495e;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* 页面容器样式 */
.container {
    max-width: none;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 网格容器样式 - 桌面端 */
.tv-series-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 0;
}

/* 电影卡片样式 - 桌面端 */
.tv-series {
    position: relative;
    background-color: transparent;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
    overflow: hidden;
    height: auto;
    display: block;
}

.tv-series:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* 收藏按钮 */
.favorite-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* 电影海报容器 */
.movie-poster {
    position: relative;
    width: 100%;
    padding-bottom: 140%;
    overflow: hidden;
    border-radius: 6px;
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-poster:hover img {
    transform: scale(1.05);
}

/* 电影标签 */
.movie-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 5;
}

/* 评分标签 */
.rating-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: transparent;
    color: #ffc107;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 0.6rem;
    font-weight: bold;
    z-index: 5;
}

/* 更新状态信息 */
.episode-info {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 5px;
    font-size: 0.6rem;
    font-weight: bold;
    border-top-left-radius: 3px;
    z-index: 5;
}

/* 电影信息 */
.movie-info {
    margin-top: 5px;
}

.movie-info h3 {
    font-size: 0.7rem;
    font-weight: bold;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    line-height: 1.2;
}

.movie-info a {
    color: #333;
    text-decoration: none;
}

.movie-info a:hover {
    color: #0066cc;
}

/* 电影元数据 */
.movie-meta {
    display: flex;
    align-items: center;
    font-size: 0.6rem;
    color: #666;
    gap: 4px;
    flex-wrap: wrap;
}

.rating {
    color: #ff9800;
    font-weight: bold;
}

.year, .country {
    color: #999;
}

/* 隐藏原有的样式 */
.tv-series h2, .tv_click, .status, .tv-info, .tv-img_number {
    display: none !important;
}

/* 分页导航样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-link, .page-dots {
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1px solid #e0e5ec;
    color: #3494e6;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-weight: 500;
}

.page-dots {
    background-color: transparent;
    border: none;
    color: #999;
    font-size: 18px;
}

.page-link:hover {
    background-color: #f8f9ff;
    border-color: #3494e6;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(52, 148, 230, 0.15);
}

.page-link.active {
    background-color: #3494e6;
    color: white;
    border-color: #3494e6;
    box-shadow: 0 4px 12px rgba(52, 148, 230, 0.3);
    transform: translateY(-1px);
}

.page-link:first-child, .page-link:last-child {
    min-width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* 禁用状态的分页按钮样式 */
.page-link.disabled {
    background-color: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link.disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: #f5f5f5;
    border-color: #e0e0e0;
}

/* 轮播图和推荐区域容器 - 桌面端 */
.carousel-featured-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto 40px auto;
    padding: 0 20px;
}

/* 轮播图样式 - 桌面端优化（缩小靠左） */
.carousel-container {
    position: relative !important;
    width: 65% !important; /* 调整为65%宽度 */
    height: 500px !important;
    overflow: hidden !important;
    background-color: transparent !important;
    display: block !important;
    z-index: 1 !important;
    margin: 0 !important; /* 移除居中margin */
    padding: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    transition: box-shadow 0.3s ease;
    flex-shrink: 0; /* 防止收缩 */
}

.carousel-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
}

.carousel {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.carousel-slides {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.carousel-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0 !important;
    transform: scale(0.95) !important;
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.carousel-slide.active {
    opacity: 1 !important;
    transform: scale(1) !important;
    z-index: 10 !important;
}

.carousel-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    background-color: transparent !important;
    filter: brightness(0.75) contrast(1.15) saturate(1.1); /* 优化滤镜效果 */
    transition: transform 10s ease-out, filter 0.5s ease; /* 添加滤镜过渡 */
}

.carousel-slide:hover .carousel-image {
    transform: scale(1.05);
    filter: brightness(0.8) contrast(1.2) saturate(1.15); /* 悬停时稍微增强 */
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), rgba(0,0,0,0.3), transparent);
    color: white;
    padding: 50px 40px 40px 40px; /* 增加内边距 */
    z-index: 20;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.carousel-slide.active .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-size: 32px; /* 增大标题字体 */
    margin-bottom: 12px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
    letter-spacing: 1px; /* 增加字间距 */
    font-weight: 700;
    line-height: 1.3;
}

.carousel-caption p {
    font-size: 16px; /* 增大描述字体 */
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px; /* 限制最大宽度以便阅读 */
}

/* 控制按钮 - 隐藏翻页按钮 */
.carousel-control {
    display: none !important; /* 隐藏翻页按钮 */
}

/* 指示器 - 优化样式 */
.carousel-indicators {
    position: absolute;
    bottom: 30px; /* 调整位置 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px; /* 增加间距 */
    z-index: 30;
    background: rgba(0, 0, 0, 0.2); /* 添加半透明背景 */
    padding: 8px 16px; /* 添加内边距 */
    border-radius: 20px; /* 圆角 */
    backdrop-filter: blur(8px); /* 背景模糊 */
}

.carousel-indicator {
    width: 12px; /* 稍微增大 */
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5); /* 加粗边框 */
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(2px);
}

.carousel-indicator.active {
    background-color: white;
    width: 40px; /* 增大激活状态宽度 */
    border-radius: 8px;
    border-color: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.4); /* 添加发光效果 */
}

.carousel-indicator:hover:not(.active) {
    background-color: rgba(255,255,255,0.6);
    transform: scale(1.3); /* 增大缩放效果 */
    border-color: rgba(255,255,255,0.8);
}

/* 推荐影片区域样式 - 桌面端 */
.featured-movies {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-movies h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
    padding-left: 10px;
    border-left: 4px solid #3494e6;
    font-weight: 600;
}

.featured-movie-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 140px;
    text-decoration: none;
    color: inherit;
}

.featured-movie-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.featured-movie-poster {
    width: 95px;
    height: 140px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.featured-movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-movie-card:hover .featured-movie-poster img {
    transform: scale(1.1);
}

.featured-movie-rating {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffc107;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.featured-movie-info {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    overflow: hidden;
}

.featured-movie-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.featured-movie-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.featured-movie-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-movie-meta .meta-label {
    color: #999;
    min-width: 60px;
}

.featured-movie-meta .meta-value {
    color: #333;
    font-weight: 500;
}

/* 网站页脚样式 - 桌面端 */
.website-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 50px;
    padding: 40px 0 20px;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.footer-title {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-family: 'ZCOOL QingKe HuangYou', sans-serif;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-section {
    min-width: 150px;
}

.footer-section h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    padding-top: 10px;
    text-align: center;
}

/* 友链样式 - 低调简洁风格 */
.footer-links {
    margin-top: 5px;
    margin-bottom: 5px;
}
.footer-links .link-group {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.footer-links .link-title {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    font-size: 12px;
    min-width: 60px;
}

.footer-links .link-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 1px 6px;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links .link-item:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 5px 0;
    line-height: 1.5;
}

.footer-icp {
    margin-top: 8px;
}

/* 桌面端响应式页脚 */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .website-footer {
        margin-top: 30px;
        padding: 30px 0 15px;
    }
    
    .footer-content {
        padding: 0 15px;
        gap: 25px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-title {
        font-size: 20px;
    }
}

/* ===== 夜间模式样式 ===== */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

/* 头部容器夜间模式 */
body.dark-mode .header-container {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 容器夜间模式 */
body.dark-mode .container {
    background-color: transparent;
}

/* 轮播图夜间模式 */
body.dark-mode .carousel-container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* 推荐影片卡片夜间模式 */
body.dark-mode .featured-movie-card {
    background-color: #1e1e1e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.dark-mode .featured-movie-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transform: translateY(-5px);
}

/* 筛选容器夜间模式 */
body.dark-mode .filter-container {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.dark-mode .filter-container select {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
}

/* 电视剧网格夜间模式 */
body.dark-mode .tv-series-grid {
    background-color: transparent;
}

/* 电视剧卡片夜间模式 */
body.dark-mode .tv-series {
    background-color: #1e1e1e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.dark-mode .tv-series:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transform: translateY(-5px);
}

/* 电影信息夜间模式 */
body.dark-mode .movie-info h3 {
    color: #e0e0e0;
}

body.dark-mode .movie-meta {
    color: #b0b0b0;
}

/* 评分标签夜间模式 */
body.dark-mode .rating-tag {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

/* 集数信息夜间模式 */
body.dark-mode .episode-info {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

/* 分页导航夜间模式 */
body.dark-mode .pagination {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.dark-mode .page-link, body.dark-mode .page-dots {
    color: #e0e0e0;
    background-color: #2c2c2c;
    border-color: #444;
}

body.dark-mode .page-link:hover {
    background-color: #333;
    color: #fff;
}

body.dark-mode .page-link.active {
    background-color: #2196f3;
    color: white;
}

body.dark-mode .page-link.disabled {
    color: #666;
    background-color: #1e1e1e;
}

/* 下拉菜单夜间模式 */
body.dark-mode .dropdown-menu {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    color: #e0e0e0;
}

body.dark-mode .dropdown-menu a {
    color: #e0e0e0;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: #333;
    color: #fff;
}

body.dark-mode .level-tag {
    background-color: #333;
    color: #e0e0e0;
}

/* 搜索框夜间模式 */
body.dark-mode .search-container input {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
}

body.dark-mode .search-container button {
    background-color: #2196f3;
    color: white;
}

body.dark-mode .hot-search-container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.dark-mode .hot-search-title {
    color: #e0e0e0;
}

body.dark-mode .hot-search-tag {
    background-color: #2c2c2c;
    color: #b0b0b0;
}

body.dark-mode .hot-search-tag:hover {
    background-color: #333;
    color: #e0e0e0;
}

/* 页脚夜间模式 */
body.dark-mode .website-footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #e0e0e0;
}

body.dark-mode .footer-description {
    color: rgba(224, 224, 224, 0.8);
}

body.dark-mode .footer-section ul li a {
    color: rgba(224, 224, 224, 0.7);
}

body.dark-mode .footer-section ul li a:hover {
    color: #e0e0e0;
}

/* 修复夜间模式滑块样式选择器 */
body.dark-mode .theme-switch input:checked + .slider {
    background-color: #9c27b0;
}

body.dark-mode .theme-switch input:focus + .slider {
    box-shadow: 0 0 1px #9c27b0;
}