* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
}

#app {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

/* Start screen */
.start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2rem 0;
}

.start-title {
  font-size: 2.25rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  font-style: italic;
  transform: skewX(-4deg);
  margin-bottom: 1.5rem;
}

.start-tagline {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.start-sub {
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 2.5rem;
}

.btn-start {
  padding: 1rem 3rem;
  font-size: 1.1rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(180, 50, 50, 0.8);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-start:hover {
  background: rgba(180, 50, 50, 0.4);
  color: #fff;
}

/* Quiz screen */
.quiz-counter {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 2rem;
}

.quiz-question {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.quiz-answers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-answer {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.btn-answer:hover {
  border-color: rgba(180, 50, 50, 0.6);
  background: rgba(255, 255, 255, 0.04);
}

/* Result screen */
.result-section {
  margin-bottom: 2rem;
}

.result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.result-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.result-value.accent {
  color: rgba(200, 60, 60, 0.95);
}

.result-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.result-tagline {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

.result-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.result-actions .btn-share-sm {
  min-width: 9.5rem;
}

.btn-share-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.btn-share-sm:hover {
  border-color: rgba(180, 50, 50, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

.btn-share-sm:disabled {
  opacity: 0.8;
  cursor: default;
}

.cooldown-msg {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.btn-retry {
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-retry:hover {
  background: rgba(255, 255, 255, 0.08);
}

a.btn-retry {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.footer {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  z-index: 1000;
}

.toast.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
