:root {
  --accent: #e55335;
  --edge: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: white;
  background: #010204;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Mostly-black site background with restrained cold white/blue fog. */
body::before {
  content: "";
  position: fixed;
  z-index: -2;
  inset: -24%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 28%, rgba(230, 241, 255, .23) 0 8%, rgba(135, 177, 229, .13) 17%, transparent 38%),
    radial-gradient(ellipse at 78% 35%, rgba(244, 249, 255, .18) 0 7%, rgba(105, 151, 214, .115) 18%, transparent 39%),
    radial-gradient(ellipse at 52% 78%, rgba(199, 223, 255, .16) 0 9%, rgba(91, 129, 184, .085) 22%, transparent 42%),
    linear-gradient(145deg, #000 0%, #020306 43%, #000 100%);
  filter: blur(52px) saturate(.88);
  transform: translate3d(-1.5%, -1%, 0) scale(1.07);
  transform-origin: center;
  animation: fog-drift 78s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(228, 240, 255, .075), transparent 46%),
    linear-gradient(to bottom, rgba(255,255,255,.026), transparent 24%, rgba(120,160,210,.042) 68%, transparent);
}

@keyframes fog-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.07); }
  50%  { transform: translate3d(1.5%, -.4%, 0) scale(1.09); }
  100% { transform: translate3d(.3%, 1.4%, 0) scale(1.08); }
}

/* Sparse atmospheric dust that lives between the page background and content.
   The hero video naturally hides it, so it mainly appears in the black/fog sections. */
#ambient-dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .92;
}

main {
  position: relative;
  z-index: 1;
}

#smoke-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  filter: blur(.45px);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,.84) 87%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, rgba(0,0,0,.84) 87%, transparent 100%);
}

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.01);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 9, 12, 0.30) 0%, rgba(3, 9, 12, 0.06) 32%, transparent 58%),
    linear-gradient(180deg, rgba(4, 9, 13, 0.20), transparent 32%, rgba(4, 10, 12, 0.16));
}

/* The logo stays large on a full desktop, but its width is limited to the
   right-hand side of the image so it does not drift over the central tower. */
.hero-logo-link {
  position: absolute;
  z-index: 4;
  top: max(clamp(26px, 3.6vw, 60px), env(safe-area-inset-top));
  right: calc(max(clamp(24px, 3.6vw, 68px), env(safe-area-inset-right)) + 100px);
  width: min(900px, 42vw);
  line-height: 0;
  transform-origin: top right;
  transition: transform 260ms ease, filter 260ms ease, width 220ms ease;
}

.hero-logo-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 8px 16px rgba(0,0,0,.34))
    drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  right: clamp(24px, 4.5vw, 72px);
  bottom: clamp(70px, 9vh, 110px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.86);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .20em;
  font-size: 10px;
  font-weight: 650;
}

.scroll-cue-line {
  display: block;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.9), transparent);
  animation: cue-pulse 1.8s ease-in-out infinite;
}

@keyframes cue-pulse {
  50% { opacity: .36; transform: translateX(5px); }
}

.section {
  position: relative;
  width: 100%;
  padding-inline: clamp(20px, 4vw, 72px);
}

.about-section {
  margin-top: clamp(-28px, -2vw, -10px);
  padding-top: clamp(50px, 6vw, 96px);
  padding-bottom: clamp(105px, 10vw, 170px);
}

/* No card/frame around About: the content sits directly in the atmospheric page. */
.about-layout {
  position: relative;
  max-width: 1840px;
  min-height: 610px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(460px, 520px) minmax(760px, 1fr);
  gap: clamp(42px, 3.6vw, 68px);
  align-items: center;
}

.about-copy {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding-left: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: clamp(11px, .85vw, 13px);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.about-copy h1,
.newsletter-card h2 {
  margin: 0;
  letter-spacing: -.045em;
  font-weight: 540;
  line-height: .98;
}

.about-copy h1 {
  max-width: 580px;
  font-size: clamp(42px, 4.7vw, 76px);
}

.ornament {
  display: flex;
  align-items: center;
  width: min(320px, 78%);
  margin: 27px 0 26px;
}

.ornament::before {
  content: "◇";
  margin-right: 9px;
  color: var(--accent);
  font-size: 14px;
}

.ornament span {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(182,54,45,0));
}

