/* ============ Desert X Studio — style.css ============ */
:root {
  --bg: #0a0a0b;
  --bg-alt: #101013;
  --surface: #16161a;
  --line: #26262c;
  --text: #eaeaea;
  --muted: #9a9aa3;
  --accent: #ffffff;
  --x-red: #ff2d2d;
  --radius: 18px;
  --font: "Cairo", "Tajawal", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, 92%); margin-inline: auto; }
.text-x {
  color: var(--x-red);
  text-shadow: 0 0 24px rgba(255, 45, 45, .45);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--primary {
  background: #fff; color: #000;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255,255,255,.25);
}
.btn--ghost {
  border-color: var(--line); color: var(--text); background: transparent;
}
.btn--ghost:hover { border-color: #fff; transform: translateY(-3px); }
.btn--small { padding: .5rem 1.2rem; font-size: .9rem; background:#fff; color:#000; }
.btn--small:hover { box-shadow: 0 6px 24px rgba(255,255,255,.3); }
.btn--big { padding: 1.1rem 2.6rem; font-size: 1.1rem; }
.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo {
  width: 44px; height: 44px; object-fit: cover;
  border-radius: 10px;
  mix-blend-mode: screen; /* black logo bg blends into dark page */
}
.brand__name { font-weight: 900; font-size: 1.15rem; letter-spacing: .5px; }
.brand__name em { font-style: normal; color: var(--x-red); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  color: var(--muted); font-weight: 600; font-size: .95rem;
  transition: color .2s;
  position: relative;
}
.nav__links a:not(.btn):hover,
.nav__links a:not(.btn).active { color: #fff; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; bottom: -6px; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--x-red); transition: width .25s;
}
.nav__links a:not(.btn):hover::after,
.nav__links a:not(.btn).active::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0;
  transition: .3s;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__video-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10,10,11,.55) 0%, rgba(10,10,11,.85) 70%),
    linear-gradient(to bottom, rgba(10,10,11,.7), transparent 30%, transparent 60%, rgba(10,10,11,.95));
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .5; }
.glow--1 { width: 480px; height: 480px; background: rgba(255,45,45,.14); top: -10%; inset-inline-end: -10%; }
.glow--2 { width: 420px; height: 420px; background: rgba(255,255,255,.07); bottom: -10%; inset-inline-start: -8%; }

.hero__content { text-align: center; }
.hero__logo {
  width: 150px; margin: 0 auto 2rem;
  border-radius: 20px;
  mix-blend-mode: screen;
  animation: floaty 5s ease-in-out infinite;
  box-shadow: 0 0 80px rgba(255,45,45,.2);
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.hero__subtitle {
  max-width: 620px; margin: 0 auto 2.2rem;
  color: var(--muted); font-size: 1.12rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
}
.scroll-hint span {
  display: block; width: 22px; height: 36px;
  border: 2px solid var(--line); border-radius: 12px; position: relative;
}
.scroll-hint span::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--x-red);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin: .6rem 0 .8rem; }
.section__head p { color: var(--muted); }

.tag {
  display: inline-block;
  padding: .3rem 1rem; border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--x-red); font-size: .85rem; font-weight: 700;
  background: rgba(255,45,45,.06);
}

/* ===== Scenes ===== */
.scenes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.scene {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.scene:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,45,.5);
  box-shadow: 0 20px 55px rgba(0,0,0,.55);
}
.scene video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: cover;
}
.scene figcaption { padding: 1.3rem 1.5rem 1.5rem; }
.scene figcaption h3 { font-weight: 800; margin-bottom: .3rem; }
.scene figcaption p { color: var(--muted); font-size: .93rem; }

