/* ============================================================
   Play page — redesigned UI in the project's blood/crimson palette
   (matches wiki.css / world.css / rules.css)
   ============================================================ */

.play-header .menu li a,
.play-header .actions .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.play-main {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 150px 0 92px;
  display: grid;
  gap: 26px;
}

/* ---------- Chips ---------- */
.play-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 16px;
  border: 1px solid rgba(150, 31, 51, 0.32);
  border-radius: 999px;
  color: #d59aa7;
  background: linear-gradient(180deg, rgba(41, 13, 20, 0.84), rgba(16, 7, 11, 0.88));
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.play-chip--ghost {
  background: linear-gradient(180deg, rgba(34, 12, 18, 0.76), rgba(11, 6, 9, 0.9));
}

/* ---------- Shared panel look ---------- */
.play-hero,
.play-steps {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(118, 21, 38, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(108, 10, 26, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(17, 9, 13, 0.97), rgba(5, 3, 5, 0.99));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 0 1px rgba(70, 10, 19, 0.18),
    0 26px 60px rgba(0, 0, 0, 0.34);
}

.play-hero::before,
.play-steps::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(173, 42, 64, 0.86), transparent 72%);
}

/* ---------- Headings ---------- */
.play-hero h1,
.play-section-head h2 {
  margin: 18px 0 16px;
  color: #fff2f5;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 0 26px rgba(173, 42, 64, 0.32);
}

.play-section-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin-top: 0;
}

.play-hero p,
.play-step-card p {
  color: rgba(224, 211, 216, 0.8);
  line-height: 1.78;
}

/* ---------- Hero ---------- */
.play-hero {
  padding: 72px 40px 60px;
  text-align: center;
}

.play-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.play-hero__glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 150%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(173, 42, 64, 0.2), transparent 60%);
  filter: blur(12px);
}

.play-hero p {
  max-width: 460px;
}

.play-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.play-access-inline {
  margin-top: 18px;
  font-size: 0.92rem;
  color: rgba(213, 154, 167, 0.78);
}

.play-access-inline--status {
  color: #f1c1cb;
}

/* ---------- Quick spec chips ---------- */
.play-specs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.play-specs li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 116px;
  padding: 12px 18px;
  border: 1px solid rgba(144, 29, 48, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31, 11, 17, 0.7), rgba(11, 5, 8, 0.78));
}

.play-specs span {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d59aa7;
}

.play-specs strong {
  color: #fff2f5;
  font-size: 0.98rem;
}

/* ---------- Buttons ---------- */
.action-button--play {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 220px;
  padding: 14px 28px;
  border: 1px solid rgba(196, 64, 86, 0.7);
  border-radius: 14px;
  color: #fff4f7;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(190, 38, 60, 0.96), rgba(120, 18, 36, 0.98));
  box-shadow:
    0 0 0 1px rgba(196, 64, 86, 0.22),
    0 0 26px rgba(173, 42, 64, 0.34),
    0 14px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.action-button--play:hover {
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(220, 96, 118, 0.3),
    0 0 40px rgba(196, 64, 86, 0.5),
    0 18px 36px rgba(0, 0, 0, 0.46);
}

.action-button--play .action-button__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
}

.action-button--play:hover .action-button__icon {
  animation: playDownloadBounce 0.6s ease;
}

@keyframes playDownloadBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .action-button--play:hover .action-button__icon {
    animation: none;
  }
}

.action-button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 132px;
  padding: 14px 26px;
  border: 1px solid rgba(144, 29, 48, 0.34);
  border-radius: 14px;
  color: #f1c1cb;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(40, 13, 19, 0.92), rgba(12, 6, 9, 0.94));
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.action-button--ghost:hover {
  color: #fff2f5;
  border-color: rgba(188, 66, 92, 0.55);
  box-shadow: 0 0 22px rgba(103, 15, 33, 0.3);
}

.action-button--play,
.action-button--ghost {
  white-space: nowrap;
}

.action-button.is-locked {
  filter: grayscale(0.4) brightness(0.85);
  opacity: 0.7;
}

/* ---------- Steps timeline ---------- */
.play-steps {
  padding: 44px 36px;
}

.play-section-head {
  margin-bottom: 34px;
  text-align: center;
}

.play-section-head .play-chip {
  margin: 0 auto;
}

.play-steps__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* connecting line behind the numbers (desktop) */
.play-steps__grid::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(173, 42, 64, 0.5), transparent);
  z-index: 0;
}

.play-step-card {
  position: relative;
  z-index: 1;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 18px 8px;
}

.play-step-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(196, 64, 86, 0.45);
  color: #fff2f5;
  font-size: 1.5rem;
  font-weight: 700;
  background:
    radial-gradient(circle at 50% 30%, rgba(143, 24, 44, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(40, 13, 19, 0.95), rgba(12, 6, 9, 0.98));
  box-shadow: inset 0 0 18px rgba(173, 42, 64, 0.3), 0 0 26px rgba(103, 15, 33, 0.28);
}

.play-step-card h3 {
  margin: 18px 0 10px;
  color: #fff2f5;
  font-size: 1.22rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.play-step-card p {
  max-width: 260px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .play-main {
    width: calc(100% - 16px);
    padding-top: 134px;
    padding-bottom: 72px;
  }

  .play-hero,
  .play-steps {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .play-hero {
    padding-top: 44px;
  }

  .play-hero__glow {
    display: none;
  }

  .play-steps__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .play-steps__grid::before {
    display: none;
  }

  .action-button--play,
  .action-button--ghost {
    width: 100%;
  }
}
