/* 首页样式 */

/* 最新动态横幅 */
.latest-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: white;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-box {
    text-align: center;
}

.countdown-box h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: white;
}

.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 8px;
    min-width: 70px;
}

.countdown-number {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.countdown-label {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

/* 快捷入口 */
.quick-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.quick-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

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

.quick-card.video-card {
    border-left-color: #e74c3c;
}

.quick-card.scores-card {
    border-left-color: #27ae60;
}

.quick-card.analysis-card {
    border-left-color: #3498db;
}

.quick-icon {
    font-size: 40px;
    margin-right: 15px;
}

.quick-text h4 {
    margin: 0 0 5px 0;
    color: #1a5276;
    font-size: 18px;
}

.quick-text p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 联赛信息样式 */
.container {
    margin-top: 0;
}

.league-info {
    margin-bottom: 40px;
}

.org-info {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.org-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

.org-item {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.org-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.org-item strong {
    color: #1a5276;
    font-weight: 600;
    min-width: 120px;
    font-size: 15px;
}

.org-item span {
    color: #333;
    font-size: 15px;
    flex: 1;
}

.group-title {
    margin-top: 30px;
    text-align: center;
    color: #1a5276;
}

.group-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.group-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.group-card h3 {
    margin: 0 0 10px 0;
    color: #1a5276;
}

.group-icon {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.group-card p {
    margin: 0;
    color: #666;
}

.group-card.xuemeng {
    border-top: 4px solid #3498db;
}

.group-card.rumen {
    border-top: 4px solid #2ecc71;
}

.group-card.tigao {
    border-top: 4px solid #9b59b6;
}

/* 月份部分样式 */
.month-section {
    margin-bottom: 50px;
}

.month-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.month-header h2 {
    color: #1a5276;
    margin: 0;
}

.badge {
    background: #27ae60;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: white;
}

.upcoming-badge {
    background: #f39c12;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    color: white;
}

.month-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

/* 链接部分样式 */
.links-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.link-card {
    background: white;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e8e8e8;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

.link-icon {
    font-size: 32px;
    margin-right: 15px;
    color: #3498db;
}

.link-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.link-content h4 {
    margin: 0 0 6px 0;
    color: #1a5276;
    font-size: 17px;
    font-weight: 600;
}

.link-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #1a5276;
    margin-bottom: 10px;
}

.empty-state p {
    color: #666;
    font-size: 16px;
}

/* 视频部分样式 */
.video-section {
    margin-top: 30px;
}

.video-section h3 {
    color: #1a5276;
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .group-info {
        grid-template-columns: 1fr;
    }
    
    .links-section {
        grid-template-columns: 1fr;
    }
    
    .month-content {
        padding: 20px;
    }
    
    .month-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px 15px;
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 12px;
    }
    
    .quick-access {
        grid-template-columns: 1fr;
    }
    
    .latest-banner {
        padding: 20px;
    }
}

/* 最新动态（左右两栏） */
.latest-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.latest-column {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    overflow: hidden;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.column-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1a5276;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #2980b9;
}

.column-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 新闻条目行样式 */
.news-item-row {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.news-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 日期盒子样式 */
.item-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 55px;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    border-left: 3px solid #3498db;
}

.date-month-day {
    font-size: 14px;
    font-weight: 700;
    color: #2980b9;
    letter-spacing: 0.5px;
}

.date-year {
    font-size: 10px;
    color: #7f8c8d;
    font-weight: 500;
    margin-top: 2px;
}

/* New标签样式 */
.new-badge {
    background: #e74c3c;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 6px;
}

.item-content {
    flex: 1;
}

.item-content h3 {
    margin: 0 0 5px 0;
    font-size: 15px;
    line-height: 1.6;
    display: inline;
}

.item-content h3 a {
    color: #1a5276;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.item-content h3 a:hover {
    color: #3498db;
}

.item-content p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* 右侧信息区域样式 */
.info-column {
    display: flex;
    flex-direction: column;
}

.info-section {
    margin-bottom: 20px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.info-title {
    margin: 0;
    font-size: 15px;
    color: #1a5276;
    font-weight: 600;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item-row {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.info-item-row:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .latest-section {
        grid-template-columns: 1fr;
    }
}