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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

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

/* 头部导航样式 */
.txvlog-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.txvlog-header-scrolled {
    padding: 0.5rem 2rem;
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
}

.txvlog-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txvlog-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.txvlog-nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.txvlog-nav-link {
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.txvlog-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.txvlog-nav-link:hover::after {
    width: 100%;
}

.txvlog-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.txvlog-menu-bar {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* 主内容区域 */
.txvlog-hero-section {
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.txvlog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.3;
}

.txvlog-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.txvlog-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: txvlog-fadeInUp 1s ease;
}

.txvlog-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: txvlog-fadeInUp 1s ease 0.2s both;
}

.txvlog-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: txvlog-fadeInUp 1s ease 0.4s both;
}

.txvlog-btn-primary,
.txvlog-btn-secondary {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.txvlog-btn-primary {
    background: white;
    color: #667eea;
}

.txvlog-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.txvlog-btn-secondary {
    background: transparent;
    color: white;
}

.txvlog-btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* 特色功能区 */
.txvlog-features-section {
    padding: 80px 2rem;
    background: #f8f9fa;
}

.txvlog-section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2d3748;
    position: relative;
}

.txvlog-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 1rem auto;
    border-radius: 2px;
}

.txvlog-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.txvlog-feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.txvlog-feature-card:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.txvlog-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

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

.txvlog-feature-desc {
    color: #718096;
    line-height: 1.8;
}

/* 动漫展示区 */
.txvlog-anime-section {
    padding: 80px 2rem;
    background: white;
}

.txvlog-anime-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

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

.txvlog-anime-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.txvlog-anime-info {
    padding: 1.5rem;
}

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

.txvlog-anime-desc {
    color: #718096;
    font-size: 0.95rem;
    line-height: 1.6;
}

.txvlog-anime-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.txvlog-tag {
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* 内容栏目区 */
.txvlog-content-section {
    padding: 80px 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.txvlog-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.txvlog-content-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.txvlog-content-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.txvlog-content-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.txvlog-content-text {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.txvlog-read-more {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.txvlog-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* 社区互动区 */
.txvlog-community-section {
    padding: 80px 2rem;
    background: white;
}

.txvlog-community-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.txvlog-community-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.txvlog-community-item:hover {
    transform: translateY(-5px);
}

.txvlog-community-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.txvlog-community-label {
    font-size: 1.2rem;
    color: #4a5568;
}

/* 底部样式 */
.txvlog-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 60px 2rem 30px;
}

.txvlog-footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.txvlog-footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

.txvlog-footer-links li {
    margin-bottom: 0.8rem;
}

.txvlog-footer-links a {
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.txvlog-footer-links a:hover {
    color: white;
}

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

/* 返回顶部按钮 */
.txvlog-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.txvlog-back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* 动画效果 */
@keyframes txvlog-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .txvlog-menu-toggle {
        display: flex;
    }

    .txvlog-nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(102, 126, 234, 0.98);
        flex-direction: column;
        padding: 2rem;
        display: none;
    }

    .txvlog-nav-menu.txvlog-active {
        display: flex;
    }

    .txvlog-hero-title {
        font-size: 2rem;
    }

    .txvlog-hero-subtitle {
        font-size: 1.1rem;
    }

    .txvlog-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .txvlog-section-title {
        font-size: 1.8rem;
    }

    .txvlog-features-grid,
    .txvlog-anime-grid,
    .txvlog-content-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .txvlog-header {
        padding: 1rem;
    }

    .txvlog-hero-section {
        padding: 100px 1rem 60px;
    }

    .txvlog-features-section,
    .txvlog-anime-section,
    .txvlog-content-section,
    .txvlog-community-section {
        padding: 60px 1rem;
    }
}
