
/* QMAX V137.3 — Black Diamond Royal Hero Button System
   Presentation-only checkpoint. No engine, route, registry, or startup changes. */

.hmc-first-step-actions {
  --hmc-btn-height: 76px;
  --hmc-btn-radius: 20px;
  --hmc-btn-border: 1px;
  --hmc-btn-gap: 14px;
  --hmc-btn-speed: 140ms;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hmc-btn-gap);
  align-items: stretch;
}

.hmc-first-step-action {
  position: relative;
  min-height: var(--hmc-btn-height);
  height: 100%;
  border-radius: var(--hmc-btn-radius);
  border: var(--hmc-btn-border) solid rgba(229, 225, 236, 0.86);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  cursor: pointer;
  transform: translateY(0);
  transition:
    transform var(--hmc-btn-speed) ease,
    box-shadow var(--hmc-btn-speed) ease,
    border-color var(--hmc-btn-speed) ease,
    filter var(--hmc-btn-speed) ease;
  -webkit-tap-highlight-color: transparent;
}

.hmc-first-step-action::before {
  content: "";
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: calc(var(--hmc-btn-radius) - 2px) calc(var(--hmc-btn-radius) - 2px) 45% 45%;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.05) 44%, transparent);
  pointer-events: none;
  z-index: -1;
}

.hmc-first-step-action::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.20),
    inset 0 -10px 24px rgba(0,0,0,.18);
  pointer-events: none;
  z-index: -1;
}

.hmc-first-step-action:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,.98);
  filter: brightness(1.035);
}

.hmc-first-step-action:active {
  transform: translateY(1px);
  filter: brightness(.985);
  transition-duration: 120ms;
}

.hmc-first-step-action:focus-visible {
  outline: 3px solid rgba(181,124,255,.72);
  outline-offset: 3px;
}

.hmc-first-step-action > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.hmc-first-step-action strong {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(13px, .92vw, 16px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: .012em;
  white-space: nowrap;
}

.hmc-first-step-action small {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.25;
  font-weight: 560;
  letter-spacing: .002em;
  opacity: .88;
  white-space: normal;
}

.hmc-action-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -8px 16px rgba(0,0,0,.24),
    0 8px 20px rgba(0,0,0,.28);
}

/* Amethyst crystal — unmistakable primary */
.hmc-action-play {
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(224,190,255,.22), transparent 31%),
    linear-gradient(180deg, #8e35e8 0%, #6f20bd 48%, #481173 100%);
  border-color: rgba(224,205,255,.94);
  box-shadow:
    0 12px 30px rgba(35,5,59,.42),
    0 0 0 1px rgba(148,74,232,.30),
    0 0 22px rgba(128,44,211,.22);
}
.hmc-action-play:hover {
  box-shadow:
    0 16px 36px rgba(35,5,59,.52),
    0 0 0 1px rgba(192,132,255,.46),
    0 0 28px rgba(128,44,211,.31);
}
.hmc-action-play .hmc-action-icon {
  color: #fff;
  border: 1px solid rgba(241,230,255,.88);
  background: linear-gradient(180deg, rgba(99,31,161,.94), rgba(54,12,90,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    inset 0 -8px 16px rgba(22,0,42,.38),
    0 0 0 1px rgba(121,53,192,.40),
    0 8px 20px rgba(24,0,39,.34);
}

/* Obsidian glass — premium secondary */
.hmc-action-gifts {
  color: #f8f7fb;
  text-decoration: none;
  background:
    radial-gradient(circle at 20% 14%, rgba(139,61,255,.12), transparent 28%),
    linear-gradient(180deg, #17171d 0%, #0d0d12 52%, #050507 100%);
  border-color: rgba(207,204,217,.88);
  box-shadow:
    0 12px 30px rgba(0,0,0,.46),
    0 0 0 1px rgba(255,255,255,.035),
    0 0 20px rgba(102,43,160,.10);
}
.hmc-action-gifts:hover {
  box-shadow:
    0 16px 36px rgba(0,0,0,.56),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 26px rgba(102,43,160,.18);
}
.hmc-action-gifts .hmc-action-icon {
  color: #d5a8ff;
  border: 1px solid rgba(213,210,221,.74);
  background: linear-gradient(180deg, #22222a 0%, #0b0b10 100%);
}

/* Pearl / white diamond — conversion */
.hmc-action-start {
  color: #201b25;
  background:
    radial-gradient(circle at 14% 8%, rgba(255,255,255,.92), transparent 30%),
    linear-gradient(180deg, #f4f1f6 0%, #dfdbe4 48%, #c9c4d0 100%);
  border-color: rgba(245,242,249,.98);
  box-shadow:
    0 12px 30px rgba(0,0,0,.30),
    0 0 0 1px rgba(104,91,117,.22),
    0 0 24px rgba(145,77,201,.14);
}
.hmc-action-start::after {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    inset 0 -12px 22px rgba(71,57,82,.12);
}
.hmc-action-start:hover {
  box-shadow:
    0 16px 36px rgba(0,0,0,.38),
    0 0 0 1px rgba(113,93,130,.30),
    0 0 28px rgba(145,77,201,.22);
}
.hmc-action-start strong {
  color: #211b28;
}
.hmc-action-start small {
  color: #4a4352;
  opacity: 1;
}
.hmc-action-start .hmc-action-icon {
  color: #fff;
  border: 1px solid rgba(78,54,92,.92);
  background:
    radial-gradient(circle at 35% 25%, rgba(185,119,255,.42), transparent 34%),
    linear-gradient(180deg, #3d244c 0%, #1b1023 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -8px 16px rgba(0,0,0,.32),
    0 0 0 1px rgba(151,89,198,.22),
    0 8px 20px rgba(0,0,0,.25);
}

@media (max-width: 980px) {
  .hmc-first-step-actions {
    grid-template-columns: 1fr;
  }
  .hmc-first-step-action {
    min-height: 70px;
  }
  .hmc-first-step-action strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hmc-first-step-action {
    transition: none;
  }
  .hmc-first-step-action:hover,
  .hmc-first-step-action:active {
    transform: none;
  }
}
