/* contact 页面样式 */

/* ======== 从 contact.html 抽取的内联样式（2026-07-18） ======== */
/* 原 <style> 块 1 */
/* ====== 增强交互效果 ====== */
        
        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(-20px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        section {
            animation: sectionSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }
        
        section:nth-child(2) { animation-delay: 0.1s; }
        section:nth-child(3) { animation-delay: 0.2s; }
        section:nth-child(4) { animation-delay: 0.3s; }
        
        @keyframes sectionSlideIn {
            0% { opacity: 0; transform: translateY(30px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        section:hover {
            background: rgba(218, 165, 32, 0.03);
            transform: translateY(-2px);
            transition: all 0.3s ease;
        }
        
        h2 {
            position: relative;
            padding-left: 20px;
        }
        
        h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 4px;
            height: 20px;
            background: #DAA520;
            border-radius: 2px;
        }
        
        .form-group {
            transition: all 0.3s ease;
        }
        
        .form-group input,
        .form-group textarea {
            transition: all 0.3s ease;
            border: 2px solid #e8e0d5;
            border-radius: 8px;
            padding: 12px;
            width: 100%;
            font-size: 14px;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #DAA520;
            box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
            outline: none;
            transform: scale(1.01);
        }
        
        .submit-btn {
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            background: linear-gradient(135deg, #8B4513, #A0522D);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
        }
        
        .submit-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.5s ease-out, height 0.5s ease-out;
        }
        
        .submit-btn:active::after {
            width: 300%;
            height: 300%;
        }
        
        .submit-btn:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
        }
        
        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .ink-particle {
            position: fixed;
            pointer-events: none;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(139,69,19,0.8) 0%, rgba(139,69,19,0) 70%);
            transform: translate(-50%, -50%);
            z-index: 9999;
        }
        
        @keyframes inkSplash {
            0% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(0);
            }
            50% {
                opacity: 0.8;
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(2);
            }
        }
        
        .ink-drop {
            position: fixed;
            pointer-events: none;
            background: rgba(139,69,19,0.6);
            border-radius: 50%;
            z-index: 9998;
        }
        
        @keyframes inkDrop {
            0% {
                opacity: 1;
                transform: translateY(-10px) scale(0);
            }
            100% {
                opacity: 0;
                transform: translateY(100px) scale(1);
            }
        }
        
        ul li {
            transition: all 0.3s ease;
            padding: 8px 12px;
            border-radius: 8px;
            margin-bottom: 5px;
        }
        
        ul li:hover {
            background: rgba(218, 165, 32, 0.1);
            transform: translateX(10px);
            border-left: 3px solid #DAA520;
        }
        
        .contact-info {
            padding: 15px;
            border-radius: 12px;
            background: #fdfaf5;
            border: 1px solid rgba(218, 165, 32, 0.2);
            transition: all 0.3s ease;
        }
        
        .contact-info:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(139, 69, 19, 0.1);
        }
        
        .success-message {
            animation: successFadeIn 0.4s ease-out;
        }
        
        @keyframes successFadeIn {
            0% { opacity: 0; transform: translateY(-10px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        .social-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            padding: 10px 15px;
            border-radius: 8px;
        }
        
        .social-link:hover {
            background: rgba(218, 165, 32, 0.1);
            transform: translateX(5px);
        }

/* 原内联 style 属性（已转为 class） */
.ih-1de1zci {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.ih-lbsx9d {
    color: #8B4513;
    margin-bottom: 10px;
}

.ih-uwddpi {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8e0d5;
    border-radius: 8px;
    font-size: 14px;
}

.ih-1y98cqs {
    margin-bottom: 20px;
}

.ih-16d0x8a {
    margin-left: 20px;
}

.ih-henn8w {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.ih-19t3ikh {
    margin-top: 10px;
}
