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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff5f5;
}

.baoliao-header {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-section h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
}

.baoliao-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.baoliao-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.baoliao-nav ul li a:hover,
.baoliao-nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
}

.hero-banner {
    background: linear-gradient(rgba(220, 38, 38, 0.8), rgba(248, 113, 113, 0.8)),
                url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=breaking%20news%20background%20red&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #dc2626;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

.hot-section h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.hot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
}

.hot-item.main {
    grid-row: span 2;
}

.hot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hot-item:hover {
    transform: translateY(-5px);
}

.hot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-item.main img {
    height: 350px;
}

.hot-item:not(.main) img {
    height: 168px;
}

.hot-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1.5rem;
    color: #fff;
}

.hot-badge {
    display: inline-block;
    background: #dc2626;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.hot-item:not(.main) h4 {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.quick-links {
    background: #fff;
}

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

.link-card {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
}

.link-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stats-area {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
    padding: 3rem 0;
}

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

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

.baoliao-footer {
    background: #333;
    padding: 3rem 0;
}

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

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section p {
    color: #999;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

@media (max-width: 900px) {
    .hot-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .hot-item.main {
        grid-row: span 1;
        grid-column: span 2;
    }
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    .baoliao-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hot-grid {
        grid-template-columns: 1fr;
    }
    .hot-item.main {
        grid-column: span 1;
    }
    .links-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}