/* Vortex 粒子动画样式 */
.vortex-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, #f0f8f0 0%, #f8fbf8 100%);
    border-radius: 12px;
}

.vortex-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .vortex-container {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .vortex-container {
        min-height: 200px;
    }
}

/* 粒子动画容器上的内容覆盖样式 */
.vortex-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* 加载状态 */
.vortex-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

/* 粒子系统控制按钮 */
.vortex-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 10px;
}

.vortex-controls button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.vortex-controls button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 动画性能优化 */
.vortex-canvas {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
}

/* 防止文本选择 */
.vortex-container {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}