:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  background: radial-gradient(circle at 50% 20%, #1c1c1e 0%, #0a0a0b 65%);
  color: #f2f2f2;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

main {
  text-align: center;
  padding: 2rem;
  user-select: none;
}

h1 {
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  letter-spacing: 0.08em;
  margin: 0 0 0.25rem;
  font-weight: 800;
}

.bang {
  color: #e63946;
}

.subtitle {
  margin: 0 0 3rem;
  color: #9a9a9d;
  font-size: 1.05rem;
}

.bs-button {
  position: relative;
  width: min(48vw, 220px);
  height: min(48vw, 220px);
  border: none;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(#2b2b2e, #141416);
  box-shadow:
    0 12px 0 #000,
    0 18px 24px rgba(0, 0, 0, 0.55);
}

.dome {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff5a5f 0%, #e63946 45%, #a3151f 100%);
  box-shadow:
    inset 0 -10px 18px rgba(0, 0, 0, 0.35),
    inset 0 8px 14px rgba(255, 255, 255, 0.25),
    0 8px 0 #7a0f16,
    0 14px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
}

.label {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.bs-button:active .dome,
.bs-button.pressed .dome {
  transform: translateY(10px) scale(0.97);
  box-shadow:
    inset 0 -6px 10px rgba(0, 0, 0, 0.4),
    inset 0 4px 8px rgba(255, 255, 255, 0.15),
    0 2px 0 #7a0f16,
    0 4px 8px rgba(0, 0, 0, 0.4);
}

.hint {
  margin-top: 2rem;
  color: #6b6b6e;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  min-height: 1.2em;
}

footer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #4a4a4c;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
