/* =============================================================================
   ROLLER VS NYÚL — Shared Components
   panel, buttons, nav, footer, subscribe, fog seam, modal
   ============================================================================= */

/* ── Panel ─────────────────────────────────────────────────────────────────── */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--steel-dark) 0%, var(--steel-darker) 100%);
  border: var(--panel-border);
  border-radius: var(--border-radius-panel);
  padding: var(--sp-md) var(--sp-lg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.8),
    inset 2px 0 8px rgba(0,0,0,0.6),
    inset -2px 0 8px rgba(0,0,0,0.6),
    0 4px 24px rgba(0,0,0,0.85);
  overflow: hidden;
}

/* Scanline overlay */
.panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.07) 2px,
    rgba(0,0,0,0.07) 4px
  );
  opacity: var(--scanline-opacity);
  pointer-events: none;
  z-index: 1;
}

/* Rivets */
.rivets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.rivets::before,
.rivets::after,
.rivets span::before,
.rivets span::after {
  content: '';
  position: absolute;
  width: var(--rivet-size);
  height: var(--rivet-size);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4a3a2a, #1a1008);
  border: 1px solid rgba(255,190,60,0.25);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.9), 0 0 3px rgba(0,0,0,0.6);
}
.rivets::before   { top: 6px;    left: 6px;  }
.rivets::after    { top: 6px;    right: 6px; }
.rivets span::before { bottom: 6px; left: 6px;  }
.rivets span::after  { bottom: 6px; right: 6px; }

@media (max-width: 639px) {
  .rivets { display: none; }
  .panel { padding: var(--sp-sm) var(--sp-md); }
}

/* Panel variants */
.panel--active {
  border: var(--panel-border-active);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.8),
    0 0 18px rgba(245,158,11,0.3),
    0 4px 24px rgba(0,0,0,0.85);
}

.panel--danger {
  border: 2px solid rgba(239,68,68,0.7);
  box-shadow: 0 0 20px rgba(239,68,68,0.2), 0 4px 24px rgba(0,0,0,0.85);
}

.panel--hero {
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

/* Panel content needs z-index above scanline/rivets */
.panel > *:not(.rivets):not(::before) {
  position: relative;
  z-index: 3;
}

/* ── Grain overlay ──────────────────────────────────────────────────────────── */
.grain-overlay {
  position: relative;
}
.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: var(--grain-opacity);
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
}

/* ── Fog seam ───────────────────────────────────────────────────────────────── */
.fog-seam {
  width: 100%;
  height: 80px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0,0,0,0.85) 40%,
    rgba(0,0,0,0.85) 60%,
    transparent 100%
  );
  position: relative;
  z-index: 10;
  pointer-events: none;
}

/* Sky section bottom fade */
.section--has-sky {
  position: relative;
}
.section--has-sky::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--void-black));
  pointer-events: none;
  z-index: 5;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-hero);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hazard-amber);
  background: linear-gradient(180deg, #2a1a08 0%, #120a02 100%);
  border: 2px solid var(--steel-border);
  border-radius: var(--border-radius-btn);
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.95);
  box-shadow:
    inset 0 1px 0 rgba(255,200,80,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.8),
    0 4px 12px rgba(0,0,0,0.7);
  transition: color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.btn:hover,
.btn:focus-visible {
  color: #fff;
  border-color: var(--amber-deep);
  text-shadow: var(--glow-orange);
  box-shadow:
    inset 0 1px 0 rgba(255,200,80,0.2),
    0 0 18px rgba(249,115,22,0.45),
    0 4px 16px rgba(0,0,0,0.8);
  outline: none;
  text-decoration: none;
}
.btn:focus-visible {
  outline: 2px solid var(--hazard-amber);
  outline-offset: 3px;
}

/* Primary CTA - "worn" variant of the design system button.
   Uses ::before for the scratched-texture overlay and ::after for 4 corner
   screws so it works with plain text content (no child spans). */
.btn.btn--primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border: 3px solid #0a0a0a;
  font-family: var(--font-hero);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000, 0 0 8px rgba(0,0,0,.85);
  -webkit-text-stroke: 1px #000;
  background: linear-gradient(180deg, #d97706 0%, #92400e 100%);
  --btn-screw: 7px;
  --btn-screw-inset: 6px;
  --btn-band: 6px;
  box-shadow:
    inset 0 var(--btn-band) 10px calc(var(--btn-band) * -1) rgba(0,0,0,.85),
    inset 0 calc(var(--btn-band) * -1) 10px calc(var(--btn-band) * -1) rgba(0,0,0,.9),
    inset 0 1px 0 rgba(255,255,255,.18),
    0 4px 0 #000,
    0 6px 14px rgba(0,0,0,.6);
}
.btn.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/__l5e/assets-v1/51f8857d-c013-4862-bdbc-6d6853ec9bcc/scratched-texture.jpg") center / cover no-repeat;
  mix-blend-mode: soft-light;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}
.btn.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  --sc: radial-gradient(circle at 35% 35%, #9a9a9a 0%, #3a3a3a 55%, #050505 100%);
  background-image: var(--sc), var(--sc), var(--sc), var(--sc);
  background-repeat: no-repeat;
  background-size: var(--btn-screw) var(--btn-screw);
  background-position:
    var(--btn-screw-inset) var(--btn-screw-inset),
    calc(100% - var(--btn-screw-inset)) var(--btn-screw-inset),
    var(--btn-screw-inset) calc(100% - var(--btn-screw-inset)),
    calc(100% - var(--btn-screw-inset)) calc(100% - var(--btn-screw-inset));
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.9));
}
.btn.btn--primary > * { position: relative; z-index: 2; }
.btn.btn--primary:hover,
.btn.btn--primary:focus-visible {
  color: #fff;
  border-color: #0a0a0a;
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow:
    inset 0 var(--btn-band) 10px calc(var(--btn-band) * -1) rgba(0,0,0,.85),
    inset 0 calc(var(--btn-band) * -1) 10px calc(var(--btn-band) * -1) rgba(0,0,0,.9),
    inset 0 1px 0 rgba(255,255,255,.22),
    0 6px 0 #000,
    0 10px 22px rgba(249,115,22,.4);
}
.btn.btn--primary:active { transform: translateY(1px); }

/* Small nav CTA: tighter bands + smaller screws so text isn't clipped */
.btn.btn--primary.nav-cta,
.btn.btn--primary.btn--sm {
  --btn-screw: 5px;
  --btn-screw-inset: 4px;
  --btn-band: 3px;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--bone-grey);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255,255,255,0.05);
  border-color: var(--amber-deep);
  color: var(--hazard-amber);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}
.btn:disabled:hover,
.btn[disabled]:hover {
  color: var(--hazard-amber);
  border-color: var(--steel-border);
  box-shadow:
    inset 0 1px 0 rgba(255,200,80,0.15),
    inset 0 -1px 0 rgba(0,0,0,0.8),
    0 4px 12px rgba(0,0,0,0.7);
  filter: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.95);
  background: linear-gradient(180deg, #2a1a08 0%, #120a02 100%);
}

@media (max-width: 639px) {
  .btn { white-space: normal; word-break: break-word; max-width: 100%; }
}

/* Tag chip */
.tag-chip {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hazard-amber);
  background: rgba(251,191,36,0.1);
  border: 1px solid rgba(251,191,36,0.3);
  border-radius: 2px;
  padding: 3px 10px;
}

/* TODO-PLACEHOLDER badge */
.todo-placeholder {
  position: relative;
  background: repeating-linear-gradient(
    45deg,
    rgba(251,191,36,0.05),
    rgba(251,191,36,0.05) 10px,
    rgba(0,0,0,0.2) 10px,
    rgba(0,0,0,0.2) 20px
  );
  border: 2px dashed rgba(251,191,36,0.4);
  border-radius: var(--border-radius-panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-md);
  gap: 8px;
}
.todo-placeholder__label {
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(251,191,36,0.6);
  background: rgba(0,0,0,0.7);
  padding: 3px 10px;
  border: 1px solid rgba(251,191,36,0.3);
}
.todo-placeholder__title {
  font-family: var(--font-hero);
  font-size: clamp(1rem, 2vw, 2rem);
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.todo-placeholder__sub {
  font-family: var(--font-flavor);
  font-size: 0.9rem;
  color: var(--bone-dim);
}

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--t-mid), border-bottom var(--t-mid);
  border-bottom: 1px solid transparent;
  overflow: visible;
}
.site-nav.scrolled {
  background: rgba(0,0,0,0.96);
  border-bottom-color: var(--steel-border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--sp-md);
}

.nav-logo {
  display: inline-flex;
  align-items: flex-start;
  height: 64px;
  text-decoration: none;
  flex-shrink: 0;
  transition: filter var(--t-fast);
  overflow: visible;
}
.nav-logo__img {
  height: 78px;
  width: auto;
  display: block;
}
.nav-logo__img--hu { display: none; }
html[lang="hu"] .nav-logo__img--en { display: none; }
html[lang="hu"] .nav-logo__img--hu { display: block; }
.nav-logo:hover { filter: drop-shadow(0 0 8px var(--amber-deep)); }

/* Footer socials language toggle */
.footer-social--hu { display: none; }
html[lang="hu"] .footer-social--en { display: none; }
html[lang="hu"] .footer-social--hu { display: inline-flex; }

/* Inline language toggle helpers */
.lang-hu { display: none; }
html[lang="hu"] .lang-en { display: none; }
html[lang="hu"] .lang-hu { display: inline; }

/* Block/inline copy blocks - preserves original display type */
.lang-copy-hu { display: none; }
html[lang="hu"] .lang-copy-en { display: none; }
html[lang="hu"] .lang-copy-hu { display: revert; }


.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  list-style: none;
}

.nav-item {
  font-family: var(--font-hero);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--bone-grey);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast), text-shadow var(--t-fast);
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.active {
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
  border-bottom-color: var(--amber-deep);
}

/* Highlighted nav item - "How to Support" stands out when not active */
.nav-item--highlight {
  color: var(--blood-orange);
  text-shadow: var(--glow-orange);
}
.nav-item--highlight:hover,
.nav-item--highlight.active {
  color: #fff;
  border-bottom-color: var(--amber-deep);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-flavor);
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: var(--bone-dim);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.lang-btn[aria-pressed="true"] {
  border-color: var(--amber-deep);
  background: rgba(245,158,11,0.2);
  color: var(--amber-pale);
}
.lang-btn:focus-visible {
  outline: 2px solid var(--hazard-amber);
  outline-offset: 2px;
}
.lang-divider {
  color: var(--steel-border);
  font-family: var(--font-flavor);
  font-size: 0.8rem;
}

/* Nav CTA — hidden on mobile */
.nav-cta {
  padding: 10px 18px !important;
  font-size: 0.75rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  letter-spacing: 1.5px !important;
}
@media (max-width: 1279px) {
  .nav-cta { display: none !important; }
}

/* Responsive nav logo — shrink on tablet/mobile so it doesn't dominate */
@media (max-width: 1023px) {
  .nav-logo__img { height: 56px; }
  .site-nav .container { gap: var(--sp-sm); }
  .nav-links { gap: var(--sp-sm); }
  .nav-item { font-size: 0.7rem; letter-spacing: 0.12em; }
  .lang-btn { padding: 3px 7px; font-size: 0.72rem; }
}
@media (max-width: 639px) {
  .nav-logo__img { height: 52px; }
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--hazard-amber);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  overflow: hidden;
}
.nav-overlay.open {
  display: flex;
}
.nav-overlay .nav-links {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
}
.nav-overlay .nav-item {
  font-size: 1.2rem;
}
.nav-overlay .nav-overlay-sprite {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 280px;
  image-rendering: pixelated;
  opacity: 0.15;
  pointer-events: none;
}
.nav-overlay .lang-toggle {
  margin-top: var(--sp-sm);
}

/* ── Subscribe form ─────────────────────────────────────────────────────────── */
.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  align-items: flex-start;
}

.subscribe-form__input {
  flex: 1 1 240px;
  font-family: var(--font-flavor);
  font-size: 1rem;
  padding: 12px 16px;
  background: rgba(0,0,0,0.7);
  border: var(--panel-border);
  border-radius: var(--border-radius-btn);
  color: var(--amber-dim);
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.subscribe-form__input::placeholder {
  color: rgba(212,212,212,0.35);
  font-style: italic;
}
.subscribe-form__input:focus {
  border-color: var(--amber-deep);
  box-shadow: 0 0 12px rgba(245,158,11,0.25);
}
.subscribe-form__input:invalid:not(:placeholder-shown) {
  border-color: var(--demon-red);
  box-shadow: 0 0 10px rgba(239,68,68,0.35);
}

.subscribe-form__privacy {
  width: 100%;
  font-family: var(--font-flavor);
  font-size: 0.75rem;
  color: var(--bone-dim);
  margin-top: 4px;
  line-height: 1.5;
}
.subscribe-form__privacy a {
  color: var(--hazard-amber);
  text-decoration: underline;
}

.subscribe-form__error {
  display: none;
  width: 100%;
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--demon-red);
  text-shadow: var(--glow-red);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.subscribe-form--error .subscribe-form__error { display: block; }

.subscribe-form__success-msg {
  display: none;
  font-family: var(--font-label);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--toxic-green);
  text-shadow: var(--glow-green);
  text-transform: uppercase;
  line-height: 1.5;
}
.subscribe-form--success .subscribe-form__field,
.subscribe-form--success .subscribe-form__btn {
  display: none;
}
.subscribe-form--success .subscribe-form__success-msg {
  display: block;
}
.subscribe-form--success .subscribe-form__privacy {
  display: none;
}

/* ── Subscribe band (footer area, every page) ─────────────────────────────── */
.subscribe-band {
  background: linear-gradient(180deg, var(--void-black) 0%, #0d0800 60%, var(--void-black) 100%);
  border-top: 1px solid var(--steel-border);
  border-bottom: 1px solid var(--steel-border);
  padding: var(--sp-2xl) var(--sp-lg);
  position: relative;
  overflow: hidden;
}
.subscribe-band__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 12vw, 14rem);
  letter-spacing: 0.3em;
  color: rgba(251,191,36,0.04);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
