/* ═══════════════════════════════════════════════
   EVENTRO — Events & Exhibitions
   Dark, modern, purple brand theme
   ═══════════════════════════════════════════════ */

:root {
  --bg: #0b0812;
  --bg-2: #120c1d;
  --card: #171026;
  --card-2: #1d1430;
  --line: rgba(163, 108, 233, .16);
  --text: #f1ecfa;
  --muted: #a99cc4;
  --brand: #9333ea;
  --brand-2: #c026d3;
  --brand-soft: #b57ce8;
  --grad: linear-gradient(100deg, #a855f7, #d946ef 55%, #8b5cf6);
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, .55);
  --glow: 0 0 42px rgba(168, 85, 247, .35);
  --radius: 18px;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(147, 51, 234, .14), transparent 60%),
    radial-gradient(900px 700px at -10% 40%, rgba(192, 38, 211, .08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }

::selection { background: rgba(168, 85, 247, .45); }

/* ── Typography helpers ─────────────────────── */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }

.section__eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  letter-spacing: .32em;
  color: var(--brand-soft);
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section__sub { color: var(--muted); max-width: 560px; margin-bottom: 8px; }

/* ── Buttons ────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: none;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(168, 85, 247, .55);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(168, 85, 247, .7); }

.btn--ghost {
  border: 1.5px solid rgba(190, 140, 255, .45);
  color: var(--text);
  background: rgba(147, 51, 234, .08);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(147, 51, 234, .2); transform: translateY(-3px); }

.btn--light { background: #fff; color: #4c1d95; }
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }

.btn--full { width: 100%; }

/* ── Reveal animations ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .65, .3, 1), transform .8s cubic-bezier(.2, .65, .3, 1);
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal[data-delay="4"] { transition-delay: .48s; }
.reveal[data-delay="5"] { transition-delay: .6s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════ NAVBAR ═══════════ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled {
  padding: 10px 0;
  background: rgba(13, 9, 21, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .35);
  border-bottom: 1px solid var(--line);
}

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 40px; width: auto; filter: drop-shadow(0 0 12px rgba(168, 85, 247, .5)); }
.nav__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .14em;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.nav__name small { font-size: .52rem; letter-spacing: .3em; color: var(--muted); font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__link {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--text); }
.nav__link.is-active { color: var(--text); background: rgba(168, 85, 247, .14); }

.nav__cta {
  margin-left: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--grad);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(168, 85, 247, .6);
  transition: transform .2s;
}
.nav__cta:hover { transform: translateY(-2px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 110;
}
.nav__burger span {
  width: 26px; height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }

.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 8, 18, .93) 25%, rgba(30, 10, 50, .62) 60%, rgba(11, 8, 18, .45)),
    linear-gradient(to top, var(--bg) 2%, transparent 30%);
}

.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__content { position: relative; z-index: 2; padding-top: 90px; }

.hero__eyebrow {
  font-family: var(--font-head);
  letter-spacing: .34em;
  font-size: .8rem;
  color: var(--brand-soft);
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero__sub {
  max-width: 590px;
  color: #cfc4e6;
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  margin-bottom: 34px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 58px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 18px clamp(28px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(190, 140, 255, .18);
  max-width: 820px;
}
.stat { display: flex; align-items: baseline; gap: 2px; flex-wrap: wrap; }
.stat__num, .stat__plus {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
}
.stat__num { color: var(--text); }
.stat__plus { color: var(--brand-soft); }
.stat__label { width: 100%; font-size: .82rem; color: var(--muted); letter-spacing: .06em; }

.hero__scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid rgba(190, 140, 255, .5);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--brand-soft);
  animation: scrollHint 1.8s infinite ease-in-out;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(23, 16, 38, .5);
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track i { color: var(--brand-2); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ ABOUT ═══════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.about__media { position: relative; }
.about__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.about__img:hover img { transform: scale(1.04); }
.about__img--main { aspect-ratio: 4/4.6; }
.about__img--float {
  position: absolute;
  right: -8%; bottom: -9%;
  width: 62%;
  aspect-ratio: 16/10;
  border: 5px solid var(--bg);
  border-radius: 16px;
}
.about__badge {
  position: absolute;
  top: -22px; right: 4%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(23, 16, 38, .9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--glow);
  animation: floaty 5s ease-in-out infinite;
}
.about__badge img { height: 34px; }
.about__badge p { font-family: var(--font-head); font-size: .72rem; letter-spacing: .12em; line-height: 1.5; color: var(--muted); }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.about__body p { color: var(--muted); margin-bottom: 16px; }
.about__body strong { color: var(--text); font-weight: 600; }

.about__points { list-style: none; margin: 10px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.about__points li { position: relative; padding-left: 28px; font-size: .95rem; }
.about__points li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--brand-2);
}

/* ═══════════ SERVICES ═══════════ */
.services__grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}

