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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

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

.txlg-header-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.txlg-header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.txlg-logo-section h1 {
    font-size: 24px;
    font-weight: 700;
}

.txlg-logo-link {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.txlg-logo-link:hover {
    color: #4a90e2;
}

.txlg-nav-menu {
    display: flex;
    gap: 30px;
}

.txlg-nav-item {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.txlg-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.txlg-nav-item:hover::after,
.txlg-nav-item.active::after {
    width: 100%;
}

.txlg-nav-item:hover,
.txlg-nav-item.active {
    color: #4a90e2;
}

.txlg-search-box {
    display: flex;
    gap: 10px;
}

.txlg-search-input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 200px;
    font-size: 14px;
    outline: none;
}

.txlg-search-btn {
    padding: 8px 20px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.txlg-search-btn:hover {
    background: #357abd;
}

.txlg-hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.txlg-banner-slider {
    width: 100%;
    height: 100%;
}

.txlg-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.txlg-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.txlg-slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
}

.txlg-slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.txlg-slide-desc {
    font-size: 20px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.txlg-slide-btn {
    padding: 12px 35px;
    background: #4a90e2;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.txlg-slide-btn:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.txlg-content-section {
    padding: 60px 0;
}

.txlg-alt-bg {
    background-color: #fff;
}

.txlg-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.txlg-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.txlg-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    position: relative;
    padding-left: 15px;
}

.txlg-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: #4a90e2;
}

.txlg-more-link {
    color: #4a90e2;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: inline-block;
}

.txlg-more-link:hover {
    transform: translateX(5px);
}

.txlg-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.txlg-video-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.txlg-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.txlg-video-thumb {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}

.txlg-video-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.txlg-video-card:hover .txlg-video-thumb img {
    transform: scale(1.05);
}

.txlg-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.txlg-video-card:hover .txlg-play-overlay {
    opacity: 1;
}

.txlg-play-icon {
    font-size: 48px;
    color: #fff;
}

.txlg-quality-tag,
.txlg-episode-tag,
.txlg-new-tag,
.txlg-hot-tag {
    position: absolute;
    top: 10px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    color: #fff;
}

.txlg-quality-tag {
    right: 10px;
    background: rgba(74, 144, 226, 0.9);
}

.txlg-episode-tag {
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
}

.txlg-new-tag {
    right: 10px;
    background: rgba(255, 87, 51, 0.9);
}

.txlg-hot-tag {
    right: 10px;
    background: rgba(255, 69, 0, 0.9);
}

.txlg-video-info {
    padding: 15px;
}

.txlg-video-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.txlg-video-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.txlg-video-rating {
    font-size: 14px;
    color: #f39c12;
    font-weight: 500;
}

.txlg-features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.txlg-features-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 50px;
}

.txlg-features-title h1 {
    display: inline;
}

.txlg-features-title a {
    color: #fff;
}

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

.txlg-feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.txlg-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.txlg-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.txlg-feature-name {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.txlg-feature-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.txlg-footer-section {
    background: #1a1a2e;
    color: #fff;
    padding: 50px 0 20px;
}

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

.txlg-footer-col h4 {
    display: inline;
}

.txlg-footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.txlg-footer-title h1 {
    display: inline;
}

.txlg-footer-title a {
    color: #fff;
}

.txlg-footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.txlg-footer-links li {
    margin-bottom: 10px;
}

.txlg-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.txlg-footer-links a:hover {
    color: #4a90e2;
}

.txlg-footer-contact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

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

.txlg-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.txlg-page-banner {
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.txlg-page-banner::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 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat center bottom;
    background-size: cover;
    opacity: 0.1;
}

.txlg-banner-overlay {
    position: relative;
    z-index: 1;
    text-align: center;
}

.txlg-page-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.txlg-page-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.txlg-filter-section {
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.txlg-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.txlg-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.txlg-filter-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.txlg-filter-btn {
    padding: 6px 18px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.txlg-filter-btn:hover {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
}

.txlg-filter-btn.active {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
}

.txlg-about-content {
    padding: 60px 0;
}

.txlg-about-section {
    margin-bottom: 60px;
}

.txlg-about-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #4a90e2;
}

.txlg-about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.txlg-about-text p {
    margin-bottom: 15px;
}

.txlg-about-text h1 {
    display: inline;
}

.txlg-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.txlg-advantage-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.txlg-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.txlg-advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.txlg-advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.txlg-advantage-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.txlg-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.txlg-contact-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
}

.txlg-contact-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.txlg-contact-value {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
}

.txlg-help-content {
    margin-top: 30px;
}

.txlg-help-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.txlg-help-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.txlg-help-answer {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .txlg-header-wrapper {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .txlg-nav-menu {
        gap: 15px;
        margin: 15px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .txlg-search-box {
        width: 100%;
    }

    .txlg-search-input {
        flex: 1;
        width: auto;
    }

    .txlg-slide-title {
        font-size: 32px;
    }

    .txlg-slide-desc {
        font-size: 16px;
    }

    .txlg-section-title {
        font-size: 24px;
    }

    .txlg-video-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .txlg-page-title {
        font-size: 36px;
    }

    .txlg-filter-group {
        font-size: 13px;
    }
}