/* lastone.ucagg.de - Nocturne (uca-theme-v1) with fallbacks; the demos are slow, calm loops (no flashing). */
:root {
  --bg: var(--uca-bg, #161826); --bg2: var(--uca-bg2, #1a1c2a); --surface: var(--uca-surface, #232532); --surface2: var(--uca-surface2, #2a2c3a);
  --line: var(--uca-line, #2c2f3c); --line2: var(--uca-line2, #3f424d); --text: var(--uca-text, #e9e9ed); --muted: var(--uca-muted, #9397ab);
  --accent: var(--uca-accent, #9184d9); --accent-rgb: var(--uca-accent-rgb, 145, 132, 217); --accentText: var(--uca-accentText, #d2cefd); --accentDeep: var(--uca-accentDeep, #2b2741);
  --radius: var(--uca-radius, 8px); --font: var(--uca-font, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); }
a { color: var(--accentText); }
h1, h2, h3 { font-weight: 500; line-height: 1.15; margin: 0; }
.btn { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: var(--radius); border: 1px solid var(--accent); color: var(--text); text-decoration: none; font-weight: 500; transition: background 0.15s; }
.btn:hover { background: var(--accentDeep); }
.btn.primary { box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35); padding: 13px 22px; font-size: 17px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(22,24,38,0.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { border-radius: 8px; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(36px, 8vh, 90px) 0; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.kicker { color: var(--accentText); letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); }
.hero h1 span { color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); max-width: 560px; }
.cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0; }
.soon { color: var(--muted); font-size: 14px; }
.facts { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.facts li { padding: 6px 12px; border: 1px solid var(--line2); border-radius: 99px; color: var(--muted); font-size: 14px; }
.facts b { color: var(--text); font-weight: 600; }
/* a phone lying sideways, with depth and a little light */
.device { position: relative; padding: 14px; border-radius: 34px; background: linear-gradient(145deg, #3a3d4c, #1b1d28); box-shadow: 0 30px 80px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12), 0 0 60px rgba(var(--accent-rgb), 0.12); transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.device .screen { border-radius: 22px; overflow: hidden; aspect-ratio: 844 / 390; background: #0b1220; }
.device img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 880px) { .device { transform: none; } }

section h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 22px; }
.features { padding: 40px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5); padding: 14px 14px 18px; }
.feat h3 { font-size: 19px; margin: 14px 4px 6px; }
.feat p { color: var(--muted); margin: 0 4px; font-size: 15px; }
.demo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.demo svg { display: block; width: 100%; height: auto; }

/* --- demo: waves --- */
.walk { animation: walk 7s linear infinite; }
.d-waves .w1 { animation-delay: 0s; } .d-waves .w2 { animation-delay: -2.3s; } .d-waves .w3 { animation-delay: -4.6s; }
@keyframes walk { from { transform: translate(40px, 100px); } to { transform: translate(150px, 150px); } }
.d-waves .w2 { animation-name: walk2; } @keyframes walk2 { from { transform: translate(250px, 100px); } to { transform: translate(175px, 152px); } }
.d-waves .w3 { animation-name: walk3; } @keyframes walk3 { from { transform: translate(140px, 98px); } to { transform: translate(160px, 150px); } }
.jeep { animation: jeep 6s ease-in-out infinite; } @keyframes jeep { 0% { transform: translate(-30px, 124px); } 50% { transform: translate(160px, 132px); } 100% { transform: translate(340px, 124px); } }
.tracer { animation: tracer 1.2s ease-out infinite; } @keyframes tracer { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } }
.d-waves .tracer { animation-name: shoot; } @keyframes shoot { 0% { opacity: 0.9; } 100% { opacity: 0; } }
/* --- demo: weapon switch (down, up with a small overshoot) --- */
.gun { transform-box: fill-box; opacity: 0; animation: swap 6s infinite; }
.g1 { animation-delay: 0s; } .g2 { animation-delay: 2s; } .g3 { animation-delay: 4s; }
@keyframes swap { 0% { opacity: 1; transform: translateY(60px) rotate(8deg); } 6% { transform: translateY(-4px) rotate(-1deg); } 9% { transform: none; } 30% { opacity: 1; transform: none; } 34% { opacity: 1; transform: translateY(70px) rotate(14deg); } 35%, 100% { opacity: 0; } }
.chips rect { fill: #232532; stroke: #3f424d; } .chips .sel { fill: none; stroke: #9184d9; stroke-width: 2; animation: chip 6s steps(1) infinite; }
@keyframes chip { 0% { transform: translateX(0); } 33.3% { transform: translateX(48px); } 66.6% { transform: translateX(96px); } }
/* --- demo: air --- */
.jet { animation: jet 5s linear infinite; } @keyframes jet { from { transform: translate(-50px, 40px); } to { transform: translate(360px, 90px); } }
.heli { animation: heli 4s ease-in-out infinite alternate; } @keyframes heli { from { transform: translate(200px, 70px); } to { transform: translate(230px, 64px); } }
.rotor { transform-box: fill-box; transform-origin: center; animation: rotor 0.5s linear infinite; } @keyframes rotor { 50% { transform: scaleX(0.2); } }
.crate { animation: crate 6s linear infinite; } @keyframes crate { from { transform: translate(90px, -30px); } to { transform: translate(110px, 140px); } }
/* --- demo: night --- */
.flare, .flare-glow { animation: flare 8s linear infinite; } @keyframes flare { from { transform: translate(110px, 20px); } to { transform: translate(140px, 110px); } }
.search { animation: search 5s ease-in-out infinite alternate; } @keyframes search { from { transform: translateX(-70px); } to { transform: translateX(70px); } }
.d-night .n1 { animation-name: n1; } @keyframes n1 { from { transform: translate(60px, 116px); } to { transform: translate(150px, 150px); } }
.d-night .n2 { animation-name: n2; animation-delay: -3s; } @keyframes n2 { from { transform: translate(260px, 116px); } to { transform: translate(180px, 150px); } }
/* --- demo: boss --- */
.ship { animation: ship 10s ease-in-out infinite alternate; } @keyframes ship { from { transform: translate(40px, 92px); } to { transform: translate(70px, 92px); } }
.t { animation: knock 9s infinite; } .t2 { animation-delay: 3s; } .t3 { animation-delay: 6s; }
@keyframes knock { 0%, 20% { fill-opacity: 1; opacity: 1; } 25%, 100% { opacity: 0.25; } }
.hp { transform-box: fill-box; transform-origin: left; animation: hp 9s steps(4, jump-none) infinite; } @keyframes hp { from { transform: scaleX(1); } to { transform: scaleX(0.05); } }
/* --- demo: airstrike (soft grey puffs, one after another) --- */
.bomber { animation: bomber 6s linear infinite; } @keyframes bomber { from { transform: translate(-60px, 40px); } to { transform: translate(360px, 40px); } }
.p { fill: #9a9aa6; opacity: 0; transform-box: fill-box; transform-origin: center; animation: puff 6s infinite; }
.p1 { animation-delay: 1.4s; } .p2 { animation-delay: 1.9s; } .p3 { animation-delay: 2.4s; } .p4 { animation-delay: 2.9s; } .p5 { animation-delay: 3.4s; }
@keyframes puff { 0% { opacity: 0; transform: scale(0.3); } 6% { opacity: 0.75; fill: #e8a24a; } 20% { opacity: 0.55; fill: #8a8a96; transform: scale(1.4); } 40%, 100% { opacity: 0; transform: scale(1.8); } }
/* --- demo: armory --- */
.bar { transform-box: fill-box; transform-origin: left; animation: fill 6s ease-out infinite; } .b2 { animation-delay: 0.4s; } .b3 { animation-delay: 0.8s; }
@keyframes fill { 0% { transform: scaleX(0.15); } 40%, 90% { transform: scaleX(0.85); } 100% { transform: scaleX(0.15); } }
/* --- demo: modes --- */
.card { transform-box: fill-box; transform-origin: center; animation: card 6s infinite; } .c2 { animation-delay: 2s; } .c3 { animation-delay: 4s; }
@keyframes card { 0%, 30% { transform: translateY(-6px); } 34%, 100% { transform: none; } }
/* --- demo: comfort --- */
.knob { animation: knob 4s ease-in-out infinite; } .k2 { animation-delay: 0.6s; } .k3 { animation-delay: 1.2s; }
@keyframes knob { 0%, 20% { transform: none; } 35%, 80% { transform: translateX(20px); } 95% { transform: none; } }

.shots { padding: 40px 0; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.strip figure { margin: 0; }
.frame { padding: 8px; border-radius: 22px; background: linear-gradient(145deg, #3a3d4c, #1b1d28); box-shadow: 0 16px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.1); }
.frame img { display: block; width: 100%; aspect-ratio: 844 / 390; object-fit: cover; border-radius: 15px; background: #0b1220; }
figcaption { color: var(--muted); font-size: 14px; margin: 8px 4px 0; }
.faq { padding: 40px 0 60px; max-width: 760px; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 12px 16px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 500; }
details p { color: var(--muted); margin: 8px 0 0; }
.foot { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; }
.legal h1 { font-size: 34px; margin-bottom: 16px; } .legal h2 { font-size: 21px; margin: 26px 0 8px; } .legal p, .legal li { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }
