/* DayZ Hygiene — gamer releases site */
:root {
  --bg: #101410;
  --panel: #1a211c;
  --panel2: #232a26;
  --text: #e8e2d6;
  --muted: #8f978a;
  --line: #3a443c;
  --accent: #9aab8c;
  --accent-hot: #b8c9a4;
  --danger: #c45a5a;
  --header-h: 56px;
  --font: "Segoe UI", system-ui, sans-serif;
  --display: "Segoe UI Semibold", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 11px, #9aab8c 12px),
    repeating-linear-gradient(90deg, transparent, transparent 17px, #6a7568 18px);
  mix-blend-mode: soft-light;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hot); }
img { max-width: 100%; height: auto; display: block; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem;
  background: rgba(16, 20, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: var(--accent-hot); }
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.15rem 0.35rem;
  justify-content: flex-end;
}
.nav a, .nav button {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  border-radius: 2px;
}
.nav a:hover, .nav button:hover,
.nav a.is-active, .nav button.is-active {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(154, 171, 140, 0.12);
}

/* Mobile: brand on top, nav full-width row — not clustered right */
@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.65rem 0.85rem 0.55rem;
    height: auto;
  }
  .brand {
    font-size: 0.98rem;
    text-align: left;
  }
  .nav {
    width: 100%;
    justify-content: stretch;
    gap: 0.35rem;
  }
  .nav a, .nav button {
    flex: 1 1 0;
    text-align: center;
    padding: 0.45rem 0.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    border-color: var(--line);
  }
  .nav a.is-active, .nav button.is-active {
    border-color: var(--accent);
  }
}

/* —— Views —— */
.view { display: none; position: relative; z-index: 1; }
.view.is-active { display: block; }

/* —— Banner hero —— */
.banner {
  position: relative;
  min-height: 0;
  height: clamp(200px, 32vh, 300px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.9) 0%, rgba(10, 12, 10, 0.5) 48%, rgba(10, 12, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 12, 10, 0.88) 0%, transparent 48%),
    url("banner.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: bannerDrift 18s ease-in-out infinite alternate;
}
@keyframes bannerDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-1.2%, -0.8%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-bg { animation: none; }
}
.banner-inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1rem 1.25rem 1.15rem;
}
.banner-kicker {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.banner h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}
.desire {
  margin: 0 0 0.7rem;
  max-width: 32rem;
  font-size: clamp(0.92rem, 1.7vw, 1.05rem);
  color: #d5d0c4;
  line-height: 1.35;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
}
.trust-line {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  max-width: 34rem;
}
.trust-line a { font-weight: 650; }
.proof {
  margin: 0.35rem 0 0;
  border: 1px solid var(--line);
  background: #0d100e;
  overflow: hidden;
}
.proof img {
  width: 100%;
  display: block;
}
.proof figcaption {
  margin: 0;
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
}

.cta {
  display: inline-block;
  padding: 0.85rem 1.35rem;
  background: #2f3a32;
  border: 2px solid var(--accent);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.cta:hover {
  background: #3c4b42;
  color: var(--text);
  border-color: var(--accent-hot);
  transform: translateY(-1px);
}
.cta-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-weight: 650;
}
.cta-ghost:hover { color: var(--text); border-color: var(--accent); }
.meta {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.meta button {
  appearance: none;
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.meta button:hover { color: var(--accent-hot); }

/* —— Below fold —— */
.section {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 2.25rem 1.25rem 1.5rem;
}
.section-wide {
  width: min(1100px, 100%);
}
.section-home {
  padding-top: 1.85rem;
}
.section h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lead {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42rem;
  line-height: 1.45;
}

.wallpaper-block {
  margin-top: 2.25rem;
}
.wallpaper-block .lead {
  margin-bottom: 0.85rem;
}
.text-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
}
.text-link:hover { color: var(--accent-hot); }

.flyer-strip {
  margin-top: 2.25rem;
  padding: 0.85rem 1.1rem 1rem;
  background: var(--panel2);
  border: 1px solid var(--line);
  text-align: center;
}
.flyer-strip p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.inline-actions .cta {
  text-decoration: none;
}

.page-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem;
  margin-bottom: 0.85rem;
}
.page-panel h3 {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.page-panel p, .page-panel li {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.page-panel ol { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.page-panel ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}
.page-panel li {
  margin: 0.25rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.page-panel strong { color: var(--text); }

.updates-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 900px) {
  .updates-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
    gap: 1.5rem;
  }
}
.updates-aside {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 900px) {
  .updates-aside {
    position: sticky;
    top: calc(var(--header-h) + 0.75rem);
  }
}
.aside-card .cta {
  margin-top: 0.65rem;
  display: inline-block;
}
.aside-version {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.wallpaper-slider-wrap {
  margin-top: 0;
  padding: 1rem;
  background: var(--panel2);
  border: 1px solid var(--line);
}
.wallpaper-slider {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) 1.6rem;
  gap: 0.45rem;
  align-items: center;
}
.wallpaper-slider-nav {
  appearance: none;
  height: 2.25rem;
  padding: 0;
  background: #121612;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  align-self: center;
}
.wallpaper-slider-nav:hover { border-color: var(--accent); }
.wallpaper-track {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 700px) {
  .wallpaper-track { grid-template-columns: repeat(3, 1fr); }
}
.wallpaper-item {
  background: transparent;
  border: none;
  padding: 0;
  text-align: center;
  min-width: 0;
}
.wallpaper-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0.45rem;
  border: 1px solid var(--line);
  display: block;
}
.wallpaper-item a {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--line);
  display: inline-block;
  padding: 0.35rem 0.5rem;
  color: var(--muted);
  max-width: 100%;
  line-height: 1.25;
}
.wallpaper-item a:hover {
  border-color: var(--accent);
  color: var(--accent-hot);
}

