/* VIP会员页面专属样式 */
.mgsp-vip-layout {
    position: relative;
    min-height: 100vh;
}

/* VIP试用横幅 */
.mgsp-trial-banner {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
    }
    to {
        box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
    }
}

/* 套餐卡片 */
.mgsp-plan-card {
    transform: translateY(0);
    transition: all 0.3s ease;
    position: relative;
}

.mgsp-plan-card:hover {
    transform: translateY(-10px);
}

.mgsp-plan-recommended {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(249, 115, 22, 0.4);
}

.mgsp-plan-recommended:hover {
    transform: scale(1.08) translateY(-10px);
}

/* 推荐徽章动画 */
.mgsp-recommended-badge {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-5px) translateX(-50%);
    }
    60% {
        transform: translateY(-3px) translateX(-50%);
    }
}

/* 价格动画 */
.mgsp-plan-price {
    position: relative;
    overflow: hidden;
}

.mgsp-plan-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: priceShine 3s infinite;
}

@keyframes priceShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* 特权卡片 */
.mgsp-privilege-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mgsp-privilege-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
}

.mgsp-privilege-card:hover::before {
    opacity: 1;
}

.mgsp-privilege-card:hover {
    transform: translateY(-5px);
}

.mgsp-privilege-icon {
    transition: all 0.3s ease;
}

.mgsp-privilege-card:hover .mgsp-privilege-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 用户评价卡片 */
.mgsp-testimonial-card {
    transition: all 0.3s ease;
    position: relative;
}

.mgsp-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.mgsp-user-avatar {
    transition: all 0.3s ease;
}

.mgsp-testimonial-card:hover .mgsp-user-avatar {
    transform: scale(1.1);
}

/* 评级星星动画 */
.mgsp-rating i {
    transition: all 0.2s ease;
}

.mgsp-rating i:hover {
    transform: scale(1.2);
    text-shadow: 0 0 10px currentColor;
}

/* VIP统计数据动画 */
.mgsp-vip-stats > div > div:first-child {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    background: linear-gradient(45deg, #f97316, #ef4444);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 按钮悬停效果 */
.mgsp-plan-card button {
    position: relative;
    overflow: hidden;
}

.mgsp-plan-card button::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.5s;
}

.mgsp-plan-card button:hover::before {
    left: 100%;
}

/* 特殊布局调整 */
.mgsp-privileges-grid > div {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.mgsp-privileges-grid > div:nth-child(1) { animation-delay: 0.1s; }
.mgsp-privileges-grid > div:nth-child(2) { animation-delay: 0.2s; }
.mgsp-privileges-grid > div:nth-child(3) { animation-delay: 0.3s; }
.mgsp-privileges-grid > div:nth-child(4) { animation-delay: 0.4s; }
.mgsp-privileges-grid > div:nth-child(5) { animation-delay: 0.5s; }
.mgsp-privileges-grid > div:nth-child(6) { animation-delay: 0.6s; }
.mgsp-privileges-grid > div:nth-child(7) { animation-delay: 0.7s; }
.mgsp-privileges-grid > div:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mgsp-plan-recommended {
        transform: none;
    }
    
    .mgsp-plan-recommended:hover {
        transform: translateY(-10px);
    }
    
    .mgsp-privilege-icon {
        width: 3rem;
        height: 3rem;
    }
}