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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent !important;
}

.emote {
  position: absolute;
  pointer-events: none;
  object-fit: contain;
  transform: scale(0);
  will-change: transform;
  z-index: 20;
}

/* In: 300ms — overshoots to 1.2 then settles to 1.0 */
.emote-in {
  animation: pop-in 300ms ease-out forwards;
}

/* Out: 200ms — anticipates to 1.1 then shrinks to 0 */
.emote-out {
  animation: pop-out 200ms ease-in forwards;
}

/* --- Landing page --- */
#landing {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a14 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #e0e0e0;
}

.landing-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 48px;
  max-width: 420px;
  width: 100%;
  backdrop-filter: blur(12px);
  text-align: center;
}

.landing-card h1 {
  font-size: 2rem;
  margin-bottom: 4px;
  color: #fff;
}

.landing-card > p:first-of-type {
  color: #888;
  margin-bottom: 24px;
}

.landing-card label {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  margin-bottom: 6px;
}

.landing-card input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

.landing-card input:focus {
  border-color: rgba(126, 207, 255, 0.5);
}

.landing-card input::placeholder {
  color: #555;
}

.landing-card details {
  margin-top: 16px;
  text-align: left;
}

.landing-card summary {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  cursor: pointer;
  user-select: none;
  margin-bottom: 12px;
}

.field-row {
  display: flex;
  gap: 12px;
}

.field {
  flex: 1;
}

.landing-card button[type="submit"] {
  width: 100%;
  margin-top: 20px;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #9146FF;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.landing-card button[type="submit"]:hover {
  background: #7c3aed;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #aaa;
  cursor: pointer;
  flex: 1;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #9146FF;
  width: 16px;
  height: 16px;
}

.disclaimer {
  margin: 16px 0 0;
  font-size: 0.7rem;
  color: #555;
}


@keyframes pop-in {
  0%   { transform: scale(0); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pop-out {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.1); }
  100% { transform: scale(0); }
}
