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

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ffa8c5;
    --accent-color: #ff8fab;
    --dark-color: #2d3436;
    --light-color: #ffffff;
    --gray-color: #636e72;
    --bg-color: #fafafa;
    --border-color: #e8e8e8;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
}

body.txvlog-main-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--bg-color);
}

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

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

/* 头部样式 */
.txvlog-header-section {
    background: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.txvlog-navigation-bar {
    padding: 1rem 0;
}

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

.txvlog-logo-area {
    flex-shrink: 0;
}

.txvlog-site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
}

.txvlog-site-title:hover {
    color: var(--accent-color);
}

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

.txvlog-nav-link {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.txvlog-nav-link:hover {
    color: var(--primary-color);
}

/* 主横幅 */
.txvlog-hero-banner {
    background: linear-gradient(135deg, #fff5f7 0%, #fff 100%);
    padding: 4rem 0;
}

.txvlog-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.txvlog-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.txvlog-hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
}

.txvlog-hero-image-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.txvlog-hero-img {
    width: 100%;
    height: auto;
}

/* 区块容器 */
.txvlog-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.txvlog-section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* 精选视频区 */
.txvlog-featured-section {
    padding: 5rem 0;
    background: var(--light-color);
}

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

.txvlog-video-card {
    background: var(--light-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txvlog-video-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.txvlog-video-thumbnail {
    position: relative;
    overflow: hidden;
    background: var(--border-color);
    aspect-ratio: 16/9;
}

.txvlog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txvlog-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.txvlog-video-info {
    padding: 1.3rem;
}

.txvlog-video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.txvlog-video-desc {
    font-size: 0.9rem;
    color: var(--gray-color);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.txvlog-video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* 分类区 */
.txvlog-categories-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

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

.txvlog-category-item {
    background: var(--light-color);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.txvlog-category-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.txvlog-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.txvlog-cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txvlog-category-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.txvlog-category-count {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* 创作者区 */
.txvlog-creators-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.txvlog-creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.txvlog-creator-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.txvlog-creator-card:hover {
    transform: translateY(-6px);
    border-color: var(--secondary-color);
}

.txvlog-creator-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
}

.txvlog-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txvlog-creator-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
}

.txvlog-creator-bio {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 1.2rem;
}

.txvlog-creator-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.txvlog-stat-item {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* 最新更新区 */
.txvlog-latest-section {
    padding: 5rem 0;
    background: var(--bg-color);
}

.txvlog-latest-grid {
    display: grid;
    gap: 1.5rem;
}

.txvlog-latest-item {
    display: flex;
    gap: 1.2rem;
    background: var(--light-color);
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.txvlog-latest-item:hover {
    transform: translateX(8px);
}

.txvlog-latest-thumb {
    width: 140px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.txvlog-latest-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txvlog-latest-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.txvlog-latest-time {
    font-size: 0.85rem;
    color: var(--gray-color);
}

/* 关于我们区 */
.txvlog-about-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.txvlog-about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.txvlog-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.txvlog-about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.txvlog-about-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 1.2rem;
}

.txvlog-inline-brand {
    display: inline;
    font-size: inherit;
    font-weight: 600;
    color: var(--primary-color);
}

.txvlog-inline-brand:hover {
    color: var(--accent-color);
}

.txvlog-about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.txvlog-about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.txvlog-feature-item {
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.txvlog-feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.8rem;
}

.txvlog-feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-color);
}

/* 页脚 */
.txvlog-footer-section {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0 1.5rem;
}

.txvlog-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.txvlog-footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.txvlog-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.txvlog-footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.txvlog-footer-slogan {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.txvlog-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.txvlog-footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.txvlog-footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.txvlog-footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.txvlog-footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.txvlog-footer-link:hover {
    color: var(--secondary-color);
}

.txvlog-footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.txvlog-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .txvlog-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .txvlog-menu-list {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

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

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

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

    .txvlog-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

    .txvlog-latest-item {
        flex-direction: column;
    }

    .txvlog-latest-thumb {
        width: 100%;
        height: 180px;
    }
}

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

    .txvlog-nav-container {
        padding: 0 1rem;
    }

    .txvlog-hero-content {
        padding: 0 1rem;
    }

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

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