/**
 * 足球首页模板样式
 * 命名空间: .football-*
 */

/* ============================================
   颜色变量支持（通过内联CSS覆盖）
   ============================================ */
:root {
    --ftp-primary: #667eea;
    --ftp-secondary: #764ba2;
    --ftp-accent: #f39c12;
}

/* 防止全宽section导致水平滚动 */
html, body {
    overflow-x: hidden;
}

/* 移除所有首页链接的下划线 */
.football-home-wrapper a,
.football-home-wrapper a:link,
.football-home-wrapper a:visited,
.football-home-wrapper a:hover,
.football-home-wrapper a:active,
.football-home-wrapper a:focus {
    text-decoration: none !important;
}

/* 特别针对文章卡片的链接 */
.football-news-featured-card,
.football-news-featured-card:link,
.football-news-featured-card:visited,
.football-news-featured-card:hover,
.football-news-card,
.football-news-card:link,
.football-news-card:visited,
.football-news-card:hover {
    text-decoration: none !important;
}

/* 移除所有可能的下划线样式 */
.football-home-wrapper * {
    text-decoration: none !important;
}

/* 确保标题标签没有下划线 */
.football-home-wrapper h1,
.football-home-wrapper h2,
.football-home-wrapper h3,
.football-home-wrapper h4,
.football-home-wrapper h5,
.football-home-wrapper h6 {
    text-decoration: none !important;
}

/* 特别针对新闻标题 */
.football-news-title,
.football-news-featured-title,
.football-news-card h3,
.football-news-featured-card h3 {
    text-decoration: none !important;
}

/* ============================================
   Hero 区域
   ============================================ */
.football-home-wrapper {
    min-height: 100vh;
    transition: background 0.3s ease;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: visible !important;
}

/* 确保背景颜色显示 - 覆盖主题样式 */
body .football-home-wrapper {
    background-color: inherit !important;
}

body.page .football-home-wrapper {
    background-color: inherit !important;
}

/* 主内容区域背景透明，继承wrapper的背景 */
.football-main-content {
    background: transparent !important;
    position: relative;
    z-index: 1;
    overflow-x: visible !important;
    width: 100%;
}

/* 全宽背景区块样式 */
.section-fullwidth-bg {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

/* 确保全宽区块内的容器居中 */
.section-fullwidth-bg > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-fullwidth-bg > .football-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 全宽背景的内部内容需要有padding */
.section-fullwidth-bg.football-match-overview {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-fullwidth-bg.football-players-slider-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-fullwidth-bg.football-latest-news {
    padding-top: 60px;
    padding-bottom: 80px;
}

.football-hero {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.football-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.football-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 800px;
}

.football-team-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.football-team-logo img {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.football-team-name {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out;
}

.football-team-slogan {
    font-size: 1.5rem;
    margin: 20px 0 40px;
    opacity: 0.9;
    animation: fadeIn 1.5s ease-out;
}

.football-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.5s ease-out;
}

/* ============================================
   按钮样式
   ============================================ */
.football-btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.football-btn-primary {
    background: linear-gradient(135deg, var(--ftp-primary) 0%, var(--ftp-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.football-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.football-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.football-btn-secondary:hover {
    background: #fff;
    color: var(--ftp-primary);
    transform: translateY(-3px);
}

/* ============================================
   主要内容区
   ============================================ */
.football-main-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.football-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.football-section {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.football-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.football-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 15px;
}

.football-icon {
    font-size: 2.5rem;
}

.football-link-more {
    color: var(--ftp-primary, #667eea) !important;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.football-link-more:hover {
    color: var(--ftp-secondary, #764ba2) !important;
    transform: translateX(5px);
}

/* ============================================
   比赛卡片
   ============================================ */
.football-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.football-match-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #ddd;
}

.football-match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.football-match-card.status-live {
    border-left-color: #e74c3c;
    animation: pulse 2s infinite;
}

.football-match-card.status-finished {
    border-left-color: #27ae60;
}

.football-match-card.status-upcoming {
    border-left-color: #3498db;
}

.football-match-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: #ecf0f1;
    color: #2c3e50;
}

.status-live .football-match-status {
    background: #e74c3c;
    color: #fff;
}

.status-finished .football-match-status {
    background: #27ae60;
    color: #fff;
}

.status-upcoming .football-match-status {
    background: #3498db;
    color: #fff;
}

.football-match-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.football-match-team {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.football-match-team-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
}

.football-match-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ftp-primary);
}

.football-match-vs {
    font-weight: 700;
    color: #95a5a6;
    padding: 0 15px;
}

.football-match-date {
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

/* ============================================
   球员卡片滑动区域
   ============================================ */
.football-players-slider-section {
    position: relative;
}

.football-players-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.football-players-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--ftp-primary) #f0f0f0;
}

.football-players-slider::-webkit-scrollbar {
    height: 8px;
}

.football-players-slider::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.football-players-slider::-webkit-scrollbar-thumb {
    background: var(--ftp-primary);
    border-radius: 10px;
}

/* 滑动导航按钮 */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ftp-primary);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 !important;
    margin: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow: hidden;
    text-align: center;
}

