:root {
  --bg: #06080f;
  --bg-soft: #0f1424;
  --panel: #11182c;
  --panel-border: rgba(255, 255, 255, 0.1);
  --text: #f7f9ff;
  --muted: #b9c0d6;
  --accent: #80d4ff;
  --accent-2: #75ffbd;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, #1f2f57 0%, transparent 35%),
    radial-gradient(circle at 85% 20%, #2a1141 0%, transparent 32%),
    linear-gradient(145deg, var(--bg) 0%, #0b1222 42%, #0a0e18 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, #ffffff 1px, transparent 2px);
}

.hero {
  padding: 2rem 1.2rem 3rem;
  max-width: 1080px;
  margin: 0 auto;
}

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

.logo {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.3rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(128, 212, 255, 0.45);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.28rem;
}

.tab-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tab-link:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.tab-link.active {
  background: linear-gradient(135deg, rgba(128, 212, 255, 0.2), rgba(117, 255, 189, 0.22));
  border-color: rgba(128, 212, 255, 0.45);
}

.hero-content {
  margin-top: 6rem;
  max-width: 700px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

h1 {
  margin: 0.6rem 0 0.4rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 10vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-points {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.trust-points li::marker {
  color: var(--accent-2);
}

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.2rem 2.5rem;
}

.panel,
.sources {
  background: linear-gradient(180deg, rgba(15, 21, 38, 0.95), rgba(10, 14, 26, 0.95));
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}

h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.subtitle {
  margin: 0 0 1.2rem;
  color: var(--muted);
}

.facts-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.facts-grid article {
  background: rgba(128, 212, 255, 0.08);
  border: 1px solid rgba(128, 212, 255, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
}

.facts-grid h3 {
  margin: 0;
  font-size: 0.82rem;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.facts-grid p {
  margin: 0.4rem 0 0;
}

.value-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 0.9rem;
}

.value-grid article {
  background: rgba(117, 255, 189, 0.08);
  border: 1px solid rgba(117, 255, 189, 0.28);
  border-radius: 12px;
  padding: 0.8rem;
}

.value-grid h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent-2);
}

.value-grid p {
  margin: 0.45rem 0 0;
}

.roadmap-columns {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.roadmap-card {
  background: rgba(128, 212, 255, 0.08);
  border: 1px solid rgba(128, 212, 255, 0.28);
  border-radius: 12px;
  padding: 0.9rem;
}

.roadmap-card h3 {
  margin: 0;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.roadmap-list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  display: grid;
  gap: 0.45rem;
}

.roadmap-list li::marker {
  color: var(--accent);
}

.story {
  margin-top: 1.2rem;
}

.btn {
  display: inline-block;
  border: 1px solid var(--accent);
  background: linear-gradient(135deg, rgba(128, 212, 255, 0.2), rgba(117, 255, 189, 0.2));
  color: var(--text);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  margin-top: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(128, 212, 255, 0.25);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.sources ul {
  margin: 0.4rem 0 0;
  padding-left: 1rem;
}

.sources a {
  color: var(--accent);
}

.feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.patch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.patch-list li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.8rem;
}

.patch-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.patch-list a:hover {
  color: var(--accent);
}

.patch-meta {
  display: block;
  color: var(--muted);
  margin-top: 0.3rem;
  font-size: 0.9rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.social-link {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: rgba(128, 212, 255, 0.07);
  border: 1px solid rgba(128, 212, 255, 0.28);
  border-radius: 14px;
  padding: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  border-color: rgba(117, 255, 189, 0.55);
}

.social-link strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.social-link span {
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-email {
  margin: 1rem 0 0;
  color: var(--muted);
}

.contact-email a,
footer a {
  color: var(--accent);
  text-decoration: none;
}

.contact-email a:hover,
footer a:hover {
  color: var(--accent-2);
}

.game-preview {
  width: 100%;
  margin-top: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.zoomable {
  cursor: zoom-in;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 12, 0.9);
  display: grid;
  place-items: center;
  padding: 1.2rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: min(1200px, 95vw);
  max-height: 88vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.1rem 1rem 1.8rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-tabs {
    width: 100%;
    justify-content: space-between;
  }

  .tab-link {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    margin-top: 3.2rem;
  }
}
