:root {
  --bg: #0a110d;
  --bg-alt: #101a14;
  --surface: #15221a;
  --surface-hover: #1c2e23;
  --border: rgba(242, 233, 216, 0.12);
  --text: #f3ecdf;
  --muted: #b6c2b7;
  --accent-red: #d93b2b;
  --accent-red-hover: #ef4938;
  --accent-amber: #f2a93b;
  --accent-moss: #5c8a47;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at 20% 0%, #19291f 0%, var(--bg) 52%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-amber);
  color: #0b120e;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: 8px;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 17, 13, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  text-decoration: none;
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-virus {
  color: var(--text);
}

.brand-ex {
  color: var(--accent-red);
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  font-size: 0.94rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav .nav-cta {
  background: rgba(217, 59, 43, 0.16);
  border: 1px solid rgba(217, 59, 43, 0.5);
  color: var(--text);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
}

.main-nav .nav-cta:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

/* Hero */
.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(242, 169, 59, 0.35);
  background: rgba(242, 169, 59, 0.08);
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 12px var(--accent-amber);
}

.hero h1 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(3rem, 7vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.title-ex {
  color: var(--accent-red);
  text-shadow: 0 0 28px rgba(217, 59, 43, 0.35);
}

.tagline {
  margin: 0.9rem 0 1.25rem;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  letter-spacing: 0.16em;
  color: var(--accent-amber);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.45rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(217, 59, 43, 0.32);
}

.btn-primary:hover {
  background: var(--accent-red-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: rgba(242, 169, 59, 0.45);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-meta dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-art {
  margin: 0;
  position: relative;
}

.hero-art img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(242, 169, 59, 0.25);
  box-shadow: var(--shadow);
}

/* Sections */
section[id] {
  scroll-margin-top: 5rem;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 68ch;
  margin-bottom: 2.25rem;
}

.section-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-amber);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-num {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.1em;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-family: "Chakra Petch", sans-serif;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.shot-card {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shot-card:hover,
.shot-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent-amber);
}

.shot-card img {
  width: 100%;
  aspect-ratio: 9 / 14;
  object-fit: cover;
}

.shot-card span {
  display: block;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Trailer & Roadmap */
.trailer-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.trailer-embed {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(242, 169, 59, 0.28);
  box-shadow: var(--shadow);
  background: #000;
}

.trailer-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.roadmap {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 1rem;
}

.roadmap li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent-moss);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  display: grid;
  gap: 0.25rem;
}

.roadmap li.done {
  border-left-color: var(--accent-amber);
}

.roadmap span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* FAQ Accordion (modern-web-guidance) */
.faq-wrap {
  max-width: 780px;
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 0.85rem;
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::before {
  content: "";
  inline-size: 0.95em;
  block-size: 0.95em;
  flex-shrink: 0;
  background-color: var(--accent-amber);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 9l6 6 6-6' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

.accordion details p {
  margin: 0;
  padding: 0 1.25rem 1.15rem 2.85rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.2s ease;
  }

  .accordion details::details-content {
    transition: block-size 0.28s ease-in-out, content-visibility 0.28s ease-in-out,
      display 0.28s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

/* CTA & Footer */
.cta-box {
  background: linear-gradient(135deg, rgba(217, 59, 43, 0.16), rgba(21, 34, 26, 0.95));
  border: 1px solid rgba(217, 59, 43, 0.35);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.cta-box p {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--muted);
}

.social-links {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Lightbox Dialog */
.lightbox {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #0d1511;
  color: var(--text);
  width: min(520px, calc(100% - 2rem));
  max-height: 92dvh;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.lightbox-caption {
  font-size: 0.9rem;
  color: var(--muted);
}

.lightbox-close {
  flex-shrink: 0;
  background: rgba(217, 59, 43, 0.2);
  color: var(--text);
  border: 1px solid rgba(217, 59, 43, 0.5);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--accent-red);
}

.lightbox-body {
  display: grid;
  place-items: center;
  padding: 0.75rem;
  background: #050806;
}

.lightbox-body img {
  max-height: 76dvh;
  width: auto;
  border-radius: 8px;
}

/* Scroll-driven entry reveal (Progressive Enhancement — modern-web-guidance) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-on-scroll {
      animation: reveal-up auto linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
  }
}

@media (max-width: 860px) {
  .hero-grid,
  .trailer-grid {
    grid-template-columns: 1fr;
  }

  .trailer-embed {
    max-width: 340px;
    margin-inline: auto;
  }

  .hero-meta {
    grid-template-columns: 1fr 1fr;
  }
}
