@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

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

:root {
    --primary: #388e3c;
    --secondary: #aed581;
    --bg-light: #e8f5e9;
    --text-dark: #1b5e20;
    --white: #ffffff;
    --gray: #f5f5f5;
    --shadow: 0 4px 20px rgba(27, 94, 32, 0.12);
    --shadow-hover: 0 8px 30px rgba(27, 94, 32, 0.2);
}

body {
    font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'ZCOOL XiaoWei', 'Noto Sans SC', serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

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

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    font-family: 'ZCOOL XiaoWei', serif;
}

.logo-text span {
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--bg-light);
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(174, 213, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: white;
    font-size: 44px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--secondary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero-btn-outline {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid rgba(255,255,255,0.5);
    margin-left: 15px;
    transition: all 0.3s;
}

.hero-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

.tv-mockup {
    position: relative;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.tv-screen {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 12px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.tv-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-stand {
    width: 60%;
    height: 20px;
    background: #333;
    margin: 10px auto 0;
    border-radius: 0 0 8px 8px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-title p {
    font-size: 17px;
    color: #555;
}

/* Channel Cards */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.channel-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

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

.channel-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.channel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.channel-info {
    padding: 20px;
}

.channel-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.channel-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.channel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.channel-meta .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff5252;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Feature Cards */
.features-bg {
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--bg-light);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
    color: white;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
}

/* Program Cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.program-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #66bb6a, #aed581);
    position: relative;
}

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

.program-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.program-info {
    padding: 18px;
}

.program-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.program-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.program-time {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--secondary);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Schedule Table */
.schedule-wrap {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-tabs {
    display: flex;
    background: var(--bg-light);
    overflow-x: auto;
}

.schedule-tab {
    padding: 16px 24px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    font-size: 15px;
}

.schedule-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--white);
}

.schedule-body {
    padding: 20px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 16px;
    border-bottom: 1px solid #eee;
    align-items: center;
    transition: background 0.3s;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item:hover {
    background: var(--bg-light);
}

.schedule-time {
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.schedule-title h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.schedule-title p {
    color: #666;
    font-size: 13px;
}

.schedule-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-now {
    background: #ff5252;
    color: white;
}

.status-upcoming {
    background: var(--secondary);
    color: var(--text-dark);
}

.status-past {
    background: #e0e0e0;
    color: #999;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    color: #ccc;
}

.breadcrumb-current {
    color: #666;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1b5e20, #388e3c);
    color: white;
    padding: 60px 0 50px;
}

.page-hero h1 {
    color: white;
    font-size: 38px;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 17px;
    opacity: 0.95;
    max-width: 700px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 4/3;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.team-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.team-card .role {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.team-card p {
    color: #666;
    font-size: 13px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-info h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
    font-size: 14px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--text-dark));
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    color: white;
    font-size: 34px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 17px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    padding: 16px 50px;
    background: var(--secondary);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Footer */
.site-footer {
    background: #1b5e20;
    color: rgba(255,255,255,0.85);
    padding: 50px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-dark);
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 900;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .channel-grid,
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .steps {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
        display: none;
        padding: 20px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 5px;
    }

    .main-nav a {
        padding: 12px 16px;
    }

    .channel-grid,
    .program-grid,
    .feature-grid,
    .team-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .hero-btn,
    .hero-btn-outline {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .schedule-status {
        justify-self: start;
    }

    .page-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-inner {
        height: 60px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .section {
        padding: 40px 0;
    }

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

    .contact-info,
    .contact-form {
        padding: 25px;
    }
}