/* FatVPN — движение. Одна сцена загрузки в первом экране + живой глобус; остальное — ответ на действия. */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes border-spin { to { --angle: 360deg; } }
@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mark-in { from { opacity: 0; transform: translateY(-20px) rotate(-14deg) scale(0.7); } to { opacity: 1; transform: none; } }
@keyframes globe-in { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes card-in { from { opacity: 0; transform: translateY(20px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes sheen { 0%, 70% { background-position: -150% 0; } 100% { background-position: 250% 0; } }

/* Сцена загрузки: значок, слово, подпись, кнопки, глобус, карточки */
.js .hero .status-pill { animation: rise 900ms var(--ease-out) both 100ms; }
.js .wordmark__mark { animation: mark-in 1100ms var(--ease-out) both 250ms; }
.js .float-word { animation: rise 1000ms var(--ease-out) both 420ms; }
.js .hero__lead { animation: rise 900ms var(--ease-out) both 700ms; }
.js .hero__cta { animation: rise 900ms var(--ease-out) both 820ms; }
.js .globe { animation: globe-in 1600ms var(--ease-out) both 300ms; }
.js .float-card { animation: card-in 800ms var(--ease-out) both, float-y 6s ease-in-out infinite; }
.js .float-card--1 { animation-delay: 1500ms, 2300ms; }
.js .float-card--2 { animation-delay: 1650ms, 3100ms; }
.js .float-card--3 { animation-delay: 1800ms, 2700ms; }
.js .float-card--4 { animation-delay: 1950ms, 3500ms; }


/* Станция медленно плывёт по своей орбите и чуть поворачивается; огонёк мигает */
@keyframes station-drift { 0% { transform: translate(0, 0) rotate(-18deg); } 50% { transform: translate(60px, -24px) rotate(-10deg); } 100% { transform: translate(0, 0) rotate(-18deg); } }
@keyframes beacon { 0%, 80%, 100% { opacity: 0.15; } 88% { opacity: 1; } }
.station { animation: station-drift 26s ease-in-out infinite; }
.station__beacon { animation: beacon 2.4s linear infinite; }
.js .station img { animation: rise 1400ms var(--ease-out) both 1200ms; }

/* Появление при прокрутке: короткое и тихое */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
