:root {
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --gold-dim: rgba(255, 215, 0, 0.12);
  --purple: #8b5cf6;
  --purple-dark: #6d28d9;
  --purple-light: #a78bfa;
  --purple-dim: rgba(139, 92, 246, 0.22);
  --purple-glow: rgba(139, 92, 246, 0.45);
  --bg: #0f0a1a;
  --bg-elevated: #1a1025;
  --panel: #1a1025;
  --panel-hover: #251535;
  --border: rgba(139, 92, 246, 0.28);
  --border-soft: rgba(139, 92, 246, 0.14);
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 10px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(139, 92, 246, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    var(--bg);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--purple-light);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 10, 26, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img,
.hero-logo {
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 28px var(--purple-glow)) drop-shadow(0 0 18px rgba(255, 215, 0, 0.25));
}

.brand-logo-img {
  width: auto;
  height: 2rem;
  max-width: 2.75rem;
  flex-shrink: 0;
}

.brand-text,
.hero-title {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin: 0;
}

.logo-x {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  text-shadow: 0 0 24px var(--purple-glow);
}

.logo-client {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
}

.hero-title .logo-x,
.hero-title .logo-client {
  font-size: clamp(1.85rem, 5vw, 2.35rem);
}

.top-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.top-nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.top-nav-link:hover {
  color: var(--text);
  background: var(--panel-hover);
  border-color: var(--border-soft);
}

.page-body {
  flex: 1;
  max-width: 1040px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem 3rem;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem 2rem;
  gap: 0.45rem;
}

.hero-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(280px, 70vw);
  height: 180px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  width: auto;
  height: auto;
  max-height: 150px;
  max-width: min(220px, 55vw);
  margin-bottom: 0.15rem;
}

.hero-title {
  margin-top: -0.15rem;
}

.hero-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-light);
}

.hero-sub {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.version-pill {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 18, 26, 0.8);
}

.hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.hint.small {
  font-size: 0.8rem;
}

.hero-meta {
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  transition: filter 0.15s, transform 0.1s, background 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: var(--text);
  box-shadow: 0 4px 25px var(--purple-glow);
}

.btn-play-hero {
  width: min(100%, 340px);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 12px;
}

.btn-label {
  font-size: 1.2rem;
  font-weight: 700;
}

.btn-sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}

.btn-opsucht {
  width: min(100%, 340px);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: transparent;
  color: var(--gold);
}

.btn-opsucht:hover {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  border-color: var(--purple);
  color: var(--text);
  box-shadow: 0 4px 20px var(--purple-glow);
}

.platform-hint {
  margin: 0.25rem 0 0;
  min-height: 1.25rem;
}

.platform-hint.warn {
  color: var(--danger);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--muted);
}

.badge.accent {
  border-color: rgba(139, 92, 246, 0.45);
  color: var(--purple-light);
  background: rgba(139, 92, 246, 0.12);
}

.section {
  margin-top: 2.5rem;
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.15s;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .top-nav {
    display: none;
  }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.panel-accent {
  border-color: var(--purple);
  background: linear-gradient(165deg, rgba(139, 92, 246, 0.12) 0%, var(--panel) 45%);
}

.panel-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.steps,
.req-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps li,
.req-list li {
  margin-bottom: 0.5rem;
}

.release-details {
  margin-top: 1.25rem;
}

.release-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--purple-light);
  user-select: none;
}

.release-notes {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.release-notes ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  background: rgba(26, 16, 37, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.9rem;
  z-index: 100;
  animation: toast-in 0.25s ease;
}

.toast.hidden {
  display: none;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
