/* =========================================================
   Pigeon Come: Bentleyrance — One-page landing (vanilla)
   Visual: dark cinematic, dusty textures, gothic headlines.
   =========================================================  */

:root {
  --bg-0: #0b0e12;
  --bg-1: #10151c;
  --bg-2: #141b24;
  --panel: #151c24cc;
  --panel-solid: #141b24;
  --ink: #e8e2d6;
  --muted: #b8b1a5;
  --muted2: #8e889f;
  --gold-1: #f0d08a;
  --gold-2: #c79a3b;
  --gold-3: #8a5f18;
  --green: #7fd48b;
  --shadow: 0 18px 60px rgba(0, 0, 0, .55);
  --shadow-soft: 0 10px 35px rgba(0, 0, 0, .38);
  --radius: 18px;
  --radius-sm: 12px;

  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: Merriweather, Georgia, serif;
  --font-gothic: "UnifrakturCook", "Cinzel Decorative", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, #0b0e12 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

/* =========C=U=R=S=O=R=S=========== */
html,
body {
  cursor: url("../img/cursors/64/default.png") 4 4, default;
}

a,
button {
  cursor: url("../img/cursors/64/pointer.png") 4 4, pointer;
}

input,
textarea {
  cursor: url("../img/cursors/64/text.png") 4 4, text;
}

.is-loading {
  cursor: url("../img/cursors/64/wait.png") 4 4, wait;
}

.lang__btn {
  cursor: url("../img/cursors/64/default.png") 4 4, default !important;
}

[data-lightbox] {
  cursor: url("../img/cursors/64/zoom.png") 6 6, zoom-in !important;
}

.play-btn,
.slider__arrow,
.dot,
.lang__btn,
.link,
.thumb-nav,
.modal__close,
.lightbox__close,
.lightbox__nav,
.social__link,
.footer a.link,
.footer .btn {
  cursor: url("../img/cursors/64/pointer.png") 4 4, pointer !important;
}

/* HiDPI */
@media (min-resolution: 2dppx),
(-webkit-min-device-pixel-ratio: 2) {

  html,
  body {
    cursor: url("../img/cursors/128/default.png") 6 6, default;
  }

  a,
  button {
    cursor: url("../img/cursors/128/pointer.png") 6 6, pointer;
  }

  input,
  textarea {
    cursor: url("../img/cursors/128/text.png") 6 6, text;
  }

  .is-loading {
    cursor: url("../img/cursors/128/wait.png") 6 6, wait;
  }

  .lang__btn {
    cursor: url("../img/cursors/128/default.png") 6 6, default !important;
  }

  .play-btn,
  .slider__arrow,
  .dot,
  .thumb-nav,
  .modal__close,
  .lang__btn,
  .lightbox__close,
  .lightbox__nav,
  .link,
  .social__link,
  .footer a.link,
  .footer .btn {
    cursor: url("../img/cursors/128/pointer.png") 6 6, pointer !important;
  }

  [data-lightbox] {
    cursor: url("../img/cursors/128/zoom.png") 6 6, zoom-in !important;
  }
}

/* ================================= */

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: .9;
}

a.link:hover {
  opacity: 1;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid rgba(240, 208, 138, .9);
  outline-offset: 3px;
  border-radius: 10px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
}

.skip-link:focus {
  left: 12px;
  z-index: 9999;
}

.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: clamp(42px, 6vw, 70px) 0;
  overflow: visible;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .82)),
    url("../img/hero_bg.webp") center/cover no-repeat;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.02);
  z-index: -3;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 600px at 50% 25%, rgba(255, 255, 255, .08), transparent 60%),
    url("../img/texture_noise.jpg") center/480px repeat,
    url("../img/vignette.webp") center/cover no-repeat;
  mix-blend-mode: overlay;
  opacity: .55;
  z-index: -2;
}

.hero__content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  text-align: center;
  padding: 8px 0 22px;
  z-index: 2;

  min-height: clamp(520px, 74vh, 760px);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  align-content: center;
  align-items: center;
  justify-items: center;
}

.hero__logo {
  margin: 0 auto;
  width: min(500px, 88vw);
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .65));
}

.hero__mid {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.hero__bottom {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-bottom: 6px;
}

/* Hero language switch: flags only (no extra note) */
.lang--hero .lang__note {
  display: none;
}

.hero__mid--video {
  width: min(640px, 92vw);
  gap: 6px;
}

.hero__video-wrap {
  width: 100%;
  max-height: 320px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-soft);
  background: rgba(0,0,0,.45);
}

