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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #f0f8ff;
}

/* 导航栏样式 */
.nav {
    background: linear-gradient(90deg, #1e88e5, #42a5f5, #64b5f6);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 10px rgba(30, 136, 229, 0.4);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.nav li {
    margin: 0 12px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #e3f2fd;
}

.nav .logo a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff !important;
}

/* 横幅区域 */
#benner {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-bottom: 4px solid #1e88e5;
}

#benner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区域 */
.wrap {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}

.wrap h1 {
    color: #1565c0;
}

.wrap-uu {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.wrap-uu li {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.2);
    border: 2px solid #64b5f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wrap-uu li:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.35);
}

.wrap-uu a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.wrap-uu img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.wrap-uu h2 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: #1565c0;
}

.wrap-uu p {
    padding: 0 20px 20px;
    color: #666;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
}

.btn:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* 页脚样式 */
footer {
    background: linear-gradient(90deg, #1565c0, #1e88e5);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    box-shadow: 0 -3px 10px rgba(30, 136, 229, 0.3);
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #bbdefb;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 8px;
    }

    .nav li {
        margin: 4px 0;
    }

    #benner {
        height: 150px;
    }

    .wrap-uu {
        grid-template-columns: 1fr;
    }

    .wrap {
        padding: 0 15px;
    }
}

/* 表单样式 */
input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #64b5f6;
    border-radius: 8px;
    font-size: 16px;
    background: #f5f9ff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 8px rgba(30, 136, 229, 0.35);
}

button {
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: opacity 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.35);
}

button:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}

/* 版权声明区域 */
.copyright-section {
    background: #e3f2fd;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 3px solid #64b5f6;
}

.copyright-section img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(30, 136, 229, 0.2);
}

/* 漫画内容展示 */
.manga-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.manga-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.15);
    border: 2px solid #64b5f6;
}

.manga-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.manga-item .content {
    padding: 20px;
}

.manga-item h3 {
    color: #1565c0;
    margin-bottom: 10px;
}

.manga-item p {
    color: #666;
    line-height: 1.6;
}

/* 内容页标题 */
h3 {
    color: #1565c0;
    font-size: 1.5rem;
    margin: 20px 0 15px;
    border-left: 5px solid #42a5f5;
    padding-left: 12px;
}

/* 内容区背景 */
div[style*="background:#f8f9fa"] {
    background: #e3f2fd !important;
}

/* 首页欢迎横幅 */
.hero-section {
    background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 50%, #64b5f6 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* 区块标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #1565c0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 漫画卡片增强 */
.manga-card {
    position: relative;
    overflow: hidden;
}

.manga-card img {
    transition: transform 0.4s ease;
}

.manga-card:hover img {
    transform: scale(1.05);
}

.manga-info {
    padding: 20px;
}

.read-more {
    display: inline-block;
    color: #1e88e5;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.manga-card:hover .read-more {
    transform: translateX(5px);
}

/* 关于我们区域 */
.about-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 60px 20px;
    margin: 50px 0;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-container h2 {
    color: #1565c0;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-container p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 首页版权声明区域 */
.copyright-section-home {
    background: #f5f9ff;
    padding: 60px 20px;
}

.copyright-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.copyright-container h2 {
    color: #1565c0;
    font-size: 2rem;
    margin-bottom: 10px;
}

.copyright-container > p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.copyright-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.copyright-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(30, 136, 229, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.copyright-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(30, 136, 229, 0.25);
}

.copyright-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .section-header h2 {
        font-size: 1.5rem;
    }

    .about-container h2,
    .copyright-container h2 {
        font-size: 1.5rem;
    }

    .copyright-images {
        grid-template-columns: 1fr;
    }
}