.subscribe-band__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.subscribe-band__title {
  font-family: var(--font-hero);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  letter-spacing: 0.15em;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber-hot);
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}
.subscribe-band__body {
  font-family: var(--font-flavor);
  font-size: 1rem;
  color: var(--amber-dim);
  margin-bottom: var(--sp-md);
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--void-black);
  border-top: 2px solid var(--steel-border);
  padding: var(--sp-lg) var(--sp-xl);
}
@media (max-width: 639px) {
  .site-footer { padding: var(--sp-md) var(--sp-sm); }
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-md);
  align-items: center;
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-sm);
  }
}
.footer-logo {
  display: inline-flex;
  align-items: center;
}
.footer-logo__img {
  height: 110px;
  width: auto;
  display: block;
}
.footer-logo__img--hu { display: none; }
html[lang="hu"] .footer-logo__img--en { display: none; }
html[lang="hu"] .footer-logo__img--hu { display: block; }
.footer-nav {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--font-label);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.footer-nav a:hover { color: var(--hazard-amber); }
.footer-socials {
  display: flex;
  gap: var(--sp-sm);
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 767px) {
  .footer-socials { justify-content: center; }
}
.footer-socials a {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 2px;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.footer-socials a:hover {
  color: var(--hazard-amber);
  border-color: var(--amber-deep);
}
.footer-divider {
  border: none;
  border-top: 1px solid var(--steel-border);
  margin: var(--sp-md) 0;
  max-width: 1400px;
}
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}
@media (max-width: 767px) {
  .footer-bottom { justify-content: center; text-align: center; }
}
.footer-made-in {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
}
.footer-copyright {
  font-family: var(--font-flavor);
  font-size: 0.75rem;
  color: var(--bone-dim);
  text-align: center;
}
.footer-steam {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border: 1px solid var(--steel-border);
  padding: 6px 14px;
  border-radius: 2px;
}
/* TODO-PLACEHOLDER: Replace with actual Steam badge image (154×56px) */

/* ── Exit-intent modal ───────────────────────────────────────────────────────── */
.exit-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
.exit-modal-overlay.open {
  display: flex;
}
.exit-modal {
  max-width: 520px;
  width: 90%;
  position: relative;
  animation: modalEnter 250ms ease-out forwards;
}
@keyframes modalEnter {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes modalEnter { from { opacity: 0; } to { opacity: 1; } }
}
.exit-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background: var(--steel-darker);
  border: 1px solid var(--steel-border);
  border-radius: 50%;
  color: var(--bone-grey);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast), border-color var(--t-fast);
  z-index: 20;
}
.exit-modal__close:hover { color: var(--demon-red); border-color: var(--demon-red); }
.exit-modal__title {
  font-family: var(--font-hero);
  font-size: 1.35rem;
  color: var(--hazard-amber);
  text-shadow: var(--glow-amber);
  letter-spacing: 0.12em;
  margin: 0 0 var(--sp-xs) 0;
  padding-right: 48px;
  line-height: 1.1;
}
.exit-modal__sub {
  font-family: var(--font-flavor);
  font-size: 1rem;
  color: var(--amber-dim);
  margin-bottom: var(--sp-md);
}
.exit-modal__sprite {
  position: absolute;
  bottom: -8px;
  right: -8px;
  height: 96px;
  image-rendering: pixelated;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}
.exit-modal > *:not(.exit-modal__sprite):not(.exit-modal__close) {
  position: relative;
  z-index: 2;
}
@media (max-width: 520px) {
  .exit-modal__sprite { height: 72px; opacity: 0.35; }
}


/* ── Screenshot / media cells ─────────────────────────────────────────────── */
.screenshot-strip {
  display: flex;
  gap: var(--sp-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--sp-sm);
}
.screenshot-strip::-webkit-scrollbar { height: 4px; }
.screenshot-strip::-webkit-scrollbar-track { background: var(--steel-darker); }
.screenshot-strip::-webkit-scrollbar-thumb { background: var(--steel-border); border-radius: 2px; }

.screenshot-cell {
  flex-shrink: 0;
  width: 240px;
  scroll-snap-align: start;
  border: 1px solid var(--steel-border);
  border-radius: var(--border-radius-panel);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.screenshot-cell:hover {
  border-color: var(--amber-deep);
  box-shadow: 0 0 12px rgba(245,158,11,0.2);
}
.screenshot-cell img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

/* ── Lightbox ─────────────────────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--sp-sm);
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  image-rendering: pixelated;
  border: 1px solid var(--steel-border);
}
.lightbox-controls {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
}
.lightbox-caption {
  font-family: var(--font-flavor);
  font-size: 0.85rem;
  color: var(--bone-dim);
}