.svc {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative;
  overflow: hidden;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(168, 85, 247, .22), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.svc:hover { transform: translateY(-8px); border-color: rgba(190, 140, 255, .5); box-shadow: var(--glow); }
.svc:hover::after { opacity: 1; }

.svc__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(168, 85, 247, .13);
  border: 1px solid rgba(190, 140, 255, .28);
  margin-bottom: 20px;
}
.svc__icon svg {
  width: 27px; height: 27px;
  fill: none;
  stroke: var(--brand-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc h3 { font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 10px; }
.svc p { font-size: .89rem; color: var(--muted); }

/* ═══════════ GAMES ═══════════ */
.games { background: linear-gradient(180deg, transparent, rgba(147, 51, 234, .05) 30%, transparent); }

.games__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.games__nav { display: flex; gap: 10px; }
.games__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 140, 255, .4);
  background: rgba(147, 51, 234, .1);
  color: var(--text);
  font-size: 1.15rem;
  transition: background .25s, transform .25s;
}
.games__btn:hover { background: var(--brand); transform: scale(1.08); }

.games__scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px max(calc((100vw - 1180px) / 2), 4vw) 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) transparent;
  cursor: grab;
}
.games__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.games__scroller::-webkit-scrollbar { height: 6px; }
.games__scroller::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 3px; }

.game {
  flex: 0 0 min(400px, 84vw);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.game:hover { transform: translateY(-8px); box-shadow: var(--glow); border-color: rgba(190, 140, 255, .5); }
.game img { width: 100%; aspect-ratio: 16/9.6; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.game__body { padding: 24px; }
.game__tag {
  display: inline-block;
  font-size: .72rem;
  font-family: var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-soft);
  background: rgba(168, 85, 247, .12);
  border: 1px solid rgba(190, 140, 255, .3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.game h3 { font-family: var(--font-head); font-size: 1.18rem; margin-bottom: 8px; }
.game p { font-size: .9rem; color: var(--muted); }

/* ═══════════ PROJECTS ═══════════ */
.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 34px 0 38px;
}
.filter {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-size: .88rem;
  transition: all .25s;
}
.filter:hover { color: var(--text); border-color: rgba(190, 140, 255, .5); }
.filter.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(168, 85, 247, .6);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 20px;
}

.proj {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, opacity .4s ease;
}
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.proj:hover img { transform: scale(1.07); }
.proj:hover { box-shadow: var(--glow); }
.proj figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 44px 20px 18px;
  background: linear-gradient(to top, rgba(9, 5, 16, .95), rgba(9, 5, 16, .55) 55%, transparent);
}
.proj h3 { font-family: var(--font-head); font-size: 1.02rem; }
.proj p { font-size: .8rem; color: var(--muted); }
.proj.is-hidden { display: none; }
.proj.is-showing { animation: projIn .45s ease both; }
@keyframes projIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

