/* Lazarus 3D Section – pink background, scroll-driven model */
.lazarus-section {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    min-height: 108vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* 底部与 Cross 顶部同色，过渡自然 */
    background: linear-gradient(180deg, #d26550c8 0%, #d2547ebd 35%, #a54187b4 70%, #b54ebeb7 100%);
    overflow: hidden;
}

/* 星星/银河背景层（在标题和模型后面） */
.lazarus-section .stars-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lazarus-section .star {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: rgba(255, 200, 220, 0.6);
    box-shadow: 0 0 3px rgba(255, 180, 210, 0.35);
    animation: star-twinkle 2.5s ease-in-out infinite;
    mix-blend-mode: screen;
}

.lazarus-section .star.star--small {
    width: 1px;
    height: 1px;
    background: rgba(255, 190, 215, 0.5);
    box-shadow: 0 0 2px rgba(255, 170, 200, 0.3);
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

.lazarus-section-title-wrap {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0 16px 0;
    pointer-events: none;
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.lazarus-section-title {
    color: #ffffff;
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 400;
    font-family: 'Dancing Script', 'Great Vibes', cursive;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
    transform: translateZ(0) scale(var(--lazarus-title-scale, 1));
    transform-origin: center center;
    will-change: transform;
    backface-visibility: hidden;
}

.lazarus-canvas-wrap {
    position: sticky;
    top: 80px;
    z-index: 1;
    width: 100%;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background: transparent;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.lazarus-canvas-wrap canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* 电脑屏幕：标题更大 */
@media (min-width: 1024px) {
    .lazarus-section-title {
        font-size: clamp(38px, 5vw, 56px);
    }
}

@media (max-width: 768px) {
    .lazarus-section {
        display: none !important;
    }
}

