/* 能量核心页面样式 */
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&display=swap');

/* 全局样式 */
.energy-core-title {
    text-align: center;
    margin: 3rem 0;
}

.energy-core-title h2 {
    font-size: 4rem;
    color: #ff69b4;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
    animation: pulse 3s infinite alternate;
}

.energy-core-title .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    letter-spacing: 2px;
    margin-top: 1rem;
}

section {
    margin: 4rem 0;
    padding: 2rem;
    background: rgba(15, 15, 26, 0.7);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    font-size: 2rem;
    color: #ff69b4;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #ccc;
    font-size: 1rem;
}

/* 粒子实验室样式 */
.lab-section {
    position: relative;
    overflow: hidden;
}

.energy-particle-container {
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    margin: 0 auto;
}

#energy-ball {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgb(255, 115, 190), rgba(255, 0, 128, 0.7));
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.8);
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

#energy-ball:hover {
    box-shadow: 0 0 40px rgba(255, 105, 180, 1);
}

#energy-ball::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 230, 240, 0.8), transparent);
    border-radius: 50%;
    animation: pulse 2s infinite alternate;
}

#particle-trail {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.lab-instructions {
    position: absolute;
    bottom: 20px;
    text-align: center;
    color: #ccc;
    width: 100%;
    font-style: italic;
}

/* 喵星科技演示区域样式 */
.tech-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tech-card {
    width: 300px;
    padding: 20px;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(255, 105, 180, 0.4);
}

.tech-visual {
    height: 180px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(20, 20, 40, 0.5);
    position: relative;
}

.tech-card h4 {
    color: #ff69b4;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.tech-card p {
    color: #ccc;
    font-size: 0.9rem;
}

/* 各个技术卡片特定样式 */
#warp-engine .tech-visual {
    background: linear-gradient(to right, #1a1a2e, #4a2159);
}

#quantum-nest .tech-visual {
    background: linear-gradient(to right, #2c3e50, #4a00e0);
}

#energy-shield .tech-visual {
    background: linear-gradient(to right, #134e5e, #71b280);
}

/* 数据可视化区域样式 */
.data-viz-section {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(15, 15, 26, 0.9), rgba(30, 30, 50, 0.9));
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.data-viz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 105, 180, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 200, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.data-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.data-card {
    background: rgba(20, 20, 35, 0.8);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.data-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 70%);
    transform: rotate(0deg);
    animation: cardGlow 10s linear infinite;
    pointer-events: none;
}

.data-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
    border-color: rgba(255, 105, 180, 0.4);
}

.data-card h4 {
    color: #ff69b4;
    margin-bottom: 25px;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    position: relative;
    display: inline-block;
}

.data-card h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
}

/* 猫爪形状的进度条容器 */
.paw-progress-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.paw-progress-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 105, 180, 0.1) 0%, transparent 70%);
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

.paw-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.paw-progress-base {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: path('M75,10 C100,10 120,40 120,70 C120,80 115,90 100,90 C90,90 85,80 75,80 C65,80 60,90 50,90 C35,90 30,80 30,70 C30,40 50,10 75,10 Z M40,100 C50,100 55,110 55,120 C55,130 47,140 40,140 C30,140 25,130 25,120 C25,110 30,100 40,100 Z M75,100 C85,100 90,110 90,120 C90,130 82,140 75,140 C65,140 60,130 60,120 C60,110 65,100 75,100 Z M110,100 C120,100 125,110 125,120 C125,130 117,140 110,140 C100,140 95,130 95,120 C95,110 100,100 110,100 Z');
    background: rgba(30, 30, 50, 0.5);
    border: 2px solid rgba(255, 105, 180, 0.3);
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.2));
}

.paw-progress-fill {
    position: absolute;
    width: 100%;
    height: 100%;
    clip-path: path('M75,10 C100,10 120,40 120,70 C120,80 115,90 100,90 C90,90 85,80 75,80 C65,80 60,90 50,90 C35,90 30,80 30,70 C30,40 50,10 75,10 Z M40,100 C50,100 55,110 55,120 C55,130 47,140 40,140 C30,140 25,130 25,120 C25,110 30,100 40,100 Z M75,100 C85,100 90,110 90,120 C90,130 82,140 75,140 C65,140 60,130 60,120 C60,110 65,100 75,100 Z M110,100 C120,100 125,110 125,120 C125,130 117,140 110,140 C100,140 95,130 95,120 C95,110 100,100 110,100 Z');
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    opacity: 0.8;
    transform: scale(0.95);
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.5));
}

.paw-progress-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff69b4;
    margin-top: 20px;
    font-family: 'Space Mono', monospace;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
    position: relative;
    display: inline-block;
}

.data-value::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.data-card:hover .data-value::after {
    transform: scaleX(1);
}

/* 数据标签 */
.data-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 105, 180, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #ff69b4;
    backdrop-filter: blur(5px);
}

/* 动画效果 */
@keyframes cardGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes floatParticle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .energy-core-title h2 {
        font-size: 3rem;
    }
    
    .tech-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .tech-card {
        width: 100%;
        max-width: 300px;
    }
    
    .data-dashboard {
        grid-template-columns: 1fr;
    }
    
    .data-card {
        padding: 20px;
    }
    
    .paw-progress-container {
        width: 150px;
        height: 150px;
    }
    
    .data-value {
        font-size: 2rem;
    }
} 