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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #ff6b35 50%, #ff8c42 75%, #ff6b35 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.page-wrapper {
    background: rgba(255, 255, 255, 0.95);
    min-height: 100vh;
}

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

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(255, 107, 53, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-toggle {
    font-size: 24px;
    cursor: pointer;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

.search-toggle:hover {
    transform: scale(1.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ff6b35;
    transition: 0.3s;
}

.main-nav {
    border-top: 1px solid #f0f0f0;
    padding: 15px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    justify-content: center;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    transform: translateY(-2px);
}

.search-panel {
    background: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    display: none;
}

.search-panel.active {
    display: block;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-container input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-container button {
    padding: 15px 30px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-container button:hover {
    background: linear-gradient(45deg, #f7931e, #ff6b35);
}

.hero-banner {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(247, 147, 30, 0.9)), url('/images/1.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.featured-content, .categories-section, .latest-updates {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 32px;
    color: #333;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.section-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 8px 20px;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn.active, .nav-btn:hover {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    align-items: start;
}

.grid-item:nth-child(3n+1) {
    grid-row-end: span 2;
}

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

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

.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.play-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.video-info {
    padding: 20px;
}

.video-info h3 a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.video-info h3 a:hover {
    color: #ff6b35;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.views {
    color: #666;
}

.rating {
    color: #ffc107;
}

.categories-section h2, .latest-updates h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.categories-section h2::after, .latest-updates h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

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

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

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.category-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-content {
    padding: 25px;
}

.category-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s ease;
}

.category-content h3 a:hover {
    color: #ff6b35;
}

.category-content p {
    color: #666;
    margin-bottom: 15px;
}

.category-tags {
    display: flex;
    gap: 10px;
}

.category-tags span {
    padding: 4px 12px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.update-item {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.update-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.update-thumb img {
    width: 120px;
    height: 90px;
    object-fit: cover;
}

.update-content {
    padding: 20px;
    flex: 1;
}

.update-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
    transition: color 0.3s ease;
}

.update-content h3 a:hover {
    color: #ff6b35;
}

.update-content p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.update-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.update-time {
    color: #ff6b35;
    font-weight: bold;
}

.update-views {
    color: #666;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    color: #ff6b35;
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.6;
    opacity: 0.8;
}

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

.link-group h4 {
    color: #ff6b35;
    margin-bottom: 15px;
    font-size: 18px;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 8px;
}

.link-group ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: #ff6b35;
}

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

.footer-bottom a {
    color: #ff6b35;
    text-decoration: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-item:nth-child(3n+1) {
        grid-row-end: span 1;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .update-item {
        flex-direction: column;
    }
    
    .update-thumb img {
        width: 100%;
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-banner {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}
