/*
 * Dareo website: shared styles (header, footer, buttons, store badges, legal
 * pages, challenge pages /c/<code> and /u/<username>, contact form, 404).
 * Home page sections live in home.css.
 *
 * Identity: near black background, purple > pink > orange gradient, very bold
 * type, frosted glass, emojis. No external font: the system stack gives
 * SF Pro on iPhone and Mac (the app design font), Roboto on Android.
 * Halos are kept very faint on purpose.
 */

:root {
  --purple: #8B5CF6;
  --pink: #EC4899;
  --orange: #F97316;
  --cyan: #06B6D4;
  --green: #10B981;
  --red: #EF4444;
  --gold: #F59E0B;
  --gold-light: #FCD34D;

  --bg: #0A0A0F;
  --bg-2: #12121A;
  --bg-3: #1A1A26;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-2: rgba(255, 255, 255, 0.16);

  --grad: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --grad-h: linear-gradient(90deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --grad-soft: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  --grad-bold: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  --grad-chaos: linear-gradient(135deg, #F97316 0%, #EF4444 100%);

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

/* A single faint wash of color at the very top of every page. */
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto 0;
  height: 720px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, 0.11), transparent 70%),
    radial-gradient(35% 35% at 85% 10%, rgba(236, 72, 153, 0.06), transparent 70%);
  pointer-events: none;
}

main {
  flex: 1 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: rgba(236, 72, 153, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #0A0A0F;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.grad-text {
  background: var(--grad-h);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-2);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-h);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* ---------------------------------------------------------------------- */
/* Header                                                                 */
/* ---------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

.logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: #fff;
  background: var(--glass-2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  color: #0A0A0F;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(236, 72, 153, 0.25);
}

.header-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
}

.header-link:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Buttons and store badges                                               */
/* ---------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 26px;
  border: 0;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  transform: none;
}

.btn-ghost {
  background: var(--glass-2);
  border: 1px solid var(--border-2);
  box-shadow: none;
}

.btn-ghost:hover {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  display: flex;
  width: 100%;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  min-width: 190px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.store-badge svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-badge small {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.store-badge strong {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-badge.gp small {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.06em;
}

@media (max-width: 420px) {
  .stores .store-badge {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 12px;
    gap: 9px;
  }

  .store-badge strong {
    font-size: 17px;
  }

  .store-badge svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 359px) {
  .stores .store-badge {
    flex-basis: 100%;
  }
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */

.site-footer {
  margin-top: 96px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
  font-size: 15px;
  color: var(--text-2);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 56px 40px;
}

.footer-brand p {
  margin: 14px 0 20px;
  max-width: 320px;
}

.footer-brand .stores {
  gap: 10px;
}

.footer-brand .store-badge {
  height: 48px;
  min-width: 0;
  padding: 0 14px 0 12px;
  gap: 9px;
}

.footer-brand .store-badge svg {
  width: 22px;
  height: 22px;
}

.footer-brand .store-badge strong {
  font-size: 16px;
}

.footer-brand .store-badge small {
  font-size: 9px;
}

.footer-col h2 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: var(--text-3);
}

.footer-bottom p {
  max-width: 640px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    margin-top: 64px;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 20px;
    padding-top: 44px;
  }
}

/* ---------------------------------------------------------------------- */
/* Scroll reveal (only when JS is on; content always visible without it)  */
/* ---------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------------------------------------------------------------------- */
/* Documents (legal pages, contact, account deletion)                     */
/* ---------------------------------------------------------------------- */

.doc {
  padding-block: clamp(40px, 7vw, 80px) 0;
}

.doc .wrap {
  max-width: 820px;
}

.doc-head {
  margin-bottom: 36px;
}

.doc-head .eyebrow {
  margin-bottom: 16px;
}

.doc h1 {
  font-size: clamp(36px, 7vw, 60px);
  margin-bottom: 16px;
}

.doc .lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-2);
}

.doc .meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-3);
}

.doc h2 {
  margin: 48px 0 14px;
  font-size: clamp(22px, 3.4vw, 28px);
  letter-spacing: -0.02em;
  scroll-margin-top: 90px;
}

.doc h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0 0 14px;
  color: var(--text-2);
}

.doc ul,
.doc ol {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
}

.doc li::marker {
  color: var(--pink);
}

.doc strong {
  color: #fff;
}

.doc a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(236, 72, 153, 0.7);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.doc a:hover {
  text-decoration-color: #fff;
}

.doc a.btn {
  color: #fff;
  text-decoration: none;
}

