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

:root {
  --bg: #0d0d0d;
  --yellow: #f5e642;
  --red: #e63946;
  --white: #f0ece3;
  --gray: #2a2a2a;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Space Mono", monospace;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 20px;
}

.container {
  text-align: center;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  opacity: 0.8;
}

h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(52px, 12vw, 110px);
  line-height: 0.9;
  color: var(--yellow);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-shadow: 4px 4px 0px var(--red);
  max-width: 15ch;
}

.subtitle {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--white);
  opacity: 0.4;
  margin-bottom: 48px;
}

.answer-box {
  background: var(--gray);
  border: 2px solid var(--yellow);
  padding: 32px 40px;
  margin-bottom: 32px;
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.answer-text {
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.5;
  font-style: italic;
  color: var(--white);
  transition: opacity 0.3s ease;
}

.answer-text.fade {
  opacity: 0;
}

.emoji-big {
  display: block;
  font-size: 48px;
  margin-bottom: 12px;
  font-style: normal;
}

.btn {
  background: var(--yellow);
  color: var(--bg);
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 0.1em;
  border: none;
  padding: 16px 48px;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  box-shadow: 4px 4px 0px var(--red);
}

.btn:hover {
  background: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--red);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--red);
}

.counter {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
  opacity: 0.25;
  margin-top: 20px;
}

.deco {
  position: fixed;
  font-family: "Bebas Neue", sans-serif;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  color: var(--yellow);
  user-select: none;
}

.deco-1 {
  font-size: 180px;
  top: -20px;
  left: -30px;
  transform: rotate(-15deg);
}

.deco-2 {
  font-size: 120px;
  bottom: 10px;
  right: -10px;
  transform: rotate(10deg);
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px) rotate(-1deg);
  }

  40% {
    transform: translateX(6px) rotate(1deg);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.shaking {
  animation: shake 0.4s ease;
}

@keyframes pop-in {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }

  60% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pop {
  animation: pop-in 0.35s ease forwards;
}