/* play.css — "PLAY / beat the AI" surfacing.
   Styles the homepage play-strip and the match-page play-cta.
   Builds on the .feature-card look (styles.css) but adds an accent so the
   free-games system is unmissable. Uses theme vars only. */

/* ===== Homepage play strip ===== */
.play-strip{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:1.1rem 1.1rem 1.25rem;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(22,199,132,.10), transparent 55%),
    radial-gradient(120% 140% at 100% 0%, rgba(59,130,246,.10), transparent 55%),
    rgba(255,255,255,.02);
}
.play-head{margin-bottom:.9rem}
.play-eyebrow{
  display:inline-block;
  font-size:.72rem;font-weight:800;letter-spacing:.12em;
  color:var(--brand);
  background:rgba(22,199,132,.12);
  border:1px solid rgba(22,199,132,.35);
  border-radius:999px;
  padding:.2rem .6rem;
  margin-bottom:.5rem;
}
.play-title{margin:.1rem 0 .25rem;font-size:1.35rem;line-height:1.15}
.play-sub{margin:0}

.play-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:.8rem;
}
.play-card{
  position:relative;
  display:flex;flex-direction:column;gap:.4rem;
  padding:1rem;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.02);
  text-decoration:none;color:inherit;
  transition:border-color .2s,transform .2s,box-shadow .2s;
  overflow:hidden;
}
.play-card::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:linear-gradient(180deg,var(--brand),var(--accent));
}
.play-card:hover{
  border-color:var(--brand);
  transform:translateY(-2px);
  box-shadow:var(--ring),var(--shadow-md);
}
.play-card-eyebrow{
  font-size:.66rem;font-weight:800;letter-spacing:.1em;
  color:var(--accent);
}
.play-card-top{display:flex;align-items:center;gap:.55rem}
.play-emoji{font-size:1.6rem;line-height:1}
.play-card-title{font-weight:700;font-size:1.05rem}
.play-verb{margin:0}
.play-go{
  margin-top:.15rem;
  font-weight:700;font-size:.85rem;
  color:var(--brand);
}

/* ===== Match-page play CTA ===== */
.play-cta{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:1rem;
  border:1px solid rgba(22,199,132,.4);
  background:
    linear-gradient(180deg,rgba(22,199,132,.10),rgba(255,255,255,.02));
}
.play-cta-main{display:flex;align-items:flex-start;gap:.75rem;min-width:0;flex:1 1 320px}
.play-cta-emoji{font-size:1.7rem;line-height:1.1}
.play-cta-text{min-width:0}
.play-cta-title{margin:0 0 .2rem;font-size:1.05rem;line-height:1.2}
.play-cta-sub{margin:0}
.play-cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;flex:0 0 auto}
.play-cta-btn{white-space:nowrap}
.play-cta-link{color:var(--accent);text-decoration:none}
.play-cta-link:hover{text-decoration:underline}

@media (max-width:560px){
  .play-cta{flex-direction:column;align-items:stretch}
  .play-cta-actions{align-items:stretch}
  .play-cta-btn{text-align:center}
  .play-cta-link{text-align:center}
}