/* ===== About cards ===== */
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.expertise__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.engines__video { max-width: 960px; margin: 0 auto 2rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 18px 60px rgba(0,0,0,.5); }
.engines__video video { display: block; width: 100%; }
.expertise__grid .solo__skills { margin-top: 1.1rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,45,.5);
  box-shadow: 0 18px 50px rgba(0,0,0,.5);
}
.card__icon { font-size: 2.2rem; margin-bottom: 1rem; }
.card__logo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; display: block; background: #000; }
.card h3 { margin-bottom: .5rem; font-weight: 800; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Games ===== */
.games__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.game-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.game-card__cover {
  height: 190px; position: relative;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 20%, hsla(var(--hue), 80%, 55%, .28), transparent 55%),
    radial-gradient(circle at 75% 85%, hsla(var(--hue), 80%, 45%, .2), transparent 50%),
    #0d0d10;
  border-bottom: 1px solid var(--line);
}
.game-card__art { font-size: 4rem; filter: drop-shadow(0 6px 24px hsla(var(--hue), 90%, 55%, .5)); }
.badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: var(--x-red); color: #fff;
  padding: .25rem .85rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800;
}
.badge--dev {
  position: static; display: inline-block;
  margin: .4rem 0 .8rem;
  box-shadow: 0 0 24px rgba(255,45,45,.45);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

/* ===== Language toggle ===== */
.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font);
  font-weight: 800;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: .25s;
  flex: none;
}
.lang-toggle:hover { border-color: var(--x-red); color: #fff; transform: translateY(-2px); }

/* ===== Roadmap ===== */
.roadmap {
  position: relative;
  display: grid;
  gap: 1.2rem;
  max-width: 780px;
  margin: 0 auto;
}
.roadmap::before {
  content: "";
  position: absolute;
  top: 20px; bottom: 20px;
  inset-inline-start: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--x-red), rgba(255,45,45,.15));
}
.road-step {
  position: relative;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.road-step:hover {
  transform: translateX(-6px);
  border-color: rgba(255,45,45,.55);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.road-step__num {
  flex: none;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--x-red);
  color: var(--x-red);
  font-weight: 900;
  font-size: 1.05rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 18px rgba(255,45,45,.35);
}
.road-step__body { flex: 1; }
.road-step__head { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.road-step__head h3 { font-size: 1.15rem; font-weight: 800; }
.road-step__body p { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
.badge--plan, .badge--future {
  position: static; display: inline-block;
}
.badge--plan { background: #8a6d00; box-shadow: 0 0 18px rgba(255,200,0,.25); }
.badge--future { background: #3a3a44; box-shadow: none; }
@media (max-width: 560px) {
  .roadmap::before { display: none; }
  .road-step { flex-direction: column; }
}
.game-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.game-card__body h3 { font-size: 1.25rem; margin-bottom: .5rem; font-weight: 800; }
.game-card__body p { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.game-card__meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  padding: .2rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); font-size: .78rem; color: var(--muted);
}

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.service:hover { border-color: rgba(255,45,45,.5); transform: translateY(-4px); }
.service__num {
  position: absolute; top: -14px; inset-inline-end: 10px;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.045);
  pointer-events: none;
}
.service h3 { margin-bottom: .4rem; font-weight: 800; }
.service p { color: var(--muted); font-size: .95rem; }

/* ===== CTA ===== */
.cta {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,45,45,.18), transparent 60%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
  text-align: center;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .6rem; }
.cta p { color: var(--muted); margin-bottom: 2rem; }

/* ===== Solo Developer ===== */
.solo {
  display: flex; align-items: center; gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  margin-bottom: 1.4rem;
}
.solo__avatar {
  flex-shrink: 0;
  width: 130px; height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--x-red);
  box-shadow: 0 0 40px rgba(255,45,45,.25);
}
.solo__title {
  display: inline-block;
  background: var(--x-red); color: #fff;
  font-weight: 900; letter-spacing: 2px;
  padding: .15rem .8rem; border-radius: 999px;
  font-size: .85rem; margin-bottom: .5rem;
}
.solo__role { color: var(--muted); font-size: .9rem; margin-bottom: .8rem !important; }
.btn--am:hover { border-color: #FF9900; color: #000; background: #FF9900; box-shadow: 0 8px 30px rgba(255,153,0,.35); }
.solo__body h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.solo__body p { color: var(--muted); margin-bottom: 1rem; }
.solo__skills { display: flex; gap: .5rem; flex-wrap: wrap; }
.solo__links { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.1rem; }
.btn--ig, .btn--wa, .btn--em, .btn--li, .btn--lt, .btn--am { font-size: .9rem; padding: .55rem 1.3rem; }
.btn--lt:hover { border-color: #39E09B; color: #000; background: #39E09B; box-shadow: 0 8px 30px rgba(57,224,155,.35); }
.btn--li:hover { border-color: #0A66C2; color: #fff; background: #0A66C2; box-shadow: 0 8px 30px rgba(10,102,194,.35); }
.btn--ig:hover { border-color: #E1306C; color: #fff; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn--wa:hover { border-color: #25D366; color: #fff; background: #25D366; box-shadow: 0 8px 30px rgba(37,211,102,.35); }
.btn--em:hover { border-color: var(--x-red); color: #fff; background: var(--x-red); box-shadow: 0 8px 30px rgba(255,45,45,.35); }
.solo__perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
@media (max-width: 700px) {
  .solo { flex-direction: column; text-align: center; }
  .solo__skills { justify-content: center; }
}

/* ===== Contact ===== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__info h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 900; margin: .8rem 0; }
.contact__info > p { color: var(--muted); margin-bottom: 1.6rem; }
.contact__list { list-style: none; margin-bottom: 1.6rem; display: grid; gap: .7rem; }
.contact__list a:hover { color: var(--x-red); }
.socials { display: flex; gap: .7rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid var(--line); font-weight: 800;
  transition: .25s;
}
.socials a:hover { background: #fff; color: #000; transform: translateY(-3px); }

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .4rem; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .85rem 1rem;
  color: var(--text);
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--x-red);
  box-shadow: 0 0 0 3px rgba(255,45,45,.15);
}
.form-note { color: #4ade80; font-weight: 700; text-align: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 2.2rem 0; background: var(--bg); }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  color: var(--muted); font-size: .9rem;
}
.footer__logo { width: 40px; border-radius: 8px; mix-blend-mode: screen; }
.footer__made { color: var(--x-red); font-weight: 700; }
.footer__license {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  padding-top: 1.5rem; margin-top: .4rem;
  border-top: 1px solid var(--line);
}
.footer__emblem {
  height: 76px; width: auto; object-fit: contain;
  mix-blend-mode: screen;
}
.footer__license-text { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.footer__license-ar { color: #fff; font-weight: 800; font-size: .95rem; }
.footer__license-en { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: 1px; }
.footer__license-num {
  color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .5px;
}
.footer__license-num span { color: #fff; }

/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .45s; }
.delay-5 { transition-delay: .6s; }

/* ===== C.A.T.D game section ===== */
.catd__cover {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 1.6rem;
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
}
.catd__cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.catd__cover video { width: 100%; max-height: 420px; object-fit: cover; display: block; background: #000; }
.catd__filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.8rem; }
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: inherit; font-weight: 700; font-size: .88rem;
  padding: .5rem 1.1rem; border-radius: 999px;
  cursor: pointer; transition: .25s;
}
.filter-btn:hover { border-color: var(--x-red); color: #fff; }
.filter-btn.active { background: var(--x-red); border-color: var(--x-red); color: #fff; }
.catd__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .9rem; }
.gal-item {
  margin: 0; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.gal-item img {
  width: 100%; height: 160px; object-fit: cover; display: block;
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(.85);
}
.gal-item:hover {
  transform: translateY(-4px);
  border-color: var(--x-red);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.gal-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gal-item.hidden { display: none; }
.game-card__cover--link { display: block; cursor: pointer; }
.game-card__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.chip--link { cursor: pointer; transition: .25s; }
.chip--link:hover { border-color: var(--x-red); color: #fff; }

/* ===== Events & Exhibitions ===== */
.event-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.event-card:hover { border-color: var(--x-red); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.event-card__media { position: relative; min-height: 260px; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.event-card__flag {
  position: absolute; top: .9rem; inset-inline-start: .9rem; z-index: 2;
  background: var(--x-red); color: #fff;
  font-size: .78rem; font-weight: 700;
  padding: .25rem .8rem; border-radius: 999px;
}
.event-card__body { padding: 1.6rem; }
.event-card__body h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.event-card__body p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.event-card__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.event-card__gallery .gal-item img { height: 130px; }
.events__note {
  margin-top: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  color: var(--muted);
  text-align: center;
}
.events__note a { color: var(--x-red); font-weight: 700; }
.events__note a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card__media { min-height: 220px; position: relative; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,5,6,.92);
  display: grid; place-items: center;
  padding: 4vh 4vw;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 100%; max-height: 88vh;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(0,0,0,.8);
}
.lightbox__close {
  position: absolute; top: 18px; inset-inline-end: 22px;
  background: none; border: 0; color: #fff;
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about__grid, .games__grid, .scenes__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .solo__perks { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav__links {
    position: fixed; inset-block: 0; inset-inline-end: -100%;
    width: min(320px, 80vw);
    background: var(--surface);
    border-inline-start: 1px solid var(--line);
    flex-direction: column; justify-content: center;
    transition: inset-inline-end .35s ease;
    z-index: 99;
  }
  .nav__links.open { inset-inline-end: 0; }
  .nav__links a { font-size: 1.1rem; }
  .nav__toggle { display: block; z-index: 100; }
}