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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

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

/* 容器 */
.anime-container-wrapper-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.anime-header-navigation-top .anime-container-wrapper-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.anime-logo-brand-section {
    flex-shrink: 0;
}

.anime-site-title-heading {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.anime-home-link-primary {
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.anime-home-link-primary:hover {
    transform: scale(1.05);
    display: inline-block;
}

.anime-main-navigation-menu {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.anime-nav-list-horizontal {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.anime-nav-link-style {
    color: #ffffff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.anime-nav-link-style:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 主视觉横幅 */
.anime-hero-banner-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: #ffffff;
}

.anime-hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.anime-hero-text-block {
    padding: 20px;
}

.anime-hero-title-large {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.anime-hero-description-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.anime-cta-button-primary {
    display: inline-block;
    background: #ff6b6b;
    color: #ffffff;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.anime-cta-button-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.anime-hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.anime-hero-main-image {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.anime-hero-main-image:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

/* 区块标题 */
.anime-section-header-block {
    text-align: center;
    margin-bottom: 50px;
}

.anime-section-title-heading {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.anime-section-title-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.anime-section-subtitle-text {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 20px;
}

/* 热门推荐区块 */
.anime-hot-section-container {
    padding: 80px 0;
    background: #ffffff;
}

.anime-grid-layout-four {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.anime-card-item-box {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.anime-card-item-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.anime-card-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.anime-card-item-box:hover .anime-card-cover-image {
    transform: scale(1.1);
}

.anime-badge-hot-label,
.anime-badge-new-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
}

.anime-badge-new-label {
    background: #4ecdc4;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.5);
}

.anime-card-content-section {
    padding: 20px;
}

.anime-card-title-text {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.anime-card-description-short {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.anime-card-meta-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.anime-tag-genre-label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.anime-rating-stars-display {
    color: #f39c12;
    font-size: 14px;
    margin-left: auto;
}

/* 最新更新区块 */
.anime-new-section-container {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.anime-list-layout-vertical {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anime-update-item-row {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.anime-update-item-row:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.anime-update-thumbnail-small {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.anime-update-info-block {
    flex-grow: 1;
}

.anime-update-title-text {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.anime-update-chapter-info {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.anime-update-time-stamp {
    font-size: 12px;
    color: #95a5a6;
}

/* 分类导航区块 */
.anime-category-section-container {
    padding: 80px 0;
    background: #ffffff;
}

.anime-category-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.anime-category-card-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.anime-category-card-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.anime-category-icon-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.anime-category-name-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.anime-category-count-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 排行榜区块 */
.anime-ranking-section-container {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.anime-ranking-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.anime-ranking-subtitle-header {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.anime-ranking-list-ordered {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.anime-ranking-item-element {
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.anime-ranking-item-element:hover {
    transform: translateX(8px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
}

.anime-rank-number-badge {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #95a5a6;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.anime-rank-number-badge.anime-rank-top {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.4);
}

.anime-ranking-cover-mini {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.anime-ranking-details-block {
    flex-grow: 1;
}

.anime-ranking-work-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.anime-ranking-stats-text {
    font-size: 13px;
    color: #7f8c8d;
}

/* 关于我们区块 */
.anime-about-section-container {
    padding: 80px 0;
    background: #ffffff;
}

.anime-about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.anime-about-paragraph-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.anime-about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.anime-feature-item-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.anime-feature-item-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.anime-feature-icon-circle {
    font-size: 40px;
    margin-bottom: 10px;
}

.anime-feature-title-small {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.anime-feature-desc-text {
    font-size: 13px;
    color: #7f8c8d;
}

.anime-about-showcase-image {
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* 页脚 */
.anime-footer-section-bottom {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 50px 0 20px;
}

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

.anime-footer-heading-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.anime-footer-links-list {
    list-style: none;
}

.anime-footer-link-item {
    margin-bottom: 10px;
}

.anime-footer-anchor-link {
    color: #bdc3c7;
    transition: all 0.3s ease;
}

.anime-footer-anchor-link:hover {
    color: #ffffff;
    padding-left: 5px;
}

.anime-footer-description-text {
    color: #bdc3c7;
    margin-bottom: 15px;
    font-size: 14px;
}

.anime-social-icons-row {
    display: flex;
    gap: 15px;
}

.anime-social-icon-link {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ecf0f1;
    font-size: 14px;
    transition: all 0.3s ease;
}

.anime-social-icon-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.anime-copyright-text {
    font-size: 14px;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .anime-hero-content-wrapper {
        grid-template-columns: 1fr;
    }

    .anime-ranking-grid-layout {
        grid-template-columns: 1fr;
    }

    .anime-about-content-grid {
        grid-template-columns: 1fr;
    }

    .anime-about-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .anime-nav-list-horizontal {
        flex-direction: column;
        gap: 10px;
    }

    .anime-hero-title-large {
        font-size: 32px;
    }

    .anime-section-title-heading {
        font-size: 28px;
    }

    .anime-grid-layout-four {
        grid-template-columns: 1fr;
    }
}