        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(90deg, #2c3e50, #4a6491);
            color: white;
            padding: 15px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 1.8em;
            margin-bottom: 6px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .stats {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 12px;
            font-size: 1em;
        }
        
        .stat-item {
            background: rgba(255,255,255,0.1);
            padding: 6px 10px;
            border-radius: 12px;
            backdrop-filter: blur(5px);
        }
        
        .timeline-container {
            position: relative;
            padding: 40px 20px;
        }
        
        .timeline-axis {
            position: absolute;
            left: 60px;
            top: 0;
            bottom: 0;
            width: 4px;
            background: linear-gradient(to bottom, #8B4513, #FFD700);
            border-radius: 2px;
        }
        
        .timeline-axis::before {
            content: '起源';
            position: absolute;
            top: -25px;
            left: -20px;
            font-size: 12px;
            color: #666;
        }
        
        .timeline-axis::after {
            content: '现在';
            position: absolute;
            bottom: -25px;
            left: -20px;
            font-size: 12px;
            color: #666;
        }
        
        .timeline-events {
            margin-left: 80px;
            position: relative;
        }
        
        .timeline-event {
            display: flex;
            margin-bottom: 30px;
            opacity: 0;
            transform: translateX(-20px);
            animation: fadeIn 0.5s ease forwards;
        }
        
        @keyframes fadeIn {
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .event-marker {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            position: relative;
            flex-shrink: 0;
            margin-right: 20px;
            margin-top: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }
        
        .period-badge {
            background: white;
            color: #333;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .event-content {
            background: #f9f9f9;
            border-left: 4px solid;
            padding: 15px 20px;
            border-radius: 0 10px 10px 0;
            flex-grow: 1;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
        }
        
        .event-content:hover {
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .event-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .era-tag {
            color: white;
            padding: 3px 10px;
            border-radius: 15px;
            font-size: 12px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }
        
        .period {
            font-weight: bold;
            color: #2c3e50;
            font-size: 1.1em;
        }
        
        .event-text {
            margin-bottom: 10px;
            line-height: 1.7;
        }

        .event-text a {
            color: #4a90e2;
            text-decoration: none;
            background: rgba(74, 144, 226, 0.08);
            padding: 2px 6px;
            border-radius: 4px;
            border: 1px solid rgba(74, 144, 226, 0.2);
            margin: 0 3px;
            transition: all 0.2s ease;
            position: relative;
            font-weight: 500;
        }

        .event-text a:hover {
            color: #2c6eb5;
            background: rgba(74, 144, 226, 0.15);
            border-color: rgba(74, 144, 226, 0.4);
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(74, 144, 226, 0.2);
        }

        .event-text a:hover::after {
            opacity: 1;
        }
        
        .link-item {
            background: #e3f2fd;
            color: #1976d2;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 12px;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid #bbdefb;
        }
        
        .link-item:hover {
            background: #bbdefb;
            transform: translateY(-2px);
        }
        
        .era-navigation {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            padding: 20px;
            background: #f5f5f5;
            border-top: 1px solid #ddd;
        }
        
        .era-nav-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 25px;
            color: white;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 8px rgba(0,0,0,0.2);
            text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        }
        
        .era-nav-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        
        .controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 20px;
            background: #f0f0f0;
        }
        
        .control-btn {
            padding: 8px 20px;
            border: none;
            border-radius: 20px;
            background: #4a6491;
            color: white;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .control-btn:hover {
            background: #2c3e50;
        }
        
        .search-box {
            padding: 10px;
            width: 300px;
            border: 2px solid #ddd;
            border-radius: 25px;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s ease;
        }
        
        .search-box:focus {
            border-color: #4a6491;
        }
        
        @media (max-width: 768px) {
            .timeline-axis {
                left: 40px;
            }
            
            .timeline-events {
                margin-left: 60px;
            }
            
            .event-marker {
                width: 30px;
                height: 30px;
            }
            
            .period-badge {
                width: 16px;
                height: 16px;
                font-size: 10px;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .stats {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }