@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

.wcpt-wild-card-game,
.wcpt-funny-podcast-questions,
.wcpt-podcast-questions-about-relationships,
.wcpt-good-podcast-questions-to-ask,
.wcpt-podcast-questions-for-friends,
.wcpt-podcast-questions-about-life,
.wcpt-podcast-questions-for-business-owners {
  --wcpt-bg: radial-gradient(circle at 8% 15%, #ffffff 0, #f5f5f6 56%, #eceef6 100%);
  --wcpt-ink: #272626;
  --wcpt-primary: #5143d9;
  --wcpt-secondary: #ea2973;
  --wcpt-success: #41c2cf;
  --wcpt-outline: #85878a;
  --wcpt-card: #ffffff;
  --wcpt-soft-accent: #857de5;
  --wcpt-deep-accent: #b53e94;
  --wcpt-foundation: #0f4570;
  --wcpt-brand: #741c8b;
  --wcpt-attention: #f8d840;
  color: var(--wcpt-ink);
  font-family: "Poppins", "Segoe UI", sans-serif;
  margin: 0 0 1.5rem;
}

/* Ensure top alignment when used as a Gutenberg block or shortcode. */
.wp-block-wcpt-wild-card-podcast-game {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

.wp-block-wcpt-wild-card-podcast-game > .wcpt-wild-card-game,
.it-shortcode-wrapper .wcpt-wild-card-game,
.it-shortcode-wrapper .wcpt-funny-podcast-questions,
.it-shortcode-wrapper .wcpt-podcast-questions-about-relationships,
.it-shortcode-wrapper .wcpt-good-podcast-questions-to-ask,
.it-shortcode-wrapper .wcpt-podcast-questions-for-friends,
.it-shortcode-wrapper .wcpt-podcast-questions-about-life,
.it-shortcode-wrapper .wcpt-podcast-questions-for-business-owners {
  margin-top: 0;
}

.wcpt-wild-card-game .wcpt-shell,
.wcpt-funny-podcast-questions .wcpt-shell,
.wcpt-podcast-questions-about-relationships .wcpt-shell,
.wcpt-good-podcast-questions-to-ask .wcpt-shell,
.wcpt-podcast-questions-for-friends .wcpt-shell,
.wcpt-podcast-questions-about-life .wcpt-shell,
.wcpt-podcast-questions-for-business-owners .wcpt-shell {
  background: var(--wcpt-bg);
  border: 1px solid color-mix(in srgb, var(--wcpt-outline) 28%, white);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(15, 69, 112, 0.14);
  padding: clamp(1rem, 3vw, 1.75rem);
  overflow: hidden;
  position: relative;
}

.wcpt-header {
  position: relative;
  z-index: 1;
}

.wcpt-kicker {
  color: var(--wcpt-foundation);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  font-weight: 700;
}

.wcpt-header h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 800;
}

.wcpt-header p {
  margin: 0.45rem 0 0;
  max-width: 60ch;
}

.wcpt-category-groups {
  margin-top: 1rem;
}

.wcpt-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}

.wcpt-category-row + .wcpt-category-row {
  margin-top: 0.75rem;
}

.wcpt-pill {
  --wcpt-pill-color: #475569;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #272626;
  border-radius: 0;
  padding: 0.25rem 0;
  font-size: 0.82rem;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: color 160ms ease, border-color 160ms ease;
}

.wcpt-pill:hover,
.wcpt-pill:focus-visible {
  color: var(--wcpt-pill-color);
  border-color: var(--wcpt-pill-color);
}

.wcpt-pill.is-active {
  background: transparent;
  color: var(--wcpt-pill-color);
  border-color: var(--wcpt-pill-color);
  box-shadow: none;
}

.wcpt-card {
  margin: 1rem 0;
  background: var(--wcpt-card);
  border: 1px solid var(--wcpt-soft-accent);
  border-radius: 14px;
  padding: 1rem;
  min-height: 140px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 20px rgba(15, 69, 112, 0.08);
  transform-style: preserve-3d;
  transform-origin: center center;
}

.wcpt-card-label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wcpt-primary);
  margin: 0;
  font-weight: 600;
}

.wcpt-card-text {
  margin: 0.6rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  font-weight: 700;
  color: var(--wcpt-ink);
}

.wcpt-controls {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.wcpt-controls-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.wcpt-btn {
  border: 1px solid color-mix(in srgb, var(--wcpt-outline) 86%, white);
  background: #efefef;
  color: #272626;
  border-radius: 12px;
  padding: 0.68rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.wcpt-btn.wcpt-next {
  background: var(--wcpt-primary);
  border-color: var(--wcpt-primary);
  color: #fff;
  padding: 0.9rem 1rem;
  font-size: 1.9rem;
  font-weight: 700;
  border-radius: 16px;
}

.wcpt-btn.wcpt-next:hover,
.wcpt-btn.wcpt-next:focus-visible {
  background: color-mix(in srgb, var(--wcpt-primary) 86%, white);
  border-color: color-mix(in srgb, var(--wcpt-primary) 86%, white);
  filter: none;
}

.wcpt-btn[data-action="reset"] {
  color: #ea2973;
}

.wcpt-btn:hover,
.wcpt-btn:focus-visible {
  filter: brightness(0.98) saturate(1.05);
}

.wcpt-meta {
  margin-top: 1.15rem;
  color: #5c6066;
  font-size: 0.86rem;
}

.wcpt-stats strong,
.wcpt-timer strong {
  color: #272626;
  font-weight: 700;
}

.wcpt-disclaimer {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #5c5f64;
  text-align: center;
}

.wcpt-more-tools {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  text-align: center;
}

.wcpt-more-tools-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--wcpt-primary);
  text-decoration: none;
}

.wcpt-more-tools-icon {
  width: 0.92em;
  height: 0.92em;
  display: inline-flex;
}

.wcpt-more-tools-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wcpt-more-tools-text {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.wcpt-more-tools-arrow {
  font-weight: 600;
  transform: translateY(-0.5px);
}

.wcpt-more-tools-link:hover,
.wcpt-more-tools-link:focus-visible {
  color: var(--wcpt-secondary);
}

.wcpt-spin {
  animation: wcpt-card-spin 520ms cubic-bezier(0.22, 0.76, 0.28, 1);
}

@keyframes wcpt-card-spin {
  from {
    transform: rotateY(-180deg) scale(0.98);
    filter: saturate(1.08);
  }
  to {
    transform: rotateY(0deg) scale(1);
    filter: saturate(1);
  }
}

@media (max-width: 640px) {
  .wcpt-wild-card-game .wcpt-shell,
  .wcpt-funny-podcast-questions .wcpt-shell,
  .wcpt-podcast-questions-about-relationships .wcpt-shell,
  .wcpt-good-podcast-questions-to-ask .wcpt-shell,
  .wcpt-podcast-questions-for-friends .wcpt-shell,
  .wcpt-podcast-questions-about-life .wcpt-shell,
  .wcpt-podcast-questions-for-business-owners .wcpt-shell {
    border-radius: 14px;
    padding: 0.9rem;
  }

  .wcpt-controls-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wcpt-btn.wcpt-next {
    font-size: 1.2rem;
  }

  .wcpt-pill {
    letter-spacing: 0.1em;
    font-size: 0.76rem;
  }
}
