﻿/* 基础布局 */
.container {
    display: flex;
    gap: 20px;
    width: 1170px;
    margin: 0 auto;
}

/* 左侧模块 */
.sidebar-module {
    width: 250px;
    flex-shrink: 0;
	margin-top: 10px;
	margin-left: -20px;
}
.category-nav{background: #fff;padding: 15px;margin-top: 10px;}

.category-nav ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    overflow: hidden;
}

.category-nav ul li {
    width: calc(33.33% - 8px); /* 减去gap间距 */
    margin-right: 8px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.category-nav ul li:nth-child(3n) {
    margin-right: 0;
}
/* 标签链接样式 */
.category-nav ul li a {
    display: block;
    padding: 6px 0px;
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    text-align: center;
}

/* 悬停效果 */
.category-nav ul li a:hover {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 激活状态 */
.category-nav ul li.active a {
    background: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.filter-box, .sort-box {
    background: #fff;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
h3 {
    font-size: 16px;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.filter-item, .sort-box {
    margin-top: 10px;
}
.filter-item label {
    display: block;
    color: #666;
    margin-bottom: 8px;
}
a.active {
    color: #f60;
    font-weight: bold;
}
.sort-box p {
    margin-bottom: 10px;
    color: #666;
}

/* 基础容器样式 */
.filter-box {
    width: 100%;
    overflow: hidden;
}

/* 标签列表布局 */
.filter-box ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 -5px; /* 补偿item边距 */
}

/* 标签项强制三等分 */
.filter-box li {
    flex: 0 0 calc(33.333% - 10px);
    margin: 5px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 标签基础样式 */
.filter-box a {
    display: block;
    padding: 6px 0px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 悬停效果 */
.filter-box a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-box li {
        flex: 0 0 calc(50% - 10px); /* 小屏幕两列 */
    }
}
/* 分页样式 */
.pagination {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 30px 0;
}
.page-item {
	display: block;
	padding: 8px 16px;
	border-radius: 6px;
	background: #f5f5f5;
	color: #333;
	text-decoration: none;
	transition: all 0.3s;
}
.page-item:hover,
.page-item.active {
	background: #2e86de;
	color: white;
}
.sort-box p a{
	display: block;
	padding: 6px 0;
}
.sort-box p span{
	color:red;
}
/* 主内容区 */
.novel-update-n {
    flex: 1;
}
.novel-header {
    margin-bottom: 20px;
}
.novel-title {
    font-size: 22px;
    color: #333;
}
.novel-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}
.novel-list {
    list-style: none;
    padding: 0;
}
.novel-item {
    padding: 12px 15px;
    border-bottom: 1px dashed #eee;
    display: flex;
    justify-content: space-between;
}
.novel-info {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.novel-category {
    color: #f60;
}
.novel-time {
    color: #999;
    font-size: 13px;
}
.pagination {
    margin-top: 20px;
    text-align: center;
}

/* 响应式 */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 100%;
    }
    .novel-update-n{
        width: 100% !important;
    }
    .sidebar-module {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        display: none;
    }
    .category-nav, .filter-box, .sort-box {
        flex: 1;
        min-width: 150px;
    }
}

/*novel*/
.novel-update {
    width: 1170px;
    max-height: 450px;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin: 0 auto;
    background: #fff;
    margin-top: 20px;
	grid-template-columns: 1fr 2fr;
	display: grid;
    gap: 20px;
}

.novel-update-n{
	width: 1170px;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin: 0 auto;
    background: #fff;
    margin-top: 20px;
}

.novel-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	margin-bottom: 15px;
}

.novel-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.more-link {
	color: #999;
	text-decoration: none;
	font-size: 14px;
}

.novel-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.novel-item {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px dashed #f0f0f0;
}

.novel-item:last-child {
	border-bottom: none;
}

.novel-info {
	color: #333;
	text-decoration: none;
}

.novel-info:hover {
	color: #007aff;
}

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

.novel-time {
	color: #999;
	font-size: 14px;
}

@media (max-width: 1200px) {
	.novel-update {
		width: 100%;
		padding: 15px;
		max-height:unset;
		display: unset;
		background: none;
		border: unset;
	}
}

@media (max-width: 768px) {
	.novel-item {
		flex-direction: column;
	}
	
	.novel-time {
		margin-top: 5px;
	}
}

/*radio*/
.radio-container {
	width: 1170px;
	padding: 30px;
	margin: 0 auto;
	box-sizing: border-box;
    background: #fff;
    margin-top: 20px;
}

.radio-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.radio-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.more-link {
	color: #999;
	text-decoration: none;
	font-size: 14px;
}

.radio-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
}
.index-radio-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
}
.radio-item {
	transition: all 0.3s ease;
	overflow: hidden;
}