.about-text {
  margin: 0;
  max-width: 510px;
  color: rgba(255,255,255,.68);
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.66;
}

/* Gameplay slideshow */
.slideshow {
  position: relative;
  min-width: 0;
  width: 100%;
}

.slideshow-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 30px);
  background: #05090d;
  box-shadow:
    0 40px 90px rgba(0,0,0,.46),
    0 8px 24px rgba(0,0,0,.28),
    inset 0 0 0 1px rgba(255,255,255,.10);
  isolation: isolate;
}

.slideshow-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), transparent 65%, rgba(0,0,0,.28)),
    radial-gradient(circle at 80% 20%, rgba(190,220,255,.06), transparent 34%);
  box-shadow: inset 0 0 70px rgba(0,0,0,.20);
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.055) translate3d(1.5%, 0, 0);
  transition:
    opacity 900ms ease,
    visibility 900ms step-end,
    transform 5200ms cubic-bezier(.18,.62,.24,1);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.015) translate3d(0, 0, 0);
  transition:
    opacity 900ms ease,
    visibility 0s step-start,
    transform 5200ms cubic-bezier(.18,.62,.24,1);
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slide:nth-child(even) {
  transform: scale(1.055) translate3d(-1.5%, .5%, 0);
}

.slide:nth-child(even).is-active {
  transform: scale(1.015) translate3d(0, 0, 0);
}

.slide-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  color: rgba(255,255,255,.90);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font: 300 32px/1 Georgia, serif;
  opacity: .70;
  transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
}

.slide-arrow:hover {
  opacity: 1;
  background: rgba(0,0,0,.48);
  transform: translateY(-50%) scale(1.04);
}

.slide-prev { left: 18px; }
.slide-next { right: 18px; }

.slide-counter {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 8;
  display: flex;
  gap: 7px;
  align-items: baseline;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  letter-spacing: .18em;
}

.slide-current {
  color: white;
  font-size: 15px;
}

.slide-dots {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 17px;
  padding-right: 4px;
}

.slide-dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, opacity 220ms ease;
}

.slide-dot:hover { background: rgba(255,255,255,.48); }
.slide-dot.is-active {
  width: 48px;
  background: rgba(229,83,53,.95);
}

.newsletter-section {
  padding-top: 0;
  padding-bottom: clamp(78px, 10vw, 160px);
}

.newsletter-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(42px, 6vw, 80px);
  text-align: center;
  border: 1px solid var(--edge);
  border-radius: clamp(26px, 3vw, 42px);
  background: rgba(5, 11, 14, .48);
  box-shadow: 0 30px 80px rgba(0,0,0,.20);
  backdrop-filter: blur(22px);
}

.newsletter-card .eyebrow { color: rgba(255, 108, 90, .92); }

.newsletter-card h2 {
  max-width: 820px;
  margin-inline: auto;
  font-size: clamp(38px, 5.3vw, 72px);
}

.newsletter-copy {
  max-width: 620px;
  margin: 24px auto 35px;
  color: rgba(255,255,255,.67);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
}

.newsletter-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 54px;
  padding: 0 22px;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: inherit;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.46); }

.newsletter-form button {
  height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #bd3b31, #7f2423);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  transition: transform 200ms ease, filter 200ms ease;
}

