/* 治愈花园邀请区域样式 */
.healing-invitation-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        rgba(76, 175, 80, 0.2) 0%,
        rgba(139, 195, 74, 0.2) 25%,
        rgba(156, 204, 101, 0.2) 50%,
        rgba(165, 214, 167, 0.2) 75%,
        rgba(200, 230, 201, 0.2) 100%
    );
    backdrop-filter: blur(15px);
    overflow: hidden;
    opacity: 0;
    transform: translateY(80px) scale(0.95);
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: sectionPulse 6s ease-in-out infinite;
}

.healing-invitation-section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.invitation-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 600px;
    padding: 0 20px;
}

.invitation-text {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.healing-invitation-section.visible .invitation-text {
    opacity: 1;
    transform: translateY(0);
}

.invitation-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(76, 175, 80, 0.3),
        0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
    line-height: 1.2;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.invitation-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.95;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.2);
    animation: subtitleFloat 4s ease-in-out infinite;
}

.invitation-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    border-radius: 50px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 
        0 8px 25px rgba(76, 175, 80, 0.4),
        0 4px 15px rgba(76, 175, 80, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(30px) scale(0.9) rotateX(10deg);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    animation: buttonFloat 5s ease-in-out infinite;
}

.healing-invitation-section.visible .invitation-btn {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    transition-delay: 0.8s;
}

.invitation-btn::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: left 0.6s ease;
}

.invitation-btn:hover::before {
    left: 100%;
}

.invitation-btn:hover {
    transform: translateY(-8px) scale(1.08) rotateX(-5deg);
    box-shadow: 
        0 15px 40px rgba(76, 175, 80, 0.5),
        0 8px 25px rgba(76, 175, 80, 0.4),
        0 0 50px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #43a047 0%, #5cb85c 100%);
    filter: brightness(1.1);
}

.invitation-btn i {
    font-size: 1.1em;
    transition: transform 0.3s ease;
}

.invitation-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* 背景粒子效果 */
.invitation-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(76, 175, 80, 0.6) 30%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    filter: blur(0.5px);
}

.floating-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.floating-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1.5s;
    animation-duration: 8s;
}

.floating-particle:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 7s;
}

.floating-particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 4.5s;
    animation-duration: 9s;
}

.floating-particle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 6s;
    animation-duration: 5s;
}

@keyframes floatParticle {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.3) rotate(0deg);
    }
    15% {
        opacity: 0.8;
        transform: translateY(-15px) scale(1) rotate(90deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-40px) scale(1.3) rotate(180deg);
    }
    85% {
        opacity: 0.6;
        transform: translateY(-60px) scale(0.9) rotate(270deg);
    }
}

@keyframes sectionPulse {
    0%, 100% {
        backdrop-filter: blur(15px);
    }
    50% {
        backdrop-filter: blur(20px);
    }
}

@keyframes titleGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(76, 175, 80, 0.3),
            0 4px 15px rgba(0, 0, 0, 0.2);
    }
    100% {
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(76, 175, 80, 0.5),
            0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

@keyframes subtitleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0) scale(1) rotateX(0deg);
    }
    50% {
        transform: translateY(-3px) scale(1.02) rotateX(2deg);
    }
}

/* 暗色模式支持 */
body.dark-mode .healing-invitation-section {
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.15) 0%,
        rgba(76, 175, 80, 0.15) 25%,
        rgba(102, 187, 106, 0.15) 50%,
        rgba(129, 199, 132, 0.15) 75%,
        rgba(165, 214, 167, 0.15) 100%
    );
}

body.dark-mode .invitation-title {
    color: #ffffff;
    text-shadow: 
        0 0 25px rgba(255, 255, 255, 0.6),
        0 0 50px rgba(102, 187, 106, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .invitation-subtitle {
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .healing-invitation-section {
        min-height: 80vh;
        padding: 40px 20px;
    }
    
    .invitation-content {
        max-width: 100%;
    }
    
    .invitation-text {
        margin-bottom: 30px;
    }
    
    .invitation-btn {
        padding: 15px 30px;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .healing-invitation-section {
        min-height: 70vh;
    }
    
    .invitation-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}