/* Dreamverse landing page -- one file, no build step, mobile-first, dark. */

:root {
  color-scheme: dark;
  --bg: #08080d;
  --text: #f2f1f7;
  --muted: #a7a3b8;
  --accent: #b79aff;
  --border: rgba(242, 241, 247, 0.25);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  overflow: hidden;
}

.hero {
  position: relative;
  height: 100svh;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(6, 6, 10, 0.35) 55%, rgba(6, 6, 10, 0.9) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6%;
  text-align: center;
  padding: 0 1.25rem;
}

.hero h1 {
  font-size: 2.75rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.hero .tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.btn {
  display: inline-block;
  background: rgba(18, 18, 25, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.95rem;
}

.btn:hover,
.btn:focus {
  border-color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #16121f;
  border-color: var(--accent);
  font-weight: 600;
}

/* The header and footer carry the A/B switcher; the current arm is lit. Arm b puts the commission first. */
.bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 0.7rem 0.9rem;
  pointer-events: none;
}

.bar-top {
  top: 0;
}

.bar-bottom {
  bottom: 0;
  justify-content: center;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

.ab-switch {
  display: flex;
  gap: 0.15rem;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 8, 13, 0.45);
  backdrop-filter: blur(6px);
  pointer-events: auto;
}

.ab-switch a {
  min-width: 1.9rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
}

html[data-arm="a"] .ab-switch a[data-arm="a"],
html[data-arm="b"] .ab-switch a[data-arm="b"] {
  background: var(--accent);
  color: #16121f;
}

html[data-arm="b"] .links .btn-accent {
  order: -1;
}

.hero-content {
  bottom: calc(6% + 2.2rem);
}

@media (min-width: 720px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .hero .tagline {
    font-size: 1.25rem;
  }
}
