@font-face {
  font-family: 'Oxanium';
  src: url('/fonts/Oxanium_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
:root {
  --void: #0a0c14;
  --track: #262c42;
  --cyan: #22e6ff;
  --foreground: #f1f4ff;
  --muted: #9ea6c2;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  background: var(--void);
  color: var(--foreground);
}
main {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px 16px;
  text-align: center;
}
[data-ring] {
  width: min(146px, 40vw);
  aspect-ratio: 1;
}
[data-ring] svg {
  display: block;
  width: 100%;
  height: 100%;
}
[data-ring] .track {
  fill: var(--track);
  stroke: var(--track);
}
[data-ring] .lit {
  fill: var(--cyan);
  stroke: var(--cyan);
  opacity: 0;
  transition: opacity 220ms;
}
.display {
  margin: 0;
  font:
    700 22px/1.2 'Oxanium',
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-transform: uppercase;
}
.wordmark {
  font-size: clamp(36px, 11vw, 56px);
  letter-spacing: 0.06em;
  padding-left: 0.06em;
}

/* Invite and Daily landing pages, in the app's styles (src/theme, src/components/ui). */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
.landing {
  --surface: #141826;
  --border: #343b55;
  overflow-x: hidden;
}
.landing main {
  position: relative;
  z-index: 1;
  gap: 0;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}
.landing [data-ring] {
  width: min(112px, 30vw);
  margin-bottom: 40px;
}
.column {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
/* AmbientBackground: four soft cyan and magenta glows drifting on a phone-width stage. */
.ambient {
  position: fixed;
  inset: 0 auto 0 50%;
  width: min(100vw, 520px);
  transform: translateX(-50%);
  pointer-events: none;
  overflow: visible;
}
.ambient i {
  position: absolute;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle closest-side, var(--c) 0%, var(--c2) 38%, transparent 70%);
  animation: var(--drift) var(--s) ease-in-out infinite alternate;
}
.ambient i:nth-child(1) {
  --c: rgba(34, 230, 255, 0.4);
  --c2: rgba(34, 230, 255, 0.14);
  --drift: drift1;
  --s: 19s;
  left: -590px;
  top: -330px;
}
.ambient i:nth-child(2) {
  --c: rgba(255, 62, 165, 0.34);
  --c2: rgba(255, 62, 165, 0.119);
  --drift: drift2;
  --s: 23s;
  left: 80px;
  top: -30px;
}
.ambient i:nth-child(3) {
  --c: rgba(255, 62, 165, 0.3);
  --c2: rgba(255, 62, 165, 0.105);
  --drift: drift3;
  --s: 27s;
  left: -370px;
  top: 530px;
}
.ambient i:nth-child(4) {
  --c: rgba(34, 230, 255, 0.32);
  --c2: rgba(34, 230, 255, 0.112);
  --drift: drift4;
  --s: 31s;
  left: -30px;
  top: -590px;
}
@keyframes drift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 180px) scale(1.12);
  }
  100% {
    transform: translate(-10px, 300px) scale(0.95);
  }
}
@keyframes drift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -150px) scale(0.92);
  }
  100% {
    transform: translate(20px, -280px) scale(1.1);
  }
}
@keyframes drift3 {
  0% {
    transform: translate(0, 0) scale(0.95);
  }
  50% {
    transform: translate(130px, 50px) scale(1.1);
  }
  100% {
    transform: translate(240px, 20px) scale(1);
  }
}
@keyframes drift4 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-150px, -40px) scale(1.15);
  }
  100% {
    transform: translate(-260px, -10px) scale(0.95);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ambient i {
    animation: none;
  }
}
/* Text variant eyebrow. */
.eyebrow {
  margin: 0;
  font:
    600 12px/16px 'Inter',
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Text variant title. */
.headline {
  margin: 0;
  font:
    700 22px/28px 'Oxanium',
    ui-sans-serif,
    system-ui,
    sans-serif;
  overflow-wrap: anywhere;
}
/* The lobby's arena code type. */
.code {
  margin: 0;
  font:
    700 34px/40px 'Oxanium',
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.24em;
  padding-left: 0.24em;
  text-transform: uppercase;
}
.actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
/* Button, primary. */
.open {
  align-self: stretch;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--cyan);
  color: var(--void);
  text-decoration: none;
  font:
    700 16px/20px 'Oxanium',
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(34, 230, 255, 0.2);
  transition:
    transform 90ms,
    opacity 90ms;
}
.open:active {
  transform: scale(0.98);
  opacity: 0.85;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
/* Both badges 168px wide. Google's PNG has clear space around a 564x168 badge in 646x250: scale it so the badge is 168 wide and pull the clear space in. */
.badges a {
  width: 168px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.badges img {
  display: block;
  width: 168px;
  height: auto;
}
.badges img.google {
  width: 192.4px;
  max-width: none;
}
[hidden] {
  display: none !important;
}
