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

body.txvlog-main-body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fef5e7 0%, #fff5f5 50%, #f0f8ff 100%);
    overflow-x: hidden;
}

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

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

/* 导航栏样式 */
.txvlog-header-nav {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa07a 50%, #ffb6c1 100%);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.txvlog-container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.txvlog-navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.txvlog-logo-wrapper a {
    text-decoration: none;
}

.txvlog-site-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.txvlog-site-title a {
    color: #fff;
}

.txvlog-menu-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.txvlog-menu-item {
    position: relative;
}

.txvlog-nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.txvlog-nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 首页轮播区样式 */
.txvlog-hero-banner {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.txvlog-banner-container {
    width: 100%;
    height: 100%;
}

.txvlog-slide-wrapper {
    width: 100%;
    height: 100%;
}

.txvlog-banner-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.txvlog-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.txvlog-banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
}

.txvlog-banner-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    animation: txvlog-fade-in 1s ease-in-out;
}

.txvlog-banner-desc {
    font-size: 24px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: txvlog-fade-in 1.5s ease-in-out;
}

@keyframes txvlog-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 内容容器样式 */
.txvlog-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 30px;
}

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

.txvlog-section-title {
    font-size: 42px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.txvlog-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b9d, #ffa07a);
    border-radius: 2px;
}

.txvlog-section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
}

/* 热门漫画区样式 */
.txvlog-popular-section {
    background: #fff;
}

.txvlog-manga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.txvlog-manga-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
    transition: all 0.4s ease;
    cursor: pointer;
}

.txvlog-manga-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.3);
}

.txvlog-card-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 380px;
}

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

.txvlog-manga-card:hover .txvlog-card-image {
    transform: scale(1.1);
}

.txvlog-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b9d, #ff8fab);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

.txvlog-card-content {
    padding: 25px;
}

.txvlog-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.txvlog-card-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.txvlog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.txvlog-meta-tag {
    background: linear-gradient(135deg, #ffe5ec, #ffd9e8);
    color: #ff6b9d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.txvlog-meta-views {
    color: #999;
    font-size: 14px;
    margin-left: auto;
}

/* 分类导航区样式 */
.txvlog-category-section {
    background: linear-gradient(135deg, #fff0f5 0%, #fffaf0 100%);
}

.txvlog-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.txvlog-category-item {
    background: #fff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.12);
    transition: all 0.4s ease;
    cursor: pointer;
}

.txvlog-category-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.25);
}

.txvlog-category-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffe5ec;
}

.txvlog-category-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.txvlog-category-count {
    font-size: 15px;
    color: #999;
}

/* 最新更新区样式 */
.txvlog-update-section {
    background: #fff;
}

.txvlog-update-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.txvlog-update-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #fff 0%, #fff5f8 100%);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.txvlog-update-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
}

.txvlog-update-thumb {
    width: 90px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txvlog-update-info {
    flex: 1;
}

.txvlog-update-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.txvlog-update-chapter {
    font-size: 14px;
    color: #ff6b9d;
    font-weight: 600;
    margin-bottom: 6px;
}

.txvlog-update-time {
    font-size: 13px;
    color: #999;
}

/* 排行榜区样式 */
.txvlog-ranking-section {
    background: linear-gradient(135deg, #fffaf0 0%, #f0f8ff 100%);
}

.txvlog-ranking-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.txvlog-rank-column {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
}

.txvlog-rank-header {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffe5ec;
}

.txvlog-rank-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.txvlog-rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #fff 0%, #fffaf8 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.txvlog-rank-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.2);
}

.txvlog-rank-number {
    font-size: 24px;
    font-weight: 900;
    color: #999;
    min-width: 40px;
    text-align: center;
}

.txvlog-rank-number.txvlog-rank-top {
    background: linear-gradient(135deg, #ff6b9d, #ffa07a);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.txvlog-rank-cover {
    width: 70px;
    height: 95px;
    border-radius: 10px;
    object-fit: cover;
    margin: 0 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.txvlog-rank-details {
    flex: 1;
}

.txvlog-rank-name {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

.txvlog-rank-score {
    font-size: 14px;
    color: #ff6b9d;
    font-weight: 600;
}

/* 社区区域样式 */
.txvlog-community-section {
    background: #fff;
}

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

.txvlog-community-card {
    background: linear-gradient(135deg, #fff5f8 0%, #fffaf5 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(255, 107, 157, 0.12);
    transition: all 0.4s ease;
    cursor: pointer;
}

.txvlog-community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.25);
    background: linear-gradient(135deg, #ffe5ec 0%, #fff0f5 100%);
}

.txvlog-community-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.txvlog-community-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.txvlog-community-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* 页脚样式 */
.txvlog-footer-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 60px 0 30px;
}

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

.txvlog-footer-column {
    padding: 0 15px;
}

.txvlog-footer-title {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b9d;
    margin-bottom: 15px;
}

.txvlog-footer-title a {
    color: #ff6b9d;
}

.txvlog-footer-text {
    font-size: 15px;
    line-height: 1.8;
    color: #bdc3c7;
}

.txvlog-footer-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffa07a;
}

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

.txvlog-footer-links li {
    margin-bottom: 12px;
}

.txvlog-footer-link {
    color: #bdc3c7;
    font-size: 15px;
    transition: all 0.3s ease;
}

.txvlog-footer-link:hover {
    color: #ff6b9d;
    padding-left: 8px;
}

.txvlog-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.txvlog-social-icon {
    background: rgba(255, 255, 255, 0.1);
    color: #ecf0f1;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.txvlog-social-icon:hover {
    background: #ff6b9d;
    transform: translateY(-3px);
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .txvlog-navigation-bar {
        flex-direction: column;
        gap: 20px;
    }

    .txvlog-menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .txvlog-banner-title {
        font-size: 36px;
    }

    .txvlog-banner-desc {
        font-size: 18px;
    }

    .txvlog-section-title {
        font-size: 32px;
    }

    .txvlog-manga-grid {
        grid-template-columns: 1fr;
    }

    .txvlog-ranking-wrapper {
        grid-template-columns: 1fr;
    }
}
