.page5-body {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.04), transparent 24%),
        radial-gradient(circle at 50% 72%, rgba(22, 22, 22, 0.9), rgba(0, 0, 0, 1) 55%);
    color: #fff;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    overscroll-behavior: none;
}

#page5Scene {
    position: fixed;
    inset: 0;
    z-index: 1;
}

#page5Scene canvas {
    cursor: grab;
    touch-action: none;
}

#page5Scene .a-enter-vr,
#page5Scene .a-enter-ar {
    display: none !important;
}

.page5-body.is-dragging #page5Scene canvas {
    cursor: grabbing;
}

.page5-back {
    position: fixed;
    top: 18px;
    left: 18px;
    z-index: 30;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(6, 6, 6, 0.72);
    color: #f2f2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.page5-back:hover,
.page5-back:focus-visible {
    transform: translateY(-1px);
    background: rgba(16, 16, 16, 0.92);
    border-color: rgba(255, 255, 255, 0.32);
    outline: none;
}

.page5-loading {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: radial-gradient(circle at 50% 35%, rgba(16, 16, 16, 0.88), rgba(0, 0, 0, 0.97) 65%);
    color: rgba(255, 255, 255, 0.86);
    letter-spacing: 0.04em;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page5-loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page5-loading-ring {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    animation: page5-spin 0.85s linear infinite;
}

@keyframes page5-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .page5-back {
        top: calc(14px + env(safe-area-inset-top));
        left: calc(14px + env(safe-area-inset-left));
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}