/* 全局基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background: #f7f9fc;
    display: flex;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: 280px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 左侧固定导航栏 */
nav {
    width: 280px;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    z-index: 100;
}

.nav-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 0;
}

.brand {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    padding: 0 1.5rem;
    margin-bottom: 3rem;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
    flex: 1;
    overflow-y: auto;
}

.nav-links::-webkit-scrollbar {
    width: 4px;
}

.nav-links::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

.nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0.75rem 0;
}

.nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateX(4px);
}

.nav-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    opacity: 1;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.user-actions a {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    text-align: center;
}

.user-actions a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.btn-nav {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
}

.btn-nav:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99,102,241,0.4);
}

/* 首页 */
.hero-section {
    margin: 2rem 0 1.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #eef2ff, #e0f2fe);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.1rem;
    color: #0f172a;
    margin-bottom: 0.8rem;
}

.hero-content p {
    color: #475569;
    margin-bottom: 1rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    color: #4338ca;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #e5e7eb;
    margin-bottom: 0.75rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #4338ca);
    color: #fff;
    box-shadow: 0 14px 30px rgba(79,70,229,0.22);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-secondary {
    background: #fff;
    color: #4338ca;
    border: 1px solid #e0e7ff;
}

.hero-visual {
    position: relative;
}

.hero-placeholder {
    background: radial-gradient(circle at 30% 30%, #c7d2fe, #e0f2fe 50%, #eef2ff 90%);
    min-height: 220px;
    border-radius: 14px;
    box-shadow: 0 15px 45px rgba(15,23,42,0.15);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.pill {
    background: rgba(255,255,255,0.92);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.section-header {
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title {
    font-size: 1.4rem;
    color: #0f172a;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
}

.card h3 {
    color: #111827;
    margin-bottom: 0.5rem;
}

.stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat {
    background: #fff;
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    min-width: 150px;
}

.stat strong {
    font-size: 1.3rem;
    color: #4338ca;
}

/* 漫画作品 */
.manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.manga-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15,23,42,0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.cover-placeholder {
    width: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe, #eef2ff);
    color: #4338ca;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.manga-card .meta {
    padding: 1rem;
}

.meta h3 {
    margin-bottom: 0.4rem;
    color: #0f172a;
}

.meta p {
    color: #4b5563;
    margin-bottom: 0.8rem;
}

.read-more {
    color: #4338ca;
    font-weight: 600;
}

/* 弹窗阅读器 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(15,23,42,0.85);
    overflow-y: auto;
}

.modal-content {
    background: #fff;
    margin: 4% auto;
    padding: 1.25rem;
    width: 92%;
    max-width: 980px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.close {
    float: right;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
}

.manga-viewer {
    margin-top: 1rem;
}

.manga-pages img {
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(15,23,42,0.12);
}

.copyright-block {
    margin-top: 1.25rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.copyright-block h4 {
    margin-bottom: 0.5rem;
}

.copyright-images {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.copyright-images img {
    max-width: 240px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* 表单 */
.login-page,
.register-page,
.forgot-page {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.login-container,
.register-container,
.forgot-container {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
    width: 100%;
    max-width: 420px;
    border: 1px solid #e5e7eb;
}

.login-form,
.register-form,
.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #111827;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.16);
}

.login-btn,
.register-btn {
    background: linear-gradient(135deg, #6366f1, #4338ca);
    color: #fff;
    padding: 0.9rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-btn:hover,
.register-btn:hover {
    transform: translateY(-1px);
}

.form-links {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #475569;
}

.form-links a {
    color: #4338ca;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: #475569;
}

/* 静态信息页 */
.legal-page,
.about-page,
.privacy-page,
.dispute-page,
.agreement-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.legal-page h1,
.about-page h1 {
    margin-bottom: 1rem;
    color: #0f172a;
}

.legal-page section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

.legal-page h2 {
    margin-bottom: 0.6rem;
    color: #111827;
}

.legal-page p,
.legal-page li {
    color: #475569;
}

.legal-page ul,
.legal-page ol {
    margin-left: 1.25rem;
    display: grid;
    gap: 0.35rem;
}

.about-content {
    display: grid;
    gap: 1rem;
}

.about-content section {
    background: #fff;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15,23,42,0.06);
}

/* 版权页 */
.copyright-page {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
}

.copyright-hero {
    display: grid;
    gap: 1rem;
}

.copyright-hero img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 16px 30px rgba(15,23,42,0.12);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 20px;
    display: none;
    background: #4338ca;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(79,70,229,0.35);
}

/* ===== 首页 ===== */
.home-hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-left: -2rem;
    margin-right: -2rem;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.home-hero:hover .home-hero-bg {
    transform: scale(1);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,20,0.45) 0%, rgba(10,10,20,0.72) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 1.5rem;
}

.home-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.1);
}

.home-title {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    letter-spacing: 0.25em;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.home-sub {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.home-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.22);
}

.home-scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    font-size: 1.4rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* 预览条 */
.preview-strip-wrap {
    margin: 2.5rem 0 0;
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.07);
    border: 1px solid #e5e7eb;
}

.preview-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.preview-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #e0e7ff transparent;
}

.preview-strip::-webkit-scrollbar {
    height: 4px;
}

.preview-strip::-webkit-scrollbar-thumb {
    background: #e0e7ff;
    border-radius: 4px;
}

.preview-thumb {
    flex: 0 0 80px;
    height: 110px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
}

.preview-thumb:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 24px rgba(15,23,42,0.18);
    border-color: #6366f1;
}