/* —— Branding packs —— */
.branding-zip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1.1rem;
  background: var(--panel2);
  border: 1px solid var(--line);
}
.branding-zip .meta { margin: 0; }
.branding-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .branding-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .branding-grid { grid-template-columns: repeat(4, 1fr); }
}
.branding-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}
.branding-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-bottom: 0.55rem;
}
.branding-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.branding-card .pack-letter {
  display: inline-block;
  min-width: 1.15em;
  margin-right: 0.25rem;
  color: var(--accent);
}
.branding-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}
.branding-note {
  margin-top: 1.75rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.more-from {
  margin-top: 2rem;
  padding: 0.85rem 0 0;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.more-from strong { color: var(--text); }

.site-foot {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding: 1.5rem 1.25rem 2.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}

/* —— Share modal (phone 9:16, one-screen calm) —— */
.share-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
}
.share-backdrop[hidden] { display: none !important; }
.share-sheet {
  --share-w: min(400px, 92vw, calc(90vh * 9 / 16));
  width: var(--share-w);
  max-height: min(90vh, calc(var(--share-w) * 16 / 9));
  overflow-y: auto;
  background: #171d19;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.7rem 0.85rem 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.share-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.share-sheet-brand {
  width: 100%;
  text-align: center;
}
.share-kicker {
  margin: 0 0 0.1rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}
.share-sheet h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
}
.share-help {
  margin: 0.3rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  max-width: none;
  text-align: center;
}
.share-slider {
  display: grid;
  grid-template-columns: 1.6rem 1fr 1.6rem;
  gap: 0.2rem;
  align-items: center;
  margin: 0 0 0.25rem;
}
.share-slider-nav {
  appearance: none;
  height: 2rem;
  padding: 0;
  background: #121612;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.share-slider-nav:hover { border-color: var(--accent); }
.share-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #0d100e;
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: min(42vw, 220px, 28vh);
  width: 100%;
}
.share-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}
.share-preview img.is-active {
  opacity: 1;
  pointer-events: auto;
}
.share-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  margin: 0 0 0.45rem;
}
.share-dot {
  appearance: none;
  border: 1px solid var(--line);
  background: #121612;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  padding: 0.18rem 0.4rem;
  border-radius: 999px;
  cursor: pointer;
}
.share-dot.is-selected {
  border-color: var(--accent);
  color: var(--text);
}
.share-step {
  margin: 0.05rem 0 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.share-dests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin: 0 0 0.5rem;
  justify-content: center;
}
.share-dest {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #121612;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.share-dest:hover,
.share-dest:focus-visible {
  border-color: var(--accent);
  z-index: 2;
}
.share-dest:hover::after,
.share-dest:focus-visible::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  background: #0d100e;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
  pointer-events: none;
}
.share-dest-icon {
  display: flex;
  width: 1.15rem;
  height: 1.15rem;
  color: inherit;
}
.share-dest-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}
.share-dest.dest-x { color: #f5f8fc; }
.share-dest.dest-tiktok { color: #25f4ee; }
.share-dest.dest-youtube { color: #ff2d3b; }
.share-dest.dest-bluesky { color: #4a9eff; }
.share-dest.dest-reddit { color: #ff5722; }
.share-dest.dest-facebook { color: #4b8dff; }
.share-dest.dest-truth { color: #4ec8ff; }
.share-dest.dest-telegram { color: #2ea6de; }
.share-dest.dest-discord { color: #7289ff; }
.share-dest.dest-whatsapp { color: #25d366; }
.share-dest.dest-threads { color: #f5f8fc; }
.share-dest.dest-linkedin { color: #3b9ad9; }
.share-actions {
  display: grid;
  gap: 0.32rem;
}
.share-actions button {
  appearance: none;
  width: 100%;
  padding: 0.55rem 0.7rem;
  background: #243028;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-align: center;
  font-size: 0.86rem;
}
.share-actions button.primary {
  border-color: var(--accent);
  background: #2f3a32;
}
.share-actions button:hover { border-color: var(--accent-hot); }
.share-actions button:disabled { opacity: 0.55; cursor: wait; }
.share-hint {
  margin: 0.35rem 0 0;
  min-height: 1em;
  color: var(--accent-hot);
  font-size: 0.76rem;
}