.radio-cover {
	width: 170px;
	height: 170px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	background: #f5f5f5;
}

.radio-name {
	margin-top: 8px;
	font-size: 14px;
	color: #333;
	width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 图片容器样式 */
.radio-item,.comic-item,.anime-drama-item {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* 图片默认样式 */
.radio-cover {
    display: block;
    transition: all 0.3s ease;
}

/* 图片悬停效果 */
.radio-item,.comic-item,.anime-drama-item:hover .radio-cover {
    transform: scale(1.05);
}

/* 播放按钮覆盖层 */
.radio-item:hover::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* 播放按钮样式 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* 播放按钮三角形 */
.play-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #333;
}

/* 悬停时显示播放按钮 */
.radio-item:hover .play-button {
    opacity: 1;
}

.radio-item:hover .radio-cover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.radio-item:hover .radio-name {
	color: #007aff;
}

@media (max-width: 1200px) {
	.radio-container {
		width: 100%;
		padding: 15px;
		overflow: hidden;
	}
	
	.radio-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.radio-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.radio-cover {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
	}
	
	.radio-name {
		width: 100%;
	}
}

@media (max-width: 480px) {
    .radio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .radio-item-index {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    .radio-item-body{
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;        
    }
    .radio-cover {
        width: 100%;
        aspect-ratio: 1/1; /* 正方形 */
        object-fit: cover; /* 裁剪并填充 */
        display: block;
    }
    .page-item{
        display: none;
    }
    .page-link{
        display: block !important;
    }
    .pagination {
        padding: 0;
    }
    .download-buttons {
        gap: 0px !important;
        margin-bottom: 20px;
        width: 60%;
        margin: 0 auto;
    }
    .radio-name {
        font-size: 14px;
        padding: 4px 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
/*manhua*/
.comic-container {
	width: 1170px;
	padding: 30px;
	margin: 0 auto;
	box-sizing: border-box;
    background: #fff;
    margin-top: 20px;
}

.comic-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.comic-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.more-link {
	color: #999;
	text-decoration: none;
	font-size: 14px;
}

.comic-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
}

.comic-item {
	transition: all 0.3s ease;
}

.comic-cover {
	width: 170px;
	height: 170px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	background: #f5f5f5;
}

.comic-name {
	margin-top: 8px;
	font-size: 14px;
	color: #333;
	width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.comic-item:hover {
	transform: translateY(-5px);
}

.comic-item:hover .comic-cover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.comic-item:hover .comic-name {
	color: #007aff;
}

@media (max-width: 1200px) {
	.comic-container {
		width: 100%;
		padding: 15px;
	}
	
	.comic-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.comic-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.comic-cover {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
	}
	
	.comic-name {
		width: 100%;
	}
}

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

/*漫剧*/
.anime-drama-container {
	width: 1170px;
	padding: 30px;
	margin: 0 auto;
	box-sizing: border-box;
    background: #fff;
    margin-top: 20px;
}

.anime-drama-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.anime-drama-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.more-link {
	color: #999;
	text-decoration: none;
	font-size: 14px;
}

.anime-drama-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 15px;
}

.anime-drama-item {
	transition: all 0.3s ease;
}

.anime-drama-cover {
	width: 170px;
	height: 170px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	background: #f5f5f5;
}

.anime-drama-name {
	margin-top: 8px;
	font-size: 14px;
	color: #333;
	width: 170px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.anime-drama-item:hover {
	transform: translateY(-5px);
}

.anime-drama-item:hover .anime-drama-cover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.anime-drama-item:hover .anime-drama-name {
	color: #007aff;
}

@media (max-width: 1200px) {
	.anime-drama-container {
		width: 100%;
		padding: 15px;
	}
	
	.anime-drama-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.anime-drama-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.anime-drama-cover {
		width: 100%;
		height: auto;
		aspect-ratio: 1/1;
	}
	
	.anime-drama-name {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.anime-drama-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
/*music*/
.music-update {
    width: 1170px;
    max-height: 450px;
    padding: 30px;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    margin: 0 auto;
    background: #fff;
    margin-top: 20px;
}

.music-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	margin-bottom: 15px;
}

.music-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
}

.more-link {
	color: #999;
	text-decoration: none;
	font-size: 14px;
}

.music-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.music-item {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px dashed #f0f0f0;
}

.music-item:last-child {
	border-bottom: none;
}

.music-info {
	color: #333;
	text-decoration: none;
}

.music-info:hover {
	color: #007aff;
}

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

.music-time {
	color: #999;
	font-size: 14px;
}

@media (max-width: 1200px) {
	.music-update {
		width: 100%;
		padding: 15px;
	}
}

@media (max-width: 768px) {
	.music-item {
		flex-direction: column;
	}
	
	.music-time {
		margin-top: 5px;
	}
}
.novel-right {
    padding: 15px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.right-header {
	display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-direction: column;
}

.brand-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.brand-name {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.divider {
    height: 1px;
    background: #eee;
    margin: 15px 0;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.download-btn {
    display: block;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

@media (max-width: 1200px) {
	.android-btn {
		background: #566bfa;
		color: white;
		width: 80%;
		text-align: center;
		margin: 0 auto;
	}
	.ios-btn {
		background: #f0f0f0;
		color: #333;
		border: 1px solid #ddd;
		width: 80%;
		text-align: center;
		margin: 0 auto;
	}
}

.android-btn {
    background: #566bfa;
    color: white;
}

.android-btn:hover {
    background: #3e8e41;
}

.ios-btn {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.ios-btn:hover {
    background: #e0e0e0;
}

.brand-desc p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .novel-right {
        width: 100%;
        margin-top: 20px;
    }
    .fed-menu-logo{
        display: none;
    }
    .fed-head-info .fed-pops-navbar{
        top: 0.5rem;
    }
    .fed-head-info .fed-pops-navbar ul {
        overflow-y: hidden;
        overflow-x: hidden;
    }
    body {
       padding: 3rem 0 0;
    }
    .brand-desc {
        padding: 0 15px 15px 15px;
    }

}

/*tc*/
.download-float-btn {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background-color: #566bfa;
    color: white;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 999;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* 弹窗样式 */
.download-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 300px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    color: #888;
    cursor: pointer;
}

.download-modal .logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    background-image: url("/uploadfile/202509/2768dad006c8853.jpg");
    background-size: cover; /* 图片覆盖整个容器 */
    background-repeat: no-repeat; /* 禁止重复 */
    background-position: center; /* 图片居中显示 */
}

.download-modal h3 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #333;
}

.download-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.android-btn {
    background-color: #566bfa;
    color: white;
    border: none;
}
.android-btn a{
    background-color: #566bfa;
    color: white;
    border: none;
}

.ios-btn {
    background-color: white;
    color: #566bfa;
    border: 1px solid #566bfa;
}
.download-modal p{
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.ios-tip {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}
.h5-btn{
    margin: 0 !important;
    padding: 0 !important;
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 999;
}
/* 移动端显示 */
@media (max-width: 768px) {
    .download-float-btn {
        display: block;
    }
}
@media (max-width: 768px) {
    .download-float-btn {
        display: block !important;
    }
}