/* ═══════════ PROCESS ═══════════ */
.process__steps {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  background: linear-gradient(160deg, var(--card), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, border-color .3s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(190, 140, 255, .45); }
.step__num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.step h3 { font-family: var(--font-head); margin: 10px 0 8px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ═══════════ CLIENTS ═══════════ */
.clients { padding-bottom: 40px; }
.clients__marquee {
  margin-top: 44px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 44s linear infinite;
  padding-block: 6px;
}
.clients__track span {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--muted);
  white-space: nowrap;
  padding: 16px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(23, 16, 38, .55);
  transition: color .3s, border-color .3s;
}
.clients__track span:hover { color: var(--text); border-color: rgba(190, 140, 255, .5); }
.clients__marquee:hover .clients__track { animation-play-state: paused; }

/* ═══════════ CTA ═══════════ */
.cta { padding: clamp(50px, 7vw, 80px) 0; }
.cta__inner {
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% -40%, rgba(255, 255, 255, .22), transparent),
    var(--grad);
  border-radius: 26px;
  padding: clamp(46px, 7vw, 76px) 30px;
  box-shadow: 0 30px 70px -25px rgba(168, 85, 247, .55);
}
.cta__inner h2 { font-family: var(--font-head); font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.cta__inner p { color: rgba(255, 255, 255, .85); margin-bottom: 30px; }

/* ═══════════ CONTACT ═══════════ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact__info > p { color: var(--muted); }

.contact__list { list-style: none; margin-top: 34px; display: grid; gap: 20px; }
.contact__list li { display: flex; align-items: center; gap: 18px; }
.contact__icon {
  width: 52px; height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  border-radius: 14px;
  color: var(--brand-soft);
  background: rgba(168, 85, 247, .12);
  border: 1px solid rgba(190, 140, 255, .3);
}
.contact__list small { display: block; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact__list a, .contact__list div > span { font-family: var(--font-head); font-size: 1.06rem; font-weight: 600; }
.contact__list a:hover { color: var(--brand-soft); }

.contact__form {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.field { display: block; margin-bottom: 18px; }
.field span {
  display: block;
  font-size: .8rem;
  font-family: var(--font-head);
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(11, 8, 18, .6);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 13px 16px;
  font: inherit;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(147, 51, 234, .18);
}
.field select option { background: var(--card); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact__note { margin-top: 14px; font-size: .88rem; color: var(--brand-soft); text-align: center; min-height: 1.2em; }

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--line);
  background: #090613;
  padding-top: 64px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer__logo { width: 150px; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); font-size: .9rem; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-head);
  font-size: .86rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-soft);
  margin-bottom: 8px;
}
.footer__col a, .footer__col span { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-block: 20px;
  color: var(--muted);
  font-size: .85rem;
}
.footer__top {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 140, 255, .4);
  color: var(--brand-soft);
  transition: background .25s, color .25s, transform .25s;
}
.footer__top:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

/* ═══════════ LIGHTBOX ═══════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(7, 4, 13, .92);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  padding: 4vh 4vw;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1100px, 94vw); }
.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .6);
  transform: scale(.94);
  transition: transform .35s ease;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox figcaption {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-head);
  color: var(--muted);
}
.lightbox__close {
  position: absolute;
  top: 26px; right: 30px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 140, 255, .4);
  background: rgba(147, 51, 234, .12);
  color: #fff;
  font-size: 1.1rem;
  transition: background .25s, transform .25s;
}
.lightbox__close:hover { background: var(--brand); transform: rotate(90deg); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    background: rgba(10, 6, 18, .97);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.65, 0, .35, 1), opacity .35s;
    z-index: 105;
  }
  .nav__links.is-open { transform: none; opacity: 1; }
  .nav__link { font-size: 1.3rem; }
  .nav__cta { margin: 14px 0 0; font-size: 1.05rem; }
  .nav__burger { display: flex; }

  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .games__head { flex-direction: column; align-items: flex-start; }

  .hero__content { padding-block: 120px 70px; }
  .hero__stats { grid-template-columns: repeat(2, auto); }
  .hero__scroll { display: none; }
}

@media (max-width: 560px) {
  .process__steps, .about__points, .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__stats { gap: 20px 28px; }
  .about__img--float { right: 0; }
  .footer__bottom { flex-direction: column; gap: 14px; }
}