.preview-read-all {
    display: inline-block;
    margin-top: 0.85rem;
    color: #4338ca;
    font-weight: 600;
    font-size: 0.95rem;
}

.preview-read-all:hover {
    text-decoration: underline;
}

/* 特色三栏 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.feature-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.1);
}

.feature-icon {
    font-size: 1.8rem;
    color: #6366f1;
    margin-bottom: 0.75rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 关于条幅 */
.about-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    margin: 0 0 3rem;
    color: #fff;
}

.about-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about-banner-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.about-banner-icp {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.about-banner .btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    white-space: nowrap;
}

.about-banner .btn-secondary:hover {
    background: rgba(255,255,255,0.22);
}

/* 漫画类型标签 */
.manga-genre {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.manga-genre span {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
}


/* ===== 新页面布局样式 ===== */

/* 页面容器 */
.page-container {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 页面头部 */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* 内容区块 */
.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

/* 政策卡片 */
.policy-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
}

.policy-card h2 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.policy-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.policy-card ul,
.policy-card ol {
    margin-left: 1.5rem;
    color: #475569;
    line-height: 1.8;
}

.policy-card li {
    margin-bottom: 0.5rem;
}

/* 信息卡片 */
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
}

.info-card h2 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.info-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

/* 联系方式网格 */
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.contact-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.contact-value {
    font-size: 1rem;
    color: #1e293b;
}

/* 版权图片展示 */
.copyright-gallery {
    display: grid;
    gap: 2rem;
}

.copyright-item {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
}

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

/* 漫画详情页 */
.manga-detail {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
}

.manga-cover img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15,23,42,0.1);
}

.manga-info h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 1rem;
}

.manga-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.manga-description {
    margin-bottom: 2rem;
}

.manga-description p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 漫画页面网格 */
.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.page-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(15,23,42,0.12);
}

.page-card img {
    width: 100%;
    display: block;
}

.page-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1rem;
    color: #fff;
    font-weight: 600;
}

/* 阅读器弹窗 */
.reader-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 2rem;
}

.reader-container {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
    position: relative;
}

.reader-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.reader-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.reader-container h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 2rem;
    padding-right: 3rem;
}

.reader-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reader-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

/* 首页特殊样式 */
.hero-banner {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 预览画廊 */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-title-bar h2 {
    font-size: 1.8rem;
    color: #0f172a;
}

.view-all {
    color: #4338ca;
    font-weight: 600;
    transition: color 0.2s;
}

.view-all:hover {
    color: #6366f1;
}

.preview-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    transition: transform 0.2s;
    cursor: pointer;
}

.preview-item:hover {
    transform: scale(1.05);
}

.preview-item img {
    width: 100%;
    display: block;
}

.page-number {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* 特色网格 */
.features-section {
    background: #f8fafc;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-left: -2rem;
    margin-right: -2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: #64748b;
    line-height: 1.7;
}

/* 关于卡片 */
.about-section {
    margin-top: 3rem;
}

.about-card {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