.hero__video {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero__tagline {
  margin: 0 auto;
  max-width: 720px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(232, 226, 214, .92);
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .75);
}

.hero__actions {
  display: grid;
  justify-items: center;
  gap: 14px;
}

/* Play button (gold neon triangle) */
.play-btn {
  width: 86px;
  height: 86px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  border-radius: 50%;
}

.play-btn__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(240, 208, 138, .35), rgba(240, 208, 138, 0) 62%);
  filter: blur(1px);
}

.play-btn__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 26px solid rgba(240, 208, 138, .95);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  transform: translateX(4px);
  filter: drop-shadow(0 0 10px rgba(240, 208, 138, .55));
}

.play-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(240, 208, 138, .55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35) inset,
    0 0 22px rgba(240, 208, 138, .25),
    0 0 55px rgba(240, 208, 138, .08);
  background: rgba(0, 0, 0, .22);
}

.play-btn:hover::before {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .35) inset,
    0 0 28px rgba(240, 208, 138, .35),
    0 0 72px rgba(240, 208, 138, .14);
}

/* CTA button (wood/metal plaque) */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  min-width: 240px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .3px;
  color: #1e1205;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, var(--gold-1), var(--gold-2) 55%, var(--gold-3)),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 6px, rgba(255, 255, 255, .06) 6px 10px);
  border: 0x solid rgba(255, 255, 255, .22);
  box-shadow:
    0 16px 28px rgba(0, 0, 0, .55),
    0 2px 0 rgba(255, 255, 255, .25) inset,
    0 -2px 0 rgba(0, 0, 0, .28) inset;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.cta-btn:hover {
  transform: translateY(-10px);
  filter: brightness(1.03) saturate(1.02);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, .58),
    0 0 24px rgba(240, 208, 138, .22),
    0 2px 0 rgba(255, 255, 255, .25) inset,
    0 -2px 0 rgba(0, 0, 0, .28) inset;
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn--small {
  min-width: 0;
  padding: 12px 18px;
  margin-bottom: 8px;
  border-radius: 12px;
  font-weight: 700;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}

.lang__btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, .34);
}

.lang__btn.is-active {
  border-color: rgba(240, 208, 138, .42);
  box-shadow: 0 0 0 1px rgba(240, 208, 138, .18) inset, 0 0 18px rgba(240, 208, 138, .12);
}

.lang__note {
  color: rgba(232, 226, 214, .78);
  font-size: 13px;
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.hero__character {
  /* overlay on the hero grid, pinned to viewport bottom while hero is visible */
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: end;
  position: sticky;
  bottom: 10px;

  margin-right: max(-60px, -5vw);
  width: min(520px, 38vw);
  opacity: .88;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7));
  z-index: 1;
  pointer-events: none;
}

/* Section edge (soft, textured separator) */
.section-edge {
  height: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)),
    url("../img/texture_noise.jpg") center/520px repeat;
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(0, 0, 0, .65);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .35) inset;
}

/* ---------------- Sections ---------------- */
.section {
  padding: clamp(46px, 6vw, 74px) 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, .06), transparent 60%),
    url("../img/texture_noise.jpg") center/520px repeat;
  opacity: .45;
  pointer-events: none;
}

.section--about {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

.section--screens {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-0));
}

.section__header {
  text-align: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.h-gothic {
  font-family: var(--font-gothic);
  font-weight: 700;
  letter-spacing: .6px;
  font-size: clamp(34px, 4.5vw, 52px);
  margin: 0 0 10px;
  text-shadow: 0 10px 22px rgba(0, 0, 0, .68);
}

.section__subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--font-serif);
  color: rgba(232, 226, 214, .86);
  font-size: 18px;
}

/* About layout */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-copy {
  padding: 8px 2px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  font-size: 18px;
  letter-spacing: .1px;
  color: rgba(232, 226, 214, .92);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(127, 212, 139, .25);
}

.checklist--compact li {
  font-size: 15px;
  opacity: .95;
}

.prose p {
  margin: 0 0 12px;
  color: rgba(232, 226, 214, .80);
}

.prose {
  background: rgba(0, 0, 0, .12);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .22);
}

.frame {
  border-radius: var(--radius);
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 30%),
    rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: var(--shadow-soft);
}

.slider {
  position: relative;
}

.slider__viewport {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .25);
}

.slider__track {
  display: flex;
  transition: transform .35s ease;
  will-change: transform;
}