.slider-nav-btn:hover {
    background: var(--ftp-primary);
    color: #fff;
    border-color: var(--ftp-primary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.slider-nav-btn:active {
    transform: translateY(-50%) scale(1.05);
}

.players-slider-prev {
    left: 0;
}

.players-slider-next {
    right: 0;
}

/* 紧凑球员卡片 (首页滑动版本) */
.football-player-card-compact {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    flex-shrink: 0;
    display: block;
    text-decoration: none !important;
    color: inherit;
}

.football-player-card-compact:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transform: translateY(-10px);
}

.football-player-card-compact:hover .player-card-front-compact {
    transform: translateY(-20px);
    opacity: 0.3;
}

.football-player-card-compact:hover .player-stats-hover-compact {
    opacity: 1;
    transform: translateY(0);
}

.player-card-front-compact {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #a90329 0%, #6b0f1a 50%, #003366 100%);
    transition: all 0.4s ease;
}

.player-bg-overlay-compact {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.player-photo-compact {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.player-photo-img-compact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.player-photo-placeholder-compact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-placeholder-icon-compact {
    font-size: 5rem;
    opacity: 0.3;
}

.player-number-compact {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.player-info-compact {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: #fff;
    z-index: 2;
    text-align: left;
}

.player-name-compact {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
    text-align: left;
    text-decoration: none !important;
}

.player-position-compact {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    border: 1px solid rgba(255,255,255,0.3);
    text-align: left;
}

/* 紧凑球员卡片悬浮统计信息 */
.player-stats-hover-compact {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 100%);
    backdrop-filter: blur(10px);
    padding: 30px 20px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 10;
}

.stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
}

.stat-item-compact {
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-label-compact {
    font-size: 0.7rem;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    font-weight: 600;
}

.stat-value-compact {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-season-compact {
    font-size: 0.65rem;
    color: #888;
    font-weight: 500;
}

/* ============================================
   最新资讯网格
   ============================================ */
.football-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.football-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.football-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.football-news-card:hover .football-news-title {
    color: var(--ftp-primary, #667eea) !important;
}

.football-news-card:hover .news-readmore {
    color: var(--ftp-secondary, #764ba2) !important;
    transform: translateX(3px);
}

.football-news-card:hover .football-news-image img {
    transform: scale(1.1);
}

.football-news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.football-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.football-news-card:hover .football-news-image img {
    transform: scale(1.05);
}

.football-news-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ftp-primary) 0%, var(--ftp-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-icon {
    font-size: 4rem;
    opacity: 0.3;
}

.football-news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.football-news-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #1a1a1a !important;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.football-news-excerpt {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.football-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.news-date {
    color: #95a5a6;
    font-size: 0.85rem;
}

.news-readmore {
    color: var(--ftp-primary, #667eea) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

/* ==================================================
   特色新闻布局（第一部分）
   ================================================== */
.football-news-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.football-news-featured-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.football-news-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.football-news-featured-card:hover .football-news-featured-title {
    color: var(--ftp-primary, #667eea) !important;
}

.football-news-featured-card:hover .news-readmore {
    color: var(--ftp-secondary, #764ba2) !important;
    transform: translateX(3px);
}

.football-news-featured-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.football-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.football-news-featured-card:hover .football-news-featured-image img {
    transform: scale(1.1);
}

.football-news-featured-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--ftp-primary, #667eea) 0%, var(--ftp-secondary, #764ba2) 100%);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    align-self: flex-start;
}

.football-news-featured-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
    color: #1a1a1a !important;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.football-news-featured-excerpt {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex: 1;
}

/* ==================================================
   倒计时样式
   ================================================== */
.match-countdown {
    margin-top: 10px;
}

.countdown-timer {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ftp-accent, #f39c12);
    text-align: center;
    padding: 10px 15px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 8px;
    letter-spacing: 1px;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    font-weight: 900;
    color: var(--ftp-primary, #667eea);
}

.match-time-small {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    margin-top: 5px;
}

/* ============================================
   统计数据
   ============================================ */
.football-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.football-stat-card {
    background: linear-gradient(135deg, var(--ftp-primary) 0%, var(--ftp-secondary) 100%);
    color: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.football-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.football-stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.football-stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   关于区域
   ============================================ */
.football-about-content {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    line-height: 1.8;
}

/* ============================================
   无数据提示
   ============================================ */
.football-no-data {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.football-no-data p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.football-no-data-hint {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* ============================================
   动画效果
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 球队图标样式 */
.football-team-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.football-team-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #f0f0f0;
}

.football-team-flag {
    font-size: 2.5rem;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(231, 76, 60, 0.6);
    }
}

/* ============================================
   响应式设计
   ============================================ */

/* 平板电脑 (768px - 1024px) */
@media (max-width: 1024px) {
    .football-container {
        padding: 0 20px;
    }
    
    .football-section {
        padding: 50px 0;
    }
    
    .football-section-title {
        font-size: 1.8rem;
    }
    
    .football-players-slider {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .football-news-grid {
        gap: 25px;
    }
}

/* 移动端 (小于768px) */
@media (max-width: 768px) {
    /* 全宽背景在移动端的处理 */
    .section-fullwidth-bg {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        left: 50%;
        right: 50%;
    }
    
    .section-fullwidth-bg > div,
    .section-fullwidth-bg > .football-container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* 容器和间距 */
    .football-container {
        padding: 0 15px;
    }
    
    .football-section {
        padding: 40px 0;
    }
    
    /* Hero区域 */
    .football-hero {
        min-height: 450px;
        padding: 40px 0;
    }
    
    .football-team-name {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .football-team-slogan {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .football-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .football-btn {
        width: 100%;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* 章节标题 */
    .football-section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .football-section-header {
        text-align: center;
        margin-bottom: 25px;
    }
    
    /* 下一场比赛区域 */
    .football-next-match {
        padding: 25px 15px;
    }
    
    .match-teams-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .match-team {
        width: 100%;
        text-align: center;
    }
    
    .match-vs {
        width: 100%;
        order: -1;
        margin-bottom: 15px;
    }
    
    .team-logo {
        width: 70px;
        height: 70px;
        margin: 0 auto 10px;
    }
    
    .team-name {
        font-size: 1.1rem;
    }
    
    /* 比赛结果列表 */
    .football-recent-results {
        padding: 20px 15px;
    }
    
    .recent-result-item {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .result-teams {
        width: 100%;
        justify-content: center;
    }
    
    .result-team {
        gap: 8px;
    }
    
    .team-name-small {
        font-size: 0.9rem;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .result-score {
        padding: 0 15px;
    }
    
    .score-number {
        font-size: 1.3rem;
    }
    
    /* 赛程网格 */
    .football-matches-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 球员滑块 */
    .football-players-slider {
        grid-template-columns: 1fr;
    }
    
    .football-players-slider-wrapper {
        padding: 0 40px;
    }
    
    .slider-nav-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        max-width: 40px;
        max-height: 40px;
        aspect-ratio: 1 / 1;
        font-size: 1.3rem;
    }
    
    .football-player-card-compact {
        height: 320px;
    }
    
    .player-image-compact {
        height: 220px;
    }
    
    .player-number-compact {
        font-size: 3rem;
    }
    
    .player-name-compact {
        font-size: 1.1rem;
    }
    
    .player-position-compact {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    /* 新闻网格 */
    .football-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .football-news-featured-card {
        flex-direction: column;
    }
    
    .football-news-featured-image {
        width: 100%;
        height: 200px;
    }
    
    .football-news-featured-content {
        padding: 20px;
    }
    
    .football-news-featured-title {
        font-size: 1.3rem;
    }
    
    .football-news-title {
        font-size: 1.1rem;
    }
    
    .football-news-image {
        height: 180px;
    }
    
    /* 统计网格 */
    .football-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* 中等屏幕优化 (768px - 992px) */
@media (max-width: 992px) {
    .football-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .football-players-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .football-match-card {
        padding: 25px;
    }
}

/* 小屏手机 (小于480px) */
@media (max-width: 480px) {
    /* 容器 */
    .football-container {
        padding: 0 12px;
    }
    
    .football-section {
        padding: 30px 0;
    }
    
    /* Hero区域 */
    .football-hero {
        min-height: 400px;
        padding: 30px 0;
    }
    
    .football-team-name {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .football-team-slogan {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .football-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 章节标题 */
    .football-section-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .football-section-subtitle {
        font-size: 0.85rem;
    }
    
    /* 下一场比赛 */
    .football-next-match {
        padding: 20px 12px;
    }
    
    .match-section-header {
        margin-bottom: 20px;
    }
    
    .match-section-title {
        font-size: 1.1rem;
    }
    
    .match-section-subtitle {
        font-size: 0.8rem;
    }
    
    .team-logo {
        width: 60px;
        height: 60px;
    }
    
    .team-name {
        font-size: 1rem;
    }
    
    .match-date-small,
    .match-time-small {
        font-size: 0.85rem;
    }
    
    .vs-text-large {
        font-size: 1.3rem;
    }
    
    /* 比赛结果 */
    .football-recent-results {
        padding: 15px 10px;
    }
    
    .recent-result-item {
        padding: 12px;
    }
    
    .result-teams {
        gap: 10px;
    }
    
    .team-icon-small,
    .team-flag-small {
        width: 25px;
        height: 25px;
        font-size: 1.2rem;
    }
    
    .team-name-small {
        font-size: 0.8rem;
        max-width: 70px;
    }
    
    .score-number {
        font-size: 1.2rem;
    }
    
    .score-separator {
        font-size: 1rem;
    }
    
    .result-date {
        font-size: 0.75rem;
    }
    
    /* 比赛卡片 */
    .football-match-card {
        padding: 20px;
    }
    
    .match-header {
        margin-bottom: 15px;
    }
    
    .match-league {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .match-date {
        font-size: 0.75rem;
    }
    
    /* 球员卡片 */
    .football-players-slider-wrapper {
        padding: 0 30px;
    }
    
    .slider-nav-btn {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
        max-width: 35px;
        max-height: 35px;
        aspect-ratio: 1 / 1;
        font-size: 1.1rem;
    }
    
    .football-player-card-compact {
        height: 300px;
    }
    
    .player-image-compact {
        height: 200px;
    }
    
    .player-number-compact {
        font-size: 2.5rem;
        top: 10px;
        right: 10px;
    }
    
    .player-name-compact {
        font-size: 1rem;
    }
    
    .player-info-compact {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .player-position-compact {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    /* 新闻卡片 */
    .football-news-featured-image {
        height: 180px;
    }
    
    .football-news-featured-title {
        font-size: 1.2rem;
    }
    
    .football-news-featured-excerpt {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .football-news-image {
        height: 160px;
    }
    
    .football-news-title {
        font-size: 1rem;
    }
    
    .football-news-excerpt {
        font-size: 0.85rem;
    }
    
    .news-category {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
    
    .news-readmore {
        font-size: 0.8rem;
    }
    
    /* 统计网格 */
    .football-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-icon {
        font-size: 1.8rem;
    }
}

/* 超小屏设备 (小于375px) */
@media (max-width: 375px) {
    .football-team-name {
        font-size: 1.75rem;
    }
    
    .football-section-title {
        font-size: 1.2rem;
    }
    
    .team-logo {
        width: 50px;
        height: 50px;
    }
    
    .team-name {
        font-size: 0.9rem;
    }
    
    .football-player-card-compact {
        height: 280px;
    }
    
    .player-image-compact {
        height: 180px;
    }
    
    .player-number-compact {
        font-size: 2.2rem;
    }
    
    .player-name-compact {
        font-size: 0.95rem;
    }
    
    .football-news-featured-title {
        font-size: 1.1rem;
    }
    
    .football-news-title {
        font-size: 0.95rem;
    }
}

