﻿/*初始化开始*/

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
	margin: 0;
	padding: 0;
	word-wrap: break-word
}

li,
ul,
ol,
dl {
	list-style: none;
}

li,
select,
textarea,
input {
	vertical-align: middle;
}

a {
	color: #000000;
	text-decoration: none;
	outline: none;
}

a:-webkit-any-link {}

a:hover {
	text-decoration: none;
}

a:active {
	star: expression(this.onFocus=this.blur());
}

:focus {
	outline: 0;
}

em {
	font-style: italic;
}

img {
	border: 0px;
}

h1 {
	font-size: 24px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
}

h5 {
	font-size: 12px;
}

table {
	border-collapse: collapse;
	border-spacing: 0
}

p {
	word-wrap: break-word
}

input,
label,
th {
	vertical-align: middle;
}




/*new type*/


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background: linear-gradient(135deg, rgba(255,94,132,0.1) 0%, rgba(67,97,238,0.1) 100%);
	color: #1E1E2A;
	overflow-x: hidden;
}

header {
    background-color: #0a0a0a;
    padding: 25px 0;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

nav {

}

.logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: #ff5e3a;
}

.logo img{
	display: block;
	margin: 0 auto;
}

.nav-links {
	display: flex;
	list-style: none;
}

.nav-links li {
	margin-left: 25px;
}

.nav-links a {
	color: #f5f5f5;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: #ff5e3a;
}

.search-box {
	display: flex;
	align-items: center;
	background: #1e1e1e;
	border-radius: 30px;
	padding: 8px 15px;
	width: 300px;
}

.search-box input {
	background: transparent;
	border: none;
	outline: none;
	color: #f5f5f5;
	width: 100%;
	padding: 5px;
}

.search-box button {
	background: transparent;
	border: none;
	color: #b0b0b0;
	cursor: pointer;
}

.hero2 {
    padding: 140px 0;
    background: linear-gradient(to right, rgb(18 18 18 / 0%), rgb(18 18 18 / 20%)), url(/skin/images/1.png) no-repeat center center / cover;
    text-align: center;
}

.hero2 h1 {
	color: #fff;
	font-size: 3rem;
	margin-bottom: 20px;
}

.hero2 p {
	font-size: 1.2rem;
	color: #ffffff;
	max-width: 700px;
	margin: 0 auto 30px;
}

.hero {
    padding: 140px 0;
    background: linear-gradient(to right, rgb(18 18 18 / 0%), rgb(18 18 18 / 20%)), url(/skin/images/bg2.png) no-repeat center center / cover;
    text-align: center;
}


.hero h1 {
	color: #fff;
	font-size: 3rem;
	margin-bottom: 20px;
}

.hero p {
	font-size: 1.2rem;
	color: #ffffff;
	max-width: 700px;
	margin: 0 auto 30px;
}

.hero-content{
	color: #fff;
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
}

.btn {
	display: inline-block;
	background: #ff5e3a;
	color: white;
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(255, 94, 58, 0.3);
}

/* 分类筛选器 */
.filters {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 40px 0;
	gap: 15px;
}

.filter-btn {
	background: #1e1e1e;
	color: #f5f5f5;
	border: none;
	padding: 8px 20px;
	border-radius: 20px;
	cursor: pointer;
	transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
	background: #ff5e3a;
}


.comics-grid {
display: grid;
    gap: 30px;
    max-width: 1200px;
    grid-template-columns: repeat(3, 1fr);
    margin: 40px auto;
}

.comic-card {
	background: #1e1e1e;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.3s;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.comic-card:hover {
	transform: translateY(-10px);
}

.comic-cover {
	height: 300px;
	overflow: hidden;
}

.comic-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.comic-card:hover .comic-cover img {
	transform: scale(1.1);
}

.comic-info {
	padding: 20px;
}

.comic-info h3 {
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.comic-info p {
	color: #b0b0b0;
	font-size: 0.9rem;
	margin-bottom: 15px;
}

.comic-info .rating {
	color: #ffc107;
	margin-bottom: 15px;
}

/* 页脚样式 */
footer {
	background: #0a0a0a;
	padding: 0px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.footer-section h3 {
	font-size: 1.2rem;
	margin-bottom: 20px;
	color: #ff5e3a;
}

.footer-section p, .footer-section a {
	color: #b0b0b0;
	margin-bottom: 10px;
	display: block;
	text-decoration: none;
}

.footer-section a:hover {
	color: #ff5e3a;
}

.social-icons a {
	display: inline-block;
	margin-right: 15px;
	font-size: 1.5rem;
}

.copyright {
	text-align: center;
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #333;
	color: #b0b0b0;
}

.copyright P{
	color: #d0d0d0;
	margin: 10px auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
	.nav-links {
		display: none;
	}

	.search-box {
		width: 200px;
	}

	.hero h1 {
		font-size: 2.2rem;
	}

	.hero p {
		font-size: 1rem;
	}
}

/* 阅读器模态框 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	overflow: auto;
}

.modal-content {
	position: relative;
	margin: 50px auto;
	width: 90%;
	max-width: 1000px;
}

.close-modal {
	position: absolute;
	top: -40px;
	right: 0;
	color: white;
	font-size: 2rem;
	cursor: pointer;
}

.comic-pages img {
	width: 100%;
	margin-bottom: 20px;
}

.page-controls {
	display: flex;
	justify-content: center;
	margin: 20px 0;
}

.page-btn {
	background: #ff5e3a;
	color: white;
	border: none;
	padding: 10px 20px;
	margin: 0 10px;
	border-radius: 5px;
	cursor: pointer;
}