/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 动态渐变背景 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(-45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 背景渐变动画 */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 添加一些动态粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    z-index: -1;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff6b6b;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 32px;
    font-weight: bold;
    color: #ff6b6b;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    white-space: nowrap;
}

.logo:hover {
    color: #ff5252;
    transform: scale(1.05);
}

.logo img {
    height: 45px;
    vertical-align: middle;
    margin-right: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.logo img:hover {
    transform: rotate(10deg) scale(1.1);
}

.logo span {
    display: inline-block;
    vertical-align: middle;
    /* 移除脉冲动画，避免闪烁 */
}

/* 简化动画，只用于特定元素 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav ul li {
    margin-left: 0;
    position: relative;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

/* 语言切换器样式 */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

/* 搜索功能样式 */
.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 25px;
    border: 2px solid #4ecdc4;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-container:hover {
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    transform: translateY(-2px);
}

.search-input {
    border: none;
    outline: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(240, 249, 255, 0.8);
    color: #333;
    width: 120px;
    transition: all 0.3s ease;
}

.search-input:focus {
    width: 180px;
    background: rgba(240, 249, 255, 1);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
}

.search-type {
    border: none;
    outline: none;
    padding: 10px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(240, 249, 255, 0.8);
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-type:hover {
    background: rgba(240, 249, 255, 1);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
}

.search-btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.search-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

/* 响应式搜索 */
@media (max-width: 768px) {
    .search-container {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 180px;
    }
}

.language-switcher {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 25px;
    border: 2px solid #4ecdc4;
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.2);
}

.lang-btn {
    background-color: transparent;
    color: #333;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background-color: rgba(78, 205, 196, 0.2);
    color: #4ecdc4;
    transform: scale(1.05);
}

.lang-btn.active {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #fff;
    box-shadow: 0 3px 10px rgba(78, 205, 196, 0.4);
    transform: scale(1.1);
}

/* 主内容区域 */
.main {
    padding: 0;
}

/* 游戏列表 */
.game-list {
    text-align: center;
    margin-bottom: 0;
}

/* 广告容器 */
.ad-container {
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

/* 广告占位符 */
.ad-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.ad-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.ad-placeholder h3 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 10px;
}

.ad-placeholder p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

/* 游戏列表中的广告卡片 */
.ad-card {
    grid-column: span 1;
    margin: 0;
}

.ad-card .ad-placeholder {
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 顶部广告 */
.top-ad .ad-placeholder {
    min-height: 90px;
    max-width: 100%;
    margin: 0 auto;
}

/* 底部广告 */
.bottom-ad .ad-placeholder {
    min-height: 90px;
    max-width: 100%;
    margin: 0 auto;
}

/* 移除可能导致模糊的动画 */
@keyframes pulseWidth {
    0%, 100% {
        width: 150px;
    }
    50% {
        width: 200px;
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    justify-content: center;
    perspective: 1000px;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    transform-style: preserve-3d;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    z-index: -1;
    margin: -3px;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 15px 45px rgba(255, 107, 107, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card a {
    text-decoration: none;
    color: #333;
    display: block;
    height: 100%;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
    filter: brightness(0.9);
}

.game-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.game-card h3 {
    font-size: 22px;
    margin: 20px;
    color: #2c3e50;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 8px;
}

.game-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.game-card:hover h3 {
    color: #ff6b6b;
    transform: translateX(10px);
}

.game-card:hover h3::after {
    width: 80px;
}

.game-card p {
    margin: 0 20px 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.game-card:hover p {
    color: #333;
    transform: translateX(5px);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    margin: 0 20px 20px;
    gap: 8px;
}

.tag {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.tag:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.5);
    background: linear-gradient(135deg, #45b7d1, #4ecdc4);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 30px 0;
    margin-top: 20px;
    border-top: 3px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

/* 通用紧凑布局样式 */
/* 游戏列表页面 */
.games-header {
    margin-bottom: 20px !important;
}

.hot-games,
.all-games {
    margin-bottom: 20px !important;
}

.filter-section {
    margin-bottom: 15px !important;
}

/* 游戏资讯页面 */
.news-header {
    margin-bottom: 15px !important;
}

.search-section {
    margin-bottom: 15px !important;
}

/* 游戏页面广告位 */
.ad-container.top-ad,
.ad-container.mid-ad,
.ad-container.bottom-ad {
    margin: 0 auto;
}

/* 游戏页面控制区域 */
.game-controls,
.game-controls-bottom {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 游戏资讯轮播图 */
.news-carousel-section {
    margin-bottom: 5px !important;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 107, 107, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(78, 205, 196, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    background-position: 0 0, 25px 25px;
    z-index: 0;
}

.footer .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 游戏页面样式 */
.game-container {
    max-width: 1000px;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    z-index: -1;
    margin: -3px;
    border-radius: 16px;
}

.game-header {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-title {
    margin-bottom: 15px;
}

.game-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    /* 移除脉冲动画，避免闪烁 */
}

.game-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #4ecdc4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

#gameControls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.game-info {
    text-align: center;
    margin-bottom: 0;
}

.game-area {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: rgba(240, 249, 255, 0.5);
    overflow: hidden;
}

canvas {
    border: 3px solid #4ecdc4;
    border-radius: 12px;
    background-color: #87ceeb;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

canvas:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.game-controls {
    padding: 25px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    text-align: center;
}

.game-controls-bottom {
    padding: 15px 25px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    text-align: center;
    border-top: 2px solid #4ecdc4;
    border-bottom: 2px solid #4ecdc4;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 0;
}

#gameControls {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.controls-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.player-controls {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.player-controls:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    border-color: #4ecdc4;
}

.player-controls h4 {
    margin-bottom: 15px;
    color: #ff6b6b;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.player-controls p {
    margin: 8px 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.btn {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(78, 205, 196, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .nav ul li {
        margin-left: 0;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    
    .game-stats {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
}

/* 游戏资讯轮播图样式 */
.news-carousel-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #4ecdc4;
}

.section-header h2 {
    font-size: 28px;
    color: #2c3e50;
    margin: 0;
}

.view-more {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.view-more:hover {
    color: #ff6b6b;
    transform: translateX(5px);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 350px;
    background: rgba(255, 255, 255, 0.95);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.carousel-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    color: white;
}

.carousel-caption h3 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 14px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.carousel-btn:hover {
    background: #4ecdc4;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    transform: scale(1.2);
}

.dot:hover {
    background: #4ecdc4;
}

@media (max-width: 1024px) {
    .carousel-item {
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: calc(100% - 20px);
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-carousel-section {
        padding: 20px;
    }
}

/* 热点新闻区域样式 */
.hot-news-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hot-news-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.hot-news-main {
    flex: 3;
    min-width: 0;
}

.hot-news-sidebar {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.hot-news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hot-news-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hot-news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hot-news-item-thumb {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.hot-news-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-news-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hot-news-item-title {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-news-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
    font-size: 13px;
}

.hot-news-item-source {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hot-news-item-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 1024px) {
    .hot-news-layout {
        flex-direction: column;
    }

    .hot-news-main {
        width: 100%;
    }

    .hot-news-sidebar {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hot-news-item {
        flex-direction: column;
    }

    .hot-news-item-thumb {
        width: 100%;
        height: 200px;
    }
}

/* 首页热点新闻侧边栏样式 */
.sidebar-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #4ecdc4;
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-news-item:hover {
    background: rgba(78, 205, 196, 0.1);
}

.sidebar-news-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-news-content {
    flex: 1;
    min-width: 0;
}

.sidebar-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news-date {
    font-size: 12px;
    color: #999;
}