/* =========================================================
   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;
}

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: 10px 0 40px;
  z-index: 2;

  /* 3 vertical zones: top (logo), middle (play+tagline), bottom (download+lang) */
  min-height: 78vh;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center;
  justify-items: center;
}

.hero__logo{
  margin: 0 auto;
  width: min(600px, 92vw);
  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__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;
  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);
}

/* 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;
}
.social__link svg{ width: 20px; height: 20px; fill: rgba(232,226,214,.82); }
.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; }
  .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: 84vh; padding: 44px 0; }
  .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; }
}
