/* GetComponent Studio — landing */
:root {
  --bg: #07090a;
  --bg-2: #0d1112;
  --panel: #12181a;
  --line: rgba(255, 255, 255, .09);
  --text: #f1f4ee;
  --muted: #9aa49b;
  --green: #9bb829;
  --green-hi: #c3e04a;
  --red: #ee1123;
  --radar: #5dffb0;
  --amber: #ff9a3d;
  --r: 18px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 Montserrat, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow {
  font: 600 13px/1 "JetBrains Mono", monospace;
  letter-spacing: .18em; text-transform: uppercase; color: var(--green-hi);
  margin-bottom: 18px;
}
.h2 { font-weight: 900; font-size: clamp(34px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
.h2--xl { font-size: clamp(56px, 11vw, 150px); max-width: none; }
.grad { background: linear-gradient(95deg, var(--green-hi), var(--green) 45%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--green); color: #0a0d04; box-shadow: 0 10px 40px -10px rgba(155, 184, 41, .7); }
.btn--primary:hover { background: var(--green-hi); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--ats { background: var(--radar); color: #02170d; box-shadow: 0 10px 40px -10px rgba(93, 255, 176, .6); }
.btn--kok { background: var(--red); color: #fff; box-shadow: 0 10px 40px -8px rgba(238, 17, 35, .7); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(16px, 4vw, 44px);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 9, 10, .78); backdrop-filter: blur(16px) saturate(1.4); padding-block: 12px; border-color: var(--line); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 15px; letter-spacing: .02em; color: var(--green); white-space: nowrap; }
.nav__brand img { width: 40px; height: auto; transition: transform .5s var(--ease); }
.nav__brand:hover img { transform: translateY(-5px) rotate(-8deg); }
.nav__brand b { color: var(--red); font-weight: 900; }
.nav__brand i { color: var(--red); font-style: normal; font-weight: 400; margin-left: 2px; }
.nav__links { display: flex; gap: 30px; font-weight: 600; font-size: 14px; }
.nav__links a { position: relative; opacity: .8; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font: 600 12px "JetBrains Mono", monospace; }
.lang span { padding: 6px 11px; border-radius: 999px; color: var(--muted); transition: .2s; }
.lang span.on { background: var(--text); color: #000; }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media, .hero__media video, .hero__shade, .hero__grid { position: absolute; inset: 0; }
.hero__media { z-index: -3; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; filter: saturate(1.1) contrast(1.05); }
.hero__media video.on { opacity: 1; }
.hero__shade { z-index: -2; background:
  radial-gradient(120% 80% at 20% 100%, rgba(7, 9, 10, .96) 0%, rgba(7, 9, 10, .55) 45%, transparent 75%),
  linear-gradient(180deg, rgba(7, 9, 10, .7) 0%, rgba(7, 9, 10, .1) 30%, rgba(7, 9, 10, .75) 78%, var(--bg) 100%); }
.hero__grid { z-index: -1; opacity: .35; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(70% 60% at 80% 30%, #000, transparent); }
.hero__inner { width: min(var(--wrap), 100% - 48px); margin-inline: auto; padding: 140px 0 clamp(90px, 13vh, 150px); position: relative; }
.hero__inner > :not(.hero__frog) { position: relative; z-index: 1; }
.hero__frog { position: absolute; right: -2%; top: 4%; width: clamp(160px, 26vw, 400px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-18px) rotate(-2deg); } }
/* hero intro runs in CSS so it never depends on the animation library loading */
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes drop { 0% { opacity: 0; translate: 0 -260px; rotate: -25deg; } 60% { opacity: 1; translate: 0 0; rotate: 4deg; } 80% { translate: 0 -22px; rotate: 0deg; } 100% { translate: 0 0; } }
.hero__frog { animation: drop 1.1s var(--ease) both, float 6s ease-in-out 1.1s infinite; }
.hero .eyebrow { animation: fadeUp .7s var(--ease) .2s both; }
.hero__title .line > span { animation: rise 1s var(--ease) .3s both; }
.hero__title .line:nth-child(2) > span { animation-delay: .42s; }
.hero__lead { animation: fadeUp .8s var(--ease) .8s both; }
.hero__cta { animation: fadeUp .8s var(--ease) .9s both; }
.hero__title { font-weight: 900; font-size: clamp(34px, 5.2vw, 76px); line-height: 1; letter-spacing: -.035em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { max-width: 54ch; font-size: clamp(16px, 1.5vw, 20px); color: #d6dccf; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__now { position: absolute; right: clamp(16px, 4vw, 44px); bottom: 34px; display: flex; align-items: center; gap: 10px; font: 600 12px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #cfd6c8; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 1.8s infinite; flex: none; }
.hero__now .dot { color: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; padding: 20px 0; animation: marquee 34s linear infinite; font-weight: 900; font-size: clamp(18px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: -.01em; }
.ticker__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); }
.ticker__track i { color: var(--green); font-style: normal; font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-block: clamp(56px, 8vw, 110px); }
.stat { background: var(--bg); padding: clamp(22px, 3vw, 40px); }
.stat b { display: block; font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -.04em; color: var(--green); }
.stat:nth-child(even) b { color: var(--text); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }

.intro { padding-bottom: clamp(40px, 6vw, 70px); }

/* games */
.game { position: relative; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; }
.game__bg { position: absolute; inset: -12% 0; z-index: -3; background-size: cover; background-position: center; }
.game::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.game__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.game__grid--rev .game__copy { order: 2; }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; border: 1px solid currentColor; }
.tag--mono { font-family: "JetBrains Mono", monospace; color: var(--radar); background: rgba(93, 255, 176, .08); }
.tag--kok { color: #ff6b76; background: rgba(238, 17, 35, .12); }
.tag--wall { color: var(--amber); background: rgba(0, 0, 0, .45); backdrop-filter: blur(6px); }
.game__title { font-size: clamp(38px, 5.4vw, 78px); line-height: .98; letter-spacing: -.03em; margin-bottom: 22px; font-weight: 900; }
.game__title--ats { text-transform: uppercase; text-shadow: 0 0 40px rgba(93, 255, 176, .35); }
.game__title--kok { font-family: Cinzel, serif; letter-spacing: 0; text-shadow: 0 4px 40px rgba(238, 17, 35, .55); }
.game__lead { font-size: clamp(16px, 1.35vw, 19px); color: #d3dad2; max-width: 46ch; margin-bottom: 30px; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 34px; }
.feats li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 10, 11, .55); backdrop-filter: blur(8px); transition: transform .3s var(--ease), border-color .3s; }
.feats li:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }
.feats b { display: block; font-weight: 900; font-size: 18px; margin-bottom: 4px; }
.feats span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; }
.feats--mono b { font-family: "JetBrains Mono", monospace; color: var(--radar); font-size: 20px; }
.game--kok .feats b { color: #ff8a92; }
.game__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.platform { font: 600 12px "JetBrains Mono", monospace; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

.game__shots { display: grid; gap: 12px; }
.shot { display: block; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); position: relative; aspect-ratio: 16/9; width: 100%; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.06); filter: brightness(1.12); }
.shot--main { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.shot__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ATS theme */
.game--ats::before { background: linear-gradient(90deg, rgba(3, 14, 12, .96) 0%, rgba(3, 14, 12, .82) 45%, rgba(3, 14, 12, .5) 100%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.game--ats .shot { border-color: rgba(93, 255, 176, .28); }
.radar { position: absolute; z-index: -1; right: -14vw; top: 50%; width: min(86vw, 900px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(93, 255, 176, .22); opacity: .7; background: repeating-radial-gradient(circle, transparent 0 15.9%, rgba(93, 255, 176, .14) 16% 16.2%); }
.radar i { position: absolute; inset: 0; margin: auto; background: rgba(93, 255, 176, .16); }
.radar i:nth-child(1) { width: 1px; height: 100%; } .radar i:nth-child(2) { width: 100%; height: 1px; } .radar i:nth-child(3) { display: none; }
.radar b { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(93, 255, 176, .42), transparent 22%); animation: sweep 5s linear infinite; }
.radar em { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; border-radius: 50%; background: var(--radar); box-shadow: 0 0 14px var(--radar); animation: blip 5s infinite; }
.radar em:nth-of-type(2) { animation-delay: 1.6s; } .radar em:nth-of-type(3) { animation-delay: 3.2s; }
@keyframes sweep { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: .15; transform: scale(.6); } 12% { opacity: 1; transform: scale(1.3); } }

/* KOK theme */
.game--kok::before { background: linear-gradient(270deg, rgba(10, 3, 5, .96) 0%, rgba(10, 3, 5, .8) 45%, rgba(10, 3, 5, .45) 100%), linear-gradient(180deg, var(--bg), transparent 18%, transparent 82%, var(--bg)); }
.game--kok .shot { border-color: rgba(238, 17, 35, .3); }
.fog { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fog i { position: absolute; left: -50%; width: 200%; height: 60%; bottom: -10%; background: radial-gradient(40% 50% at 25% 60%, rgba(200, 205, 215, .16), transparent 70%), radial-gradient(35% 45% at 70% 50%, rgba(200, 205, 215, .13), transparent 70%); filter: blur(30px); animation: drift 38s linear infinite alternate; }
.fog i:last-child { top: -10%; bottom: auto; opacity: .7; animation-duration: 56s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(25%); } }

/* mobile games */
.mobile { padding: clamp(80px, 11vw, 150px) 0; }
.mobile .h2 { margin-bottom: clamp(36px, 5vw, 60px); }
.wall { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; min-height: clamp(440px, 56vw, 640px); display: flex; align-items: flex-end; border: 1px solid rgba(255, 154, 61, .3); margin-bottom: 24px; isolation: isolate; }
.wall__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; z-index: -2; image-rendering: pixelated; transition: transform 1.2s var(--ease); }
.wall:hover .wall__art { transform: scale(1.04); }
.wall__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 6, 3, .95) 0%, rgba(12, 6, 3, .6) 42%, transparent 70%), linear-gradient(0deg, rgba(12, 6, 3, .8), transparent 50%); }
.wall__copy { padding: clamp(24px, 4vw, 56px); max-width: 560px; }
.wall__copy h3 { font-weight: 900; font-size: clamp(46px, 7vw, 96px); line-height: .95; letter-spacing: -.03em; color: #ffd08a; text-shadow: 0 4px 0 #6a2a08, 0 12px 40px rgba(0, 0, 0, .7); margin-bottom: 16px; }
.wall__copy p { color: #eadfce; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 208, 138, .35); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 22px; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.card:hover { transform: translateY(-8px); border-color: rgba(155, 184, 41, .5); box-shadow: 0 40px 80px -40px rgba(155, 184, 41, .35); }
.card__shot { border-radius: 14px; overflow: hidden; height: 300px; margin-bottom: 22px; display: grid; place-items: center; }
.card__shot--wide { background: #17302c; }
.card__shot--wide img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.card__shot--tall { background: linear-gradient(160deg, #2b63e3, #1638a5); align-items: start; }
.card__shot--tall img { width: min(250px, 70%); margin-top: 18px; border-radius: 12px; }
.card__body { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.card__icon { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .8); }
.card h3, .app h3 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; line-height: 1.1; }
.card__sub { color: var(--green-hi); font-size: 13px; font-weight: 600; }
.card__text { color: var(--muted); font-size: 15px; margin-bottom: 20px; flex: 1; }
.store { align-self: flex-start; font-weight: 800; font-size: 14px; padding-bottom: 3px; border-bottom: 2px solid var(--green); transition: color .2s, letter-spacing .3s; }
.stores { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.store--gp { border-color: var(--red); }
.store:hover { color: var(--green-hi); letter-spacing: .02em; }

/* apps */
.apps { padding-bottom: clamp(80px, 11vw, 150px); }
.apps .h2 { margin-bottom: clamp(36px, 5vw, 60px); }
.apps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app { display: grid; grid-template-columns: 1fr 190px; gap: 20px; background: linear-gradient(160deg, var(--panel), #0b0f10); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 28px 28px 0; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.app:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .25); }
.app__copy { padding-bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.app__copy .card__icon { margin-bottom: 18px; }
.app__copy .card__sub { margin: 4px 0 12px; }
.app__phone { align-self: end; border-radius: 18px 18px 0 0; height: 300px; width: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); transform: translateY(14px); }
.app:hover .app__phone { transform: translateY(0); }

/* studio */
.studio { padding: clamp(80px, 11vw, 150px) 0; background: radial-gradient(60% 80% at 15% 50%, rgba(155, 184, 41, .13), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.studio__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.studio__mark { background: #fff; border-radius: calc(var(--r) + 8px); padding: clamp(28px, 4vw, 54px); box-shadow: 0 50px 100px -40px rgba(155, 184, 41, .5); transform: rotate(-3deg); transition: transform .6s var(--ease); }
.studio__mark:hover { transform: rotate(0) scale(1.02); }
.studio .h2 { margin-bottom: 26px; max-width: 18ch; font-size: clamp(30px, 4.2vw, 54px); }
.studio__text { color: #c9d0c6; margin-bottom: 16px; max-width: 58ch; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.pillars li { border-top: 2px solid var(--green); padding-top: 14px; }
.pillars li:nth-child(2) { border-color: var(--red); }
.pillars b { display: block; font-weight: 900; font-size: 17px; margin-bottom: 4px; }
.pillars span { font-size: 13.5px; color: var(--muted); display: block; line-height: 1.45; }

/* contact */
.contact { padding: clamp(90px, 13vw, 180px) 0; text-align: center; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; bottom: -50%; width: 120vw; aspect-ratio: 2; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(238, 17, 35, .2), transparent); pointer-events: none; }
.contact__frog { margin: 0 auto 18px; width: 110px; height: auto; animation: float 5s ease-in-out infinite; }
.contact__lead { color: var(--muted); margin: 18px 0 30px; }
.contact__mail { position: relative; display: inline-block; font-weight: 800; font-size: clamp(18px, 3.4vw, 40px); letter-spacing: -.02em; background: linear-gradient(90deg, var(--green-hi), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 6px; border-bottom: 3px solid var(--green); transition: letter-spacing .4s var(--ease); word-break: break-all; }
.contact__mail:hover { letter-spacing: 0; border-color: var(--red); }
.contact__links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.contact__links a { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14px; transition: .25s var(--ease); }
.contact__links a:hover { background: var(--text); color: #000; transform: translateY(-3px); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 28px 0 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.lightbox__close { position: absolute; top: 14px; right: 20px; font-size: 40px; line-height: 1; }

/* responsive */
@media (max-width: 980px) {
  .nav__links { position: fixed; inset: 0; background: rgba(7, 9, 10, .97); flex-direction: column; align-items: center; justify-content: center; gap: 28px; font-size: 28px; font-weight: 900; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav__links.open { opacity: 1; pointer-events: auto; }
  .nav__right { position: relative; z-index: 2; }
  .burger { display: block; }
  .game__grid, .studio__grid { grid-template-columns: 1fr; }
  .game__grid--rev .game__copy { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cards, .apps__grid { grid-template-columns: 1fr; }
  .hero__frog { top: 12%; right: 0; opacity: .9; width: clamp(130px, 34vw, 260px); }
  .radar { right: -40vw; opacity: .4; }
  .studio__mark { max-width: 440px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap, .hero__inner { width: calc(100% - 32px); }
  .nav__brand span { font-size: 13px; }
  .nav__brand i { display: none; }
  .hero__frog { width: 120px; top: 2%; }
  .feats, .pillars { grid-template-columns: 1fr; }
  .hero__now, .hero__scroll { display: none; }
  .hero__cta .btn, .game__cta .btn { width: 100%; }
  .app { grid-template-columns: 1fr; padding: 22px 22px 0; }
  .app__phone { height: 240px; }
  .card__shot { height: 230px; }
  .wall__shade { background: linear-gradient(0deg, rgba(12, 6, 3, .96) 30%, rgba(12, 6, 3, .3) 75%); }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Pixel Agent Department: tarjeta a todo el ancho con una captura apaisada, y los enlaces legales del pie */
.app--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-bottom: 28px; align-items: center; }
.app--wide .app__copy { padding-bottom: 0; }
.app--wide .stores { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.app__shot { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); image-rendering: pixelated; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; flex-basis: 100%; }
.footer__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--text); }
@media (max-width: 900px) { .app--wide { grid-template-columns: 1fr; } }
.pad__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pad__top .card__icon { margin-bottom: 0; }
.pad__redes { display: flex; gap: 10px; }
.pad__redes img { width: 36px; height: 36px; image-rendering: pixelated; }

/* Wallsmith poster: phone with gameplay */
.wall { justify-content: space-between; }
.wall__phone { position: relative; flex: none; align-self: center; width: clamp(170px, 19vw, 250px); aspect-ratio: 480 / 854; margin-right: clamp(24px, 6vw, 96px); padding: 7px; border-radius: 34px; background: linear-gradient(160deg, #3a2a1c, #120a05); border: 1px solid rgba(255, 154, 61, .55); box-shadow: 0 30px 80px rgba(0, 0, 0, .7), 0 0 0 6px rgba(0, 0, 0, .25), 0 0 90px rgba(255, 154, 61, .28); transform: rotate(4deg); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.wall:hover .wall__phone { transform: rotate(0) translateY(-8px) scale(1.03); box-shadow: 0 40px 100px rgba(0, 0, 0, .8), 0 0 0 6px rgba(0, 0, 0, .25), 0 0 130px rgba(255, 154, 61, .45); }
.wall__phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; image-rendering: pixelated; background: #0a1a0f; }
.wall__notch { position: absolute; top: 13px; left: 50%; width: 30%; height: 7px; border-radius: 9px; background: #000; transform: translateX(-50%); z-index: 2; }
.wall__live { position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; background: #1a0e06; border: 1px solid rgba(255, 154, 61, .6); color: var(--amber); font: 600 10px/1 "JetBrains Mono", monospace; letter-spacing: .16em; white-space: nowrap; }
.wall__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.store--wall { display: inline-block; margin-top: 4px; border-color: var(--amber); color: #ffd08a; }
.wall__copy { align-self: flex-end; }
@media (max-width: 760px) {
  .wall { flex-direction: column-reverse; align-items: center; justify-content: flex-end; padding-top: 28px; }
  .wall__phone { width: 190px; margin: 0 0 8px; align-self: center; }
  .wall__copy { align-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { .wall__phone, .wall__live i { transition: none; animation: none; } }

/* Wallsmith poster: compact */
.wall { min-height: clamp(300px, 32vw, 420px); }
.wall__copy { padding: clamp(20px, 3vw, 40px); max-width: 520px; }
.wall__copy h3 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 12px; }
.wall__copy p { margin-bottom: 16px; }
.wall__phone { width: clamp(110px, 11vw, 150px); padding: 5px; border-radius: 22px; margin-right: clamp(24px, 7vw, 110px); }
.wall__phone video { border-radius: 18px; }
.wall__notch { top: 8px; height: 5px; }
.wall__live { font-size: 8px; padding: 4px 9px; bottom: -10px; }
@media (max-width: 760px) {
  .wall { min-height: 0; }
  .wall__phone { width: 120px; margin: 0 0 6px; }
}

/* Wallsmith poster v3: big phone breaking out of the frame + store buttons */
.wall { overflow: visible; min-height: clamp(380px, 36vw, 460px); margin-top: clamp(70px, 8vw, 120px); }
.wall__art, .wall__shade { border-radius: inherit; }
.wall:hover .wall__art { transform: none; }
.wall__phone { width: clamp(170px, 18vw, 270px); padding: 7px; border-radius: 34px; align-self: flex-start; margin-top: clamp(-120px, -7vw, -60px); margin-right: clamp(24px, 6vw, 96px); }
.wall__phone video { border-radius: 28px; }
.wall__notch { top: 12px; height: 7px; }
.wall__live { font-size: 10px; padding: 5px 12px; bottom: -13px; }
.wall__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wall__cta .store { margin: 0; }
.btn-ios { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 12px; background: #ffd08a; color: #1a0e06; font-weight: 800; font-size: 14px; box-shadow: 0 6px 24px rgba(255, 154, 61, .35); transition: transform .25s var(--ease), box-shadow .25s; }
.btn-ios:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 154, 61, .55); }
.btn-soon { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; border: 1px dashed rgba(255, 208, 138, .5); color: #d9c3a0; font: 600 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; cursor: default; }
@media (max-width: 760px) {
  .wall { margin-top: 90px; min-height: 0; }
  .wall__phone { width: 170px; margin: -90px 0 8px; align-self: center; }
}

/* Wallsmith poster v4: phone overhangs less */
.wall { margin-top: clamp(40px, 5vw, 72px); }
.wall__phone { margin-top: clamp(-52px, -3vw, -28px); }
@media (max-width: 760px) {
  .wall { margin-top: 56px; }
  .wall__phone { margin: -44px 0 8px; }
}

/* Official store badges + decluttered poster */
.wall__copy { max-width: 480px; }
.wall__copy .wall__lead, .wall__copy > p[data-i18n="wall.lead"] { margin-bottom: 14px; }
.wall__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 600 12px/1.4 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: #ffd08a !important; margin-bottom: 20px !important; }
.wall__meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.badge { display: inline-flex; align-items: center; position: relative; line-height: 0; }
.badge img { display: block; width: auto; max-width: none; }
.badge--ios img { height: 44px; }
.badge--ios { transition: transform .25s var(--ease), filter .25s; }
.badge--ios:hover { transform: translateY(-3px); filter: drop-shadow(0 8px 18px rgba(255, 154, 61, .4)); }
.badge--gp { cursor: default; margin-left: -10px; }
.badge--gp img { height: 62px; opacity: .45; filter: grayscale(.6); }
.badge--gp em { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: var(--amber); color: #1a0e06; font: 800 10px/1 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
html:not([lang="en"]) .b-en, html[lang="en"] .b-es { display: none; }
.wall__cta { gap: 0 6px; margin-bottom: 14px; }
@media (max-width: 760px) { .badge--gp { margin-left: -6px; } .badge--gp img { height: 56px; } .badge--ios img { height: 40px; } }

/* badges in app cards */
.stores--badges { align-items: center; gap: 0 4px; margin-top: 4px; }
.stores--badges .badge--ios img { height: 40px; }
.badge--gp-on { cursor: pointer; margin-left: -8px; }
.badge--gp-on img { height: 58px; opacity: 1; filter: none; }
.badge--gp-on:hover { transform: translateY(-3px); transition: transform .25s var(--ease); }
.app--wide .stores--badges { gap: 0 4px; }

/* badge spacing */
.stores--badges { gap: 8px 14px; }
.badge--gp-on, .badge--gp { margin-left: 0; }
.wall__cta { gap: 8px 14px; }
.wsh__cta { gap: 8px 14px; }
.cta__links .badge--gp { margin-left: 0; }
@media (max-width: 760px) { .badge--gp { margin-left: 0; } }
