/* Argon Timeline Calendar Styles */
.argon-timeline-calendar {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.timeline-container {
    position: relative;
    padding-left: 30px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

/* 年份分组 */
.timeline-year-group {
    margin-bottom: 40px;
}

.timeline-year-header {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.timeline-year-header::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* 月份标题 */
.timeline-month-header {
    font-size: 18px;
    font-weight: 600;
    color: #34495e;
    margin: 25px 0 15px 20px;
    padding: 8px 15px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: inline-block;
    position: relative;
}

.timeline-month-header::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #667eea;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* 时间轴项目 */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.timeline-item:nth-child(even) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(odd) {
    animation-delay: 0.2s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-marker {
    position: absolute;
    left: -23px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-marker i {
    font-size: 8px;
    color: #667eea;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    border-color: #764ba2;
    box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2);
}

.timeline-item:hover .timeline-marker i {
    color: #764ba2;
}

.timeline-content {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-left: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.timeline-date {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-time {
    margin-left: 10px;
    padding: 2px 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    font-size: 12px;
    color: #667eea;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.timeline-description {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-description p {
    margin: 0 0 10px 0;
}

.timeline-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-game {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.category-exhibition {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.category-conference {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.category-general {
    background: rgba(149, 165, 166, 0.1);
    color: #95a5a6;
}

/* 空状态 */
.timeline-calendar-empty {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .argon-timeline-calendar {
        padding: 15px;
    }
    
    .timeline-container {
        padding-left: 25px;
    }
    
    .timeline-container::before {
        left: 12px;
    }
    
    .timeline-year-header {
        font-size: 24px;
        padding-left: 15px;
    }
    
    .timeline-year-header::before {
        left: -20px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-month-header {
        font-size: 16px;
        margin-left: 15px;
    }
    
    .timeline-month-header::before {
        left: -28px;
        width: 8px;
        height: 8px;
    }
    
    .timeline-marker {
        left: -20px;
        width: 14px;
        height: 14px;
    }
    
    .timeline-marker i {
        font-size: 7px;
    }
    
    .timeline-content {
        margin-left: 15px;
        padding: 15px;
    }
    
    .timeline-content::before {
        left: -7px;
        border-right-width: 7px;
        border-top-width: 7px;
        border-bottom-width: 7px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .timeline-year-header {
        font-size: 20px;
    }
    
    .timeline-month-header {
        font-size: 14px;
    }
    
    .timeline-title {
        font-size: 15px;
    }
    
    .timeline-content {
        padding: 12px;
    }
}

/* 加载动画 */
.timeline-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.timeline-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}