.newsletter-form button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.newsletter-form button:active { transform: translateY(0); }

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.newsletter-consent {
  max-width: 680px;
  margin: 15px auto 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.newsletter-consent input {
  width: 15px;
  height: 15px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.text-link,
.footer-link {
  border: 0;
  padding: 0;
  color: rgba(255,255,255,.72);
  background: none;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.28);
  text-underline-offset: 3px;
  cursor: pointer;
}

.text-link:hover,
.footer-link:hover { color: white; }

.site-footer {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4px 20px max(54px, env(safe-area-inset-bottom));
  text-align: center;
  color: rgba(255,255,255,.58);
}

.site-footer::before {
  content: "";
  display: block;
  width: min(620px, 78vw);
  height: 1px;
  margin: 0 auto 46px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
}

.studio-mark {
  display: inline-block;
  width: 58px;
  height: 58px;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  opacity: .82;
  transition: opacity 180ms ease, transform 180ms ease;
}

.studio-mark:hover { opacity: 1; transform: translateY(-2px); }
.studio-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.footer-copyright {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  letter-spacing: .025em;
}

.footer-game-legal {
  max-width: 720px;
  margin: 10px auto 0;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(255,255,255,.40);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 16px;
  font-size: 12px;
}

.consent-banner {
  position: fixed;
  z-index: 180;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(920px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(4, 7, 10, .90);
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
  backdrop-filter: blur(22px);
}

.consent-banner[hidden], .privacy-modal[hidden] { display: none !important; }

.consent-copy { flex: 1; min-width: 0; }
.consent-copy strong { display: block; margin-bottom: 5px; font-size: 13px; color: rgba(255,255,255,.90); }
.consent-copy p { margin: 0; color: rgba(255,255,255,.58); font-size: 12px; line-height: 1.55; }

.consent-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.consent-button {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
}
.consent-button-secondary { background: rgba(255,255,255,.055); }
.consent-button-primary { border-color: rgba(229,83,53,.45); background: linear-gradient(135deg, #bd3b31, #7f2423); }
.consent-button:hover { filter: brightness(1.10); }

.privacy-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.76);
  backdrop-filter: blur(10px);
}

.privacy-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(82vh, 900px);
  overflow: auto;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  outline: none;
  color: rgba(255,255,255,.70);
  background:
    radial-gradient(circle at 88% 8%, rgba(94,135,188,.12), transparent 30%),
    rgba(5,8,12,.96);
  box-shadow: 0 35px 110px rgba(0,0,0,.70);
}

.privacy-panel h2 {
  margin: 0 0 7px;
  color: white;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -.045em;
  font-weight: 560;
}
.privacy-updated { margin: 0 0 30px !important; color: rgba(255,255,255,.40) !important; font-size: 12px !important; }
.privacy-panel h3 { margin: 28px 0 8px; color: rgba(255,255,255,.88); font-size: 15px; }
.privacy-panel p { margin: 0 0 14px; font-size: 13px; line-height: 1.72; }
.privacy-close {
  position: sticky;
  float: right;
  top: 0;
  width: 38px;
  height: 38px;
  margin: -12px -12px 0 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  font: 300 26px/1 sans-serif;
}

body.privacy-open { overflow: hidden; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(.2,.72,.25,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* As the desktop window narrows, scale the logo down quickly while keeping it
   right-aligned. This keeps it away from the central tower. */
@media (max-width: 1500px) {
  .hero-logo-link { width: 40vw; }
}

@media (max-width: 1260px) {
  .hero-logo-link { width: 36vw; }

  .about-layout {
    grid-template-columns: minmax(390px, 430px) minmax(620px, 1fr);
    gap: clamp(30px, 3.2vw, 48px);
  }

  .about-copy { padding-left: 0; }
}

@media (max-width: 1050px) {
  .hero-logo-link {
    width: min(51vw, 540px);
    top: max(clamp(42px, 6vh, 72px), env(safe-area-inset-top));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    transform-origin: top center;
  }

  .hero-logo-link:hover { transform: translate(-50%, -2px); }

  .about-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 48px;
  }

  .about-copy {
    max-width: 680px;
    padding-left: clamp(22px, 6vw, 70px);
  }

  .slideshow {
    width: min(1120px, 100%);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .hero-logo-link {
    width: min(87vw, 495px);
    top: max(clamp(46px, 8vh, 82px), env(safe-area-inset-top));
  }

  .hero-video { object-position: 50% 50%; }
  .scroll-cue { right: 20px; bottom: 64px; }
  .scroll-cue span:first-child { display: none; }

  .section { padding-inline: 16px; }

  .about-section {
    padding-top: 40px;
    padding-bottom: 84px;
  }

  .about-layout { gap: 34px; }

  .about-copy {
    padding-left: 12px;
    padding-right: 10px;
  }

  .about-copy h1 { font-size: clamp(38px, 12vw, 56px); }

  .slideshow { width: 100%; }
  .slideshow-stage { border-radius: 18px; }
  .slide-arrow { width: 42px; height: 42px; font-size: 27px; }
  .slide-prev { left: 12px; }
  .slide-next { right: 12px; }
  .slide-counter { right: 16px; bottom: 13px; }
  .slide-dots { justify-content: center; margin-top: 14px; padding-right: 0; }
  .slide-dot { width: 20px; }
  .slide-dot.is-active { width: 36px; }

  .newsletter-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: 23px;
    padding: 8px;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 16px;
  }
}

@media (max-width: 700px) {
  .site-footer { width: calc(100% - 20px); padding-inline: 10px; }
  .studio-mark { width: 52px; height: 52px; }
  .footer-game-legal { font-size: 10.5px; }
  .consent-banner {
    width: calc(100% - 20px);
    bottom: max(10px, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-radius: 18px;
  }
  .consent-actions { width: 100%; }
  .consent-button { flex: 1; }
  .privacy-modal { padding: 10px; }
  .privacy-panel { border-radius: 20px; padding: 28px 22px; max-height: 90vh; }
}

@media (hover: none), (pointer: coarse) {
  #smoke-trail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .scroll-cue-line { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #smoke-trail { display: none; }
  .slide { transition: opacity 250ms ease; transform: none; }
  .slide.is-active { transform: none; }
}


/* v10 - Qartilo Studio footer, Sender newsletter, consent UI, and studio-style particles */
#ambient-dust {
  opacity: .96;
  mix-blend-mode: screen;
}

.sender-form-wrap {
  width: min(560px, 100%);
  max-width: 560px;
  margin: 24px auto 0;
  padding: 0;
  min-height: 70px;
  background: transparent;
  border: 0;
  overflow: visible;
}
.sender-form-field { position: relative; z-index: 1; }
.sender-form-field iframe,
.sender-form-field form { max-width: 100% !important; }
.sender-form-field iframe { border-radius: 18px; background: transparent !important; }
.sender-loading-note {
  margin: 14px 0 0;
  color: rgba(255,255,255,.46);
  font-size: 13px;
  text-align: center;
}

.studio-mark {
  width: min(270px, 68vw);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 0;
  overflow: visible;
  opacity: .90;
}
.studio-mark img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.38));
}
.footer-copyright {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .03em;
  color: rgba(255,255,255,.84);
}
.footer-game-legal {
  max-width: 860px;
  margin: 13px auto 0;
  font-size: 11.5px;
  line-height: 1.72;
  color: rgba(255,255,255,.46);
}
.footer-links {
  gap: 24px;
  margin-top: 21px;
  font-size: 15px;
  font-weight: 650;
}
.footer-link {
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.24);
  text-underline-offset: 4px;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 16px 28px max(16px, env(safe-area-inset-bottom));
  color: rgba(255,255,255,.80);
  background: rgba(8,9,12,.92);
  border-top: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 -18px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-copy p { margin: 0; max-width: 980px; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.55; }
