/* ---------- Instant Play (games.najura.com/play/) ---------- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-dim); font-weight: 700; font-size: 13.5px;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }

/* game player */
.player {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; margin: 28px 0 14px;
  border-radius: 28px; overflow: hidden; background: #0b0a1e center / cover no-repeat;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.player .poster {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(11, 10, 30, 0.05), rgba(11, 10, 30, 0.55)); cursor: pointer; border: 0; width: 100%;
  font: inherit; color: var(--text); padding: 0;
}
.player .poster .btn { font-size: 22px; padding: 16px 36px; pointer-events: none; }
.player .poster small { font-weight: 700; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); font-size: 14px; }
.player:fullscreen { max-height: none; border-radius: 0; border: 0; }
.player-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.player-bar .hint { color: var(--text-dim); font-size: 14px; font-weight: 600; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); font: 700 14px "Nunito", sans-serif;
}
.tool-btn:hover { background: rgba(255, 255, 255, 0.16); }

/* hub grid */
.play-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.play-card {
  --accent: var(--teal);
  position: relative; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; text-decoration: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 20%, transparent), rgba(255, 255, 255, 0.03) 60%);
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s;
}
a.play-card:hover { transform: translateY(-5px); }
.play-card .thumb { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: #0b0a1e; }
.play-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.play-card h3 { font-size: 26px; }
.play-card p { color: var(--text-dim); font-size: 15.5px; flex: 1; }
.play-card .go { font-family: "Fredoka"; font-weight: 600; color: var(--gold); margin-top: 6px; }
.play-card.soon-card { opacity: .82; }
.play-card.soon-card .thumb { display: grid; place-items: center; }
.play-card .thumb.icon-thumb { display: grid; place-items: center; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); }
.play-card .thumb.icon-thumb img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.play-card .label {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; font-family: "Fredoka"; font-weight: 600; font-size: 13px;
  color: #062b25; background: linear-gradient(180deg, #8ff5e0, var(--teal));
}
.play-card .label.wait { color: #3A2500; background: linear-gradient(180deg, #FFE27A, var(--gold)); }

.controls { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; margin: 0 0 18px; }
.controls kbd {
  font-family: "Fredoka"; font-weight: 600; font-size: 15px; padding: 3px 10px; border-radius: 8px; text-align: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text); white-space: nowrap;
}
.controls span { color: #DDD8FA; }
.credit { color: var(--text-dim); font-size: 14px; }

@media (max-width: 980px) { .play-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .play-grid { grid-template-columns: 1fr; }
  .player { aspect-ratio: 9 / 14; max-height: 82vh; border-radius: 22px; }
}