.slide {
  margin: 0;
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(0, 0, 0, .35);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.slider__arrow span {
  font-size: 26px;
  line-height: 1;
  opacity: .92;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

.slider__arrow:hover {
  transform: translateY(-50%) scale(1.02);
  background: rgba(0, 0, 0, .48);
  border-color: rgba(240, 208, 138, .25);
}

.slider__arrow--prev {
  left: 10px;
}

.slider__arrow--next {
  right: 10px;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 2px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .10);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.dot:hover {
  transform: scale(1.1);
}

.dot.is-active {
  background: rgba(240, 208, 138, .85);
  border-color: rgba(240, 208, 138, .85);
  box-shadow: 0 0 12px rgba(240, 208, 138, .25);
}

.hint {
  margin: 10px 4px 0;
  font-size: 13px;
  color: rgba(232, 226, 214, .68);
}

/* requirement cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.req-card {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 16px;
}

.req-card h3 { margin: 0 0 8px; font-family: var(--font-serif); }
.req-card ul { margin: 0; padding-left: 18px; }
.req-card li { margin: 6px 0; color: rgba(232,226,214,.86); }

/* Screens section */
.thumb-row {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.thumb-strip {
  display: flex;
  gap: 12px;
  overflow: hidden;
  padding: 8px 2px;
}

.thumb {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .28);
  border-radius: 14px;
  padding: 0;
  cursor: zoom-in;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .30);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
  flex: 0 0 calc(25% - 9px);
  min-width: 160px;
}

.thumb img {
  border-radius: 13px;
  width: 100%;
  height: auto;
  display: block;
}

.thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 208, 138, .20);
  background: rgba(0, 0, 0, .36);
}

.thumb-nav {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .34);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .34);
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.thumb-nav span {
  font-size: 28px;
  line-height: 1;
  opacity: .9;
}

.thumb-nav:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 208, 138, .22);
  background: rgba(0, 0, 0, .48);
}

.screens-meta {
  margin-top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.lang--mini {
  justify-content: flex-end;
  gap: 8px;
  opacity: .92;
}

.lang--mini .lang__note {
  font-size: 12px;
  opacity: .8;
}

/* ---------------- Footer ---------------- */
.footer {
  padding: 46px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255, 255, 255, .06), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .65)),
    url("../img/texture_noise.jpg") center/520px repeat;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer__col--download {
  margin: 40px 0;
  justify-self: center;
  text-align: center;
}

.footer__col--social {
  justify-self: end;
  text-align: right;
}

.footer__col--social .social {
  justify-content: flex-end;
}

.footer__media {
  display: inline-block;
  margin-top: 6px;
}

.footer__title {
  font-family: var(--font-serif);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: .2px;
}

.footer__bottom {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  text-align: center;
}

.muted {
  color: rgba(232, 226, 214, .68);
}

.social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social__link {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .28);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .26);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-size: 0;
}

.social__link svg {
  width: 20px;
  height: 20px;
  fill: rgba(232, 226, 214, .82);
}

.social__link i {
  font-size: 20px;
  color: rgba(232, 226, 214, .9);
}

.makak-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.makak-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(234, 211, 146, .25);
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}

.makak-text {
  font-family: "Luckiest Guy", system-ui, sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  color: #ead392;
  text-shadow: 0 0 10px rgba(234,211,146,.25), 0 0 22px rgba(234,211,146,.18);
}

.makak-link:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.makak-link:hover .makak-logo {
  transform: rotateY(360deg);
  box-shadow: 0 0 20px rgba(234,211,146,.35);
}

.makak-link:hover .makak-text {
  color: #ffd54a;
  text-shadow: 0 0 12px rgba(255,213,74,.45), 0 0 24px rgba(255,213,74,.25);
}

.social__link:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, .38);
  border-color: rgba(240, 208, 138, .18);
}

/* ---------------- Modal & Lightbox ---------------- */
.modal,
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}

.modal.is-open,
.lightbox.is-open {
  display: block;
}

.modal__backdrop,
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
}

.modal__panel,
.lightbox__panel {
  position: relative;
  width: min(980px, calc(100% - 30px));
  margin: min(7vh, 60px) auto;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .22)), rgba(0, 0, 0, .55);
  box-shadow: var(--shadow);
}

.modal__close,
.lightbox__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal__close:hover,
.lightbox__close:hover {
  background: rgba(0, 0, 0, .48);
  border-color: rgba(240, 208, 138, .20);
}

.modal__media video {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .55);
}

/* Lightbox */
.lightbox__panel {
  width: min(1200px, calc(100% - 30px));
  padding: 14px 14px 18px;
}

.lightbox__img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .55);
}

.lightbox__caption {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .35);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
}