.cookie-copy button,
.cookie-pref-body .linklike {
  padding: 0;
  border: 0;
  color: #f05a1a;
  background: none;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.cookie-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.cookie-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.07);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}
.cookie-button.accept { color: white; background: linear-gradient(135deg,#ff7a26,#f05a1a 58%,#bd3511); }

.cookie-preferences-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,.66);
  backdrop-filter: blur(12px);
  transition: opacity 260ms ease;
}
.cookie-preferences-modal.is-open { opacity: 1; pointer-events: auto; }
.cookie-preferences-panel {
  width: min(620px,100%);
  max-height: min(82vh,760px);
  overflow: auto;
  color: #202020;
  background: #ecebea;
  border-radius: 2px;
  box-shadow: 0 34px 120px rgba(0,0,0,.58);
}
.cookie-pref-header { display:flex; align-items:center; justify-content:space-between; padding:22px 28px 12px; }
.cookie-pref-logo { color:#111; font-weight:900; font-size:18px; }
.cookie-pref-close { width:40px; height:40px; border:1px solid #777; background:transparent; color:#111; font-size:22px; cursor:pointer; }
.cookie-pref-body { padding:12px 28px 24px; }
.cookie-pref-body p { margin:0 0 14px; color:#666; font-size:12px; line-height:1.55; }
.cookie-pref-allow { min-height:40px; margin:6px 0 18px; padding:0 22px; color:white; background:#316849; border:0; font-weight:850; cursor:pointer; }
.cookie-pref-title { margin:16px 0 12px; color:#555; font-size:14px; font-weight:800; }
.cookie-category { border:1px solid #d6d6d6; border-bottom:0; background:#e7e7e7; }
.cookie-category:last-of-type { border-bottom:1px solid #d6d6d6; }
.cookie-category-main { display:grid; grid-template-columns:28px 1fr auto; gap:12px; align-items:center; min-height:52px; padding:0 12px; color:#555; font-size:13px; font-weight:760; }
.cookie-plus { color:#133a5c; font-size:20px; font-weight:900; }
.cookie-always { color:#2662bc; font-size:12px; font-weight:850; }
.cookie-switch { position:relative; width:42px; height:24px; display:inline-flex; align-items:center; }
.cookie-switch input { position:absolute; opacity:0; }
.cookie-slider { position:absolute; inset:0; border-radius:999px; background:#888; transition:background 180ms ease; }
.cookie-slider::before { content:""; position:absolute; top:3px; left:3px; width:18px; height:18px; border-radius:50%; background:white; transition:transform 180ms ease; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.cookie-switch input:checked + .cookie-slider { background:#316849; }
.cookie-switch input:checked + .cookie-slider::before { transform:translateX(18px); }
.cookie-pref-footer { display:flex; justify-content:flex-end; padding:18px 28px 24px; border-top:1px solid #d6d6d6; }
.cookie-confirm { min-height:42px; padding:0 22px; border:0; color:white; background:#316849; font-size:12px; font-weight:850; cursor:pointer; }

/* Studio privacy policy behavior: click/tap panel or backdrop to close. */
#privacyModal.privacy-modal {
  opacity: 0;
  pointer-events: none;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
  transition: opacity 260ms ease;
}
#privacyModal.privacy-modal.is-open { opacity: 1; pointer-events: auto; }
#privacyModal .privacy-panel { cursor: pointer; }
.privacy-close-note { margin-top: 30px !important; color: rgba(255,255,255,.36) !important; font-size: 11px !important; }

@media (max-width: 760px) {
  .cookie-banner { grid-template-columns:1fr; padding:15px 16px max(15px, env(safe-area-inset-bottom)); }
  .cookie-actions { justify-content:stretch; }
  .cookie-button { flex:1; }
  .cookie-preferences-modal { padding:10px; }
  .footer-links { font-size:14px; }
  .studio-mark { width:min(230px,72vw); }
}


/* v11: studio-matched newsletter panel, BELOWHERE word color, favicon in HTML */
.belowhere-wordmark {
  color: #E90C00;
  font: inherit;
  font-weight: inherit;
}

/* Match the Qartilo Studio newsletter panel dimensions and glass background. */
.newsletter-section {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding-top: clamp(78px, 8vw, 120px);
  padding-bottom: clamp(78px, 8vw, 120px);
}

.newsletter-card {
  position: relative;
  width: min(1180px, 100%);
  max-width: 1180px;
  overflow: hidden;
  margin: 0 auto;
  padding: 40px 50px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,255,255,0.10), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(255,255,255,0.06), transparent 32%),
    linear-gradient(135deg, rgba(255,247,221,0.12), rgba(255,247,221,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

.sender-form-wrap {
  width: min(520px, 100%);
  max-width: 520px;
  min-height: 68px;
}

.sender-form-field iframe {
  border-radius: 14px;
}

@media (max-width: 700px) {
  .newsletter-section {
    min-height: auto;
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .newsletter-card {
    padding: 26px 32px;
    border-radius: 28px;
  }

  .sender-form-wrap {
    width: 100%;
    max-width: 520px;
  }
}


/* v12: compact newsletter spacing and neutral footer game notice */
.newsletter-section {
  min-height: auto;
  padding-top: clamp(64px, 6vw, 92px);
  padding-bottom: clamp(64px, 6vw, 92px);
}

.newsletter-card {
  padding: 28px 46px 24px;
}

.newsletter-card .eyebrow {
  margin-bottom: 10px;
}

.newsletter-card h2 {
  margin-bottom: 0;
}

.newsletter-copy {
  margin: 12px auto 8px;
  line-height: 1.55;
}

.sender-form-wrap {
  width: min(520px, 100%);
  max-width: 520px;
  min-height: 0;
  margin: -4px auto -8px;
}

.sender-loading-note {
  margin-top: 4px;
}

/* BELOWHERE is red throughout the site, except in the copyright/legal footer notice. */
.footer-game-legal,
.footer-game-legal .belowhere-wordmark {
  color: rgba(255,255,255,.58);
}

.footer-game-legal {
  max-width: 720px;
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .01em;
}

@media (max-width: 700px) {
  .newsletter-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .newsletter-card {
    padding: 24px 24px 20px;
  }

  .newsletter-copy {
    margin-top: 10px;
    margin-bottom: 6px;
  }

  .sender-form-wrap {
    margin-top: -2px;
    margin-bottom: -6px;
  }
}

/* v13: newsletter composition matched to Qartilo reference */
.newsletter-section {
  min-height: auto;
  padding: clamp(44px, 4vw, 70px) clamp(22px, 1.6vw, 28px) clamp(54px, 5vw, 82px);
}

.newsletter-card {
  position: relative;
  width: min(1595px, 100%);
  max-width: none;
  min-height: clamp(560px, 44vw, 716px);
  margin: 0 auto;
  padding: clamp(54px, 4.1vw, 74px) clamp(54px, 4.2vw, 70px) clamp(56px, 4.5vw, 76px);
  overflow: hidden;
  text-align: left;
  border-radius: clamp(28px, 2.2vw, 38px);
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(circle at 84% 18%, rgba(116, 33, 35, .18), transparent 38%),
    radial-gradient(circle at 13% 85%, rgba(255,255,255,.035), transparent 34%),
    linear-gradient(103deg, rgba(35,35,36,.84) 0%, rgba(37,31,32,.83) 48%, rgba(61,25,30,.84) 100%);
  box-shadow: 0 30px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

.newsletter-card .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(24px, 2.2vw, 34px);
  padding-left: 62px;
  color: #ff5a1f;
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 900;
  letter-spacing: .18em;
}

.newsletter-card .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 1px;
  background: #ff5a1f;
  transform: translateY(-50%);
}

.newsletter-card h2 {
  max-width: none;
  margin: 0;
  color: #f6f0de;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.2vw, 84px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
  text-align: left;
  white-space: nowrap;
}

.newsletter-copy {
  max-width: 700px;
  margin: clamp(30px, 2.8vw, 42px) 0 0;
  color: rgba(231,225,207,.78);
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.newsletter-card .sender-form-wrap {
  width: min(572px, 100%);
  max-width: 572px;
  min-height: 0;
  margin: clamp(50px, 4.6vw, 72px) 0 0;
}

.newsletter-card .sender-form-field,
.newsletter-card .sender-form-field iframe,
.newsletter-card .sender-form-field form {
  width: 100% !important;
  max-width: 100% !important;
}

.newsletter-card .sender-form-field iframe {
  border-radius: 8px;
  background: transparent !important;
}

.newsletter-card .sender-loading-note {
  margin: 12px 0 0;
  color: rgba(230,225,210,.42);
  text-align: left;
}

@media (max-width: 1050px) {
  .newsletter-card {
    min-height: 0;
    padding: 46px 44px 52px;
  }

  .newsletter-card h2 {
    font-size: clamp(44px, 7vw, 68px);
    white-space: normal;
    max-width: 850px;
  }

  .newsletter-card .sender-form-wrap {
    margin-top: 44px;
  }
}

@media (max-width: 700px) {
  .newsletter-section {
    padding: 34px 16px 52px;
  }

  .newsletter-card {
    padding: 34px 24px 38px;
    border-radius: 26px;
  }

  .newsletter-card .eyebrow {
    margin-bottom: 20px;
    padding-left: 48px;
  }

  .newsletter-card .eyebrow::before {
    width: 36px;
  }

  .newsletter-card h2 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1.02;
  }

  .newsletter-copy {
    margin-top: 24px;
    font-size: 16px;
  }

  .newsletter-card .sender-form-wrap {
    margin-top: 34px;
  }
}

/* v14: exact Qartilo Studio newsletter proportions */
.newsletter-section {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 120px 24px;
}

.newsletter-card {
  position: relative;
  width: min(1180px, 100%);
  max-width: 1180px;
  min-height: 0;
  margin: 0 auto;
  padding: 40px 50px;
  overflow: hidden;
  text-align: left;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,255,255,0.10), transparent 30%),
    radial-gradient(circle at 18% 76%, rgba(255,255,255,0.06), transparent 32%),
    linear-gradient(135deg, rgba(255,247,221,0.12), rgba(255,247,221,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 25px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

.newsletter-card .eyebrow {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding-left: 0;
  color: #f05a1a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.newsletter-card .eyebrow::before {
  content: "";
  position: static;
  width: 36px;
  height: 1px;
  flex: 0 0 36px;
  background: #f05a1a;
  transform: none;
}

.newsletter-card h2 {
  max-width: 100%;
  margin: 0;
  color: #f7efd8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.04em;
  text-align: left;
  white-space: nowrap;
}

.newsletter-copy {
  max-width: 620px;
  margin: 22px 0 6px;
  color: rgba(255,247,221,0.76);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  text-align: left;
}

.newsletter-card .sender-form-wrap {
  width: min(520px, 100%);
  max-width: 520px;
  min-height: 68px;
  margin-top: -18px;
  margin-left: -6px;
  margin-bottom: 0;
  padding: 0;
}

.newsletter-card .sender-form-field,
.newsletter-card .sender-form-field iframe,
.newsletter-card .sender-form-field form {
  max-width: 100% !important;
}

.newsletter-card .sender-form-field iframe {
  border-radius: 14px;
  background: transparent !important;
}

.newsletter-card .sender-loading-note {
  margin: 14px 0 0;
  color: rgba(255,247,221,0.56);
  font-size: 14px;
  text-align: left;
}

@media (max-width: 700px) {
  .newsletter-section {
    min-height: 82vh;
    padding: 78px 20px;
  }

  .newsletter-card {
    padding: 26px 32px;
  }

  .newsletter-card h2 {
    white-space: normal;
    font-size: clamp(34px, 8vw, 48px);
  }

  .newsletter-card .sender-form-wrap {
    margin-left: 0;
    margin-top: -12px;
  }
}


/* v15: centered BELOWHERE newsletter layout */
.newsletter-section {
  min-height: auto;
  padding: clamp(72px, 7vw, 108px) 24px;
}

.newsletter-card {
  width: min(1040px, 100%);
  max-width: 1040px;
  padding: clamp(34px, 4.5vw, 56px) clamp(24px, 5vw, 56px);
  text-align: center;
}

.newsletter-card .eyebrow {
  display: inline-flex;
  justify-content: center;
  margin: 0 auto 14px;
}

.newsletter-card h2 {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  white-space: normal;
  font-size: clamp(38px, 5vw, 64px);
}

.newsletter-copy {
  max-width: 700px;
  margin: 18px auto 18px;
  text-align: center;
  line-height: 1.6;
}

.newsletter-card .sender-form-wrap {
  width: min(560px, 100%);
  max-width: 560px;
  min-height: 0;
  margin: 0 auto;
}

.newsletter-card .sender-form-field,
.newsletter-card .sender-form-field iframe,
.newsletter-card .sender-form-field form {
  margin-left: auto !important;
  margin-right: auto !important;
}

.newsletter-card .sender-loading-note {
  text-align: center;
}

@media (max-width: 700px) {
  .newsletter-section {
    padding: 64px 16px;
  }

  .newsletter-card {
    padding: 30px 20px;
  }

  .newsletter-card h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .newsletter-copy {
    margin-top: 14px;
    margin-bottom: 14px;
  }
}
