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

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 0, 60, 0.25), transparent 35%),
    linear-gradient(145deg, #070707, #130000 45%, #000);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.app {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff003c, #ffffff);
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 28px rgba(255, 0, 60, 0.65);
}

.brand h1 {
  font-size: 1rem;
  line-height: 1.2;
}

.brand p {
  color: #ffb7c5;
  font-size: 0.85rem;
}

.hero {
  text-align: center;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffccd5;
  margin-bottom: 12px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.subtitle {
  color: #ccc;
  font-size: 0.95rem;
}

.game-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.65);
}

.timer {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 0, 60, 0.8);
  margin-bottom: 16px;
}

.mannequin-area {
  height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  border: 2px solid rgba(255, 0, 60, 0.5);
  opacity: 0.4;
}

.pulse-ring.beat {
  animation: pulse 0.5s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(0.85);
    opacity: 1;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.tap-pad {
  width: 190px;
  height: 230px;
  border: none;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.tap-pad:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.head {
  width: 82px;
  height: 82px;
  background: #f4f4f4;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.14);
}

.body {
  width: 150px;
  height: 130px;
  background: linear-gradient(180deg, #fff, #cfcfcf);
  border-radius: 38px 38px 22px 22px;
  margin: -2px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0002b;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.14);
}

.tap-pad.hit .body {
  animation: compress 0.18s ease;
}

@keyframes compress {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.82);
  }
  100% {
    transform: scaleY(1);
  }
}

.prompt {
  text-align: center;
  min-height: 34px;
  font-weight: 800;
  color: #ffccd5;
  margin: 10px 0 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-bottom: 18px;
}

.stats div {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 14px 8px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
}

.stats span {
  font-size: 0.75rem;
  color: #bbb;
}

.controls {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

button {
  flex: 1;
  padding: 14px 16px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ff003c, #b0002b);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 0, 60, 0.35);
}

button.secondary {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.result {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid #ff003c;
  border-radius: 16px;
  padding: 14px;
}

.result h3 {
  margin-bottom: 5px;
}

.result p {
  color: #ddd;
  font-size: 0.9rem;
}

.disclaimer {
  margin-top: 16px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #aaa;
  text-align: center;
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 28px rgba(255, 0, 60, 0.65);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}