/* ===== 10-base.css — базовые стили и фон ===== */
html,
body {
    height: 100%;
}

body {
    margin: 0;
    min-height: var(--app-vh, 100vh);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* сцена у «пола» */
    background: var(--tg-theme-bg-color, #0a0f1f);
    background-size: cover;
    overscroll-behavior: none;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overflow: hidden;
}

/* Фоновый градиент под всей сценой */
.scene-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(1200px 800px at 20% -20%, var(--g-soft) 0%, transparent 60%),
        radial-gradient(800px 600px at 85% 30%, rgba(77, 243, 255, .25) 0%, transparent 55%),
        linear-gradient(180deg, var(--g-base), var(--g-deep) 80%);
    background-color: var(--g-deep);
}

.scene-gradient::before {
    content: "";
    position: absolute;
    inset: -15%;
    background: radial-gradient(1000px 700px at 15% -25%, rgba(255, 255, 255, .06), transparent 65%);
    filter: blur(8px);
    animation: glowShift 10s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes glowShift {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(2%, -1%, 0);
    }
}