/* RequiemZ — olive / ash / rust survival palette */
:root {
  --ash-950: #14160f;
  --ash-900: #1c1f16;
  --ash-800: #2a2f22;
  --ash-700: #3d4433;
  --olive-600: #5c6b42;
  --olive-500: #7a8f55;
  --olive-300: #a8b889;
  --rust: #b85a38;
  --rust-deep: #8a3f28;
  --blood: #7a2828;
  --bone: #e6e1d4;
  --bone-dim: #b8b3a4;
  --fog: #8a8678;
  --line: rgba(230, 225, 212, 0.12);
  --font-brand: "Bebas Neue", "Impact", sans-serif;
  --font-display: "Teko", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", Georgia, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bone);
  background: var(--ash-950);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--olive-300);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--bone);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rust);
  color: var(--bone);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0;
}

/* —— Atmosphere —— */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 70% 20%, rgba(122, 40, 40, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 15% 80%, rgba(92, 107, 66, 0.22), transparent 50%),
    linear-gradient(165deg, #1a1e14 0%, #12140e 45%, #1c1812 100%);
  animation: atmosphere-shift 18s ease-in-out infinite alternate;
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

@keyframes atmosphere-shift {
  from {
    filter: hue-rotate(0deg) brightness(1);
  }
  to {
    filter: hue-rotate(-6deg) brightness(1.05);
  }
}

/* —— Nav —— */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 2.5rem);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  color: var(--bone-dim);
  text-decoration: none;
}

.nav a:hover {
  color: var(--bone);
}

.nav__links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__brand {
  font-family: var(--font-brand);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--bone);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--bone);
  padding: 0.35rem 0.65rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    flex-direction: column;
    background: var(--ash-900);
    border: 1px solid var(--line);
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }

  .nav__links.is-open {
    display: flex;
  }
}

/* —— Hero (one composition: brand left, promos right) —— */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr;
  position: relative;
  overflow: hidden;
}

.hero__plane {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 22, 15, 0.88) 0%, rgba(20, 22, 15, 0.55) 42%, rgba(20, 22, 15, 0.35) 100%),
    url("../assets/hero-field.svg") center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, 1%, 0);
  }
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5.5rem, 14vh, 7rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
  width: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.1rem;
  min-width: 0;
}

.hero__logo {
  width: min(280px, 72vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.45));
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.1s forwards;
}

.hero__headline {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--bone);
  max-width: 18ch;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.25s forwards;
}

.hero__line {
  margin: 0;
  max-width: 34ch;
  color: var(--bone-dim);
  font-size: 1.1rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.4s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

/* Promo column — secondary, same system as hero (not floating chips) */
.hero__promos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-left: 3px solid var(--rust);
  background: linear-gradient(
    160deg,
    rgba(42, 47, 34, 0.72) 0%,
    rgba(28, 31, 22, 0.55) 55%,
    rgba(20, 22, 15, 0.4) 100%
  );
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  animation: promo-in 0.95s var(--ease) 0.65s forwards;
}

.hero__promos[hidden] {
  display: none;
}

.hero__promos-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-500);
}

.hero__promos-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hero__promo {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.hero__promo:first-child {
  padding-top: 0;
  border-top: none;
}

.hero__promo-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--bone-dim);
}

.hero__promo-title span {
  color: var(--rust);
}

.hero__promo-text {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--fog);
  max-width: 32ch;
}

