* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
  --primary: #0a4a7a;
  --secondary: #1a6db3;
  --accent: #ff6b00;
  --accent-hover: #e55c00;
  --light: #ffffff;
  --dark: #333333;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --card-bg: rgba(255, 255, 255, 0.95);
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

body {
  background: linear-gradient(135deg, #0a4a7a 0%, #1a6db3 50%, #4a9be8 100%);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
  background-attachment: fixed;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

/* 导航菜单样式 */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-link i {
    font-size: 14px;
    transition: var(--transition);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* 下拉菜单样式 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(10, 74, 122, 0.1);
    color: var(--primary);
    border-left-color: var(--accent);
}

.dropdown-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

/* 二级下拉菜单 */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
}

.dropdown-submenu:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-actions {
    display: flex;
    align-items: center;
}

.search-box {
  position: relative;
  margin-right: 20px;
}

.search-box input {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 10px 15px 10px 40px;
  border-radius: 20px;
  color: white;
  width: 200px;
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.3);
  width: 250px;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

.auth-buttons a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  padding: 8px 20px;
  border-radius: 20px;
  transition: var(--transition);
}

.login-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.register-btn {
  background: var(--accent);
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.register-btn:hover {
  background: var(--accent-hover);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

/* 头部区域 */
.header {
  background: linear-gradient(135deg, rgba(10, 74, 122, 0.9) 0%, rgba(26, 109, 179, 0.9) 100%);
  color: white;
  padding: 30px;
  border-radius: 16px;
  margin: 30px 0;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  width: 100%;
}

.header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(30deg);
}

.header-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header-text h1 {
  font-size: 32px;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-text h2 {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 20px;
  opacity: 0.9;
}

.header-stats {
  display: flex;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.8;
}

.btn-enter {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.btn-enter:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.btn-enter i {
  margin-left: 8px;
}

/* 主要内容区域 */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 30px;
  width: 100%;
}

/* 赛事表格和实时比分并排布局 */
.matches-live-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 25px;
  width: 100%;
}

.matches-section, .live-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 100%;
}

.matches-section:hover, .live-section:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.section-title {
  font-size: 22px;
  color: var(--primary);
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 2px solid rgba(10, 74, 122, 0.1);
  display: flex;
  align-items: center;
}

.section-title i {
  margin-right: 10px;
  color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: linear-gradient(135deg, rgba(10, 74, 122, 0.1) 0%, rgba(26, 109, 179, 0.1) 100%);
  color: var(--primary);
  padding: 15px 10px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid rgba(10, 74, 122, 0.2);
}

tr a {
  color: var(--primary);
  text-decoration: none;
}

td {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

tr:hover td {
  background-color: rgba(10, 74, 122, 0.05);
}

.match-league {
  color: var(--primary);
  font-weight: bold;
  display: flex;
  align-items: center;
}

.match-league::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-right: 8px;
}

.match-time {
  color: var(--gray);
}

.match-score {
  font-weight: bold;
  color: var(--accent);
  font-size: 18px;
}

.btn-analysis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
  box-shadow: 0 3px 10px rgba(10, 74, 122, 0.3);
}

.btn-analysis:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 74, 122, 0.4);
}

.btn-analysis i {
  margin-left: 5px;
  font-size: 12px;
}

/* 实时比分样式 */
.live-list {
  list-style-type: none;
  width: 100%;
}

.live-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  width: 100%;
}

.live-item:hover {
  background-color: rgba(10, 74, 122, 0.03);
  padding-left: 10px;
  border-radius: 8px;
}

.live-item:last-child {
  border-bottom: none;
}

.live-item a {
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
  display: block;
}

.live-item a:hover {
  color: var(--primary);
}

.live-time {
  color: var(--primary);
  font-size: 13px;
  margin-right: 10px;
  font-weight: bold;
}

.live-score {
  font-weight: bold;
  color: var(--accent);
  margin-left: 10px;
}

/* 全宽度内容区域 */
.full-width-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

/* 专家头像横排布局 */
.experts-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 100%;
}

.experts-section:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.experts-list {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
}

.expert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  width: 100%;
}

.expert-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  border: 3px solid transparent;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-card:hover .expert-avatar {
  border-color: var(--accent);
  transform: scale(1.05);
}

.expert-name {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.expert-name a {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
  text-decoration: none;
}

.expert-specialty {
  font-size: 12px;
  color: var(--gray);
}

/* 横排布局的赛事分析和资讯 */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  width: 100%;
}

