/* 模板13样式文件 - 英超直播风格 */

/* 全局样式 */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --orange: #f97316;
    --red: #ef4444;
    --green: #10b981;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --gray: #6b7280;
    --light-gray: #f3f4f6;
    --dark-gray: #374151;
    --white: #ffffff;
    --black: #111827;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

/* 顶部URL栏 - 已移除 */

/* 主导航栏 */
.main-navbar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 15px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .main-navbar {
        padding: 10px 0;
    }
    
    .main-navbar .navbar-nav .nav-link {
        padding: 6px 12px;
        margin: 2px;
        font-size: 14px;
    }
    
    .brand-logo {
        font-size: 20px;
    }
    
    .logo-shield {
        width: 40px;
        height: 40px;
    }
}

.brand-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-shield {
    position: relative;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--orange) 0%, #ea580c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.logo-stars {
    position: absolute;
    top: -8px;
    right: -8px;
    display: flex;
    gap: 2px;
}

.logo-stars i {
    font-size: 12px;
    color: var(--white);
}

.logo-text {
    color: var(--white);
    font-weight: bold;
}

.main-navbar .navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 8px 16px;
    margin: 0 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
}

.main-navbar .navbar-nav .nav-link.active {
    border-bottom: 3px solid var(--orange);
}

/* 次级导航栏 */
.sub-navbar {
    background-color: var(--light-gray);
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sub-navbar .navbar-nav {
    flex-direction: row;
    gap: 20px;
}

@media (max-width: 768px) {
    .sub-navbar {
        padding: 8px 0;
        overflow-x: auto;
    }
    
    .sub-navbar .navbar-nav {
        gap: 15px;
        flex-wrap: nowrap;
        min-width: max-content;
    }
    
    .sub-navbar .nav-link {
        padding: 4px 8px;
        font-size: 13px;
        white-space: nowrap;
    }
}

.sub-navbar .nav-link {
    color: var(--gray) !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sub-navbar .nav-link:hover,
.sub-navbar .nav-link.active {
    background-color: var(--secondary-blue);
    color: var(--white) !important;
}

/* 面包屑导航 */
.breadcrumb-container {
    background-color: var(--light-gray);
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: none;
}

.breadcrumb-item a {
    color: var(--secondary-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--gray);
}

/* 主要内容区域 */
.main-content {
    padding: 30px 0;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 比赛筛选标签 */
.match-filters {
    background-color: var(--light-gray);
    padding: 20px 0;
    border-radius: 8px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.filter-tab {
    background: none;
    border: 2px solid var(--secondary-blue);
    color: var(--secondary-blue);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.filter-tab i {
    margin-right: 8px;
}

/* 比赛时间表 */
.schedule-table-container {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
}

.schedule-table {
    margin: 0;
    width: 100%;
}

@media (max-width: 768px) {
    .schedule-table-container {
        overflow-x: auto;
        border-radius: 8px;
    }
    
    .schedule-table {
        min-width: 600px;
    }
}

.schedule-table thead th {
    background-color: var(--light-gray);
    border: none;
    padding: 16px 20px;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    white-space: nowrap;
}

.schedule-table tbody td {
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.schedule-table tbody tr:hover {
    background-color: var(--light-gray);
}

.match-time {
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
}

.match-type {
    text-align: center;
}

.competition-name {
    font-weight: 500;
    color: var(--dark-gray);
}

.team-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-logo {
    border-radius: 50%;
    object-fit: cover;
}

.team-logo-placeholder {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--light-gray);
    border: 2px solid #e5e7eb;
}

.team-name {
    font-weight: 500;
    color: var(--dark-gray);
}

.score {
    text-align: center;
}

.vs-text {
    color: var(--red);
    font-weight: bold;
    font-size: 18px;
}

.match-status {
    text-align: center;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
}

.status-not-started {
    background-color: var(--gray);
}

.status-starting-soon {
    background-color: var(--orange);
}

.status-live {
    background-color: var(--red);
}

/* 体育项目类型标识 */
.sport-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    color: white;
    margin-left: 8px;
}

.sport-type-football {
    background-color: var(--green);
}

.sport-type-basketball {
    background-color: var(--orange);
}

.sport-type-tennis {
    background-color: var(--purple);
}

.sport-type-racing {
    background-color: var(--red);
}

.sport-type-olympics {
    background-color: var(--blue);
}

/* 新闻资讯区域 */
.news-section {
    background-color: var(--light-gray);
    padding: 40px 0;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.section-title {
    color: var(--dark-gray);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.section-title i {
    color: var(--secondary-blue);
}

.news-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: var(--red);
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--red);
}

.timeline-time {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
}

.news-content {
    display: flex;
    gap: 20px;
    flex: 1;
}

.news-image img {
    border: 3px solid var(--light-gray);
}

.news-text {
    flex: 1;
}

.news-title {
    margin-bottom: 10px;
}

.news-title a {
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--secondary-blue);
}

.news-summary {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 比赛录像区域 */
.match-recordings {
    background-color: var(--white);
    padding: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.recording-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recording-item:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.recording-text {
    font-weight: 500;
    color: var(--dark-gray);
}

.recording-date {
    color: var(--gray);
    font-size: 14px;
}

.recording-item:hover .recording-text,
.recording-item:hover .recording-date {
    color: var(--white);
}

/* 热门直播区域 */
.hot-live-section {
    background-color: var(--light-gray);
    padding: 40px 0;
    border-radius: 12px;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.live-match-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.live-match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.league-name {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 14px;
}

.match-time {
    color: var(--gray);
    font-size: 12px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.team-logo {
    border: 2px solid var(--light-gray);
}

.team-name {
    font-weight: 500;
    color: var(--dark-gray);
    text-align: center;
    font-size: 14px;
}

.vs-separator {
    color: var(--red);
    font-weight: bold;
    font-size: 18px;
    margin: 0 20px;
}

.match-footer .btn {
    background-color: var(--secondary-blue);
    border: none;
    border-radius: 6px;
    font-weight: 500;
}

.match-footer .btn:hover {
    background-color: var(--dark-blue);
}

/* 页脚 */
.footer-section {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.friendly-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-icon {
    font-size: 20px;
    color: var(--orange);
}

.links-text {
    font-size: 16px;
    font-weight: 500;
}

.premier-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: bold;
}

.premier-link:hover {
    color: var(--white);
}

.disclaimer-text {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 12px;
    color: var(--gray);
}

.icp-number {
    color: var(--gray);
}

.site-map {
    color: var(--gray);
    text-decoration: none;
}

.site-map:hover {
    color: var(--white);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .filter-tab {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .news-content {
        flex-direction: column;
        text-align: center;
    }
    
    .team-info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 20px;
    }
    
    .vs-separator {
        margin: 10px 0;
    }
    
    .legal-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .schedule-table-container {
        border-radius: 8px;
        margin: 0 10px;
    }
    
    .news-section,
    .match-recordings,
    .hot-live-section {
        margin: 0 15px 20px 15px;
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .schedule-table thead th,
    .schedule-table tbody td {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .schedule-table thead th {
        font-size: 11px;
    }
    
    .news-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .news-timeline {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .news-section,
    .match-recordings,
    .hot-live-section {
        padding: 25px 0;
        margin: 0 10px 15px 10px;
    }
} 