/* Reset */
* {
  box-sizing: border-box;
}

:root {
  --bg: #0b0f12;
  --bg-soft: #12171b;
  --surface: #121a1f;
  --surface-strong: #182129;
  --accent: #4ab55c;
  --accent-strong: #4ab55c;
  --text: #e9eef1;
  --text-muted: #a2b1bd;
  --outline: #24303a;
  --shadow: rgba(0, 0, 0, 0.4);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at 20% 20%, #152028 0%, var(--bg) 50%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-image {
  position: absolute;
  inset: auto;
  width: 320px;
  height: 420px;
  background: url("YOUR_BG_IMAGE_1.jpg") center/cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.8);
  border-radius: 24px;
  z-index: 0;
}

.bg-image--one {
  top: 120px;
  right: -40px;
}

.bg-image--two {
  width: 240px;
  height: 320px;
  background-image: url("YOUR_BG_IMAGE_2.jpg");
  bottom: 120px;
  left: -40px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(transparent 96%, rgba(255, 255, 255, 0.03) 96%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.03) 96%);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.banner {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-top: 0;
  z-index: 0;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 15, 18, 0.2) 0%, var(--bg) 100%);
  z-index: 2;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bannerFade 420s infinite;
  z-index: 1;
}

.banner img:nth-child(1) { animation-delay: 0s; }
.banner img:nth-child(2) { animation-delay: 30s; }
.banner img:nth-child(3) { animation-delay: 60s; }
.banner img:nth-child(4) { animation-delay: 90s; }
.banner img:nth-child(5) { animation-delay: 120s; }
.banner img:nth-child(6) { animation-delay: 150s; }
.banner img:nth-child(7) { animation-delay: 180s; }
.banner img:nth-child(8) { animation-delay: 210s; }
.banner img:nth-child(9) { animation-delay: 240s; }
.banner img:nth-child(10) { animation-delay: 270s; }
.banner img:nth-child(11) { animation-delay: 300s; }
.banner img:nth-child(12) { animation-delay: 330s; }
.banner img:nth-child(13) { animation-delay: 360s; }
.banner img:nth-child(14) { animation-delay: 390s; }

@keyframes bannerFade {
  0% { opacity: 0; }
  1.0% { opacity: 1; }
  7.14% { opacity: 1; }
  8.14% { opacity: 0; }
  100% { opacity: 0; }
}

/* Layout */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 28px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 2;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */
.hero {
  padding: 72px 24px;
  margin-top: -500px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-art {
  height: 360px;
  border-radius: 24px;
  position: relative;
  overflow: visible;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("img/ui/wl_ui.png") center/contain no-repeat;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.45));
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-block;
  background: #191a1b94;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #08110c;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--outline);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: #3a4a56;
}

.btn-primary:disabled {
  background: #2b3b34;
  color: #7f948a;
  cursor: not-allowed;
  transform: none;
}

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

.feature h3 {
  margin-bottom: 8px;
  text-align: center;
  text-transform: uppercase;
}

.feature p {
  color: var(--text-muted);
}

.feature-sphere {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: 0 auto 48px;
  opacity: 0.8;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

/* Download */
.download {
  padding: 80px 24px;
}

.videos {
  padding: 80px 24px;
}

.changelog {
  padding: 80px 24px;
}

.changelog h2 {
  margin-bottom: 24px;
}

.changelog-list {
  display: grid;
  gap: 16px;
}

.changelog-item {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px var(--shadow);
}

.changelog-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

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

.changelog-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.changelog-item[open] summary::after {
  content: "–";
}

.changelog-item ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.faq {
  padding: 80px 24px;
}

.faq h2 {
  margin-bottom: 24px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 16px 40px var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--text-muted);
}

.videos h2 {
  margin-bottom: 24px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px var(--shadow);
}

.video-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--outline);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.download-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.download-copy p {
  color: var(--text-muted);
}

.download-steps {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  font-size: 0.95rem;
}

.download-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #09130d;
  margin-right: 10px;
  font-weight: 700;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 50px var(--shadow);
}

.download-card label {
  font-weight: 600;
  font-size: 0.95rem;
}

.download-card input[type="email"] {
  background: var(--surface-strong);
  border: 1px solid var(--outline);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
}

.download-card input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(85, 216, 140, 0.2);
}

.eula-box {
  background: #0e1419;
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 14px;
  color: var(--text-muted);
  max-height: 180px;
  overflow-y: auto;
  font-size: 0.9rem;
}

.eula-box ul {
  padding-left: 18px;
}

.eula-label {
  margin-top: 4px;
}

.eula-check {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}

.form-status {
  color: var(--text-muted);
  min-height: 22px;
  margin: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--outline);
  padding: 32px 0;
  margin-top: 80px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .hero {
    padding-top: 48px;
    margin-top: -240px;
  }

  .hero-art {
    height: 260px;
  }
}
