/* VACA Games — bright, playful, motion-rich. Respects prefers-reduced-motion. */
@view-transition { navigation: auto; }

:root {
  --bg: #05060b;
  --ink: #f2f0ff;
  --ink-2: #b9b5d9;
  --ink-3: #7f7aa6;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .055);
  --edge: rgba(255, 255, 255, .11);
  --brand: #8b7bff;
  --brand-2: #ff7ab6;
  --brand-3: #34d1bf;
  --brand-4: #ffb547;
  --radius: 28px;
  --shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 18px 50px -18px rgba(0, 0, 0, .7);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --display: "Outfit", "Pretendard Variable", Pretendard, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background:
    radial-gradient(55% 32% at 50% -6%, rgba(92, 70, 220, .30), transparent 72%) fixed,
    radial-gradient(40% 30% at 100% 100%, rgba(15, 140, 150, .10), transparent 70%) fixed,
    var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- ambient aurora background ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i {
  position: absolute; width: 34vmax; height: 34vmax; border-radius: 50%;
  filter: blur(90px); opacity: .13; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { background: #5b3cff; top: -14vmax; left: -10vmax; }
.aurora i:nth-child(2) { background: #c2187a; top: 8vmax; right: -16vmax; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: #0fa3a8; bottom: -18vmax; left: 18vmax; animation-duration: 36s; animation-delay: -14s; }
.aurora i:nth-child(4) { background: #b86b1f; bottom: 6vmax; right: 12vmax; width: 30vmax; height: 30vmax; animation-duration: 30s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12) rotate(30deg); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.94) rotate(-20deg); }
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
/* starfield: three parallax layers of tiled dots, twinkling */
.stars { position: fixed; inset: -50% 0 0 0; z-index: -2; pointer-events: none; }
.stars i { position: absolute; inset: 0; background-repeat: repeat; animation: twinkle 5s ease-in-out infinite alternate, starfall 240s linear infinite; }
.stars i:nth-child(1) { background-image: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1px 1px at 140px 90px, #cfc8ff, transparent), radial-gradient(1px 1px at 260px 170px, #fff, transparent), radial-gradient(1px 1px at 80px 220px, #ffd7ee, transparent), radial-gradient(1px 1px at 330px 40px, #fff, transparent); background-size: 360px 260px; opacity: .55; }
.stars i:nth-child(2) { background-image: radial-gradient(1.5px 1.5px at 60px 120px, #fff, transparent), radial-gradient(1.5px 1.5px at 300px 260px, #b9f3ff, transparent), radial-gradient(1.5px 1.5px at 420px 60px, #fff, transparent), radial-gradient(1.5px 1.5px at 190px 340px, #e3dcff, transparent); background-size: 520px 420px; animation-duration: 7s, 180s; animation-delay: -2s, 0s; opacity: .7; }
.stars i:nth-child(3) { background-image: radial-gradient(2px 2px at 110px 80px, #fff, transparent), radial-gradient(2.5px 2.5px at 520px 380px, #fff4c9, transparent), radial-gradient(2px 2px at 760px 200px, #fff, transparent); background-size: 900px 640px; animation-duration: 3.6s, 120s; animation-delay: -1s, 0s; filter: drop-shadow(0 0 3px #fff); }
@keyframes twinkle { from { opacity: .25; } to { opacity: .95; } }
@keyframes starfall { to { transform: translate3d(0, 50%, 0); } }
.meteors { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.meteors b { position: absolute; top: -10%; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 2px rgba(200,190,255,.8); opacity: 0; animation: meteor 9s linear infinite; }
.meteors b::after { content: ""; position: absolute; top: 50%; right: 1px; width: 160px; height: 1px; transform: translateY(-50%); background: linear-gradient(90deg, rgba(255,255,255,.9), transparent); }
.meteors b:nth-child(1) { left: 78%; animation-delay: 1.5s; }
.meteors b:nth-child(2) { left: 52%; animation-delay: 5.5s; animation-duration: 11s; }
.meteors b:nth-child(3) { left: 95%; animation-delay: 8s; animation-duration: 13s; }
@keyframes meteor {
  0% { opacity: 0; transform: rotate(215deg) translateX(0); }
  3% { opacity: 1; }
  12% { opacity: 0; transform: rotate(215deg) translateX(-900px); }
  100% { opacity: 0; transform: rotate(215deg) translateX(-900px); }
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .8; } }
/* cursor spotlight (desktop) */
.spot {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(180,170,255,.07), transparent 60%);
  transition: opacity .4s;
}

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50; margin: 14px auto 0; width: min(1180px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px 10px 18px; border-radius: 999px;
  background: rgba(14, 15, 24, .6); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid var(--edge); box-shadow: 0 10px 30px -14px rgba(0,0,0,.8);
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 4px 12px rgba(74,144,226,.55)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.logo-mark img { width: 100%; height: 100%; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(139,123,255,.16); color: #fff; }
.lang { font-size: 13px !important; border: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 90px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: min(82vh, 760px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--edge); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 6px 20px -12px rgba(60,40,140,.35);
}
.eyebrow b { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; padding: 2px 9px; border-radius: 999px; font-size: 12px; }
h1.title {
  text-shadow: 0 0 40px rgba(139,123,255,.25);
  font-family: var(--display); font-size: clamp(46px, 7.2vw, 96px); line-height: .98; letter-spacing: -.045em; margin: 22px 0 18px; font-weight: 800;
}
.shine {
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand-2) 30%, var(--brand-4) 55%, var(--brand-3) 80%, var(--brand) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 30em; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  --c: var(--brand); position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px; border-radius: 16px;
  font-weight: 700; font-size: 15.5px; text-decoration: none; color: #fff; background: var(--c); border: 0; cursor: pointer;
  box-shadow: 0 10px 24px -10px var(--c); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; will-change: transform;
  overflow: hidden;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 16px 32px -12px var(--c); }
.btn.ghost { color: var(--ink); background: rgba(255,255,255,.07); border: 1px solid var(--edge); box-shadow: 0 8px 22px -14px rgba(0,0,0,.6); }

/* orbiting icon constellation */
.orbit-stage { position: relative; aspect-ratio: 1; width: min(560px, 100%); max-width: 100%; margin-inline: auto; perspective: 1200px; }
.orbit-core {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(var(--ry, 0) * 1deg + 58deg)) rotateZ(calc(var(--rx, 0) * 1deg));
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.ring { position: absolute; inset: 9%; border-radius: 50%; border: 2px dashed rgba(160,145,255,.35); animation: spin 60s linear infinite; }
.ring.r2 { inset: 22%; border-style: solid; border-color: rgba(255,122,182,.3); animation-duration: 40s; animation-direction: reverse; }
.ring.r3 { inset: 35%; border-color: rgba(52,209,191,.35); animation-duration: 28s; }
.carousel { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 38s linear infinite; }
.sat {
  position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d;
  transform: rotate(var(--a)) translateX(var(--r, 205px));
}
.sat .face {
  position: absolute; width: 108px; height: 108px; left: -54px; top: -54px; transform-style: preserve-3d;
  transform: rotate(calc(var(--a) * -1)) rotateX(-58deg); /* undo plane tilt so icons face the viewer */
  animation: counter 38s linear infinite;
}
@keyframes counter { from { transform: rotate(calc(var(--a) * -1)) rotateZ(0deg) rotateX(-58deg); } to { transform: rotate(calc(var(--a) * -1)) rotateZ(-360deg) rotateX(-58deg); } }
.sat img, .core-badge img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 26%;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .7), 0 0 0 3px rgba(255,255,255,.18), 0 0 30px -4px rgba(139,123,255,.45);
  animation: bob 4.6s ease-in-out infinite; animation-delay: var(--d, 0s);
}
@keyframes bob { 50% { transform: translateY(-10px) scale(1.04); } }
.core-badge {
  position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px;
  transform: translateZ(40px) rotateX(-58deg); animation: pulse 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 40px rgba(20, 70, 160, .55)) drop-shadow(0 0 26px rgba(90, 160, 255, .45));
}
.core-badge img { width: 100%; height: 100%; animation: bob 5.2s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 24px 40px rgba(20, 70, 160, .55)) drop-shadow(0 0 44px rgba(120, 185, 255, .75)); } }
.glow { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(170,150,255,.55), rgba(255,90,180,.18) 45%, transparent 70%); filter: blur(14px); animation: breathe 6s ease-in-out infinite; }

/* ---------- marquee ---------- */
.marquee { margin: 30px 0 10px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 280px; width: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; background: #15123a; border-radius: 22px; box-shadow: var(--shadow); border: 3px solid rgba(255,255,255,.14); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 70px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-family: var(--display); font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.sec-head p { color: var(--ink-2); margin: 0; max-width: 28em; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; display: block; }

/* game cards with 3D tilt + glare */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.gcard {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--card); border: 1px solid var(--edge); box-shadow: var(--shadow);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; overflow: hidden; isolation: isolate;
}
.gcard::before {
  content: ""; position: absolute; inset: -40% -40% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--accent2), transparent 70%); opacity: .7; transition: transform .6s;
}
.gcard::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(255,255,255,.14), transparent 55%); opacity: 0; transition: opacity .3s;
}
.gcard:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 50%, transparent), 0 30px 70px -20px color-mix(in srgb, var(--accent) 70%, transparent); }
.gcard:hover::after { opacity: 1; }
.gcard:hover::before { transform: scale(1.25) translate(-10%, 10%); }
.gtop { display: flex; gap: 16px; align-items: center; transform: translateZ(40px); }
.gicon { width: 84px; height: 84px; flex: none; border-radius: 24px; overflow: hidden; box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--accent) 80%, black); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.gcard:hover .gicon { transform: rotate(-6deg) scale(1.08); }
.gicon img { width: 100%; height: 100%; object-fit: cover; }
.gname { font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.ggenre { font-size: 13.5px; color: var(--ink-3); font-weight: 600; margin-top: 3px; }
.gtag { color: var(--ink-2); font-size: 15px; margin: 0; transform: translateZ(25px); }
.gfoot { display: flex; justify-content: space-between; align-items: center; transform: translateZ(30px); }
.badge { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge.live { background: rgba(34,197,94,.16); color: #6ee7a0; }
.badge.review { background: rgba(251,191,36,.16); color: #fcd34d; }
.badge.testing { background: rgba(129,140,248,.18); color: #a5b4fc; }
.badge.dev { background: rgba(192,132,252,.18); color: #d8b4fe; }
.badge .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-right: 6px; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }
.arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid var(--edge); box-shadow: 0 6px 16px -8px rgba(0,0,0,.6); transition: transform .3s, background .3s, color .3s; }
.gcard:hover .arrow { transform: translateX(4px) rotate(-45deg); background: var(--accent); color: #fff; }
.peek { display: flex; gap: 8px; height: 150px; transform: translateZ(20px); }
.peek img { flex: 1; min-width: 0; object-fit: cover; object-position: top; border-radius: 14px; border: 2px solid rgba(255,255,255,.14); box-shadow: 0 8px 18px -10px rgba(0,0,0,.7); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.gcard:hover .peek img:nth-child(1) { transform: translateY(-6px) rotate(-3deg); }
.gcard:hover .peek img:nth-child(2) { transform: translateY(-12px); }
.gcard:hover .peek img:nth-child(3) { transform: translateY(-6px) rotate(3deg); }

/* values strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.value .emo { font-size: 34px; display: inline-block; animation: bob 3.6s ease-in-out infinite; }
.value h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.value p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- game page ---------- */
.ghero { padding: 70px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ghero .bigicon { width: 132px; height: 132px; border-radius: 34px; overflow: hidden; box-shadow: 0 26px 50px -18px color-mix(in srgb, var(--accent) 80%, black); animation: float 6s ease-in-out infinite; }
.ghero .bigicon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.ghero h1 { font-family: var(--display); font-size: clamp(38px, 5.6vw, 72px); letter-spacing: -.04em; line-height: 1; margin: 22px 0 10px; }
.ghero .tag { font-size: 20px; color: var(--ink-2); margin: 0 0 20px; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 14px; background: #fff; color: #0d0a2b; text-decoration: none; font-weight: 700; font-size: 14.5px; transition: transform .25s; }
.store-btn small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; }
.store-btn.off { background: rgba(255,255,255,.07); color: var(--ink-3); border: 1px solid var(--edge); cursor: default; }
.store-btn:not(.off):hover { transform: translateY(-3px); }
.phones { position: relative; height: 560px; perspective: 1400px; }
.phone {
  position: absolute; top: 50%; left: 50%; width: 230px; aspect-ratio: 9 / 19.2; border-radius: 34px; overflow: hidden;
  border: 7px solid #15131f; background: #15131f; box-shadow: 0 40px 70px -26px rgba(20,10,60,.55);
  transform: translate(-50%, -50%) rotateY(var(--ty, 0deg)) translateX(var(--tx, 0)) translateZ(var(--tz, 0)) rotateZ(var(--tr, 0deg));
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone:nth-child(1) { --tx: -150px; --tz: -120px; --ty: 24deg; --tr: -4deg; }
.phone:nth-child(2) { --tz: 40px; z-index: 2; }
.phone:nth-child(3) { --tx: 150px; --tz: -120px; --ty: -24deg; --tr: 4deg; }
.phones:hover .phone:nth-child(1) { --tx: -190px; }
.phones:hover .phone:nth-child(3) { --tx: 190px; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; }
.feature-list li { padding: 18px 20px; border-radius: 20px; background: var(--card); border: 1px solid var(--edge); box-shadow: var(--shadow); font-weight: 600; display: flex; gap: 12px; align-items: center; }
.feature-list li::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 4px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 20%, transparent); }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.gallery img { height: 440px; width: auto; border-radius: 24px; scroll-snap-align: center; border: 3px solid rgba(255,255,255,.14); box-shadow: var(--shadow); transition: transform .4s; }
.gallery img:hover { transform: translateY(-8px) rotate(-1deg); }

/* ---------- prose (privacy, support) ---------- */
.prose { max-width: 820px; margin: 0 auto; padding: 60px 0; }
.prose h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 54px); letter-spacing: -.035em; margin: 0 0 10px; }
.prose h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); }
.prose .meta { color: var(--ink-3); font-size: 14px; }
.panel { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--edge); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--ink-3); font-weight: 700; font-size: 13px; }
.yes { color: #6ee7a0; font-weight: 700; } .no { color: var(--ink-3); }
.mail { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; text-decoration: none; padding: 16px 22px; border-radius: 18px; background: var(--card); border: 1px solid var(--edge); box-shadow: var(--shadow); }
.faq details { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--edge); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; }

/* ---------- footer ---------- */
footer { padding: 50px 0 60px; color: var(--ink-3); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 26px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--brand); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1), filter .9s; transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero, .ghero { grid-template-columns: minmax(0, 1fr); padding-top: 50px; min-height: auto; }
  .hero > *, .ghero > * { min-width: 0; }
  .orbit-stage { width: min(420px, 100%); }
  .sat { --r: 150px !important; }
  .sat .face { width: 80px; height: 80px; left: -40px; top: -40px; }
  .core-badge { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
  .values { grid-template-columns: 1fr; }
  .phones { height: 470px; }
  .phone { width: 190px; }
  .phone:nth-child(1) { --tx: -110px; } .phone:nth-child(3) { --tx: 110px; }
  .marquee img { height: 220px; }
  .gallery img { height: 380px; }
  .nav-links a:not(.lang):not(.keep) { display: none; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .games { grid-template-columns: 1fr; }
  .sat { --r: 120px !important; }
  .sat .face { width: 64px; height: 64px; left: -32px; top: -32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}
