/* CRAFTINGBITS — Cards Apps / Juegos de la landing (estilo home-card, reveal por hover) */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem);
  width: 92%;
  max-width: 800px;
  margin: 0 auto;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 28px;
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--white);
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.4s;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 12px 46px -12px rgba(255, 106, 0, 0.35), 0 0 26px rgba(255, 106, 0, 0.12);
  transform: translateY(-4px);
}

.showcase-card:hover::before,
.showcase-card:focus-visible::before {
  opacity: 1;
}

.showcase-icon {
  width: clamp(76px, 7vw, 108px);
  height: clamp(76px, 7vw, 108px);
  border-radius: clamp(18px, 2.2vw, 26px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.showcase-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.showcase-name {
  font-family: 'SpaceGrotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.15;
}

.showcase-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

.showcase-card:hover .showcase-reveal,
.showcase-card:focus-visible .showcase-reveal {
  max-height: 220px;
  opacity: 1;
  transform: none;
}

.showcase-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 100%;
}

.showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'SpaceGrotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111111;
  background: var(--orange);
  padding: 11px 20px;
  border-radius: 10px;
}

.showcase-cta svg {
  width: 16px;
  height: 16px;
}

@media (hover: none), (pointer: coarse) {
  .showcase-reveal {
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
  }
}

@media (max-width: 700px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .showcase-reveal {
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card,
  .showcase-card::before,
  .showcase-reveal {
    transition: none;
  }

  .showcase-card:hover,
  .showcase-card:focus-visible {
    transform: none;
  }
}