/* Kairobitt.com @ Kairobitt.com — Pharaoh's Way promo hub · 2026 */
:root {
  --sand: #e8c992;
  --sand-light: #f5e6c8;
  --amber: #c9952e;
  --amber-bright: #f0b429;
  --emerald: #1a8f7a;
  --emerald-glow: #2ec4a8;
  --obsidian: #0c0f12;
  --obsidian-2: #141a1f;
  --obsidian-3: #1c242b;
  --papyrus: #f2ead8;
  --muted: #9a9488;
  --stroke: rgba(232, 201, 146, 0.22);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--papyrus);
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9952e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 900px 500px at 85% -5%, rgba(26, 143, 122, 0.18), transparent 55%),
    radial-gradient(ellipse 700px 400px at 5% 100%, rgba(201, 149, 46, 0.12), transparent 50%),
    linear-gradient(168deg, var(--obsidian), var(--obsidian-2) 45%, #101518);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--emerald-glow);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sand-light);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  z-index: 10000;
  color: var(--papyrus);
}

.wrap {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
  max-width: 100%;
}

/* Compliance strip — top of site */
.compliance-bar {
  background: linear-gradient(90deg, rgba(201, 149, 46, 0.14), rgba(26, 143, 122, 0.12));
  border-bottom: 1px solid var(--stroke);
  padding: 10px 16px;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
}

.compliance-bar p {
  margin: 0;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.compliance-bar strong {
  color: var(--sand-light);
  font-weight: 700;
}

.compliance-bar .age-mark {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(201, 149, 46, 0.22);
  color: var(--amber-bright);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(12, 15, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--papyrus);
}

.brand__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  background: var(--obsidian-3);
  overflow: hidden;
  flex-shrink: 0;
}

.brand__icon img,
.icon-tile img,
.shot img,
.bento img,
.review-avatar img,
.deco img,
.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand__text span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--obsidian);
  background: linear-gradient(135deg, var(--sand), var(--amber-bright));
}

/* Age gate */
.age-wall {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 6, 8, 0.92);
}

.age-wall.is-hidden {
  display: none;
}

.age-panel {
  width: min(480px, 100%);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.age-panel h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.age-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.age-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--papyrus);
  cursor: pointer;
}

.age-check input {
  margin-top: 4px;
  accent-color: var(--emerald);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  background: linear-gradient(135deg, var(--emerald), #147a68);
  color: #fff;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  padding: 48px 0 36px;
  align-items: start;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(26, 143, 122, 0.2);
  color: var(--emerald-glow);
  border: 1px solid rgba(46, 196, 168, 0.35);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--sand-light);
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 58ch;
}

.hero .lead strong {
  color: var(--sand);
}

.side-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--obsidian-3), rgba(28, 36, 43, 0.6));
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.side-card__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: var(--obsidian);
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.side-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--amber-bright);
  margin: 0 0 14px;
  text-align: center;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.88rem;
  color: var(--muted);
}

.facts li:last-child {
  border-bottom: none;
}

.facts strong {
  color: var(--papyrus);
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--amber-bright);
}

.stat__lbl {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Sections */
.section {
  margin-bottom: 48px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin: 0;
  color: var(--sand-light);
}

.section-head p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.prose-block {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--obsidian-3);
  border-left: 4px solid var(--emerald);
  border-top: 1px solid var(--stroke);
  border-right: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.prose-block h3 {
  font-family: var(--font-display);
  color: var(--emerald-glow);
  margin: 22px 0 10px;
  font-size: 1.05rem;
}

.prose-block h3:first-of-type {
  margin-top: 0;
}

.prose-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

.prose-block .prose-lead {
  font-size: 1.05rem;
  color: var(--papyrus);
}

.prose-block .prose-cta {
  font-weight: 700;
  color: var(--amber-bright);
  letter-spacing: 0.04em;
}

.prose-block h2 {
  font-family: var(--font-display);
  color: var(--sand-light);
  font-size: 1.2rem;
  margin: 20px 0 14px;
}

.feature-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald-glow);
  font-weight: 700;
}

.feature-sublist {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.feature-sublist li {
  padding: 4px 0;
  border: none;
}

.feature-sublist li::before {
  content: none;
}

.game-intro {
  margin-bottom: 36px;
}

/* Bento gallery */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 14px;
}

.bento__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--obsidian);
  border: 1px solid var(--stroke);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento__item:nth-child(1) {
  grid-column: span 7;
  min-height: 220px;
}

.bento__item:nth-child(2) {
  grid-column: span 5;
}

.bento__item:nth-child(3) {
  grid-column: span 5;
}

.bento__item:nth-child(4) {
  grid-column: span 7;
  min-height: 220px;
}

@media (max-width: 760px) {
  .bento__item,
  .bento__item:nth-child(n) {
    grid-column: span 12;
    min-height: 180px;
  }
}

