/* poet-feature 页面样式 */

/* ======== 从 poet-feature.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
.poet-feature-header {
            background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
            color: white;
            padding: 60px 20px;
            text-align: center;
            margin-bottom: 40px;
        }

        .poet-feature-header h1 {
            font-size: 3em;
            margin-bottom: 10px;
            font-family: "Microsoft YaHei", sans-serif;
        }

        .poet-feature-header .subtitle {
            font-size: 1.2em;
            opacity: 0.9;
        }

        .poet-profile {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        .poet-image {
            position: sticky;
            top: 20px;
            align-self: start;
        }

        .poet-image img {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        }

        .poet-basic-info {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        .info-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: bold;
            width: 100px;
            color: #8B4513;
        }

        .info-value {
            flex: 1;
            color: #333;
        }

        .poet-bio {
            background: #fff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .section-title {
            font-size: 2em;
            color: #8B4513;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 3px solid #DAA520;
            text-align: center;
        }

        .poems-section {
            max-width: 1200px;
            margin: 0 auto 60px;
            padding: 0 20px;
        }

        .poem-card {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            margin-bottom: 30px;
            border-left: 5px solid #DAA520;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            opacity: 0;
            transform: translateY(30px);
            animation: cardEntry 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }
        
        .poem-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(218,165,32,0.05), transparent);
            transition: left 0.6s;
        }
        
        .poem-card:hover {
            transform: translateY(-8px) rotateX(2deg);
            box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
            border-left-color: #8B4513;
        }
        
        .poem-card:hover::before {
            left: 100%;
        }
        
        @keyframes cardEntry {
            from { opacity: 0; transform: translateY(30px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .poem-title {
            font-size: 1.8em;
            color: #8B4513;
            margin-bottom: 15px;
        }

        .poem-content {
            font-size: 1.3em;
            line-height: 2;
            margin-bottom: 20px;
            font-family: "KaiTi", "楷体", serif;
            text-align: center;
        }

        .poem-analysis {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 5px;
            margin-top: 20px;
        }

        .poem-analysis h4 {
            color: #8B4513;
            margin-bottom: 10px;
        }

        .journey-section {
            max-width: 1200px;
            margin: 0 auto 60px;
            padding: 0 20px;
        }

        .journey-timeline {
            position: relative;
            padding-left: 50px;
        }

        .journey-timeline::before {
            content: '';
            position: absolute;
            left: 20px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #DAA520;
        }

        .journey-item {
            position: relative;
            margin-bottom: 40px;
        }

        .journey-item::before {
            content: '';
            position: absolute;
            left: -36px;
            top: 5px;
            width: 12px;
            height: 12px;
            background: #8B4513;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 0 0 3px #8B4513;
        }

        .journey-year {
            font-size: 1.5em;
            color: #8B4513;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .journey-location {
            font-size: 1.2em;
            margin-bottom: 10px;
        }

        .journey-event {
            color: #666;
            line-height: 1.6;
        }

        .gallery-section {
            max-width: 1200px;
            margin: 0 auto 60px;
            padding: 0 20px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }

        .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 10px;
            font-size: 0.9em;
        }

        .nav-buttons {
            text-align: center;
            margin-bottom: 60px;
        }

        .nav-btn {
            display: inline-block;
            padding: 12px 30px;
            margin: 0 10px;
            background: #8B4513;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background 0.3s;
        }

        .nav-btn:hover {
            background: #D2691E;
        }

        @media (max-width: 768px) {
            .poet-profile {
                grid-template-columns: 1fr;
            }

            .poet-image {
                position: static;
            }

            .poet-feature-header h1 {
                font-size: 2em;
            }
        }
        
        /* ====== 增强交互效果 ====== */
        
        /* 页面标题动画 */
        .poet-feature-header h1 {
            animation: titleFadeIn 1s ease-out;
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        @keyframes titleFadeIn {
            0% { opacity: 0; transform: translateY(-30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 诗人卡片入场动画 */
        .poet-card {
            animation: cardSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }
        
        .poet-card:nth-child(1) { animation-delay: 0.1s; }
        .poet-card:nth-child(2) { animation-delay: 0.2s; }
        .poet-card:nth-child(3) { animation-delay: 0.3s; }
        .poet-card:nth-child(4) { animation-delay: 0.4s; }
        
        @keyframes cardSlideIn {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 卡片悬浮效果 */
        .poet-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .poet-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(139, 69, 19, 0.18);
        }
        
        /* 诗人名字渐变 */
        .poet-card h3 {
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* 诗句展示动画 */
        .poem-preview {
            animation: poemFadeIn 0.6s ease-out 0.2s backwards;
        }
        
        @keyframes poemFadeIn {
            0% { opacity: 0; transform: translateY(10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        /* 标签动画 */
        .tag {
            transition: all 0.3s ease;
            animation: tagPulse 2s ease-in-out infinite;
        }
        
        .tag:nth-child(odd) { animation-delay: 0.5s; }
        
        @keyframes tagPulse {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; }
        }
        
        .tag:hover {
            transform: scale(1.1);
            background: #DAA520;
            color: #8B4513;
        }
        
        /* 导航按钮波纹 */
        .nav-btn {
            position: relative;
            overflow: hidden;
        }
        
        .nav-btn::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.4s ease-out, height 0.4s ease-out;
        }
        
        .nav-btn:active::after {
            width: 200%;
            height: 200%;
        }
        
        /* 统计数字动画 */
        .stat-number {
            animation: numberPop 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            background: linear-gradient(135deg, #8B4513, #DAA520);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        @keyframes numberPop {
            0% { opacity: 0; transform: scale(0.5); }
            50% { transform: scale(1.2); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        /* 诗人头像悬浮 */
        .poet-image {
            transition: all 0.3s ease;
        }
        
        .poet-image:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
        }
        
        /* 详情区域入场 */
        .poet-details {
            animation: detailsSlideIn 0.6s ease-out 0.3s backwards;
        }
        
        @keyframes detailsSlideIn {
            0% { opacity: 0; transform: translateX(-20px); }
            100% { opacity: 1; transform: translateX(0); }
        }
        
        /* 特色卡片悬浮 */
        .feature-card {
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .feature-card:hover {
            transform: rotate(2deg) translateY(-5px);
            border-color: #DAA520;
        }
        
        /* 诗句标签悬浮 */
        .poem-tag {
            transition: all 0.3s ease;
        }
        
        .poem-tag:hover {
            transform: scale(1.05);
            background: rgba(218, 165, 32, 0.1);
            border-color: #DAA520;
        }
        
        /* 返回顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #8B4513;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            text-decoration: none;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .back-to-top.show {
            opacity: 1;
            animation: btnBounce 0.5s ease-out;
        }
        
        @keyframes btnBounce {
            0% { transform: scale(0); }
            50% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .back-to-top:hover {
            background: #DAA520;
            transform: translateY(-5px);
        }
