:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --panel: #121824;
  --text: #e9eef7;
  --muted: #b2bdd3;
  --accent: #7ac9ff;
  --stroke: #24314a;
  --radius-card: 20px;
  --shadow-card: 0 20px 60px rgba(4, 8, 16, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1c2a44 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.background-slideshow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.background-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) saturate(1.05);
  opacity: 0;
  animation: background-crossfade 24s infinite ease-in-out;
}

.background-slide.slide-1 {
  background-image: linear-gradient(120deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.4)), url("media/gameplay-01.jpg");
  animation-delay: 0s;
}

.background-slide.slide-2 {
  background-image: linear-gradient(120deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.4)), url("media/gameplay-02.jpg");
  animation-delay: 6s;
}

.background-slide.slide-3 {
  background-image: linear-gradient(120deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.4)), url("media/gameplay-03.jpg");
  animation-delay: 12s;
}

.background-slide.slide-4 {
  background-image: linear-gradient(120deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0.4)), url("media/gameplay-04.jpg");
  animation-delay: 18s;
}

@keyframes background-crossfade {
  0%,
  12% {
    opacity: 0;
  }
  20%,
  40% {
    opacity: 0.28;
  }
  52%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-slide {
    animation: none;
    opacity: 0.2;
  }
}

.hero-wrap {
  position: relative;
  background: radial-gradient(ellipse at top center, rgba(122, 201, 255, 0.22) 0%, rgba(28, 58, 92, 0.45) 45%, rgba(11, 15, 20, 0.95) 85%);
}

header {
  padding: 2rem 0 3.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  margin-top: 0.4rem;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 0.9;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.nav .nav-join {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  background: linear-gradient(90deg, #5d67f2 0%, #7c57e6 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(69, 66, 181, 0.38);
}

.nav .nav-join::after {
  display: none;
}

.discord-badge {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: #111111;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83A97.68 97.68 0 0 0 49 6.83 72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.27 8.14C2.79 33.35-1.71 57.94.54 82.19a105.73 105.73 0 0 0 32.17 16.17 77.7 77.7 0 0 0 6.89-11.27 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.35 2.66-2.08a75.57 75.57 0 0 0 64.32 0c.87.73 1.76 1.42 2.66 2.08a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.26A105.25 105.25 0 0 0 126.6 82.19c2.64-28.11-4.5-52.47-18.9-74.12ZM42.45 65.69C35.79 65.69 30.38 59.6 30.38 52.11S35.68 38.53 42.45 38.53c6.83 0 12.19 6.15 12.07 13.58 0 7.49-5.36 13.58-12.07 13.58Zm42.24 0c-6.66 0-12.07-6.09-12.07-13.58s5.3-13.58 12.07-13.58c6.83 0 12.19 6.15 12.07 13.58 0 7.49-5.24 13.58-12.07 13.58Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36'%3E%3Cpath d='M107.7 8.07A105.15 105.15 0 0 0 81.47 0a72.06 72.06 0 0 0-3.36 6.83A97.68 97.68 0 0 0 49 6.83 72.37 72.37 0 0 0 45.64 0a105.89 105.89 0 0 0-26.27 8.14C2.79 33.35-1.71 57.94.54 82.19a105.73 105.73 0 0 0 32.17 16.17 77.7 77.7 0 0 0 6.89-11.27 68.42 68.42 0 0 1-10.85-5.18c.91-.66 1.8-1.35 2.66-2.08a75.57 75.57 0 0 0 64.32 0c.87.73 1.76 1.42 2.66 2.08a68.68 68.68 0 0 1-10.87 5.19 77 77 0 0 0 6.89 11.26A105.25 105.25 0 0 0 126.6 82.19c2.64-28.11-4.5-52.47-18.9-74.12ZM42.45 65.69C35.79 65.69 30.38 59.6 30.38 52.11S35.68 38.53 42.45 38.53c6.83 0 12.19 6.15 12.07 13.58 0 7.49-5.36 13.58-12.07 13.58Zm42.24 0c-6.66 0-12.07-6.09-12.07-13.58s5.3-13.58 12.07-13.58c6.83 0 12.19 6.15 12.07 13.58 0 7.49-5.24 13.58-12.07 13.58Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.join-arrow {
  font-size: 1.3rem;
  line-height: 1;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding-top: 2rem;
}

.hero.stack {
  grid-template-columns: 1fr;
}

.hero h1,
.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 1.2rem;
}

.hero-title {
  white-space: nowrap;
}

.highlight {
  color: var(--accent);
}

.hero p,
.muted {
  color: var(--muted);
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-note {
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(120deg, var(--accent), #6bb2ff);
  color: #08131f;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--stroke);
}

.button.secondary.vt-button {
  border-color: rgba(180, 255, 207, 0.6);
  color: #b4ffcf;
  background: rgba(180, 255, 207, 0.12);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-card {
  background: linear-gradient(140deg, rgba(18, 24, 36, 0.85), rgba(18, 32, 54, 0.8));
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.steps {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

section {
  padding: 3.5rem 0;
}

section.alt {
  background: rgba(18, 24, 36, 0.6);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
}

.section-lead {
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 2rem;
}

.features-compact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
}

.feature-item {
  padding: 0.9rem;
  border-radius: 12px;
  background: rgba(10, 16, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.features-compact h3 {
  margin: 0;
  font-size: 1rem;
}

.features-compact p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.media-preview-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.media-thumb {
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 12px;
}

.media-thumb img,
.video-frame video,
.feature-video-card video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--stroke);
}

.media-thumb p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.container.center {
  text-align: center;
}

.video-frame {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(18, 24, 36, 0.85);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-card);
}

.review-slider {
  max-width: 1000px;
  margin: 0 auto;
}

.slider-window {
  position: relative;
  background: rgba(18, 24, 36, 0.9);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 1.2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.slider-window img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 20, 35, 0.35);
  border: 1px solid rgba(122, 201, 255, 0.4);
  color: var(--text);
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  cursor: pointer;
}

.slider-btn.left { left: -25px; }
.slider-btn.right { right: -25px; }

.feature-video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-video-card {
  background: rgba(18, 24, 36, 0.75);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-card);
  padding: 1rem;
  text-align: center;
}

.video-frame video,
.feature-video-card video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.feature-video-card h3 {
  margin: 0.8rem 0 0.3rem;
  font-size: 1rem;
}

.feature-video-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current="page"] {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
  }

  .nav-left,
  .nav-right {
    justify-content: center;
  }

  .nav .nav-join {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .slider-btn {
    display: none;
  }
}