.hero__promos-cta {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 184, 137, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero__promos-cta:hover {
  color: var(--bone);
  border-bottom-color: var(--rust);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes promo-in {
  from {
    opacity: 0;
    transform: translateX(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero__promos {
    border-left: none;
    border-top: 3px solid var(--rust);
    max-width: 28rem;
    animation-name: rise;
  }

  .hero__headline {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__plane,
  .atmosphere,
  .hero__logo,
  .hero__headline,
  .hero__line,
  .hero__ctas,
  .hero__promos {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--rust);
  color: var(--bone);
  border-color: var(--rust-deep);
}

.btn--primary:hover {
  background: var(--rust-deep);
  color: var(--bone);
}

.btn--ghost {
  background: transparent;
  color: var(--bone);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--olive-500);
  color: var(--bone);
}

.btn--block {
  width: 100%;
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive-500);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1;
}

.section__lead {
  margin: 0 0 2rem;
  max-width: 42ch;
  color: var(--bone-dim);
}

.section--vip {
  background: linear-gradient(180deg, transparent, rgba(42, 47, 34, 0.55) 20%, rgba(42, 47, 34, 0.55) 80%, transparent);
}

.section--download {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* —— VIP packages (cards OK for purchase interaction) —— */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .vip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .vip-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
  }
}

.vip-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem 1.35rem;
  background: var(--ash-900);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.2s ease;
}

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

.vip-card--featured {
  border-color: var(--rust);
  background: linear-gradient(165deg, var(--ash-800), var(--ash-900));
}

.vip-card__badge {
  align-self: flex-start;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}

.vip-card__name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.vip-card__price {
  margin: 0.5rem 0 0.15rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1;
}

.vip-card__period {
  margin: 0 0 1.1rem;
  color: var(--fog);
  font-size: 0.95rem;
}

.vip-card__list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.vip-card__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  color: var(--bone-dim);
  font-size: 0.98rem;
  border-top: 1px solid var(--line);
}

.vip-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--olive-600);
}

.vip-howto {
  margin: 0 0 2rem;
  padding: 1.35rem 1.4rem 1.5rem;
  border: 1px solid var(--rust);
  background: linear-gradient(165deg, var(--ash-800), var(--ash-900));
}

.vip-howto__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bone);
}

.vip-howto__lead {
  margin: 0 0 0.85rem;
  color: var(--bone-dim);
  font-size: 1.05rem;
}

.vip-howto__list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.vip-howto__list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.15rem;
  color: var(--bone);
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
}

.vip-howto__list li:first-child {
  border-top: none;
}

.vip-howto__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--rust);
}

.vip-note {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--fog);
}

/* —— Vehicles / helis —— */
.section--vehicles {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(42, 47, 34, 0.4) 25%, transparent);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

.vehicle-empty {
  grid-column: 1 / -1;
  color: var(--fog);
  margin: 0;
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--ash-900);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.2s ease;
  overflow: hidden;
}

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

.vehicle-card__media {
  aspect-ratio: 16 / 9;
  background: #12140e;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

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

.vehicle-card__type {
  margin: 1rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}

.vehicle-card__name {
  margin: 0.35rem 1.25rem 0;
  font-family: var(--font-brand);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.vehicle-card__price {
  margin: 0.4rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--bone);
  line-height: 1;
}

.vehicle-card__desc {
  margin: 0.75rem 1.25rem 0;
  color: var(--bone-dim);
  font-size: 0.98rem;
  flex: 1;
}

.vehicle-card__spawn {
  margin: 0.5rem 1.25rem 0;
  color: var(--fog);
  font-size: 0.88rem;
}

.vehicle-card .btn {
  margin: 1.1rem 1.25rem 1.25rem;
}

/* —— Download —— */
.download-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .download-block {
    grid-template-columns: 1fr;
  }
}

.download-meta {
  margin: 0.75rem 0 1.25rem;
  color: var(--bone-dim);
}

.download-meta strong {
  color: var(--olive-300);
  font-weight: 600;
}

.req-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.req-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--bone-dim);
}

.req-list li:first-child {
  border-top: 1px solid var(--line);
}

/* —— Instructions (troubleshooting only; numbered steps UI removed) —— */
.trouble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .trouble-grid {
    grid-template-columns: 1fr;
  }
}

.trouble-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--olive-300);
}

.trouble-item p {
  margin: 0;
  color: var(--bone-dim);
  font-size: 0.98rem;
}

/* —— Discord strip —— */
.discord-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  background: rgba(92, 107, 66, 0.12);
}

.discord-cta p {
  margin: 0;
  max-width: 40ch;
  color: var(--bone-dim);
}

.discord-cta strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--bone);
  margin-bottom: 0.25rem;
}

/* —— Footer —— */
.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--fog);
  font-size: 0.92rem;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__brand {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--bone-dim);
}

.server-line {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--fog);
}

.server-line code {
  font-family: var(--font-body);
  color: var(--olive-300);
}
