/* 高清画质页面专属样式 */
.mgsp-quality-layout {
    position: relative;
    min-height: 100vh;
}

/* 画质规格卡片 */
.mgsp-spec-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

.mgsp-spec-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.3);
}

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

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

.mgsp-spec-value {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* 画质对比部分 */
.mgsp-comparison-card {
    position: relative;
    overflow: hidden;
}

.mgsp-comparison-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.mgsp-quality-overlay {
    backdrop-filter: blur(4px);
}

.mgsp-comparison-image img {
    transition: all 0.3s ease;
}

.mgsp-comparison-card:hover .mgsp-comparison-image img {
    transform: scale(1.05);
}

/* 画质徽章 */
.mgsp-quality-badge {
    position: relative;
    overflow: hidden;
}

.mgsp-quality-badge::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-comparison-card:hover .mgsp-quality-badge::before {
    left: 100%;
}

/* 升级横幅动画 */
.mgsp-upgrade-banner {
    position: relative;
    overflow: hidden;
}

.mgsp-upgrade-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(249, 115, 22, 0.1), transparent);
    animation: upgradeShine 3s infinite;
}

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

/* 技术指标动画 */
.mgsp-spec-features > div {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.mgsp-spec-features > div:nth-child(1) { animation-delay: 0.1s; }
.mgsp-spec-features > div:nth-child(2) { animation-delay: 0.2s; }
.mgsp-spec-features > div:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mgsp-spec-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .mgsp-spec-value {
        font-size: 2rem;
    }
    
    .mgsp-spec-title {
        font-size: 1.25rem;
    }
}

/* 特殊效果 */
.mgsp-spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(239, 68, 68, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1.5rem;
    pointer-events: none;
}

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