/* Saharna-Țiglău /joc/ — scoped under #saharna-joc-root.
   Spec: docs/superpowers/specs/2026-05-18-wordpress-deploy-design.md §2.1-2.2 */

#saharna-joc-root {
  --rose: #e56b8a;
  --rose-hover: #d8567a;
  --sage: #83b89b;
  --ink: #262626;
  --paper: #ffffff;
  background: var(--paper);
  padding: 56px 20px 72px;
}

#saharna-joc-root .joc-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#saharna-joc-root .joc-eyebrow {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--sage);
  margin: 0 0 10px;
}

#saharna-joc-root .joc-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6.5vw, 60px);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 14px;
}

#saharna-joc-root .joc-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 0 auto 28px;
  max-width: 620px;
}

#saharna-joc-root .joc-embed {
  position: relative;
  width: 100%;
  max-width: 826px;
  margin: 0 auto;
  aspect-ratio: 826 / 461;
  background: #1a1209;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
}

#saharna-joc-root .joc-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#saharna-joc-root .joc-fs-btn {
  display: inline-block;
  margin: 22px 0 0;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--rose);
  border: 0;
  border-radius: 999px;
  padding: 13px 30px;
  cursor: pointer;
  transition: background .15s ease;
}

#saharna-joc-root .joc-fs-btn:hover,
#saharna-joc-root .joc-fs-btn:focus-visible {
  background: var(--rose-hover);
}

#saharna-joc-root .joc-back {
  display: block;
  margin-top: 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--sage);
  text-decoration: none;
}

#saharna-joc-root .joc-back:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  #saharna-joc-root { padding: 36px 14px 52px; }
}

/* Touch devices (phones/tablets) can't reliably put the iframe game
   fullscreen — Chrome/Safari on mobile ignore the request — so the
   "Joacă pe tot ecranul" button does nothing there. Hide it. */
@media (hover: none) and (pointer: coarse) {
  #saharna-joc-root .joc-fs-btn { display: none; }
}
