/* poetry-geography 页面样式 */

/* ======== 从 poetry-geography.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
:root {
            --primary-color: #4a90d9;
            --secondary-color: #8B4513;
            --text-dark: #333;
            --text-gray: #666;
            --bg-light: #f8f9fa;
        }
        
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: 'Noto Serif SC', 'KaiTi', 'STKaiti', serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.8;
        }
        
        header {
            background: linear-gradient(135deg, var(--primary-color), #357abd);
            padding: 35px 20px;
            color: white;
            text-align: center;
        }
        
        .header-title {
            font-size: 36px;
            font-weight: bold;
            letter-spacing: 8px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            margin-bottom: 10px;
        }
        
        .header-subtitle {
            font-size: 16px;
            opacity: 0.9;
        }
        
        .cross-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            padding: 20px;
            background: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            flex-wrap: wrap;
            margin-bottom: 20px;
        }
        
        .cross-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 20px;
            background: linear-gradient(135deg, var(--primary-color), #357abd);
            color: white;
            text-decoration: none;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .cross-link-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
        }
        
        .direct-answer {
            background: white;
            padding: 25px;
            margin: 20px auto;
            max-width: 1000px;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.08);
            border-left: 4px solid var(--primary-color);
        }
        
        .direct-answer h3 {
            color: var(--primary-color);
            margin-bottom: 10px;
            font-size: 18px;
        }
        
        .direct-answer p {
            font-size: 16px;
            color: #444;
            line-height: 2.0;
        }
        
        .container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .city-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .city-tab {
            padding: 12px 25px;
            border: none;
            border-radius: 25px;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'KaiTi', 'STKaiti', serif;
            font-weight: 500;
            background: white;
            color: var(--text-dark);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .city-tab:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
        .city-tab.active { 
            background: linear-gradient(135deg, var(--primary-color), #357abd); 
            color: white; 
            transform: scale(1.05); 
        }
        
        .city-section {
            display: none;
            opacity: 0;
            transform: translateY(30px) scale(0.98);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .city-section.active {
            display: block;
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        
        .city-header {
            transition: all 0.5s ease;
        }
        
        .city-header:hover {
            transform: translateX(10px);
        }
        
        .poem-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.06);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .poem-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(74,144,217,0.05), transparent);
            transition: left 0.6s;
        }
        
        .poem-card:hover {
            transform: translateY(-8px) rotateX(2deg);
            box-shadow: 0 15px 40px rgba(74, 144, 217, 0.15);
        }
        
        .poem-card:hover::before {
            left: 100%;
        }
        
        .geo-highlight {
            background: linear-gradient(135deg, #f0f7ff, #e0ebf5);
            border-radius: 15px;
            padding: 25px;
            margin-top: 20px;
            border-left: 4px solid var(--primary-color);
            transition: all 0.3s ease;
        }
        
        .geo-highlight:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(74, 144, 217, 0.1);
        }
        
        .city-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 30px;
            padding: 30px;
            border-radius: 15px;
            background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.05));
            border-left: 4px solid var(--primary-color);
        }
        
        .city-icon { font-size: 56px; }
        
        .city-info h2 {
            font-size: 28px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 8px;
        }
        
        .city-info .city-modern-name {
            font-size: 16px;
            color: var(--text-gray);
            margin-bottom: 10px;
        }
        
        .city-info .city-desc {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.8;
        }
        
        .city-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .stat-item {
            background: white;
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            transition: all 0.3s;
        }
        
        .stat-item:hover { transform: translateY(-3px); }
        
        .stat-item .stat-value {
            font-size: 28px;
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 5px;
        }
        
        .stat-item .stat-label {
            font-size: 13px;
            color: var(--text-gray);
        }
        
        .poem-list {
            display: grid;
            gap: 20px;
        }
        
        .poem-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
            border-left: 4px solid var(--secondary-color);
            transition: all 0.3s;
        }
        
        .poem-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }
        
        .poem-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .poem-title {
            font-size: 20px;
            font-weight: bold;
            font-family: 'KaiTi', 'STKaiti', serif;
            color: var(--primary-color);
        }
        
        .poem-author {
            font-size: 14px;
            color: var(--text-gray);
        }
        
        .poem-author a { color: var(--text-dark); text-decoration: none; }
        .poem-author a:hover { text-decoration: underline; }
        
        .poem-content {
            font-family: 'KaiTi', 'STKaiti', serif;
            font-size: 17px;
            line-height: 2.2;
            text-align: center;
            white-space: pre-wrap;
            margin-bottom: 15px;
            color: #333;
        }
        
        .poem-appreciation {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.9;
            text-indent: 2em;
        }
        
        .feature-section {
            background: white;
            border-radius: 15px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.06);
        }
        
        .feature-section h3 {
            font-size: 18px;
            color: var(--primary-color);
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }
        
        .feature-section p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.9;
            margin-bottom: 10px;
        }
        
        .feature-section ul {
            list-style: none;
            padding-left: 0;
        }
        
        .feature-section li {
            font-size: 14px;
            color: var(--text-gray);
            padding: 8px 0;
            border-bottom: 1px solid #eee;
            padding-left: 25px;
            position: relative;
        }
        
        .feature-section li:last-child { border-bottom: none; }
        
        .feature-section li::before {
            content: '📍';
            position: absolute;
            left: 0;
        }
        
        .geo-highlight {
            background: linear-gradient(135deg, rgba(74, 144, 217, 0.1), rgba(74, 144, 217, 0.05));
            border-radius: 10px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .geo-highlight h4 {
            font-size: 16px;
            color: var(--primary-color);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .geo-highlight p {
            font-size: 14px;
            color: var(--text-gray);
            line-height: 1.9;
        }
        
        .credibility-footer {
            background: #f5f5f5;
            padding: 30px;
            margin-top: 40px;
            border-top: 1px solid #ddd;
        }
        
        .credibility-footer h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .credibility-footer p {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        
        @media (max-width: 768px) {
            .header-title { font-size: 24px; letter-spacing: 4px; }
            .city-header { flex-direction: column; text-align: center; }
            .city-info h2 { font-size: 22px; }
            .poem-header { flex-direction: column; gap: 8px; align-items: flex-start; }
            .poem-content { font-size: 16px; line-height: 2.0; }
        }
