/* 糖心少女vlog免费 - 原创样式表 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b9d;
    --secondary-color: #ffa8c5;
    --accent-color: #ffdb3a;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.txsn-body-wrapper {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #fef5f8 0%, #fff9fb 100%);
    min-height: 100vh;
}

/* 头部样式 */
.txsn-header-main {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.txsn-logo-container {
    flex-shrink: 0;
}

.txsn-site-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.txsn-home-link,
.txsn-footer-home-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.txsn-home-link:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.txsn-menu-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.txsn-menu-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    display: block;
}

.txsn-menu-link:hover,
.txsn-menu-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 主体内容 */
.txsn-main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 英雄区域 */
.txsn-hero-banner {
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4ed 100%);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.txsn-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.txsn-hero-content {
    position: relative;
    z-index: 1;
}

.txsn-hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.txsn-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.txsn-hero-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin: 2rem auto;
    transition: var(--transition);
}

.txsn-hero-image:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.txsn-cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.txsn-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* 区块标题 */
.txsn-section-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.txsn-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 精选推荐 */
.txsn-featured-section {
    margin-bottom: 4rem;
}

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

.txsn-video-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

.txsn-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.txsn-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.txsn-video-card:hover .txsn-thumbnail {
    transform: scale(1.1);
}

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

.txsn-card-content {
    padding: 1.5rem;
}

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

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

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

/* 分类展示 */
.txsn-category-showcase {
    margin-bottom: 4rem;
}

.txsn-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.txsn-category-item {
    position: relative;
    height: 200px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

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

.txsn-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.txsn-category-item:hover .txsn-category-img {
    transform: scale(1.15);
}

.txsn-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem;
    color: white;
    transition: var(--transition);
}

.txsn-category-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.txsn-category-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 热门榜单 */
.txsn-trending-section {
    margin-bottom: 4rem;
}

.txsn-trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.txsn-trending-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.txsn-trending-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.txsn-rank-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

.txsn-trending-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 1.5rem;
}

.txsn-trending-info {
    flex: 1;
}

.txsn-trending-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.txsn-trending-stats {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 创作者展示 */
.txsn-creator-section {
    margin-bottom: 4rem;
}

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

.txsn-creator-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.txsn-creator-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.txsn-creator-card:hover .txsn-creator-avatar {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.txsn-creator-name {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.txsn-creator-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.txsn-creator-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.txsn-followers,
.txsn-videos {
    font-size: 0.85rem;
    color: var(--text-light);
}

.txsn-follow-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.txsn-follow-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* 最新更新 */
.txsn-latest-section {
    margin-bottom: 4rem;
}

.txsn-latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.txsn-latest-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.txsn-latest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.txsn-latest-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.txsn-latest-card:hover .txsn-latest-img {
    transform: scale(1.1);
}

.txsn-latest-content {
    padding: 1.5rem;
    position: relative;
}

.txsn-new-badge {
    position: absolute;
    top: -45px;
    right: 15px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.txsn-latest-time {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* 页脚 */
.txsn-footer-main {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.txsn-footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.txsn-footer-home-link {
    color: var(--secondary-color);
}

.txsn-footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.txsn-footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

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

.txsn-footer-links li {
    margin-bottom: 0.5rem;
}

.txsn-footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.txsn-footer-link:hover {
    color: white;
    padding-left: 5px;
}

.txsn-social-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.txsn-social-links {
    display: flex;
    gap: 1rem;
}

.txsn-social-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.txsn-social-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

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

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

    .txsn-menu-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

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

    .txsn-hero-subtitle {
        font-size: 1rem;
    }

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

    .txsn-video-grid,
    .txsn-category-grid,
    .txsn-creator-grid,
    .txsn-latest-grid {
        grid-template-columns: 1fr;
    }

    .txsn-trending-item {
        flex-direction: column;
        text-align: center;
    }

    .txsn-trending-thumb {
        margin: 1rem 0;
    }
}