/* 瑙嗛鍒楄〃椤垫牱寮� */
:root {
  --primary-color: #ff4d4f;
  --secondary-color: #52c41a;
  --danger-color: #ff4d4f;
  --text-color: #333;
  --text-light: #666;
  --text-muted: #999;
  --border-color: #eee;
  --bg-light: #f8f9fa;
  --bg-lighter: #fafafa;
  --box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  --box-shadow-hover: 0 5px 15px rgba(0,0,0,0.1);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}
.main-content{
    background: #fafafa;
    border-radius: 20px;
    
}
.main-content .container {
                max-width: 1200px;
                margin:0px auto !important;
                width: 100%;
        }
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
/* 椤甸潰瀹瑰櫒 */
.videos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 15px;
}
.widget {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    border-top: 3px solid var(--primary);
}
.widget-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
}
.widget-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}
.tag.hot {
    background-color: var(--primary-transparent);
    color: var(--primary);
}
.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--bg-light);
    border-radius: 50px;
    color: var(--text-medium);
    font-size: 13px;
    transition: var(--transition);
}
.section-title .layui-icon, .widget-title .layui-icon {
    margin-right: 8px;
    font-size: 16px;
    color: var(--primary);
}
.so_tags{display:none;}
/* 闈㈠寘灞戝鑸� */
.videos-breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  background: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 1200px;
  margin: 0 auto;
}

.videos-breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.videos-breadcrumb a:hover {
  color: var(--primary-color);
}

.videos-breadcrumb i {
  margin-right: 5px;
  font-size: 16px;
}

.videos-breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* 涓诲唴瀹瑰尯甯冨眬 */
.videos-content-layout {
  display: flex;

}

.videos-main-content {
  flex: 1;
  min-width: 0;
}

.videos-sidebar {
  width: 300px;
  flex-shrink: 0;
  float: left;
  margin-left: 10px;
}

/* 瑙嗛鍒楄〃 */
.videos-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.videos-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.videos-item-thumbnail {
  width: 100%;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.videos-item-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.videos-item:hover .videos-item-thumbnail img {
  transform: scale(1.05);
}

.videos-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  opacity: 0.8;
  transition: opacity 0.3s, transform 0.3s;
}

.videos-item:hover .videos-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.videos-item-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.videos-item-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-color);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 44px;
}

.videos-item-title:hover {
  color: var(--primary-color);
}

.videos-item-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

.videos-count {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 12px;
  background: rgba(24, 144, 255, 0.1);
  color: var(--primary-color);
  font-size: 12px;
}

.videos-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 绌虹姸鎬� */
.videos-empty-state {
  padding: 50px 20px;
  text-align: center;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  grid-column: 1 / -1;
}

.videos-empty-state i {
  font-size: 48px;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: block;
}

.videos-empty-state p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* 鍒嗛〉 */
.videos-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}

.videos-page-item {
  min-width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: var(--transition);
  padding: 0 10px;
}

.videos-page-item:hover:not(.active):not(.disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.videos-page-item.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.videos-page-item.disabled {
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* 渚ц竟鏍忔ā鍧� */
.videos-sidebar-module {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 20px;
}

.videos-module-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-lighter);
}

.videos-module-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.videos-module-title i {
  color: var(--primary-color);
  margin-right: 8px;
}

.videos-module-content {
  padding: 0;
}

/* 鏈€鏂拌棰戦」 */
.videos-latest-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  transition: var(--transition);
}

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

.videos-latest-item:hover {
  background: var(--bg-light);
}

.videos-latest-info {
  flex: 1;
  min-width: 0;
}

.videos-latest-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-color);
}

.videos-latest-title:hover {
  color: var(--primary-color);
}

.videos-latest-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* 鏍囩浜� */
.videos-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
}

.videos-tag-item {
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 15px;
  color: var(--text-light);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.videos-tag-item:hover {
  background: rgba(24, 144, 255, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.videos-tag-count {
  display: inline-block;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: 5px;
  border-radius: 10px;
  background: var(--primary-color);
  color: white;
  font-size: 11px;
  text-align: center;
  line-height: 20px;
}

/* 鐑棬璧涗簨 */
.videos-match-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.videos-match-league {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.videos-match-league img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.videos-match-league-name {
  font-size: 13px;
  color: var(--text-light);
}

.videos-match-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.videos-match-team {
  display: flex;
  align-items: center;
  width: 40%;
}

.videos-match-team.home {
  flex-direction: row;
}

.videos-match-team.away {
  flex-direction: row-reverse;
  text-align: right;
}

.videos-match-team-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 6px;
  object-fit: cover;
}

.videos-match-team-name {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.videos-match-vs {
  font-weight: bold;
  font-size: 12px;
}

.videos-match-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 10px 10px 0 10px;
}

.videos-match-time {
  color: var(--text-light);
}

.videos-match-status {
  padding: 1px 6px;
  border-radius: 10px;
  color: white;
  font-size: 11px;
}

.videos-match-status.live {
  background-color: var(--danger-color);
}

.videos-match-status.upcoming {
  background-color: var(--secondary-color);
  padding: 5px 10px;
}

.videos-match-status.finished {
  background-color: var(--text-muted);
}

/* 杩斿洖椤堕儴鎸夐挳 */
.videos-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 1000;
}

.videos-back-to-top:hover {
  background: #40a9ff;
  transform: translateY(-2px);
}

.videos-back-to-top.show {
  display: flex;
}

/* 鍝嶅簲寮忛€傞厤 */
@media (max-width: 992px) {
  .videos-content-layout {
    flex-direction: column;
  }
  
  .videos-sidebar {
    width: 100%;
    margin-left: 0;
  }
  
  .videos-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .videos-match-team-name {
    max-width: 60px;
  }
}

@media (max-width: 576px) {
  .videos-container {
    padding: 15px 10px;
  }
  
  .videos-breadcrumb {
    padding: 10px 15px;
  }
  
  .videos-list {
    grid-template-columns: 1fr;
  }
  
  .videos-item-thumbnail {
    height: 160px;
  }
}

/* H5鐜浼樺寲 */
.h5-environment .videos-container {
  padding: 10px;
}

.h5-environment .videos-list {
  gap: 15px;
}

.h5-environment .videos-item-info {
  padding: 12px;
}

.h5-environment .videos-item-title {
  font-size: 15px;
}

.h5-environment .videos-module-header {
  padding: 12px 15px;
}

.h5-environment .videos-sidebar-module {
  margin-bottom: 15px;
}

/* 鏆楅粦妯″紡鏀寔 */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f0f0f0;
    --text-light: #d0d0d0;
    --text-muted: #a0a0a0;
    --border-color: #333;
    --bg-light: #222;
    --bg-lighter: #282828;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  
  .videos-breadcrumb,
  .videos-item,
  .videos-empty-state,
  .videos-page-item,
  .videos-sidebar-module {
    background: #1f1f1f;
  }
  
  .videos-item-thumbnail {
    background-color: #2c2c2c;
  }
  
  .videos-latest-item:hover,
  .videos-match-item:hover {
    background: #282828;
  }
  
  .videos-tag-item {
    background: #282828;
  }
  
  .videos-tag-item:hover {
    background: rgba(24, 144, 255, 0.2);
  }
} 