.callout {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.callout p:last-child {
  margin-bottom: 0;
}

.toc {
  margin: 0 0 12px;
  padding: 18px 22px;
  border-radius: var(--r);
  background: var(--glass);
  border: 1px solid var(--border);
  font-size: 15px;
}

.toc strong {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.toc ol {
  margin: 0;
  columns: 2 220px;
  column-gap: 24px;
}

.toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}

.toc a {
  text-decoration: none;
  color: var(--text-2);
}

.toc a:hover {
  color: #fff;
}

.table-wrap {
  margin: 0 0 18px;
  overflow-x: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.doc table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc th,
.doc td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}

.doc th {
  background: var(--glass-2);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.doc tr:last-child td {
  border-bottom: 0;
}

.address {
  margin: 0 0 14px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--border);
  list-style: none;
}

.doc ul.address {
  padding-left: 20px;
}

.address li {
  margin-bottom: 4px;
}

/* Information still to be provided by the publisher. Must stay very visible. */
.todo {
  display: inline;
  padding: 1px 7px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px dashed rgba(252, 211, 77, 0.8);
  color: var(--gold-light);
  font-weight: 800;
  font-size: 0.92em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------------------------------------------------------------------- */
/* Contact page                                                           */
/* ---------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  padding: 24px;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.contact-card p {
  margin-bottom: 14px;
}

.mail-link {
  display: inline-block;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 900;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: clamp(20px, 4vw, 32px);
}

.form .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-2);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, background-color 0.2s;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field select option {
  background: var(--bg-2);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(255, 255, 255, 0.06);
}

.field .hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-3);
}

.form-note {
  font-size: 13px;
  color: var(--text-3);
}

.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
}

.form-status.ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6EE7B7;
}

.form-status.err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* FAQ (details / summary), shared by home and contact */

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: 18px;
  background: var(--glass);
  border: 1px solid var(--border);
  transition: background-color 0.2s, border-color 0.2s;
}

.faq details[open] {
  background: var(--glass-2);
  border-color: rgba(236, 72, 153, 0.35);
}

.faq summary {
  position: relative;
  display: block;
  padding: 18px 56px 18px 20px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 10px no-repeat,
    rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(236, 72, 153, 0.5);
}

.faq .answer {
  padding: 0 20px 20px;
  color: var(--text-2);
}

.faq .answer p + p {
  margin-top: 10px;
}

.faq .answer a {
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* 404                                                                    */
/* ---------------------------------------------------------------------- */

.nf {
  display: grid;
  place-items: center;
  padding-block: clamp(60px, 12vw, 140px) 0;
  text-align: center;
}

.nf .code {
  font-size: clamp(110px, 26vw, 220px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.nf h1 {
  margin: 14px 0 12px;
  font-size: clamp(28px, 5vw, 44px);
}

.nf p {
  max-width: 460px;
  margin: 0 auto 28px;
  color: var(--text-2);
}

.nf .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------------------------------------------------------------------- */
/* Challenge pages (/c/<code>, /u/<username>)                             */
/* ---------------------------------------------------------------------- */

.challenge {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 36px var(--gutter) 0;
  text-align: center;
}

#loading {
  padding: 80px 0;
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--pink);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: var(--text-2);
  font-weight: 700;
}

.avatar {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin: 8px auto 16px;
  border-radius: 32px;
  background: var(--grad);
  overflow: hidden;
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--pink), 0 18px 40px rgba(236, 72, 153, 0.22);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar.is-muted {
  filter: grayscale(0.7);
  opacity: 0.7;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px rgba(255, 255, 255, 0.25);
}

.who {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-2);
  overflow-wrap: anywhere;
}

.hook {
  margin-bottom: 16px;
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 22px;
}

.badge {
  --c: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.state {
  padding: 16px 0 8px;
}

.big-emoji {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 14px;
}

.state h1 {
  margin-bottom: 10px;
  font-size: clamp(28px, 7vw, 34px);
}

.state p {
  margin-bottom: 22px;
  color: var(--text-2);
}

.state .actions {
  display: grid;
  gap: 10px;
}

.reserved {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  text-align: left;
}

.reserved .emoji {
  font-size: 26px;
}

.reserved strong {
  display: block;
  font-size: 15px;
}

.reserved p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
}

.challengers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
}

.dots {
  display: flex;
}

.dots i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.dots i + i {
  margin-left: -7px;
}

.dots .d1 {
  background: var(--pink);
}

.dots .d2 {
  background: var(--cyan);
}

.dots .d3 {
  background: var(--orange);
}

.challenge .stores {
  justify-content: center;
}

.challenge .stores .store-badge {
  flex: 1 1 180px;
}

.bonus {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
}

.retry {
  margin-top: 12px;
}

.open-app {
  margin-top: 18px;
  font-size: 14px;
  color: var(--text-3);
}

.open-app a {
  color: #C4B5FD;
  font-weight: 800;
  text-decoration: none;
}

.fineprint {
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-3);
}

.fineprint a {
  color: var(--text-2);
}

[hidden] {
  display: none !important;
}

.js [data-reveal="2"] {
  --d: 0.08s;
}

.js [data-reveal="3"] {
  --d: 0.16s;
}

.footer-brand .brand {
  color: #fff;
}

.footer-credit {
  padding-block: 0 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
}

.footer-credit a {
  color: #fff;
  text-decoration: none;
  background: var(--grad-h);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-credit a:hover {
  text-decoration: underline;
  text-decoration-color: var(--pink);
}
