:root {
  --bg: #050505;
  --card: #101010;
  --card-border: #262626;
  --accent: #ffd233;
  --text: #f5f5f5;
  --muted: #bbbbbb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #242424 0, #050505 40%, #000);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shell {
  width: 100%;
  max-width: 820px;
}

/* Legal pages use a max-width of 800px or 860px usually, but 820px is a good middle ground or we can override */
.shell-legal {
  max-width: 800px;
}

.shell-story {
  max-width: 860px;
}

.card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 28px 28px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .85);

  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 0.6s ease-out forwards;
}

.card::before {
  content: "";
  position: absolute;
  inset: -180px;
  background:
    radial-gradient(circle at 20% 0, rgba(255, 210, 51, .18), transparent 60%),
    radial-gradient(circle at 90% 100%, rgba(255, 210, 51, .10), transparent 55%);
  z-index: -1;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAV */
.top-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 8px;
  gap: 6px;
  font-size: 11px;
}

.nav-link {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  opacity: 0.75;
  transition: opacity 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link--active {
  color: var(--accent);
  opacity: 1;
  border-color: rgba(255, 210, 51, 0.65);
  background: rgba(255, 210, 51, 0.10);
}

/* LOGO */
.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  margin-top: 4px;
}

.logo {
  width: 150px;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .9));
}

/* TYPOGRAPHY */
h1 {
  text-align: center;
  font-size: 27px;
  margin: 0 0 10px;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CONTENT - INDEX */
.content {
  margin-top: 20px;
  text-align: left;
}

.content p {
  color: #dedede;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.content strong {
  color: #fff;
}

.pill-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: var(--muted);
}

/* WAITLIST */
.waitlist-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.waitlist-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.waitlist-mockup img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, .85));
  opacity: 0.98;
  user-select: none;
  pointer-events: none;
}

.waitlist-form {
  text-align: center;
}

.waitlist-form iframe {
  width: 100%;
  max-width: 560px;
  height: 377px;
  border: 0;
}

@media (max-width: 820px) {
  .waitlist-grid {
    grid-template-columns: 1fr;
  }

  .waitlist-form iframe {
    max-width: 100%;
  }

  .waitlist-mockup img {
    max-width: 520px;
  }
}

footer {
  margin-top: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.social-links a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.social-links a:hover {
  opacity: 1;
  color: var(--text);
  text-decoration: none;
}


@media (max-width: 640px) {
  .card {
    padding: 24px 20px 32px;
  }
}

/* STORY / ABOUT PAGE SPECIFIC */
.top-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 11px;
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 10px;
}

.lang-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--muted);
  padding: 4px 8px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
  opacity: 0.8;
}

.lang-btn:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-btn--active {
  background: rgba(255, 210, 51, 0.18);
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

.story-image {
  display: block;
  max-width: 320px;
  width: 100%;
  margin: 10px auto 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
}

.cta {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent);
  color: #000;
  box-shadow: 0 12px 30px rgba(255, 210, 51, 0.28);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.08s ease, box-shadow 0.16s ease;
}

.cta-button:hover {
  background: #f5c72c;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(255, 210, 51, 0.35);
}

.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.story-lang {
  display: none;
}

.story-lang--active {
  display: block;
}

a.inline-link {
  color: var(--accent);
  text-decoration: none;
}

a.inline-link:hover {
  text-decoration: underline;
}

/* LEGAL PAGES */
.legal-content h2 {
  font-size: 1.05rem;
  margin: 18px 0 6px;
}

.legal-content ul {
  padding-left: 18px;
  margin: 6px 0 12px;
}

.legal-content li {
  font-size: 14px;
  color: #dedede;
  line-height: 1.6;
  margin-bottom: 4px;
}

.legal-footer {
  margin-top: 18px;
  font-size: 0.78rem;
  color: #777;
  text-align: right;
}