* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  width: 100%;
  height: 100%;
  background: #ffffff;
  overflow: hidden;
  user-select: none;
}

.canvas {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
}

/* ========================================================
   MINIMALIST CATEGORY NAVIGATION (Swiss Editorial Restraint)
   ======================================================== */

.category-nav {
  position: absolute;
  top: 2.4rem;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  z-index: 10;
}

.nav-btn {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.25rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
  position: relative;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
  color: #374151;
}

.nav-btn.active {
  color: #111827;
  font-weight: 600;
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #111827;
}

/* ========================================================
   THE PHYSICAL INDUSTRIAL RED BUTTON
   ======================================================== */

.pedestal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Turned-Aluminum Bezel */
.metal-bezel {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: conic-gradient(
    from 210deg,
    #cfd3d8 0deg,
    #f8f9fa 50deg,
    #a2a8b2 110deg,
    #f3f4f6 180deg,
    #a2a8b2 245deg,
    #f8f9fa 305deg,
    #cfd3d8 360deg
  );
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 12px 28px -4px rgba(0, 0, 0, 0.12),
    0 32px 64px -12px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

/* Precision Inner Bezel Lip */
.metal-bezel::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #64748b 100%);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.95), inset 0 -2px 3px rgba(0, 0, 0, 0.25);
}

/* Recessed Dark Cylindrical Well */
.recessed-well {
  width: 226px;
  height: 226px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 45%, #18191c 0%, #0a0b0d 100%);
  box-shadow: 
    inset 0 12px 24px rgba(0, 0, 0, 0.9),
    inset 0 2px 6px rgba(0, 0, 0, 0.95),
    0 1px 1px rgba(255, 255, 255, 0.8);
  z-index: 2;
}

/* The Spring-Loaded Push Button */
.push-button {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(-9px);
  transition: transform 0.06s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: radial-gradient(circle at 45% 28%, #ff4d42 0%, #e81b22 42%, #b51518 78%, #730e10 100%);
  box-shadow: 
    0 14px 18px -2px rgba(0, 0, 0, 0.7),
    0 20px 32px -4px rgba(185, 28, 28, 0.45),
    0 7px 0 #540a0b,
    0 10px 0 #330405,
    0 1px 2px rgba(255, 255, 255, 0.5) inset;
}

/* Studio Softbox Dome Reflection */
.push-button::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 26px;
  right: 26px;
  height: 78px;
  border-radius: 50% 50% 45% 45% / 70% 70% 30% 30%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.28) 45%,
    rgba(255, 255, 255, 0.0) 100%
  );
  filter: blur(0.5px);
  pointer-events: none;
}

/* Subsurface Micro-Glow */
.push-button::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 38px;
  right: 38px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 140, 140, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Hover State */
.push-button:hover {
  background: radial-gradient(circle at 45% 26%, #ff5d53 0%, #ef242a 42%, #bd181c 78%, #7d1012 100%);
}

/* Instant Mechanical Depressed State */
.push-button:active,
.push-button.is-down {
  transform: translateY(2px);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 4px 10px rgba(185, 28, 28, 0.35),
    0 1px 0 #540a0b,
    0 2px 0 #330405,
    0 2px 5px rgba(0, 0, 0, 0.45) inset;
  background: radial-gradient(circle at 50% 38%, #e0191f 0%, #ad1417 55%, #6a0b0d 100%);
}

.push-button:active::before,
.push-button.is-down::before {
  opacity: 0.4;
  top: 13px;
  height: 55px;
}

/* ========================================================
   MINIMALIST HAIRLINE TICKER (Zero Bubbles, Pure Swiss Monospace)
   ======================================================== */

.hairline-ticker {
  position: absolute;
  bottom: 2.8rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #9ca3af;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hairline-ticker.active {
  opacity: 1;
  transform: translateY(0);
}

.legal-notice {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 0.01em;
}

.legal-notice a {
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.legal-notice a:hover {
  color: #111827;
}

@media (max-width: 480px) {
  .metal-bezel {
    width: 220px;
    height: 220px;
  }
  .recessed-well {
    width: 184px;
    height: 184px;
  }
  .push-button {
    width: 154px;
    height: 154px;
  }
}
