/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #202124;
    background-color: #F8F9FA;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #E8E8E8;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand h2 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.nav-brand .domain {
    font-size: 12px;
    color: #0066FF;
    background: #F0F7FF;
    padding: 2px 8px;
    border-radius: 12px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #202124;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066FF;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0066FF;
    border-radius: 1px;
}

.auth-buttons {
    display: flex;
    gap: 16px;
    margin-left: 16px;
}

.btn-login,
.btn-register {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-login {
    color: #0066FF;
    background: transparent;
    border: 1px solid #0066FF;
}

.btn-login:hover {
    background: #F0F7FF;
}

.btn-register {
    color: white;
    background: #0066FF;
    border: 1px solid #0066FF;
}

.btn-register:hover {
    background: #0057B7;
    transform: scale(0.98);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #202124;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    margin-top: 72px;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F0FF 100%);
}

.hero-background {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #5F6368;
    margin-bottom: 48px;
    line-height: 1.4;
}

.hero-search {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.search-input {
    width: 400px;
    height: 56px;
    padding: 0 24px;
    border: 2px solid #E8E8E8;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.search-btn {
    height: 56px;
    padding: 0 32px;
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.search-btn:hover {
    background: #0057B7;
    transform: scale(0.98);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: #5F6368;
}

/* 章节标题 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    font-size: 18px;
    color: #5F6368;
}

/* 公司介绍 */
.company-intro {
    padding: 96px 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    margin-top: 32px;
}

.intro-text h3:first-child {
    margin-top: 0;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #5F6368;
    margin-bottom: 16px;
}

.business-list {
    list-style: none;
    margin-bottom: 32px;
}

.business-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #5F6368;
}

.business-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066FF;
    font-weight: bold;
}

.intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 精品推荐 */
.featured-comics {
    padding: 96px 0;
    background: #F8F9FA;
}

.comics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.comic-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.comic-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.comic-cover {
    position: relative;
    overflow: hidden;
}

.comic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.comic-card:hover .comic-overlay {
    opacity: 1;
}

.btn-read {
    padding: 12px 24px;
    background: white;
    color: #0066FF;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-read:hover {
    transform: scale(0.95);
}

.comic-info {
    padding: 24px;
}

.comic-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.comic-author {
    color: #5F6368;
    margin-bottom: 16px;
}

.comic-tags {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: #E8F0FF;
    color: #0066FF;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

.section-footer {
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 16px 32px;
    background: #0066FF;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-more:hover {
    background: #0057B7;
    transform: translateY(-2px);
}

/* 最新动态 */
.latest-news {
    padding: 96px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.news-card {
    background: #F8F9FA;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid #0066FF;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: #F0F7FF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-date {
    color: #0066FF;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.news-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
    line-height: 1.4;
}

.news-card p {
    color: #5F6368;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: #0066FF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-link:hover {
    color: #0057B7;
}

/* 页脚 */
.footer {
    background: #202124;
    color: white;
    padding: 64px 0 32px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
}

.footer-section p {
    color: #A1A1A1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #A1A1A1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #0066FF;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: inline-block;
    padding: 8px 16px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #0066FF;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.beian a {
    color: #A1A1A1;
    text-decoration: none;
}

.beian a:hover {
    color: #0066FF;
}

/* 页面标题 */
.page-header {
    margin-top: 72px;
    padding: 96px 0;
    background: linear-gradient(135deg, #F0F7FF 0%, #E8F0FF 100%);
    text-align: center;
}

.page-title {
    font-size: 64px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 24px;
}

.page-subtitle {
    font-size: 20px;
    color: #5F6368;
}

/* 漫画列表页面 */
.comics-filter {
    background: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 48px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filter-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: #F8F9FA;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    color: #5F6368;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0066FF;
    color: white;
    border-color: #0066FF;
}

/* 漫画详情页面 */
.comic-detail {
    padding: 96px 0;
    background: white;
}

.comic-detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
}

.comic-cover-large {
    position: sticky;
    top: 120px;
}

.comic-cover-large img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.comic-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.btn-favorite,
.btn-share {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-favorite {
    background: #0066FF;
    color: white;
    border: none;
}

.btn-favorite:hover {
    background: #0057B7;
}

.btn-share {
    background: white;
    color: #0066FF;
    border: 1px solid #0066FF;
}

.btn-share:hover {
    background: #F0F7FF;
}

.comic-info-detailed h1 {
    font-size: 36px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 16px;
}

.comic-meta {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background: #F8F9FA;
    border-radius: 12px;
}

.meta-item {
    text-align: center;
}

.meta-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #0066FF;
    margin-bottom: 4px;
}

.meta-label {
    font-size: 14px;
    color: #5F6368;
}

.comic-description {
    margin-bottom: 32px;
}

.comic-description h3 {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
}

.comic-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #5F6368;
}

.chapters-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 24px;
}

.chapters-list {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
}

.chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #E8E8E8;
    transition: background 0.2s ease;
}