.analysis-section, .news-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  width: 100%;
}

.analysis-section:hover, .news-section:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.analysis-grid, .news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.analysis-card, .news-card {
  background: rgba(10, 74, 122, 0.05);
  border-radius: 12px;
  padding: 15px;
  transition: var(--transition);
  border: 1px solid rgba(10, 74, 122, 0.1);
  width: 100%;
}

.analysis-card:hover, .news-card:hover {
  background: rgba(10, 74, 122, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.analysis-title, .news-title {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--dark);
}

.analysis-title a, .news-title a {
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--dark);
  text-decoration: none;
}

.analysis-author, .news-date {
  font-size: 12px;
  color: var(--gray);
}

.more-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 20px;
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
  width: 100%;
}

.more-link:hover {
  color: var(--accent);
}

.more-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.more-link:hover i {
  transform: translateX(3px);
}

/* 页面内容样式 */
.page-content {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  width: 100%;
  margin-bottom: 25px;
}

.page-title {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(10, 74, 122, 0.1);
  display: flex;
  align-items: center;
}

.page-title i {
  margin-right: 10px;
  color: var(--accent);
}

/* 子页面内容区域 */
.subpage-section {
  margin-bottom: 30px;
}

.subpage-section h3 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10, 74, 122, 0.1);
}

/* 赛事中心样式 */
.league-filter {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(10, 74, 122, 0.1);
  border: 1px solid rgba(10, 74, 122, 0.2);
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
}

/* 数据分析样式 */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.data-card {
  background: rgba(10, 74, 122, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition);
  border: 1px solid rgba(10, 74, 122, 0.1);
}

.data-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.data-card h4 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* 专家推荐样式 */
.expert-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(10, 74, 122, 0.05);
  border-radius: 12px;
}

.expert-info {
  flex: 1;
}

.expert-stats {
  display: flex;
  gap: 20px;
  margin: 15px 0;
}

.stat-box {
  text-align: center;
  padding: 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.stat-box .value {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary);
}

.stat-box .label {
  font-size: 12px;
  color: var(--gray);
}

/* 体育资讯样式 */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.article-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: rgba(10, 74, 122, 0.05);
  border-radius: 12px;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateX(5px);
  background: rgba(10, 74, 122, 0.1);
}

.article-image {
  width: 150px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  flex: 1;
}

.article-meta {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--gray);
}

/* 关于我们样式 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.team-member {
  text-align: center;
  padding: 20px;
  background: rgba(10, 74, 122, 0.05);
  border-radius: 12px;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid var(--primary);
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
}

.member-role {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 10px;
}

/* 底部声明 */
.footer {
  margin-top: 40px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
  width: 100%;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .matches-live-row {
    grid-template-columns: 1fr;
  }

  .content-row {
    grid-template-columns: 1fr;
  }

  .analysis-grid, .news-grid {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .nav-container {
    flex-direction: column;
    padding: 10px;
  }

  .nav-links {
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin: 5px;
  }

  .search-box {
    margin: 10px 0;
  }

  .search-box input {
    width: 150px;
  }

  .header {
    padding: 20px;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header-stats {
    margin: 20px 0;
  }

  .header h1 {
    font-size: 26px;
  }

  .page-content {
    padding: 20px;
  }

  .experts-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .expert-detail {
    flex-direction: column;
  }

  .article-card {
    flex-direction: column;
  }

  .article-image {
    width: 100%;
    height: 200px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* 动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.navbar, .header, .matches-section, .live-section, .experts-section, .analysis-section, .news-section, .page-content, .footer {
  animation: fadeIn 0.6s ease forwards;
}

.header { animation-delay: 0.1s; }
.matches-section { animation-delay: 0.2s; }
.live-section { animation-delay: 0.3s; }
.experts-section { animation-delay: 0.4s; }
.analysis-section { animation-delay: 0.5s; }
.news-section { animation-delay: 0.6s; }
.footer { animation-delay: 0.7s; }

/* 页面切换效果 */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* 分页 */
.pagination {

    margin: 0 auto;

    text-align: center;

    margin-top: 1rem;

    margin-bottom: 1rem;

}

.pagination li{border:1px solid #e6e6e6;padding: 7px 13px;display: inline-block;margin: 3px;}

.pagination a{text-decoration: none}

.pagination .active{background-color: #0063d1;color: #fff;}

.pagination .disabled{color: #aaa;}
