/**
 * Section entry CTAs — quiz start, manual picker expand, similar actions.
 */

.maestro-btn-section {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 320px;
  min-height: 44px;
  padding: 11px 22px;
  margin: 0;
  font-family: "Rubik", "Assistant", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: #3a342c;
  background: #fff;
  border: 2px solid #3a342c;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
}

.maestro-btn-section:hover {
  background: #3a342c;
  color: #fff;
  border-color: #3a342c;
  text-decoration: none;
}

.maestro-btn-section:active {
  transform: scale(0.98);
}

.maestro-btn-section:focus-visible {
  outline: 2px solid rgba(122, 83, 194, 0.55);
  outline-offset: 2px;
}

.maestro-btn-section--primary {
  color: #fff;
  background: linear-gradient(135deg, #3a342c, #2c2620);
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(44, 38, 32, 0.14);
}

.maestro-btn-section--primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #4d4438, #3a342c);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(44, 38, 32, 0.18);
}

.maestro-btn-section--expand {
  position: relative;
  padding-inline: 2rem 1.25rem;
}

.maestro-btn-section--expand::after {
  content: "▾";
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.75;
  transition: transform 0.3s ease;
}

.maestro-btn-section--expand.is-expanded::after {
  transform: rotate(180deg);
}

@media (max-width: 480px) {
  .maestro-btn-section {
    min-height: 42px;
    padding: 10px 18px;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maestro-btn-section,
  .maestro-btn-section--expand::after {
    transition: none;
  }

  .maestro-btn-section:active {
    transform: none;
  }
}
