* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    background-color: #f5f5f5;
    padding: 0;
    margin: 0;
}

.page-container {
    width: 1280px;  
    margin: 0 auto;
    min-height: 100vh;     
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
}

    /* 下拉菜单容器 */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 下拉菜单内容 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    display: none;
    z-index: 9999;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 下拉菜单项 */
.dropdown-item {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ff6700;
}

/* HOT标签样式 */
.dropdownhot-tag {
    display: inline-block;
    background-color: #f00;
    color: #fff;
    font-size: 8px;
    padding: 1px 5px;
    border-radius: 2px;
    margin-right: 8px;
    font-weight: normal;
}
/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0 20px;
    margin-bottom: 20px;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    width: 1280px;
    margin: 0 auto;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 12px;
}
.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}
.logo-text span {
    color: #e74c3c;
}
.nav {
    display: flex;
    gap: 30px;
}
.nav-item {
    font-size: 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}
.nav-item:hover {
    color: #e74c3c;
}
.nav-item.active {
    color: #e74c3c;
    font-weight: 600;
}
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e74c3c;
    border-radius: 1px;
}
.search-box {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 6px 15px;
    width: 280px;
}
.search-icon {
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}
.search-input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
    color: #333;
}
.search-input::placeholder {
    color: #999;
}

/* 赛事滚动容器 */
.match-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}
/* 滚动按钮 */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 40px;
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #666;
    z-index: 10;
    transition: all 0.2s;
}
.scroll-btn:hover {
    background-color: #fff;
    color: #e74c3c;
    border-color: #e74c3c;
}
.left-btn {
    left: 5px;
}
.right-btn {
    right: 5px;
}
/* 赛事列表滚动区 */
.match-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 5px 0;
    scrollbar-width: none;
}
.match-scroll::-webkit-scrollbar {
    display: none;
}
/* 单个赛事卡片 */
.match-card {
    min-width: 190px;
    padding: 0 10px;
    border-right: 1px solid #eee;
    margin: 5px 0;
}
.match-card:last-child {
    border-right: none;
}
/* 赛事类型+状态（调整为左右分布） */
.match-type {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 赛事状态 */
.match-status {
    font-size: 12px;
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-block;
}
.status-ended {
    background-color: #999;
}
.status-not-start {
    background-color: #e74c3c;
}
/* 对战信息 */
.match-team {
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 13px;
}
.team-logo {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    border-radius: 50%;
}
.team-name {
    flex: 1;
    color: #666;
}
.team-score {
      text-align: right;
    font-size: 13px;
    color: rgb(123, 126, 134);
}
/* 时间/日期 */
.match-time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

/* 新增：热门资讯模块 */
.news-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.news-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
}
.news-title span {
    color: #e74c3c;
    margin-right: 8px;
}
.news-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.news-tab {
    padding: 6px 16px;
    background-color: #f8f8f8;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.news-tab.active {
    background-color: #e74c3c;
    color: #fff;
}
.news-tab:hover {
    background-color: #f0f0f0;
}
.news-tab.more {
    display: flex;
    align-items: center;
    gap: 5px;
}
.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}
.refresh-btn:hover {
    color: #e74c3c;
}
.news-content {
    display: flex;
    gap: 20px;
}
.news-banner {
    width: 40%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.news-banner-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}
.news-banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}
.news-banner-meta {
    position: absolute;
    bottom: 45px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hot-tag {
    background-color: #e74c3c;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
}
.news-banner-time {
    color: #fff;
    font-size: 12px;
}
.news-banner-view {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-list {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item-title {
    font-size: 14px;
    color: #333;
    transition: color 0.2s;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item-title a {
    color: #333; /* 标题颜色 */
    text-decoration: none; /* 去掉下划线 */
}
.news-item-title:hover {
    color: #e74c3c;
}
.news-item-time {
    font-size: 12px;
    color: #999;
}


.news-item-title a:hover {
    color: #f60; /* 悬浮时颜色 */
    text-decoration: underline; /* 悬浮时显示下划线 */
}



/* 广告横幅 */
.ad-banner {
    width: 100%;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}
.ad-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.ad-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 0 8px 0 8px;
}

/* 优化后的尾部样式 */
/* 底部容器样式 */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    padding: 40px 0 20px;
    color: #666666;
    font-size: 14px;
}

/* 底部内容区域 */
.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .footer-content {
grid-template-columns: 1fr;
gap: 30px;
    }
}

/* 底部栏目标题 */
.footer-column-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

/* 标题下划线 */
.footer-column-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #ff6700;
}

/* 链接列表样式 */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
}

/* 单个链接样式 */
.footer-link {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ff6700;
}

/* 版权信息区域 */
.footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    color: #999999;
    font-size: 13px;
    line-height: 1.8;
}

/* 备案信息样式 */
.footer-icp {
    margin-top: 8px;
}

/* 备案图标样式 */
.icp-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

/* 新闻内容切换相关样式 */
.news-content-wrap {
    position: relative;
    min-height: 220px;
}
.news-content-panel {
    display: none;
}
.news-content-panel.active {
    display: flex;
}

/* 补充必要的样式 */
.video-content-panel {
    display: none;
}
.video-content-panel.active {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.video-card {
    width: calc(25% - 15px);
    box-sizing: border-box;
}


/* 热门网站板块容器 */
.hot-sites-section {
    max-width: 1280px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 标题栏样式 */
.section-title {
    height: 60px;
    line-height: 60px;
    padding: 0 30px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}



/* 网站列表容器 */
.sites-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* 6列布局 */
    gap: 0;
    padding: 20px;
}

/* 响应式适配 - 平板端 */
@media (max-width: 992px) {
    .sites-grid {
grid-template-columns: repeat(4, 1fr);
    }
}

/* 响应式适配 - 手机端 */
@media (max-width: 768px) {
    .sites-grid {
grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .sites-grid {
grid-template-columns: repeat(2, 1fr);
    }
}

/* 单个网站项样式 */
.site-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 5px;
}

.site-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* 网站图标样式 */
.site-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 4px;
    object-fit: contain;
}

/* 网站名称样式 */
.site-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

