html {
  scroll-behavior: smooth;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum";
}

@keyframes rotateAndPause {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.logo-animated {
    height: 100vh;

    position: relative;
    transform-origin: center;
}

.logo-animated img {
    animation: rotateAndPause 12s linear infinite; /* Adjust the duration as needed */
    transform-origin: center;
    position: absolute;
    transform: translate(-50%, -50%);
}

.lg\:logo-animated img {
    width: 100%;
    max-width: 80vh;

    top: 100%;
    left: 50%;
}

.default\:logo-animated img {
    top: 50%;
    left: 0;
}


.panel-bg-primary{
    background: linear-gradient(113deg, #200d2d 13.33%, #09938f 101.58%)
}

/* ---------- Фон «Human + AI»: руки и касание (js/touch-scene.js) ---------- */
.touch-scene {
    position: fixed;
    inset: 0;
    z-index: -5;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity .8s ease;
}
.touch-scene.is-ready { opacity: 1; }

.touch-hand {
    position: absolute;
    left: 0;
    top: 0;
    max-width: none;
    height: auto;
    opacity: .5;
    will-change: transform, opacity;
    user-select: none;
}
.touch-hand--human { transform-origin: 99.26% 20.07%; }
.touch-hand--robot { transform-origin: 1.37% 39.26%; mix-blend-mode: screen; }

.touch-charge {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.touch-core {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
}
.touch-orb {
    position: absolute;
    width: var(--orb, 120px);
    height: var(--orb, 120px);
    left: calc(var(--orb, 120px) / -2);
    top: calc(var(--orb, 120px) / -2);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(244, 114, 182, .16) 42%, rgba(129, 140, 248, .08) 62%, rgba(255, 255, 255, 0) 71%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), 0 0 18px 2px rgba(255, 255, 255, .22), 0 0 46px 6px rgba(236, 72, 153, .25),
                inset 0 0 22px rgba(255, 255, 255, .16);
    opacity: 0;
    transform: scale(.2);
    transition: opacity .35s ease, transform .9s cubic-bezier(.2, 1.5, .35, 1);
}
.touch-scene.is-touched .touch-orb { opacity: 1; transform: scale(1); }

.touch-logo {
    width: 56%;
    height: auto;
    transform: translate(4%, 2%);
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, .95)) drop-shadow(0 0 14px rgba(255, 255, 255, .6)) drop-shadow(0 0 26px rgba(236, 72, 153, .7));
}

/* Пустая сцена над футером: здесь руки встречаются */
.touch-finale {
    position: relative;
    height: clamp(360px, 64vh, 660px);
    pointer-events: none;
}
.touch-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    /* касание на 40% высоты блока (touch-scene.js), подпись сразу под шаром */
    top: calc(40% + clamp(125px, 15vw, 230px));
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s ease .35s, transform .8s ease .35s;
}
.touch-finale.is-touched .touch-caption { opacity: 1; transform: none; }
.touch-theme {
    font-family: Tektur, Onest, sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1;
    letter-spacing: -.01em;
    text-shadow: 0 0 24px rgba(236, 72, 153, .6);
}
.touch-date { font-size: 15px; color: rgba(255, 255, 255, .75); }

@media (prefers-reduced-motion: reduce) {
    .touch-orb, .touch-caption { transition: opacity .3s ease; transform: none; }
}
@media print {
    .touch-scene, .touch-finale { display: none; }
}
