/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --white-color: #ffffff;
    --black-color: #000000;
    --gradient-primary: linear-gradient(135deg, #3498db, #2980b9);
    --gradient-secondary: linear-gradient(135deg, #2ecc71, #27ae60);
    --gradient-accent: linear-gradient(135deg, #e74c3c, #c0392b);
    --gradient-dark: linear-gradient(135deg, #2c3e50, #34495e);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

/* 头部导航 */
.header {
    background: var(--gradient-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

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

.search-box {
    position: relative;
    margin-right: 20px;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    width: 200px;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    width: 250px;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
    display: none;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--gradient-dark);
    z-index: 2000;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.close-menu-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 24px;
    cursor: pointer;
    margin-bottom: 20px;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 30px;
}

.mobile-nav-link {
    color: var(--white-color);
    text-decoration: none;
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-search-box {
    margin-top: auto;
}

.mobile-search-box input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
}

.mobile-search-btn {
    display: none;
}

/* 首页大图 */
.hero {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.hero-content {
    position: relative;
    height: 100%;
}

.hero-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white-color);
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white-color);
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* 比赛预告 */
.match-preview {
    padding: 60px 0;
    background: var(--white-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.preview-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-color);
}

.preview-slider::-webkit-scrollbar {
    height: 8px;
}

.preview-slider::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.preview-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.preview-item {
    flex: 0 0 300px;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--light-color);
}

.preview-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.preview-time {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.preview-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 10px;
}

.vs {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
}

.preview-league {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

/* 足球直播 */
.football-live {
    padding: 60px 0;
    background: var(--light-color);
}

.league-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: var(--white-color);
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* 开服表风格 */
.server-list-style {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.server-list-header {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr 1fr;
    gap: 10px;
    padding: 15px;
    background: var(--gradient-dark);
    color: var(--white-color);
    font-weight: 600;
}

.server-list-body {
    max-height: 600px;
    overflow-y: auto;
}

.server-item {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr 1fr;
    gap: 10px;
    padding: 15px;
    border-bottom: 1px solid var(--light-color);
    transition: var(--transition);
}

.server-item:hover {
    background: rgba(52, 152, 219, 0.05);
}

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

.server-time {
    font-weight: 600;
    color: var(--primary-color);
}

.league-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white-color);
}

.league-badge.la-liga {
    background: #00A14B;
}

.league-badge.serie-a {
    background: #0055A4;
}

.league-badge.premier-league {
    background: #D71920;
}

.league-badge.ligue-1 {
    background: #0055A4;
}

.league-badge.bundesliga {
    background: #E30613;
}

.league-badge.nba {
    background: #17408B;
}

.server-match {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-info .team-logo {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

.team-name {
    font-weight: 500;
}

.server-match .vs {
    font-size: 1rem;
    color: var(--gray-color);
}

.live-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gradient-accent);
    color: var(--white-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.live-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* NBA直播 */
.nba-live {
    padding: 60px 0;
    background: var(--white-color);
}

/* 直播回放 */
.live-replay {
    padding: 60px 0;
    background: var(--light-color);
}

.replay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.replay-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.replay-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.replay-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.replay-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.replay-item:hover .replay-thumbnail img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.8);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    background: rgba(52, 152, 219, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.replay-info {
    padding: 20px;
}

.replay-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.replay-info p {
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 体育资讯 */
.sports-news {
    padding: 60px 0;
    background: var(--white-color);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.news-tab-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.news-tab-btn.active {
    background: var(--gradient-secondary);
    color: var(--white-color);
}

.news-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-color);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-thumbnail {
    height: 200px;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.1);
}

.news-info {
    padding: 20px;
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-color);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.news-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.news-info p {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 精彩集锦 */
.highlights {
    padding: 60px 0;
    background: var(--light-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.highlight-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.highlight-item:hover .highlight-thumbnail img {
    transform: scale(1.1);
}

.highlight-info {
    padding: 20px;
    text-align: center;
}

.highlight-info h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 球队排名 */
.rankings {
    padding: 60px 0;
    background: var(--white-color);
}

.rankings-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.ranking-tab-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.ranking-tab-btn.active {
    background: var(--gradient-primary);
    color: var(--white-color);
}

.ranking-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.ranking-panel {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

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

.ranking-table {
    overflow-x: auto;
}

.ranking-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ranking-table th,
.ranking-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--light-color);
}

.ranking-table th {
    background: var(--gradient-dark);
    color: var(--white-color);
    font-weight: 600;
}

.ranking-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

/* 社区互动 */
.community {
    padding: 60px 0;
    background: var(--light-color);
}

.comments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.comment-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    gap: 15px;
}

.comment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

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

.comment-header h4 {
    color: var(--dark-color);
    font-weight: 600;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.comment-content p {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.comment-actions {
    display: flex;
    gap: 10px;
}

.like-btn {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.like-btn:hover {
    color: var(--accent-color);
}

.like-btn.liked {
    color: var(--accent-color);
}

.like-btn.liked i {
    font-weight: 900;
}

/* 页脚 */
.footer {
    background: var(--gradient-dark);
    color: var(--white-color);
    padding: 60px 0 30px;
}

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

.footer-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-info p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

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

.friend-links {
    margin-bottom: 20px;
}

.friend-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.friend-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.sitemap a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

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

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--gradient-secondary);
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .server-list-header,
    .server-item {
        grid-template-columns: 1fr 1fr 2fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .server-list-header,
    .server-item {
        grid-template-columns: 1fr 1fr 1.5fr 1fr;
        font-size: 0.9rem;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 500px;
    }
    
    .hero-text {
        padding: 30px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .server-list-header,
    .server-item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .server-match {
        justify-content: center;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .comments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 400px;
    }
    
    .hero-text {
        padding: 20px;
    }
    
    .hero-text h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .replay-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 隐藏元素 */
.hidden {
    display: none;
}

/* 显示元素 */
.show {
    display: block;
}

/* 天气预报模块 */
.weather-banner {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: fadeInUp 0.5s ease-in-out;
    margin-top: 80px;
}

.weather-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.weather-cities {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.weather-city {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    min-width: 180px;
}

.weather-city:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.weather-icon {
    font-size: 1.8rem;
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.update-time-small {
    font-size: 0.7rem;
    opacity: 0.9;
}

.city-name {
    font-weight: bold;
    font-size: 1rem;
}

.city-temp {
    font-size: 1.2rem;
    font-weight: bold;
}

.city-condition {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* 热搜模块 */
.hot-search-section {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hot-search-content {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.hot-search-box {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hot-search-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    border-bottom: 2px solid #4facfe;
    padding-bottom: 8px;
}

.hot-search-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hot-search-list li {
    transition: transform 0.2s ease;
}

.hot-search-list li:hover {
    transform: translateX(5px);
}

.hot-search-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.hot-search-list a:hover {
    color: #4facfe;
}

/* 标签模块 */
.tags-section {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 18px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tag-item:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(79, 172, 254, 0.3);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}