/* 前端主样式 - 使用 #07a8eb 作为主色，白色背景 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #07a8eb;
    --primary-dark: #0590c7;
    --primary-light: #3bb8f0;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(7, 168, 235, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1; /* 确保低于导航栏（导航栏 z-index: 9999） */
}

/* 确保所有元素使用border-box */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ==================== 导航栏 ==================== */
header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 9999 !important; /* 确保导航栏始终在最顶层 */
    border-bottom: 2px solid var(--primary-color);
    isolation: isolate; /* 创建新的层叠上下文 */
}

.main-nav {
    background: var(--bg-color);
    padding: 0;
    position: relative;
    z-index: 9999;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
    z-index: 9999;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.main-nav .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.main-nav .logo:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 9999;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 4px;
    position: relative;
    z-index: 9999;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(7, 168, 235, 0.05);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(7, 168, 235, 0.1);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 80%;
    background: var(--primary-color);
}

/* ==================== 头部操作区域 ==================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

/* ==================== 语言切换器 ==================== */
.language-switcher {
    position: relative;
    z-index: 10001;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: all 0.3s;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    background: var(--bg-color);
}

.lang-toggle svg {
    flex-shrink: 0;
}

.lang-toggle .chevron {
    transition: transform 0.3s;
}

.language-switcher:hover .lang-toggle .chevron,
.lang-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.current-lang {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 150px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 10002;
}

.language-switcher:hover .lang-dropdown,
.lang-toggle[aria-expanded="true"] + .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    margin: 0;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.lang-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.lang-dropdown a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.lang-dropdown a.active:hover {
    background: var(--primary-dark);
}

/* ==================== 头部搜索框 ==================== */
.header-search {
    position: relative;
    z-index: 9999;
}

.search-form-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input-inline {
    padding: 8px 14px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.95rem;
    width: 200px;
    transition: all 0.3s;
    background: var(--bg-color);
    color: var(--text-color);
}

.search-input-inline:focus {
    outline: none;
    border-color: var(--primary-color);
    width: 250px;
    box-shadow: 0 0 0 3px rgba(7, 168, 235, 0.1);
}

.search-button-inline {
    padding: 8px 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-width: 38px;
    height: 38px;
}

.search-button-inline:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-button-inline:active {
    transform: scale(0.95);
}

.search-button-inline svg {
    width: 18px;
    height: 18px;
}

/* ==================== 主内容区域 ==================== */
main {
    flex: 1;
    padding: 40px 0;
    background: var(--bg-color);
    min-height: calc(100vh - 200px);
}

/* 确保图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 表格容器响应式 */
table {
    width: 100%;
    border-collapse: collapse;
}

/* 防止文本溢出 */
p, li, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(7, 168, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(7, 168, 235, 0.3);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* ==================== 标题样式 ==================== */
h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* ==================== Casino 页面样式 ==================== */
.casino-list-page,
.casino-detail-page {
    background: var(--bg-color);
}

/* Casino Detail Page - Hero Section */
.casino-hero {
    background: linear-gradient(135deg, rgba(7, 168, 235, 0.08) 0%, rgba(7, 168, 235, 0.03) 100%);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(7, 168, 235, 0.1);
}

.casino-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.casino-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.casino-hero-info {
    flex: 1;
}

.casino-hero-info h1 {
    margin-bottom: 16px;
    font-size: 42px;
    color: var(--text-color);
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    gap: 4px;
    font-size: 20px;
}

.rating-stars .star {
    color: #ddd;
    transition: color 0.2s;
}

.rating-stars .star.filled {
    color: #ffc107;
}

.rating-value {
    font-weight: 600;
    color: var(--text-color);
    font-size: 18px;
}

.casino-bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(238, 90, 111, 0.3);
}

.bonus-icon {
    font-size: 20px;
}

.casino-hero-cta {
    flex-shrink: 0;
}

.casino-hero-cta .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s;
}

.casino-hero-cta .btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Casino Content Grid */
.casino-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 40px;
}

.casino-main-content {
    min-width: 0;
}

.casino-detail {
    background: var(--bg-color);
}

.casino-section {
    background: var(--bg-color);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.casino-section h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 28px;
}

.casino-description {
    color: var(--text-color);
    line-height: 1.9;
    font-size: 16px;
}

.casino-description p {
    margin-bottom: 18px;
}

.casino-description p:last-child {
    margin-bottom: 0;
}