.deco-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.deco {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transform: rotate(var(--rot, 0deg));
}

.deco:nth-child(1) { --rot: -6deg; }
.deco:nth-child(2) { --rot: 4deg; width: 72px; height: 72px; border-radius: 50%; }
.deco:nth-child(3) { --rot: -3deg; }
.deco:nth-child(4) { --rot: 8deg; }
.deco:nth-child(5) { --rot: -5deg; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(26, 143, 122, 0.08), transparent);
  border: 1px solid var(--stroke);
}

.icon-tile {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--obsidian);
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 8px;
  color: var(--sand);
}

.feature p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Reviews tabs */
.tabs {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--obsidian-3);
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--stroke);
  background: var(--obsidian);
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 14px 18px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}

.tab-btn:hover {
  color: var(--papyrus);
}

.tab-btn.is-active {
  color: var(--amber-bright);
  background: rgba(201, 149, 46, 0.08);
  border-bottom-color: var(--amber);
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel.is-active {
  display: block;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.review {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--obsidian);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--emerald);
  flex-shrink: 0;
  background: var(--obsidian-2);
}

.review-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.review-stars {
  color: var(--amber-bright);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.review p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--amber), var(--emerald));
}

.timeline-item {
  position: relative;
  padding: 0 0 24px 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-bright);
  border: 2px solid var(--obsidian);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--sand);
}

.timeline-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--obsidian-3);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 16px 18px;
  border: none;
  background: transparent;
  color: var(--papyrus);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-q::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--amber);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-item.is-open .faq-a {
  display: block;
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(26, 143, 122, 0.15), transparent 60%),
    var(--obsidian-3);
  border: 1px solid var(--stroke);
  margin: 40px 0;
}

.store-btn {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s;
}

.store-btn:hover {
  transform: scale(1.03);
}

.store-btn img {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.cta-note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* Page content (inner pages) */
.page-hero {
  padding: 36px 0 28px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 12px;
  color: var(--sand-light);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  margin-bottom: 28px;
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--emerald-glow);
  margin: 28px 0 12px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.content-card ul {
  padding-left: 20px;
}

/* Games catalog */
.game-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .game-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.game-card__art {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--obsidian);
  border: 1px solid var(--stroke);
  margin: 0 auto;
}

.game-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--sand-light);
}

.game-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 60px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--stroke);
  background: rgba(8, 10, 12, 0.6);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  overflow: hidden;
  background: var(--obsidian-3);
  flex-shrink: 0;
}

.footer-brand strong {
  font-family: var(--font-display);
  display: block;
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-nav a {
  text-decoration: none;
  padding: 6px 12px;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer-nav a:hover {
  color: var(--papyrus);
  border-color: var(--stroke);
}

.footnote {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(201, 149, 46, 0.1);
  border: 1px dashed var(--stroke);
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.ribbon__tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--obsidian);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Browser demo games */
.browser-games {
  margin-bottom: 40px;
}

.browser-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.demo-card {
  border-radius: var(--radius-lg);
  background: var(--obsidian-3);
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.demo-card__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--obsidian);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.demo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s, opacity 0.25s;
}

.demo-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 12, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.demo-card__media:hover::before,
.demo-card__media:focus-visible::before {
  opacity: 1;
}

.demo-card__media:hover img,
.demo-card__media:focus-visible img {
  transform: scale(1.03);
}

.demo-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 120px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, var(--emerald), #147a68);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
  pointer-events: none;
}

.demo-card__play::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
  margin-left: 3px;
}

.demo-card__media:hover .demo-card__play,
.demo-card__media:focus-visible .demo-card__play {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 16px 40px rgba(26, 143, 122, 0.35);
}

.demo-card__body {
  padding: 18px 20px 20px;
}

.demo-card__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--sand-light);
}

.demo-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.demo-card__tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(26, 143, 122, 0.15);
  color: var(--emerald-glow);
  border: 1px solid rgba(46, 196, 168, 0.25);
}

/* Game iframe modal */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.game-modal.is-hidden {
  display: none;
}

.game-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 8, 0.88);
  backdrop-filter: blur(6px);
}

.game-modal__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  height: min(86vh, 760px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background: var(--obsidian);
  display: flex;
  flex-direction: column;
}

.game-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--obsidian-3);
  border-bottom: 1px solid var(--stroke);
}

.game-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sand-light);
}

.game-modal__close {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: transparent;
  color: var(--papyrus);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.game-modal__close:hover {
  background: rgba(201, 149, 46, 0.15);
  color: var(--amber-bright);
}

.game-modal__frame {
  flex: 1;
  width: 100%;
  border: none;
  background: #000;
}

@media (max-width: 640px) {
  .game-modal__panel {
    height: 92vh;
    border-radius: var(--radius);
  }

  .demo-card__play {
    min-width: 104px;
    padding: 10px 18px;
    font-size: 0.82rem;
  }
}