.chapter-item:hover {
    background: #F8F9FA;
}

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

.chapter-title {
    font-size: 16px;
    color: #202124;
}

.chapter-date {
    font-size: 14px;
    color: #5F6368;
}

/* 表单样式 */
.form-container {
    max-width: 400px;
    margin: 96px auto;
    padding: 48px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #202124;
}

.form-input {
    width: 100%;
    height: 56px;
    padding: 0 20px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-input.error {
    border-color: #EA4335;
    background: #FEF7F7;
}

.form-btn {
    width: 100%;
    height: 56px;
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-btn:hover {
    background: #0057B7;
}

.form-link {
    text-align: center;
    margin-top: 24px;
}

.form-link a {
    color: #0066FF;
    text-decoration: none;
}

.form-link a:hover {
    text-decoration: underline;
}

/* 漫展页面 */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.event-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.event-image {
    height: 200px;
    background: linear-gradient(135deg, #E0EFFF 0%, #F0F7FF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-content {
    padding: 32px;
}

.event-date {
    color: #0066FF;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.event-title {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 16px;
}

.event-location {
    color: #5F6368;
    margin-bottom: 16px;
}

.event-description {
    color: #5F6368;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btn-event {
    padding: 12px 24px;
    background: #0066FF;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-event:hover {
    background: #0057B7;
}

/* 联系我们页面 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.contact-info {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
}

.contact-item p {
    color: #5F6368;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-textarea {
    width: 100%;
    height: 120px;
    padding: 16px 20px;
    border: 2px solid #E8E8E8;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #0066FF;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

/* 制度协议页面 */
.terms-content {
    max-width: 800px;
    margin: 96px auto;
    background: white;
    padding: 64px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.terms-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 32px;
    text-align: center;
}

.terms-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #202124;
    margin: 32px 0 16px;
}

.terms-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #5F6368;
    margin-bottom: 16px;
}

.terms-content ul {
    margin-bottom: 24px;
    padding-left: 32px;
}

.terms-content li {
    font-size: 16px;
    line-height: 1.6;
    color: #5F6368;
    margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 1023px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-search {
        flex-direction: column;
        align-items: center;
    }
    
    .search-input {
        width: 100%;
        max-width: 400px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .comic-detail-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .comic-cover-large {
        position: static;
    }
    
    .comic-cover-large img {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 400px;
        padding: 48px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .comics-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-container {
        margin: 48px 16px;
        padding: 32px 24px;
    }
    
    .terms-content {
        margin: 48px 16px;
        padding: 32px 24px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* 图片容器样式 */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* 公司图片样式 */
.company-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* 漫画封面图片样式 */
.comic-cover-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

/* 活动图片样式 */
.event-cover-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* 地图图片样式 */
.map-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

/* 二维码样式 */
.qr-code-container {
    text-align: center;
    margin-top: 16px;
}

.qr-code {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
    padding: 8px;
    background: white;
}

.qr-code-container p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Logo图片样式 */
.logo-image {
    width: 200px;
    height: 60px;
    object-fit: contain;
}

/* 响应式图片优化 */
@media (max-width: 768px) {
    .company-image,
    .map-image {
        height: 250px;
    }
    
    .comic-cover-image {
        height: 200px;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
}