/* ===== 共享动画样式 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(102, 126, 234, 0.3);
    }
    to {
        text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3), 0 0 40px rgba(102, 126, 234, 0.7);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
    50% {
        background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    }
    100% {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }
}

/* 滚动触发动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 粒子样式 */
.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* 页脚基础样式 */
.footer-base {
    background: #0f172a;
    color: #fff;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-base .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-base .footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-base .footer-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #667eea;
    font-family: 'Playfair Display', serif;
}

.footer-base .footer-info p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-base .footer-links h4,
.footer-base .footer-social h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #667eea;
    font-family: 'Playfair Display', serif;
}

.footer-base .footer-links ul {
    list-style: none;
}

.footer-base .footer-links li {
    margin-bottom: 12px;
}

.footer-base .footer-links a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
}

.footer-base .footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.footer-base .footer-links a:hover {
    opacity: 1;
    color: #667eea;
    padding-left: 25px;
}

.footer-base .footer-links a:hover::before {
    left: 5px;
}

.footer-base .social-icons {
    display: flex;
    gap: 15px;
}

.footer-base .social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-base .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.footer-base .social-icons a:hover::before {
    left: 100%;
}

.footer-base .social-icons a:hover {
    transform: translateY(-5px);
    background: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer-base .footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    position: relative;
    z-index: 1;
    font-family: 'Playfair Display', serif;
}

@media (max-width: 768px) {
    .footer-base .footer-content {
        gap: 40px;
    }
}
