/* Joomzi site styles. Brand: navy with the blue gradient from the Joomzi logo. */
:root {
  --bg: #050b1a;
  --bg-2: #0a1428;
  --panel: #0e1a33;
  --panel-2: #13213f;
  --line: rgba(140, 170, 230, 0.16);
  --line-strong: rgba(140, 170, 230, 0.3);
  --fg: #eef2fa;
  --fg-2: #b7c2d9;
  --muted: #8592ad;
  --blue: #2563ff;
  --cyan: #1fc8ff;
  --grad: linear-gradient(135deg, #1f4dff 0%, #1f8cff 50%, #1fd0ff 100%);
  --gold: #ffc53d;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --max: 1180px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Outfit", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Background glow */
.glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glow::before, .glow::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.glow::before { width: 620px; height: 620px; left: -180px; top: -260px; background: #1340d8; }
.glow::after { width: 520px; height: 520px; right: -160px; top: 40px; background: #0a7ec2; opacity: 0.35; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 11, 26, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  color: var(--fg-2); font-weight: 600; font-size: 0.94rem; padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--fg); background: rgba(255, 255, 255, 0.06); }
.nav a.cta { color: #fff; background: var(--grad); }
@media (max-width: 720px) {
  .nav a:not(.cta) { display: none; }
  .brand img { height: 28px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--fg);
  background: rgba(255, 255, 255, 0.04); transition: transform .15s, background .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(160, 190, 255, 0.5); transform: translateY(-1px); }
.btn.primary { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 30px -10px rgba(31, 120, 255, 0.7); }
.btn.primary:hover { filter: brightness(1.08); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-width: 168px;
  padding: 9px 18px 9px 14px; border-radius: 12px; background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22); transition: transform .15s, border-color .2s, background .2s;
}
.store:hover { border-color: rgba(255, 255, 255, 0.55); transform: translateY(-1px); background: #0b0b0b; }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 0.68rem; opacity: 0.8; letter-spacing: 0.02em; }
.store b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

/* Sections */
section { position: relative; }
section[id], footer[id] { scroll-margin-top: 76px; }
.section { padding: 96px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 12px; }
.section-head p { color: var(--fg-2); margin-top: 14px; font-size: 1.08rem; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Home hero */
.hero { padding: 110px 0 40px; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; text-align: center; }
.hero img.hero-logo { width: min(420px, 78vw); height: auto; margin: 0 auto 30px; }
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4.6rem); max-width: 900px; margin: 0 auto; }
.hero p.lead { color: var(--fg-2); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 640px; margin: 22px auto 0; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Product cards (home) */
.feature-card {
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
  box-shadow: var(--shadow);
}
.feature-card .body { padding: 48px; display: flex; flex-direction: column; gap: 18px; }
.feature-card .media { position: relative; display: block; min-height: 420px; overflow: hidden; }
@media (max-width: 900px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .media { min-height: 0; order: -1; }
  .feature-card .body { padding: 30px 22px; }
}

.app-title { display: flex; align-items: center; gap: 14px; }
.app-title img { width: 58px; height: 58px; border-radius: 15px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.6); }
.app-title h3 { font-size: 1.9rem; }
.app-title .tag { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-top: 2px; }
.card-text { color: var(--fg-2); font-size: 1.04rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 0.82rem; font-weight: 600; color: var(--fg-2); padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
}
.card-foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.card-foot .label { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--cyan); }
.more-link:hover .arrow { transform: translateX(3px); }
.more-link .arrow { transition: transform .2s; }

/* Clickable images */
.zoom { position: relative; display: block; overflow: hidden; }
.zoom img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.zoom:hover img { transform: scale(1.04); }
.zoom .hint {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; font-size: 0.82rem; font-weight: 700;
  padding: 8px 14px; border-radius: 999px; background: rgba(5, 11, 26, 0.75); border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.zoom:hover .hint, .zoom:focus-visible .hint { opacity: 1; transform: none; }
@media (hover: none) { .zoom .hint { opacity: 1; transform: none; } }

/* Joomzi ONE chat mock (used as the product "screenshot") */
.one-media { background: radial-gradient(120% 90% at 80% 10%, #1b3ea8 0%, #0b1736 55%, #071027 100%); padding: 40px; display: flex; align-items: center; justify-content: center; }
.chat {
  width: 100%; max-width: 470px; border-radius: 20px; background: rgba(6, 13, 30, 0.88);
  border: 1px solid rgba(140, 180, 255, 0.22); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden; font-size: 0.9rem;
}
.chat-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.chat-top img { height: 20px; width: auto; }
.chat-top .dots { display: flex; gap: 6px; }
.chat-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.chat-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 5px; }
.msg.ai { align-self: flex-start; background: var(--panel-2); color: var(--fg); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg .meta { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.msg .meta span { font-size: 0.7rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.msg .council { color: #7fe0a9; border-color: rgba(127, 224, 169, 0.35) !important; }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 4px 16px 16px; padding: 8px 8px 8px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); }
.chat-input .pill { margin-left: auto; font-size: 0.72rem; font-weight: 700; color: var(--fg-2); border: 1px solid var(--line-strong); padding: 4px 9px; border-radius: 999px; }
.chat-input .send { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 800; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* Game cards (home) */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 900px) { .games { grid-template-columns: 1fr; } }
.game-card {
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); box-shadow: var(--shadow); transition: border-color .25s, transform .25s;
}
.game-card:hover { border-color: var(--line-strong); }
.game-card .zoom { aspect-ratio: 1024 / 560; background: #000; }
.game-card .zoom img { width: 100%; height: 100%; object-fit: cover; }
.game-card .body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
@media (max-width: 600px) { .game-card .body { padding: 22px; } }
.game-card.sl { background: linear-gradient(180deg, #13261a 0%, #0e1a14 100%); border-color: rgba(255, 197, 61, 0.18); }
.game-card.al { background: linear-gradient(180deg, #1a1446 0%, #100c2e 100%); border-color: rgba(170, 120, 255, 0.22); }

/* Company strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }
.value { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.value .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(31, 140, 255, 0.14); color: var(--cyan); margin-bottom: 16px; }
.value .ico svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value p { color: var(--fg-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; color: var(--muted); font-size: 0.92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 28px; width: auto; margin-bottom: 14px; }
.site-footer h4 { color: var(--fg); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--fg); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- Detail pages ---------- */
.d-hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.d-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .d-hero .wrap { grid-template-columns: 1fr; gap: 32px; } .d-hero { padding: 40px 0 56px; } }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-weight: 600; font-size: 0.9rem; margin-bottom: 26px; }
.crumb:hover { color: var(--fg); }
.d-hero .game-logo { width: min(440px, 90%); height: auto; margin-bottom: 18px; }
.d-hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
.d-hero .lead { color: var(--fg-2); font-size: clamp(1.05rem, 1.8vw, 1.2rem); margin-top: 18px; max-width: 560px; }
.d-hero .stores { margin-top: 28px; }
.d-hero .sub-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.d-hero .art { position: relative; }
body.sl .d-hero .art .zoom { max-width: 380px !important; }
.d-hero .art .zoom { border-radius: 26px; box-shadow: var(--shadow); border: 1px solid var(--line-strong); }
.meta-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: var(--muted); font-size: 0.88rem; }
.meta-row b { display: block; color: var(--fg); font-size: 1rem; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .highlights { grid-template-columns: 1fr; } }
.hl {
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  transition: border-color .25s, background .25s;
}
.hl:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.045); }
.hl .ico { font-size: 1.6rem; margin-bottom: 12px; line-height: 1; }
.hl img.ico-img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 10px; }
.hl h3 { font-size: 1.2rem; margin-bottom: 8px; }
.hl p { color: var(--fg-2); font-size: 0.98rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.gallery button {
  all: unset; cursor: zoom-in; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 70%);
  display: grid; place-items: center; transition: border-color .25s, transform .25s;
}
.gallery button:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.gallery button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.gallery img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); }
.gallery figcaption, .gallery .cap { display: none; }
.gallery-wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 820px) { .gallery-wide { grid-template-columns: 1fr; } }
.gallery-wide button { all: unset; cursor: zoom-in; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: block; }
.gallery-wide button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.gallery-wide img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-wide button:hover img { transform: scale(1.03); }

.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--fg-2); }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M0 4a4 4 0 014-4h12a4 4 0 014 4v12a4 4 0 01-4 4H4a4 4 0 01-4-4z' /%3E%3C/svg%3E"); }
.checks li b { color: var(--fg); }

.cta-block {
  border-radius: 28px; padding: 48px; text-align: center; border: 1px solid var(--line-strong);
  background: radial-gradient(120% 120% at 50% 0%, rgba(31, 120, 255, 0.28), rgba(10, 20, 40, 0.6) 70%);
}
.cta-block h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-block p { color: var(--fg-2); margin: 12px auto 0; max-width: 560px; }
.cta-block .stores { justify-content: center; margin-top: 26px; }
@media (max-width: 600px) { .cta-block { padding: 32px 20px; } }

.others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .others { grid-template-columns: 1fr; } }
.other {
  display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, transform .25s;
}
.other:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.other img { width: 60px; height: 60px; border-radius: 15px; }
.other b { font-family: var(--display); font-size: 1.2rem; display: block; }
.other span { color: var(--muted); font-size: 0.9rem; }
.other .arrow { margin-left: auto; color: var(--cyan); font-weight: 800; }

/* Theme accents per page */
body.sl { --cyan: #ffc53d; --grad: linear-gradient(135deg, #f5a623, #ffd54a); }
body.sl .btn.primary { color: #2a1a00; box-shadow: 0 12px 30px -10px rgba(255, 190, 60, 0.6); }
body.sl .glow::before { background: #2f6b2a; } body.sl .glow::after { background: #8a5a12; opacity: .3; }
body.sl { --bg: #07110b; --panel: #0f1d14; --panel-2: #16291c; --line: rgba(220, 200, 140, 0.14); --line-strong: rgba(240, 210, 140, 0.32); }
body.al { --cyan: #c79bff; --grad: linear-gradient(135deg, #7b3cff, #c64bff 55%, #ffb21f); }
body.al .glow::before { background: #4a1fd0; } body.al .glow::after { background: #b0208f; opacity: .3; }
body.al { --bg: #0a0820; --panel: #141034; --panel-2: #1c1747; --line: rgba(180, 150, 255, 0.16); --line-strong: rgba(200, 170, 255, 0.34); }

/* Arrow board illustration (Arrow Lords) */
.board {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 18px; border-radius: 26px;
  background: linear-gradient(160deg, #2a2170, #17114a); border: 1px solid rgba(200, 170, 255, 0.3);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), var(--shadow); max-width: 380px; margin: 0 auto;
}
.board button {
  all: unset; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.06); font-size: 1.6rem; font-weight: 900; color: #fff;
  transition: transform .35s cubic-bezier(.3, .8, .3, 1), opacity .35s;
}
.board button:hover { background: rgba(255, 255, 255, 0.12); }
.board button:focus-visible { outline: 2px solid var(--gold); }
.board button.u { color: #ff5fa8; } .board button.r { color: #2fd3ff; } .board button.d { color: #ffc53d; } .board button.l { color: #9b7bff; }
.board button.gone { opacity: 0; pointer-events: none; }
.board button.hit { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.board-note { text-align: center; color: var(--fg-2); font-size: 0.9rem; margin-top: 14px; min-height: 1.5em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(2, 5, 14, 0.92); padding: 24px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; object-fit: contain; border-radius: 16px; }
.lightbox .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: var(--fg-2); font-weight: 600; padding: 0 60px; }
.lightbox button {
  position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox .x { top: 18px; right: 18px; }
.lightbox .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .prev, .lightbox .next { top: auto; bottom: 14px; transform: none; } .lightbox .cap { bottom: 74px; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 120; opacity: 0;
  background: #fff; color: #0a1020; font-weight: 700; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6); transition: opacity .25s, transform .25s; pointer-events: none;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
/* Slide-up only: content stays visible even if the animation never runs. */
.js .reveal { transform: translateY(16px); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