/* Features Grid */
.casino-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(7, 168, 235, 0.05);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(7, 168, 235, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.feature-text {
    color: var(--text-color);
    line-height: 1.6;
    flex: 1;
}

/* Sidebar */
.casino-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-light);
    font-size: 15px;
}

.info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(7, 168, 235, 0.3);
}

.tag-secondary {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.tag-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.payment-method {
    display: inline-block;
    padding: 8px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-color);
    transition: all 0.3s;
}

.payment-method:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(7, 168, 235, 0.2);
}

.casino-cta-sticky {
    position: sticky;
    top: 100px;
    z-index: 1; /* 确保低于导航栏 */
}

.casino-cta-sticky .btn {
    width: 100%;
    text-align: center;
    padding: 18px 32px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(7, 168, 235, 0.4);
}

.casino-cta-sticky .btn:hover {
    box-shadow: 0 6px 16px rgba(7, 168, 235, 0.5);
    transform: translateY(-3px);
}

.btn-block {
    display: block;
    width: 100%;
}

.casino-not-found {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 18px;
}

.casino-cta {
    margin: 24px 0;
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.casino-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.casino-card:hover {
    box-shadow: 0 8px 24px rgba(7, 168, 235, 0.15);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.casino-card:hover::before {
    opacity: 1;
}

.casino-card-logo {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(7, 168, 235, 0.05) 0%, rgba(7, 168, 235, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.casino-card-logo img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.3s;
}

.casino-card:hover .casino-card-logo img {
    transform: scale(1.05);
}

.casino-card-header {
    padding: 20px 24px 16px;
    flex: 1;
}

.casino-card-header h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.casino-card-header h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.casino-card-header h3 a:hover {
    color: var(--primary-color);
}

.casino-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.rating-stars-small {
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.rating-stars-small .star-small {
    color: #ddd;
    transition: color 0.2s;
}

.rating-stars-small .star-small.filled {
    color: #ffc107;
}

.rating-value-small {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.casino-card-bonus {
    margin: 0 24px 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 111, 0.1) 100%);
    border-left: 3px solid #ff6b6b;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-icon-small {
    font-size: 18px;
}

.bonus-text-small {
    font-size: 14px;
    font-weight: 600;
    color: #ff6b6b;
}

.casino-card-description {
    padding: 0 24px;
    color: var(--text-light);
    margin: 0 0 20px 0;
    line-height: 1.7;
    font-size: 14px;
    flex: 1;
}

.casino-card-footer {
    padding: 0 24px 24px;
    margin-top: auto;
}

.casino-card .btn-block {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(7, 168, 235, 0.3);
}

.casino-card .btn-block:hover {
    box-shadow: 0 6px 16px rgba(7, 168, 235, 0.4);
    transform: translateY(-2px);
}

/* ==================== News 页面样式 ==================== */
.news-list-page {
    background: var(--bg-color);
}

.news-list,
.news-grid {
    margin-top: 30px;
}

.news-item,
.news-card {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
    transition: all 0.3s ease;
}

.news-item:hover,
.news-card:hover {
    background: var(--bg-light);
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 6px;
}

.news-item:last-child,
.news-card:last-child {
    border-bottom: none;
}

.news-title h2,
.news-title {
    margin-bottom: 8px;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt,
.news-summary {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-light);
}

.news-meta time {
    color: var(--text-light);
}

.news-meta .author {
    color: var(--primary-color);
}

.news-grid.magazine-style {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.magazine-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-color);
    transition: all 0.3s ease;
}

.magazine-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.magazine-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

/* ==================== Scores 页面样式 ==================== */
.scores-list-page {
    background: var(--bg-color);
}

.scores-table {
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scores-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
}

.scores-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.scores-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scores-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.scores-table tbody tr:hover {
    background: rgba(7, 168, 235, 0.05);
}

.scores-table tbody tr:last-child {
    border-bottom: none;
}

.scores-table .league-cell {
    padding: 14px 12px;
    font-weight: 500;
    color: var(--text-color);
}

.scores-table .league-name {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--text-light);
    font-weight: 500;
}

.scores-table .team-cell {
    padding: 14px 12px;
    font-size: 1em;
}

.scores-table .team-cell strong {
    font-weight: 600;
    color: var(--text-color);
}

.scores-table .home-team {
    text-align: right;
}

.scores-table .away-team {
    text-align: left;
}

.scores-table .score-cell {
    padding: 14px 12px;
    text-align: center;
    font-weight: 700;
    font-size: 1.15em;
    min-width: 140px;
    position: relative;
}

.scores-table .score-cell.score-pending {
    color: var(--text-light);
}

.scores-table .score-cell.score-live {
    color: var(--primary-color);
}

.scores-table .score-value {
    display: block;
    margin-bottom: 6px;
    font-size: 1.1em;
}

.scores-table .status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.scores-table .status-badge.status-live {
    background: #dc3545;
    color: white;
    animation: pulse 2s infinite;
}

.scores-table .status-badge.status-finished {
    background: #6c757d;
    color: white;
}

.scores-table .status-badge.status-scheduled {
    background: var(--primary-light);
    color: white;
}

.scores-table .status-badge.status-default {
    background: var(--bg-light);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.scores-table .time-cell {
    padding: 14px 12px;
    color: var(--text-light);
    font-size: 0.9em;
}

.scores-table .time-cell time {
    display: block;
}

/* Summary Bar */
.scores-summary {
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.summary-label {
    font-size: 0.85em;
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
}

.summary-value.summary-live {
    color: #dc3545;
}

.summary-value.summary-finished {
    color: #6c757d;
}

.summary-value.summary-scheduled {
    color: var(--primary-light);
}

/* Tabs */
.scores-tabs-wrapper {
    margin: 20px 0;
}

.scores-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* League Group Header */
.league-group-header {
    background: var(--bg-light);
}

.league-group-header td {
    padding: 12px 16px;
    border-bottom: 2px solid var(--primary-color);
}

.league-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.league-logo {
    font-size: 1.2em;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.league-title {
    font-weight: 700;
    font-size: 1em;
    color: var(--text-color);
    flex: 1;
}

.league-count {
    font-size: 0.85em;
    color: var(--text-light);
}

/* Time Display (双行) */
.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.time-value {
    font-weight: 600;
    font-size: 0.95em;
    color: var(--text-color);
}

.time-date {
    font-size: 0.75em;
    color: var(--text-light);
}

/* Score Display (双行) */
.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.score-status {
    display: flex;
    justify-content: center;
}

/* LIVE 比赛高亮 */
.score-row.live-match {
    background: rgba(220, 53, 69, 0.05);
    border-left: 3px solid #dc3545;
}

.score-row.live-match:hover {
    background: rgba(220, 53, 69, 0.1);
}

.score-row.live-match .score-value {
    color: #dc3545;
    font-weight: 800;
    font-size: 1.2em;
}

/* Scores 卡片式布局（移动端） */
.scores-cards {
    display: none;
}

.scores-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.scores-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.scores-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.scores-card-league {
    font-size: 0.85em;
    color: var(--text-light);
    font-weight: 500;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 4px;
}

.scores-card-status {
    font-size: 0.7em;
}

.scores-card-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.scores-card-team {
    flex: 1;
    text-align: center;
}

.scores-card-team.home {
    text-align: right;
    padding-right: 12px;
}

.scores-card-team.away {
    text-align: left;
    padding-left: 12px;
}

.scores-card-team-name {
    font-weight: 600;
    font-size: 1em;
    color: var(--text-color);
    margin-bottom: 4px;
}

.scores-card-score {
    flex: 0 0 auto;
    text-align: center;
    min-width: 80px;
    padding: 0 12px;
}

.scores-card-score-value {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.scores-card-score-value.pending {
    color: var(--text-light);
    font-size: 1em;
}

.scores-card-time {
    text-align: center;
    font-size: 0.85em;
    color: var(--text-light);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.scores-card.live-card {
    border-left: 3px solid #dc3545;
    background: rgba(220, 53, 69, 0.03);
}

.scores-card.league-header-card {
    background: var(--bg-light);
    border: none;
    padding: 12px 16px;
    margin-bottom: 8px;
    box-shadow: none;
}

.scores-card.league-header-card:hover {
    transform: none;
    box-shadow: none;
}

/* Summary Bar 响应式 */
@media (max-width: 768px) {
    .scores-summary {
        gap: 12px;
        padding: 12px 16px;
    }

    .summary-item {
        flex: 1;
        min-width: calc(50% - 6px);
    }

    .summary-value {
        font-size: 1.3em;
    }

    /* Tabs 响应式 */
    .scores-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9em;
        white-space: nowrap;
    }
}

/* Scores 加载状态 */
.scores-loading {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.scores-loading p {
    font-size: 16px;
    margin: 0;
}

.scores-loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scores 错误状态 */
.scores-error {
    text-align: center;
    padding: 40px 20px;
    color: #d32f2f;
    background: #ffebee;
    border-radius: 8px;
    margin: 20px 0;
}

.scores-error p {
    margin: 0;
    font-size: 16px;
}

/* Scores 表格包装器 */
.scores-table-wrapper {
    margin-top: 20px;
}

.scores-table-fallback {
    margin-top: 20px;
}

/* ==================== Home 页面样式 ==================== */
.home-hero {
    background: linear-gradient(135deg, rgba(7, 168, 235, 0.1) 0%, rgba(7, 168, 235, 0.05) 100%);
    padding: 60px 0;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
}

.home-hero h1 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.home-hero p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.home-section {
    margin: 40px 0;
}

.home-section h2 {
    color: var(--primary-color);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    border-top: 1px solid rgba(7, 168, 235, 0.1);
    padding: 50px 0 40px;
    margin-top: 80px;
    color: #666;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #00d4ff 100%);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.footer-copyright {
    flex: 1;
    max-width: 800px;
}

.footer-copyright p {
    margin: 0 0 8px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.footer-copyright p:last-child {
    margin-bottom: 0;
}

.footer-copyright strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.footer-tagline {
    font-size: 13px !important;
    color: #888 !important;
    font-style: italic;
    margin-top: 8px !important;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 12px;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(7, 168, 235, 0.05);
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--primary-color);
    background: rgba(7, 168, 235, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(7, 168, 235, 0.15);
}

.footer-separator {
    color: #ddd;
    font-size: 16px;
    margin: 0 4px;
    user-select: none;
    font-weight: 300;
}

/* 移动端Footer垂直布局 */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
        margin-top: 60px;
    }

    .footer-content {
        gap: 20px;
    }

    .footer-copyright p {
        font-size: 14px;
    }

    .footer-tagline {
        font-size: 12px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }

    .footer-link {
        padding: 10px 20px;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }
}

/* ==================== Breadcrumbs ==================== */
.breadcrumbs {
    padding: 16px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.breadcrumbs span {
    color: var(--text-light);
    margin: 0 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: var(--text-light);
}

/* Article breadcrumb (for news detail pages) */
.article-breadcrumb {
    padding: 16px 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.article-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-breadcrumb span {
    color: var(--text-color);
    font-weight: 500;
}

.article-breadcrumb a:not(:last-child)::after {
    content: ' / ';
    margin: 0 4px;
    color: var(--text-light);
}

/* ==================== News Detail Page ==================== */
.news-detail-page {
    padding: 40px 0;
    min-height: 60vh;
}

/* 独立页面样式 */
.custom-page {
    padding: 40px 0;
    min-height: 60vh;
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.page-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    padding: 20px 0;
}

.page-body h2 {
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.page-body h3 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.page-body p {
    margin-bottom: 1em;
}

.page-body ul,
.page-body ol {
    margin-bottom: 1em;
    padding-left: 25px;
}

.page-body li {
    margin-bottom: 0.5em;
}

.page-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-body a:hover {
    text-decoration: underline;
}

.page-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.page-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    margin: 20px 0;
    color: var(--text-light);
    font-style: italic;
}

.page-body pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 20px 0;
}

.page-body code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .custom-page {
        padding: 20px 0;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-body h2 {
        font-size: 1.6rem;
    }

    .page-body h3 {
        font-size: 1.3rem;
    }
}

.news-article {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-light);
}

.article-category {
    margin-bottom: 12px;
}

.article-category a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.article-category a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(7, 168, 235, 0.3);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin: 0 0 20px 0;
    word-wrap: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: var(--text-light);
}

.article-meta svg {
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.7;
}

.article-date,
.article-author,
.article-views {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date time,
.article-author,
.article-views {
    color: var(--text-light);
}

/* Article Cover Image */
.article-cover {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Summary */
.article-summary {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
}

/* Article Content */
.article-content {
    margin: 30px 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2em;
    margin-bottom: 1em;
    color: var(--text-color);
    font-weight: 600;
}

.article-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}

.article-content h3 {
    font-size: 1.5rem;
}

.article-content h4 {
    font-size: 1.3rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.article-content li {
    margin-bottom: 0.5em;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5em 0;
    box-shadow: var(--shadow);
}

.article-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--primary-color);
    background: var(--bg-light);
    border-radius: 4px;
    font-style: italic;
    color: var(--text-light);
}

.article-content code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.article-content pre {
    background: var(--bg-light);
    padding: 1em;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5em 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Article Tags */
.article-tags {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 8px;
}

.article-tags .tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.article-tags .tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(7, 168, 235, 0.3);
}

/* Related Articles */
.related-articles {
    margin: 50px 0 30px;
    padding: 30px 0;
    border-top: 2px solid var(--bg-light);
}

.related-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.related-item {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(7, 168, 235, 0.15);
    border-color: var(--primary-color);
}

.related-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--bg-light);
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-thumbnail img {
    transform: scale(1.05);
}

.related-content {
    padding: 20px;
}

.related-item-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.related-item-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-item-title a:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 13px;
    color: var(--text-light);
}

/* Article Not Found */
.article-not-found {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-detail-page {
        padding: 20px 0;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .article-content {
        font-size: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-summary {
        font-size: 1rem;
        padding: 15px;
    }
}

/* ==================== Pagination ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s;
    background: var(--bg-color);
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination .current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==================== 响应式设计 ==================== */
/* ==================== 响应式设计 ==================== */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    .casino-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .casino-content-grid {
        gap: 30px;
    }
}

/* 移动设备 (最大768px) */
@media (max-width: 768px) {
    .main-nav .container {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions {
        order: -1;
        width: 100%;
        margin-left: 0;
        margin-bottom: 15px;
        justify-content: space-between;
    }

    .header-search {
        flex: 1;
    }

    .search-input-inline {
        width: 100%;
        flex: 1;
    }

    .search-input-inline:focus {
        width: 100%;
    }

    .language-switcher {
        flex-shrink: 0;
    }

    .lang-toggle {
        padding: 8px 10px;
    }

    .current-lang {
        display: none;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        text-align: left;
        padding: 12px 20px;
        border-radius: 0;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        background: rgba(7, 168, 235, 0.1);
        border-left: 3px solid var(--primary-color);
    }

    /* 移动端Casino列表：1列 */
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Scores 表格响应式 */
    .scores-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .scores-table {
        min-width: 600px;
    }

    .scores-table th {
        padding: 12px 8px;
        font-size: 0.8em;
    }

    .scores-table .league-cell,
    .scores-table .team-cell,
    .scores-table .score-cell,
    .scores-table .time-cell {
        padding: 12px 8px;
        font-size: 0.9em;
    }

    .scores-table .score-cell {
        min-width: 100px;
        font-size: 1em;
    }

    .scores-table .score-value {
        font-size: 1em;
    }

    .scores-table .status-badge {
        font-size: 0.65em;
        padding: 2px 8px;
    }

    .scores-table .league-name {
        font-size: 0.8em;
        padding: 3px 8px;
    }
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    /* Casino列表在768px断点已设置为1列，这里不需要重复设置 */
    
    .news-grid.magazine-style {
        grid-template-columns: 1fr;
    }

    .casino-hero {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .casino-hero-content {
        flex-direction: column;
        width: 100%;
    }

    .casino-logo {
        width: 100px;
        height: 100px;
    }

    .casino-hero-info h1 {
        font-size: 32px;
    }

    .casino-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .casino-sidebar {
        order: -1;
    }

    .casino-cta-sticky {
        position: static;
    }

    .casino-features-grid {
        grid-template-columns: 1fr;
    }

    .casino-section {
        padding: 24px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-copyright {
        width: 100%;
    }
    
    .footer-nav {
        justify-content: center;
    }

    .home-hero {
        padding: 40px 20px;
    }

    .container {
        padding: 0 15px;
    }

    /* Scores 表格响应式 - 移动端显示卡片 */
    .scores-table-wrapper .scores-table {
        display: none;
    }

    .scores-table-wrapper .scores-cards {
        display: block;
    }

    .scores-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .scores-table table {
        min-width: 600px;
    }

    .scores-table th {
        padding: 12px 8px;
        font-size: 0.8em;
    }

    .scores-table .league-cell,
    .scores-table .team-cell,
    .scores-table .score-cell,
    .scores-table .time-cell {
        padding: 12px 8px;
        font-size: 0.9em;
    }

    .scores-table .score-cell {
        min-width: 100px;
        font-size: 1em;
    }

    .scores-table .score-value {
        font-size: 1em;
    }

    .scores-table .status-badge {
        font-size: 0.65em;
        padding: 2px 8px;
    }

    .scores-table .league-name {
        font-size: 0.8em;
        padding: 3px 8px;
    }

    /* 分页响应式 */
    .pagination {
        gap: 4px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* 小屏手机 (最大480px) */
@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .casino-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .casino-card,
    .news-card {
        padding: 0;
    }

    .casino-card-logo {
        height: 150px;
        padding: 15px;
    }

    .casino-card-logo img {
        max-height: 120px;
    }

    .casino-card-header {
        padding: 16px 20px 10px;
    }

    .casino-card-header h3 {
        font-size: 20px;
    }

    .casino-card-bonus {
        margin: 0 20px 10px;
        padding: 8px 12px;
    }

    .casino-card-description {
        padding: 0 20px;
        margin-bottom: 16px;
    }

    .casino-card-footer {
        padding: 0 20px 20px;
    }

    .casino-hero {
        padding: 24px 16px;
    }

    .casino-hero-info h1 {
        font-size: 28px;
    }

    .casino-logo {
        width: 80px;
        height: 80px;
    }

    .casino-section {
        padding: 20px 16px;
    }

    .info-card {
        padding: 20px 16px;
    }

    /* 更小的字体 */
    .casino-card-description {
        font-size: 13px;
    }

    .casino-card-header h3 {
        font-size: 18px;
    }

    /* 按钮调整 */
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Hero区域调整 */
    .casino-hero {
        padding: 20px 12px;
    }

    .casino-hero-info h1 {
        font-size: 24px;
    }

    .casino-bonus-badge {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* 面包屑调整 */
    .breadcrumbs {
        padding: 12px 0;
        font-size: 14px;
    }

    .breadcrumbs ol {
        gap: 4px;
    }

    /* 主内容区域 */
    main {
        padding: 20px 0;
    }
}

/* 超小屏设备 (最大360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .casino-card-logo {
        height: 120px;
        padding: 10px;
    }

    .casino-card-logo img {
        max-height: 100px;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .main-nav .container {
        padding: 10px 20px;
    }

    .nav-menu {
        max-height: 60vh;
        overflow-y: auto;
    }

    .casino-hero {
        padding: 20px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大触摸目标 */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }

    .nav-menu a {
        min-height: 44px;
        padding: 12px 20px;
    }

    /* 移除hover效果，使用active */
    .casino-card:hover {
        transform: none;
    }

    .casino-card:active {
        transform: scale(0.98);
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .casino-card-logo img,
    .casino-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ==================== 工具类 ==================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.bg-light {
    background: var(--bg-light);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* ==================== SEO 聚合型首页样式 ==================== */
.page-home.layout-seo-aggregate {
    padding: 0;
}

/* Hero 区域 */
.hero.hero-casino-first {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 60px;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
}

.hero-copy p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-highlight {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(10px);
}

.hero-top-casinos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-casino-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-casino-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.hero-casino-logo-link {
    display: block;
    margin-bottom: 12px;
}

.hero-casino-logo-link img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.hero-casino-name {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.hero-casino-name a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
}

.hero-casino-name a:hover {
    color: var(--primary-color);
}

.hero-casino-rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.hero-casino-rating .score {
    font-weight: 600;
    color: var(--primary-color);
}

.hero-casino-rating .bonus {
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-play {
    width: 100%;
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Section 样式 */
.section {
    margin-bottom: 80px;
    position: relative;
    z-index: 1; /* 确保低于导航栏 */
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1; /* 确保低于导航栏 */
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Casino 表格 */
.casino-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.casino-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-color);
}

.casino-table thead {
    background: var(--primary-color);
    color: white;
}

.casino-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.casino-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.casino-name-cell {
    min-width: 200px;
}

.casino-name-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
}

.casino-name-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.casino-name-link:hover {
    color: var(--primary-color);
}

.casino-bonus {
    color: var(--text-light);
    font-size: 0.9rem;
}

.casino-rating {
    font-size: 1rem;
}

.casino-rating strong {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.casino-payments ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.casino-payments li {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 4px;
}

.casino-actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-ghost:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section-footer {
    text-align: center;
    margin-top: 32px;
}

.link-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.link-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Scores 区域 */
.scores-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.tab-link {
    padding: 8px 24px;
    background: var(--bg-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tab-link:hover {
    background: var(--primary-light);
    color: white;
}

.tab-link.is-active {
    background: var(--primary-color);
    color: white;
}

.scores-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.score-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.score-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.score-league {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.score-teams {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.home-team,
.away-team {
    font-weight: 600;
    flex: 1;
}

.score-vs {
    font-size: 0.9rem;
    color: var(--text-light);
}

.score-vs strong {
    color: var(--text-color);
    font-size: 1.125rem;
}

.score-status {
    display: flex;
    align-items: center;
}

.badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-scheduled {
    background: var(--bg-light);
    color: var(--text-light);
}

.badge-live {
    background: #ff4444;
    color: white;
}

.badge-finished {
    background: var(--primary-color);
    color: white;
}

/* News 网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.news-title {
    margin-bottom: 12px;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.news-meta a:hover {
    text-decoration: underline;
}

.news-summary {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* SEO 文本区域 */
.section-seo-text {
    background: var(--bg-light);
    padding: 60px 0;
    border-radius: 12px;
}

.section-seo-text h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--text-color);
}

.section-seo-text h3 {
    font-size: 1.5rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.section-seo-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 16px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-top-casinos {
        grid-template-columns: 1fr;
    }

    .casino-table-wrapper {
        overflow-x: auto;
    }

    .casino-table {
        min-width: 600px;
    }

    .score-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* ==================== Date Scores Page - Enhanced Styles ==================== */
.date-scores-page {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-color) 100%);
    min-height: calc(100vh - 200px);
}

.date-scores-page .page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(7, 168, 235, 0.3);
}

.date-scores-page .page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date-scores-page .page-header time {
    color: rgba(255, 255, 255, 0.95);
}

.date-scores-page .page-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
}

.date-scores-page .match-count,
.date-scores-page .league-count {
    font-weight: 700;
    font-size: 1.2em;
}

/* Scores Content */
.date-scores-page .scores-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* League Section */
.date-scores-page .league-section {
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.date-scores-page .league-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.date-scores-page .league-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-color);
}

.date-scores-page .league-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.date-scores-page .league-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-scores-page .match-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 10px;
    background: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 14px;
}

/* Matches Container */
.date-scores-page .matches-container {
    padding: 0;
}

.date-scores-page .scores-table {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-x: auto;
}

.date-scores-page .scores-table table {
    width: 100%;
    border-collapse: collapse;
}

.date-scores-page .scores-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.date-scores-page .scores-table th {
    padding: 14px 16px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.date-scores-page .scores-table th.col-time { width: 100px; text-align: center; }
.date-scores-page .scores-table th.col-home { text-align: right; }
.date-scores-page .scores-table th.col-score { width: 100px; text-align: center; }
.date-scores-page .scores-table th.col-away { text-align: left; }
.date-scores-page .scores-table th.col-status { width: 120px; text-align: center; }

/* Match Row */
.date-scores-page .match-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.date-scores-page .match-row:last-child {
    border-bottom: none;
}

.date-scores-page .match-row:hover {
    background: linear-gradient(90deg, rgba(7, 168, 235, 0.05) 0%, rgba(7, 168, 235, 0.02) 100%);
}

.date-scores-page .match-row td {
    padding: 16px;
    vertical-align: middle;
}

/* Match Time */
.date-scores-page .match-time {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.date-scores-page .match-time time {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    font-variant-numeric: tabular-nums;
}

/* Match Teams */
.date-scores-page .match-team {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.date-scores-page .match-team.home-team {
    text-align: right;
    padding-right: 20px;
}

.date-scores-page .match-team.away-team {
    text-align: left;
    padding-left: 20px;
}

/* Match Score */
.date-scores-page .match-score {
    text-align: center;
}

.date-scores-page .score-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(7, 168, 235, 0.3);
}

.date-scores-page .score-separator {
    opacity: 0.7;
}

.date-scores-page .vs-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Match Status */
.date-scores-page .match-status {
    text-align: center;
}

.date-scores-page .status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-scores-page .status-badge.status-live,
.date-scores-page .status-badge.status-in-progress {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    animation: pulse-live 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.date-scores-page .status-badge.status-finished,
.date-scores-page .status-badge.status-ft {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.date-scores-page .status-badge.status-scheduled,
.date-scores-page .status-badge.status-ns {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.date-scores-page .status-badge.status-postponed,
.date-scores-page .status-badge.status-cancelled {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

/* No Matches - Empty State */
.date-scores-page .no-matches {
    padding: 60px 20px;
}

.date-scores-page .empty-state {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--bg-color);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.date-scores-page .empty-icon {
    color: var(--border-color);
    margin-bottom: 24px;
}

.date-scores-page .empty-state h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.date-scores-page .empty-state p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 1rem;
}

.date-scores-page .date-navigation {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.date-scores-page .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.date-scores-page .nav-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(7, 168, 235, 0.3);
}

.date-scores-page .nav-link.prev-day:hover {
    padding-left: 20px;
}

.date-scores-page .nav-link.next-day:hover {
    padding-right: 20px;
}

/* Date Scores Page - Responsive */
@media (max-width: 768px) {
    .date-scores-page {
        padding: 20px 0 40px;
    }

    .date-scores-page .page-header {
        padding: 24px 16px;
        border-radius: 12px;
        margin: 0 -10px 24px;
    }

    .date-scores-page .page-header h1 {
        font-size: 1.4rem;
    }

    .date-scores-page .page-subtitle {
        font-size: 0.95rem;
    }

    .date-scores-page .league-section {
        border-radius: 12px;
        margin: 0 -10px;
    }

    .date-scores-page .league-header {
        padding: 16px;
    }

    .date-scores-page .league-title {
        font-size: 1.1rem;
    }

    .date-scores-page .scores-table th,
    .date-scores-page .match-row td {
        padding: 12px 8px;
    }

    .date-scores-page .match-team {
        font-size: 0.9rem;
    }

    .date-scores-page .match-team.home-team {
        padding-right: 8px;
    }

    .date-scores-page .match-team.away-team {
        padding-left: 8px;
    }

    .date-scores-page .score-display {
        padding: 6px 12px;
        font-size: 1rem;
    }

    .date-scores-page .empty-state {
        padding: 40px 24px;
    }

    .date-scores-page .date-navigation {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .date-scores-page .scores-table th.col-status,
    .date-scores-page .match-status {
        display: none;
    }

    .date-scores-page .scores-table th.col-time {
        width: 70px;
    }

    .date-scores-page .match-time time {
        padding: 4px 8px;
        font-size: 0.85rem;
    }
}

/* Date Scores Page - Internal Links */
.date-scores-page .league-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.date-scores-page .league-link:hover {
    color: var(--primary-color);
}

.date-scores-page .match-link,
.date-scores-page .score-link {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.date-scores-page .match-link:hover,
.date-scores-page .score-link:hover {
    color: var(--primary-color);
}

.date-scores-page .match-team a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.date-scores-page .match-team a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.date-scores-page .match-row:hover .match-link,
.date-scores-page .match-row:hover .score-link {
    color: var(--primary-color);
}

.date-scores-page .score-link:hover .score-display {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scale(1.05);
}

/* ==================== Match Page (Scores) ==================== */
.match-page {
    padding: 2rem 0 3rem;
    min-height: 60vh;
}

.match-page .container {
    max-width: 1000px;
}

.match-page h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
}

.match-summary {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.match-status p {
    margin-bottom: 0.4rem;
}

.match-status strong {
    margin-right: 0.35rem;
}

.match-score {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.match-score .score-display {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.match-score .team-score {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.match-score .team-name {
    font-size: 1rem;
    font-weight: 500;
}

.match-score .score-value {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.match-score .score-separator {
    font-size: 1.6rem;
    font-weight: 700;
}

.match-info {
    margin-top: 1rem;
}

.match-info p {
    margin-bottom: 0.25rem;
}

.match-details {
    margin-bottom: 2rem;
}

.match-details h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.match-details ul {
    padding-left: 1.2rem;
}

.related-matches,
.related-links {
    margin-bottom: 2rem;
}

.related-matches h2,
.related-links h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.related-matches h3 {
    margin: 0.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.related-matches ul,
.related-links ul {
    padding-left: 1.2rem;
}

.related-matches li,
.related-links li {
    margin-bottom: 0.3rem;
}

.related-matches a,
.related-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.related-matches a:hover,
.related-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .match-summary {
        grid-template-columns: 1fr;
    }

    .match-score {
        justify-content: flex-start;
    }

    .match-page h1 {
        font-size: 1.6rem;
    }
}