/* JRS风格首页样式 */

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f0f4f8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* 顶部导航栏 */
.jrs-header {
    background: #1e3a8a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #3b82f6;
    padding: 10px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-item:hover a,
.nav-item.active a {
    background: #3b82f6;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    border-radius: 25px;
    padding: 5px 15px;
    border: 1px solid rgba(255,255,255,0.3);
}

.search-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    width: 150px;
    padding: 5px;
}

.search-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

.login-btn {
    color: #fff;
    padding: 8px 20px;
    background: #3b82f6;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
}

.login-btn:hover {
    background: #2563eb;
}

/* 轮播图区域 */
.banner-section {
    padding: 30px 0;
}

.banner-slider {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.banner-item {
    position: relative;
}

.banner-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 40px 30px 30px;
    color: #fff;
}

.banner-overlay h3 {
    font-size: 24px;
    font-weight: 600;
}

/* 快速导航 */
.quick-nav {
    padding: 15px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* 一级分类 */
.level1-categories ul {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.level1-categories ul li {
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
    user-select: none;
}

.level1-categories ul li.active {
    color: #fff;
    background: #1e3a8a;
}

.level1-categories ul::-webkit-scrollbar {
    height: 4px;
}

.level1-categories ul::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.level1-categories li {
    flex-shrink: 0;
}

.category-item {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-item.active {
    color: #fff;
    background: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.category-icon {
    display: none;
}

.category-name {
    font-size: 14px;
}

/* 二级分类 */
.level2-categories ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

.level2-categories ul li {
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
    user-select: none;
}

.level2-categories ul li.active {
    color: #fff;
    background: #1e3a8a;
}

.level2-categories ul::-webkit-scrollbar {
    height: 4px;
}

.level2-categories ul::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.level2-categories li {
    flex-shrink: 0;
}

.subcategory-group {
    display: inline-flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.subcategory-group.active {
    display: inline-flex;
}

.subcategory-item {
    font-size: 16px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.subcategory-item.active {
    color: #fff;
    background: #1e3a8a;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

.sub-icon {
    margin-right: 5px;
    font-size: 12px;
}

.sub-name {
    font-size: 13px;
}

/* 通用区块标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #1e3a8a;
    border-radius: 2px;
}

.more-link {
    color: #1e3a8a;
    font-weight: 500;
}

.more-link:hover {
    color: #3b82f6;
}

/* 今日赛事 */
.today-matches {
    padding: 0 0 40px;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 400px;
}

/* 日期分组 */
.date-group {
    margin-bottom: 16px;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.date-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    color: #fff;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.date-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.date-header:hover::before {
    left: 100%;
}

.date-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 3px solid transparent;
    min-height: 80px;
}

.match-card:hover {
    box-shadow: 0 3px 10px rgba(30, 58, 138, 0.15);
    border-left-color: #1e3a8a;
    transform: translateX(3px);
}

.match-time {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 100px;
    text-align: center;
}

.time {
    font-size: 14px;
    color: #333;
}

.match-litpic {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.match-litpic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.status {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    width: fit-content;
}

.status.live {
    background: #ff4757;
    color: #fff;
    animation: pulse 2s infinite;
}

.status.finished {
    background: #2ed573;
    color: #fff;
}

.status.upcoming {
    background: #ffa502;
    color: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.match-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
    min-width: 400px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team.home {
    justify-content: flex-end;
}

.team.away {
    justify-content: flex-start;
}

.team img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.team-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

.vs {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    padding: 0 10px;
    min-width: 50px;
    text-align: center;
}

.match-league {
    min-width: 100px;
    text-align: center;
}

.league-name {
    padding: 4px 12px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.watch-btn {
    padding: 8px 20px;
    background: #1e3a8a;
    color: #fff;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
    border: 1px solid #3b82f6;
}

.watch-btn:hover {
    background: #3b82f6;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

/* 赛事信号源 */
.signal-list {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    min-width: 400px;
}

.signal-list li {
    flex: 1;
    min-width: 0;
}

.signal-list li a {
    display: block;
    padding: 3px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.signal-list li a:hover {
    background: #1e3a8a;
    color: #fff;
}

/* 热门推荐 */
.hot-recommend {
    padding: 40px 0;
    background: #fff;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.recommend-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.recommend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recommend-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title a:hover {
    color: #667eea;
}

.card-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

/* 最新资讯 */
.latest-news {
    padding: 40px 0;
}

.news-list {
    display: grid;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.news-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.news-image {
    width: 280px;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-title a:hover {
    color: #1e3a8a;
}

.news-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.category {
    color: #1e3a8a;
    font-weight: 500;
}

/* 友情链接 */
.friend-links {
    padding: 30px 0;
    background: #fff;
}

.links-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.links-list a {
    padding: 8px 15px;
    background: #f5f7fa;
    border-radius: 5px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.links-list a:hover {
    background: #667eea;
    color: #fff;
}

/* 页脚 */
.jrs-footer {
    background: #1e3a8a;
    color: #fff;
    padding: 10px 0;
    border-top: 3px solid #3b82f6;
    text-align: center;
}

.jrs-footer p {
    margin: 5px 0;
}

.jrs-footer .disclaimer {
    margin-top: 10px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    border-left: none;
    border-top: 3px solid #fbbf24;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-links h4,
.contact-info h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .level1-categories ul {
        gap: 15px;
    }
    
    .category-item {
        font-size: 15px;
    }
    
    .category-item.all-item {
        padding: 3px 10px;
    }
    
    .level2-categories ul {
        gap: 12px;
    }
    
    .subcategory-item {
        font-size: 14px;
    }
    
    .subcategory-item.all-item {
        padding: 3px 10px;
    }
    
    .recommend-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    /* 赛事卡片 */
    .match-card {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .match-litpic {
        margin-right: 6px;
    }
    
    .match-league {
        flex: 1 1 auto;
        min-width: 120px;
    }
    
    .match-time {
        min-width: 80px;
    }
    
    .match-teams {
        min-width: 280px;
        flex: 1 1 100%;
        order: 3;
        margin-top: 8px;
    }
    
    .signal-list {
        min-width: 280px;
        flex: 1 1 100%;
        order: 4;
        margin-top: 8px;
    }
    
    .team-name {
        font-size: 13px;
    }
    
    .signal-list li a {
        padding: 4px 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    /* 头部导航 */
    .jrs-header {
        background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
        box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 0;
        gap: 12px;
    }
    
    .logo img {
        height: 50px;
        width: 50px;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 8px;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        padding: 8px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    
    .nav-item a {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 8px;
        color: rgba(255,255,255,0.9);
    }
    
    .nav-item a:hover,
    .nav-item.active a {
        background: rgba(255,255,255,0.2);
        color: #fff;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-input {
        width: 100%;
    }
    
    /* 分类导航 */
    .quick-nav {
        padding: 12px 0;
        background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }
    
    .level1-categories ul {
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
        scrollbar-width: none;
    }
    
    .level1-categories ul::-webkit-scrollbar {
        display: none;
    }
    
    .level1-categories ul li {
        font-size: 13px;
        padding: 6px 14px;
        white-space: nowrap;
        flex-shrink: 0;
        border-radius: 16px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1.5px solid transparent;
    }
    
    .level1-categories ul li.active {
        background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
        color: #fff;
        box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
        transform: translateY(-2px);
        border-color: rgba(255,255,255,0.3);
    }
    
    /* 赛事卡片 */
    .today-matches {
        padding: 16px 0 32px;
        background: linear-gradient(to bottom, #f8fafc 0%, #f1f5f9 100%);
    }
    
    .match-litpic {
        display: none;
    }
    
    .match-card {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        min-height: auto;
        align-items: stretch;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        border: 1px solid #e2e8f0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .match-card:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .match-time {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        order: -1;
        padding: 10px 12px;
        border-bottom: 2px solid #f1f5f9;
        background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
        border-radius: 10px;
    }
    
    .time {
        font-weight: 700;
        font-size: 14px;
        color: #1e40af;
        letter-spacing: 0.5px;
    }
    
    .match-league {
        width: 100%;
        text-align: center;
        order: 0;
    }
    
    .league-name {
        font-size: 13px;
        padding: 6px 14px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
        border-radius: 16px;
        font-weight: 600;
        letter-spacing: 0.3px;
        color: #fff;
    }
    
    .match-teams {
        width: 100%;
        min-width: auto;
        gap: 12px;
        order: 1;
        padding: 16px 0;
    }
    
    .team {
        flex-direction: row;
        gap: 8px;
        flex: 1;
    }
    
    .team.home,
    .team.away {
        justify-content: center;
    }
    
    .team img {
        width: 44px;
        height: 44px;
        filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12));
    }
    
    .team-name {
        font-size: 14px;
        font-weight: 700;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #1e293b;
    }
    
    .vs {
        font-size: 18px;
        font-weight: 900;
        min-width: 50px;
        padding: 8px 16px;
        background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
        border: 2px solid #fecaca;
        border-radius: 20px;
        color: #dc2626;
        box-shadow: 0 3px 10px rgba(220, 38, 38, 0.2);
        letter-spacing: 1px;
    }
    
    .signal-list {
        width: 100%;
        min-width: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        order: 2;
        padding-top: 12px;
        border-top: 2px solid #f1f5f9;
    }
    
    .signal-list li {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
    }
    
    .signal-list li a {
        display: block;
        padding: 8px 12px;
        font-size: 12px;
        font-weight: 600;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: #fff;
        border-radius: 16px;
        box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
        border: 1.5px solid rgba(255,255,255,0.2);
        transition: all 0.3s ease;
    }
    
    .signal-list li a:active {
        transform: scale(0.95);
        box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
    }
    
    /* 暂无数据提示 */
    .no-data-tip {
        padding: 50px 20px;
        font-size: 15px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        border: 2px dashed #cbd5e1;
    }
    
    /* 新闻列表 */
    .news-item {
        flex-direction: column;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }
    
    /* 友情链接 */
    .links-list {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .links-list a {
        font-size: 13px;
        padding: 6px 12px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }
    
    /* 页脚 */
    .jrs-footer {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
        gap: 12px;
    }
    
    .footer-links a {
        color: #94a3b8;
        transition: all 0.3s ease;
    }
    
    .footer-links a:hover {
        color: #fff;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* 头部 */
    .logo img {
        height: 32px;
    }
    
    .nav-item a {
        padding: 7px 12px;
        font-size: 13px;
    }
    
    /* 分类导航 */
    .quick-nav {
        padding: 10px 0;
    }
    
    .level1-categories ul {
        gap: 6px;
    }
    
    .level1-categories ul li {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    /* 赛事卡片 */
    .today-matches {
        padding: 12px 0 28px;
    }
    
    .match-card {
        padding: 14px;
        gap: 10px;
    }
    
    .match-time {
        padding: 8px 10px;
    }
    
    .time {
        font-size: 13px;
    }
    
    .league-name {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .match-teams {
        gap: 10px;
        padding: 14px 0;
    }
    
    .team img {
        width: 38px;
        height: 38px;
    }
    
    .team-name {
        font-size: 13px;
        max-width: 90px;
    }
    
    .vs {
        font-size: 16px;
        min-width: 45px;
        padding: 6px 14px;
    }
    
    .signal-list {
        gap: 6px;
        padding-top: 10px;
    }
    
    .signal-list li a {
        padding: 7px 10px;
        font-size: 11px;
    }
    
    /* 暂无数据提示 */
    .no-data-tip {
        padding: 40px 15px;
        font-size: 14px;
    }
    
    /* 页脚 */
    .jrs-footer {
        padding: 10px 0 18px;
    }
    
    .footer-bottom {
        font-size: 12px;
        line-height: 1.6;
    }
}

/* 超小屏幕优化 (iPhone SE等) */
@media (max-width: 375px) {
    .container {
        padding: 0 8px;
    }
    
    .logo img {
        height: 28px;
    }
    
    .level1-categories ul li {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .match-card {
        padding: 12px;
    }
    
    .team img {
        width: 34px;
        height: 34px;
    }
    
    .team-name {
        font-size: 12px;
        max-width: 80px;
    }
    
    .vs {
        font-size: 14px;
        min-width: 40px;
        padding: 5px 12px;
    }
    
    .signal-list li a {
        padding: 6px 8px;
        font-size: 10px;
    }
}

/* 暂无数据提示 */
.no-data-tip {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
