* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  background: radial-gradient(circle at top, #0a1a2f, #000);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app {
  width: 100%;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #1875e8;
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(24, 117, 232, 0.6);
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-family: Chakra Petch;
  font-size: 56px;
  margin-bottom: 12px;
}

.header h1 span {
  color: #1875e8;
}

.header p {
  color: #b3c7ff;
  font-size: 18px;
}

.game {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.question-box {
  padding: 28px;
  border-radius: 16px;
  background: rgba(24, 117, 232, 0.08);
  border: 1px solid #1875e8;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.label {
  color: #00f4bf;
  font-weight: 600;
  margin-bottom: 8px;
}

#question-text {
  font-family: Chakra Petch;
  font-size: 30px;
}

.actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  border-radius: 999px;
  padding: 14px 36px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px currentColor;
}

.allow {
  background: #00f4bf;
  color: #000;
}

.deny {
  background: #ff4d4d;
  color: #fff;
}

.primary {
  background: #1875e8;
  color: #fff;
}

.ghost {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.result {
  text-align: center;
  font-family: Chakra Petch;
  font-size: 26px;
  padding: 20px;
  border-radius: 16px;
  animation: pop 0.3s ease;
}

.result.correct {
  background: rgba(0, 244, 191, 0.15);
  border: 1px solid #00f4bf;
  color: #00f4bf;
}

.result.wrong {
  background: rgba(255, 77, 77, 0.15);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
}

.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .app {
    padding: 24px;
  }

  .header h1 {
    font-size: 38px;
  }

  #question-text {
    font-size: 22px;
  }
}