.lightbox__nav span {
  font-size: 30px;
  line-height: 1;
  opacity: .92;
}

.lightbox__nav:hover {
  background: rgba(0, 0, 0, .50);
  border-color: rgba(240, 208, 138, .20);
}

.lightbox__nav--prev {
  left: 10px;
}

.lightbox__nav--next {
  right: 10px;
}

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero__character {
    opacity: .55;
    margin-right: -110px;
    width: min(520px, 54vw);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(1100px, calc(100% - 24px));
  }

  .hero {
    min-height: auto;
    padding: 26px 0;
  }

  .hero__content {
    min-height: auto;
    gap: 8px;
    padding-bottom: 14px;
  }

  .play-btn {
    width: 78px;
    height: 78px;
  }

  .cta-btn {
    min-width: 220px;
    padding: 13px 22px;
  }

  .hero__character {
    display: none;
  }

  /* keep hero clean on small screens */
  .thumb-row {
    grid-template-columns: 52px 1fr 52px;
  }

  .thumb {
    flex-basis: 78%;
    min-width: 220px;
  }

  .thumb-strip {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .thumb {
    scroll-snap-align: start;
  }
}

/* ---------------- LEGAL PAGES ---------------- */

/* Na legal stránkách zobrazit obsah hned bez čekání na reveal observer */
.section--legal .reveal,
.hero--legal .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.hero--legal {
  min-height: 44vh;
  padding: clamp(32px, 5vw, 54px) 0;
}

.hero__content--legal {
  min-height: auto;
  grid-template-rows: auto;
  padding: 10px 0 24px;
}

.hero--legal .hero__logo {
  width: min(460px, 86vw);
}

.hero--legal .hero__character {
  display: none;
}

.legal__title {
  margin: 0 0 10px;
}

.legal__subtitle {
  margin: 0 auto;
  max-width: 860px;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.legal-actions .cta-btn {
  min-width: 0;
}

.section--legal {
  padding-top: clamp(34px, 4.8vw, 60px);
}

.legal__doc {
  background: rgba(0, 0, 0, .14);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: clamp(18px, 2.8vw, 26px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}

.legal__doc h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 26px 0 10px;
  letter-spacing: .2px;
}

.legal__doc h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  margin: 18px 0 8px;
  color: rgba(232, 226, 214, .92);
}

.legal__doc p {
  margin: 10px 0;
  color: rgba(232, 226, 214, .86);
}

.legal__doc ul {
  margin: 10px 0 10px 18px;
}

.legal__doc li {
  margin: 6px 0;
  color: rgba(232, 226, 214, .86);
}

.legal__note {
  padding: 12px 14px;
  border: 1px dashed rgba(240, 208, 138, .35);
  background: rgba(240, 208, 138, .06);
  border-radius: 14px;
  color: rgba(232, 226, 214, .92);
  margin: 0 0 16px;
}

.legal__toc {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0 18px;
}

.legal__toc b {
  display: block;
  margin-bottom: 8px;
}

.legal__toc ul {
  margin: 0 0 0 18px;
}

.legal__toc li {
  margin: 6px 0;
}

.legal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 14px;
}

.legal__kv {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  border-radius: 14px;
}

.legal__kv b {
  display: block;
  font-size: 12px;
  letter-spacing: .35px;
  color: rgba(232, 226, 214, .68);
  margin-bottom: 4px;
}

.legal__kv span {
  display: block;
  font-size: 14px;
  color: rgba(232, 226, 214, .92);
}

.legal__meta {
  margin-top: 12px;
  color: rgba(232, 226, 214, .68);
  font-size: 13px;
}

@media (min-width: 840px) {
  .legal__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .hero__bg,
  .hero__vignette,
  .section::before,
  .section-edge {
    display: none !important;
  }

  .hero,
  .section {
    padding: 0 !important;
    min-height: auto !important;
  }

  .footer,
  .legal-actions,
  .lang {
    display: none !important;
  }

  a {
    text-decoration: underline !important;
  }

  .legal__doc {
    box-shadow: none;
    background: #fff;
    border: 1px solid #ddd;
  }
}

/* ---------------- Download buttons (Hero) ---------------- */
.dl-mirrors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

/* Lightweight button system for mirror links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px 16px;
  border-radius: 999px;

  font-weight: 700;
  letter-spacing: .2px;

  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .28);
  color: rgba(232, 226, 214, .92);

  box-shadow: 0 12px 22px rgba(0, 0, 0, .26);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, .38);
  border-color: rgba(240, 208, 138, .18);
}

.btn:active {
  transform: translateY(0);
}
