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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 导航栏 */
.header-navigation-bar-top-fixed {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation-wrapper-container-flex {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-title-heading a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.main-menu-navigation-list {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.main-menu-navigation-list a {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.main-menu-navigation-list a:hover,
.main-menu-navigation-list a.active {
    color: #fff;
    border-bottom-color: #fff;
}

/* 英雄区域 */
.hero-banner-showcase-main-area {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    color: #fff;
}

.hero-content-wrapper-overlay {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-main-title-heading-large {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle-description-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta-buttons-group {
    display: flex;
    gap: 1rem;
}

.primary-cta-button-solid,
.primary-cta-button-large {
    background: #fff;
    color: #667eea;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.primary-cta-button-solid:hover,
.primary-cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.secondary-cta-button-outline,
.secondary-cta-button-large {
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border: 2px solid #fff;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.secondary-cta-button-outline:hover,
.secondary-cta-button-large:hover {
    background: #fff;
    color: #667eea;
}

.hero-main-featured-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* 通用区域 */
.section-content-container-max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-heading-title-center {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-subtitle-text-center {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* 动漫卡片 */
.anime-cards-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.anime-card-item-box-1,
.anime-card-item-box-2,
.anime-card-item-box-3,
.anime-card-item-box-4 {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.anime-card-item-box-1:hover,
.anime-card-item-box-2:hover,
.anime-card-item-box-3:hover,
.anime-card-item-box-4:hover {
    transform: translateY(-10px);
}

.anime-card-image-wrapper {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.anime-card-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anime-card-overlay-hover {
    position: absolute;
    top: 10px;
    right: 10px;
}

.anime-rating-badge {
    background: rgba(255,255,255,0.95);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #667eea;
}

.anime-card-info-content {
    padding: 1.5rem;
}

.anime-card-title-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.anime-card-tags-list {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.anime-card-description-brief {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 分类卡片 */
.category-grid-layout-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card-item-1,
.category-card-item-2,
.category-card-item-3,
.category-card-item-4,
.category-card-item-5,
.category-card-item-6 {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.category-card-item-1:hover,
.category-card-item-2:hover,
.category-card-item-3:hover,
.category-card-item-4:hover,
.category-card-item-5:hover,
.category-card-item-6:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
}

.category-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.category-card-count {
    color: #718096;
    margin-bottom: 1rem;
}

.category-link-more {
    color: #667eea;
    font-weight: 600;
}

/* 漫画展示 */
.manga-showcase-section-wrapper {
    background: #fff;
}

.manga-grid-layout-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.manga-item-card-1,
.manga-item-card-2,
.manga-item-card-3,
.manga-item-card-4 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

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

.manga-item-card-1:hover .manga-cover-image,
.manga-item-card-2:hover .manga-cover-image,
.manga-item-card-3:hover .manga-cover-image,
.manga-item-card-4:hover .manga-cover-image {
    transform: scale(1.1);
}

.manga-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem 1rem 1rem;
    color: #fff;
}

.manga-title-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.manga-status-badge {
    background: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
}

/* 社区动态 */
.community-updates-section-area {
    background: #f7fafc;
}

.community-posts-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.community-post-card-1,
.community-post-card-2,
.community-post-card-3 {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.post-author-info-flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-name {
    font-weight: 600;
    color: #2d3748;
}

.post-publish-time {
    color: #a0aec0;
    font-size: 0.9rem;
}

.post-content-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-stats-row {
    display: flex;
    gap: 1.5rem;
    color: #718096;
    font-size: 0.9rem;
}

/* 特色功能 */
.features-highlights-section-background {
    background: #fff;
}

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

.feature-item-card-1,
.feature-item-card-2,
.feature-item-card-3 {
    text-align: center;
    padding: 2rem;
}

.feature-icon-circle-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.feature-icon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-title-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.feature-description-text {
    color: #718096;
    line-height: 1.8;
}

/* CTA区域 */
.final-cta-banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: #fff;
}

.cta-main-heading-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons-group-centered {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 页脚 */
.footer-section-bottom-wrapper {
    background: #2d3748;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-content-container-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-heading-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-links-list,
.footer-contact-list {
    list-style: none;
}

.footer-links-list li,
.footer-contact-list li {
    margin-bottom: 0.5rem;
}

.footer-links-list a {
    color: rgba(255,255,255,0.8);
}

.footer-links-list a:hover {
    color: #667eea;
}

.footer-contact-list li {
    color: rgba(255,255,255,0.8);
}

.footer-bottom-copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-copyright-text {
    color: rgba(255,255,255,0.6);
}

/* 页面标题 */
.page-header-banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: #fff;
}

.page-title-heading-main {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle-description {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* 筛选导航 */
.filter-navigation-section {
    background: #fff;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-tabs-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab-button {
    padding: 0.75rem 1.5rem;
    border: none;
    background: #f7fafc;
    color: #4a5568;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab-button:hover,
.filter-tab-button.active {
    background: #667eea;
    color: #fff;
}

/* 番剧列表 */
.anime-list-main-content-section {
    background: #f7fafc;
}

.anime-list-container-max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
}

.anime-grid-layout-responsive {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.anime-item-card-wrapper-1,
.anime-item-card-wrapper-2,
.anime-item-card-wrapper-3,
.anime-item-card-wrapper-4,
.anime-item-card-wrapper-5,
.anime-item-card-wrapper-6,
.anime-item-card-wrapper-7,
.anime-item-card-wrapper-8,
.anime-item-card-wrapper-9 {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.anime-poster-image-container {
    position: relative;
    height: 350px;
}

.anime-poster-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anime-status-badge-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102,126,234,0.95);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.anime-details-info-section {
    padding: 2rem 2rem 2rem 0;
}

.anime-title-main-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.anime-genre-tags {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.anime-rating-score {
    color: #f59e0b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.anime-synopsis-brief {
    color: #718096;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.anime-action-buttons {
    display: flex;
    gap: 1rem;
}

.watch-now-button,
.add-collection-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watch-now-button {
    background: #667eea;
    color: #fff;
}

.watch-now-button:hover {
    background: #5568d3;
}

.add-collection-button {
    background: #f7fafc;
    color: #667eea;
    border: 2px solid #667eea;
}

.add-collection-button:hover {
    background: #667eea;
    color: #fff;
}

.section-cta-button-center {
    text-align: center;
    margin-top: 3rem;
}

/* 漫画页面 */
.manga-showcase-main-section {
    padding: 4rem 2rem;
    background: #f7fafc;
}

.manga-content-container-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.manga-grid-masonry-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.manga-card-item-1,
.manga-card-item-2,
.manga-card-item-3,
.manga-card-item-4,
.manga-card-item-5,
.manga-card-item-6 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.manga-card-item-1:hover,
.manga-card-item-2:hover,
.manga-card-item-3:hover,
.manga-card-item-4:hover,
.manga-card-item-5:hover,
.manga-card-item-6:hover {
    transform: translateY(-5px);
}

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

.manga-card-item-1:hover .manga-cover-image-full,
.manga-card-item-2:hover .manga-cover-image-full,
.manga-card-item-3:hover .manga-cover-image-full,
.manga-card-item-4:hover .manga-cover-image-full,
.manga-card-item-5:hover .manga-cover-image-full,
.manga-card-item-6:hover .manga-cover-image-full {
    transform: scale(1.1);
}

.manga-info-overlay-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    color: #fff;
}

.manga-title-heading {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.manga-tags-genre {
    color: #cbd5e0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.manga-status-info {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.manga-read-button {
    background: #667eea;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.manga-read-button:hover {
    background: #5568d3;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-content-wrapper-overlay,
    .anime-item-card-wrapper-1,
    .anime-item-card-wrapper-2,
    .anime-item-card-wrapper-3,
    .anime-item-card-wrapper-4,
    .anime-item-card-wrapper-5,
    .anime-item-card-wrapper-6,
    .anime-item-card-wrapper-7,
    .anime-item-card-wrapper-8,
    .anime-item-card-wrapper-9 {
        grid-template-columns: 1fr;
    }

    .hero-main-title-heading-large {
        font-size: 2rem;
    }

    .main-menu-navigation-list {
        flex-wrap: wrap;
        gap: 1rem;
    }
}
