:root {
  --paper: #fffdfa;
  --cream: #f6efe7;
  --ink: #2b1a13;
  --muted: #765d4b;
  --cocoa: #7b3f1f;
  --caramel: #b97a46;
  --line: rgba(123, 63, 31, 0.18);
  --shadow: 0 18px 42px rgba(76, 42, 24, 0.12);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 85% 5%, rgba(185, 122, 70, 0.12), transparent 24rem), linear-gradient(180deg, var(--paper) 0%, var(--cream) 58%, #efe2d5 100%);
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none; background-image: linear-gradient(rgba(123, 63, 31, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(123, 63, 31, 0.045) 1px, transparent 1px); background-size: 24px 24px; }
a { color: inherit; text-decoration: none; }
.page-shell { overflow: hidden; }
.topbar, .hero, .section, .footer { width: min(calc(100% - 3rem), var(--max-width)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-mark { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--cocoa); color: #fff8f0; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(78, 39, 24, 0.2); }
.brand-text { display: flex; flex-direction: column; gap: 0.2rem; line-height: 1; }
.brand-text strong { font-size: 0.92rem; letter-spacing: 0.12em; }
.brand-text small { color: var(--muted); font-size: 0.72rem; }
.nav { display: flex; align-items: center; gap: 1.4rem; color: var(--muted); font-size: 0.9rem; font-weight: 700; }
.nav a { transition: color 160ms ease; }
.nav a:hover, .text-link:hover { color: var(--cocoa); }
.nav-cta { padding: 0.7rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--cocoa); background: rgba(255, 253, 250, 0.7); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr); align-items: center; gap: 4rem; min-height: 660px; padding: 4.5rem 0 5.5rem; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; color: var(--cocoa); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--caramel); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 10ch; margin-bottom: 1.5rem; font-size: clamp(3.5rem, 7vw, 6.6rem); line-height: 0.94; letter-spacing: -0.065em; }
.hero h1 em { color: var(--cocoa); font-style: normal; }
.lead { max-width: 53ch; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 48px; padding: 0.85rem 1.3rem; border-radius: 999px; font-size: 0.88rem; font-weight: 900; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--cocoa); color: #fffaf4; box-shadow: 0 12px 24px rgba(78, 39, 24, 0.2); }
.button-secondary { border: 1px solid var(--line); background: rgba(255, 253, 250, 0.75); color: var(--cocoa); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 590px; margin: 3.2rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-stats strong { display: block; margin-bottom: 0.35rem; color: var(--cocoa); font-size: 1rem; }
.hero-stats span { color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.hero-panel { display: grid; justify-items: center; }
.hero-logo-frame { position: relative; width: min(100%, 490px); height: 360px; overflow: hidden; background: transparent; }
.hero-logo-frame::after { display: none; }
.hero-logo-frame img { position: absolute; top: -14%; left: 1%; width: 98%; max-width: none; }
.hero-note { display: flex; align-items: center; gap: 0.65rem; margin-top: 1.1rem; color: var(--muted); font-size: 0.8rem; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cocoa); box-shadow: 0 0 0 7px rgba(123, 63, 31, 0.1); }
.featured-strip { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.1rem; min-height: 92px; padding: 1rem 2rem; background: var(--cocoa); color: #fff6ed; font-size: clamp(1rem, 2vw, 1.25rem); }
.featured-strip span { color: #e8cdb8; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.featured-strip strong { font-weight: 700; }
.featured-strip i { color: var(--caramel); font-style: normal; }
.section { padding: 7rem 0 1rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2, .callout-box h2 { max-width: 18ch; margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 0.98; letter-spacing: -0.055em; }
.about-grid, .games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-card { min-height: 235px; padding: 1.5rem; border-top: 2px solid var(--cocoa); background: rgba(255, 253, 250, 0.72); box-shadow: var(--shadow); }
.card-number { display: block; margin-bottom: 3rem; color: var(--caramel); font-size: 0.75rem; font-weight: 900; }
.info-card h3, .game-body h3 { margin-bottom: 0.65rem; font-size: 1.25rem; }
.info-card p, .game-body p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.text-link { padding-bottom: 0.45rem; border-bottom: 1px solid var(--cocoa); color: var(--cocoa); font-size: 0.85rem; font-weight: 900; white-space: nowrap; }
.game-card { overflow: hidden; border: 1px solid var(--line); background: rgba(255, 253, 250, 0.72); box-shadow: var(--shadow); cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.game-card:hover { transform: translateY(-7px); box-shadow: 0 24px 42px rgba(76, 42, 24, 0.17); }
.game-art { position: relative; display: flex; min-height: 245px; flex-direction: column; justify-content: space-between; padding: 1rem; color: #fff7ee; }
.game-art::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.5; }
.game-art-one { background: radial-gradient(circle at 68% 28%, #d7975e, transparent 25%), linear-gradient(135deg, #512919, #a35e31); }
.game-art-two { background: radial-gradient(circle at 35% 60%, #dfbd83, transparent 22%), linear-gradient(135deg, #795027, #bd7b42); }
.game-art-three { background: radial-gradient(circle at 72% 35%, #f1d2ae, transparent 18%), linear-gradient(135deg, #3d2118, #845033); }
.art-label, .art-symbol { position: relative; z-index: 1; }
.art-label { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.art-symbol { align-self: center; font-size: 6rem; line-height: 1; opacity: 0.8; }
.game-icon { position: relative; z-index: 1; align-self: center; width: min(82%, 230px); height: 150px; margin: auto; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 12px 10px rgba(43, 26, 19, 0.25)); }
.game-body { padding: 1.3rem; }
.game-meta { display: flex; gap: 0.45rem; margin-bottom: 0.9rem; }
.tag { padding: 0.35rem 0.65rem; border-radius: 999px; background: #f0dfcf; color: var(--cocoa); font-size: 0.7rem; font-weight: 900; }
.tag-active { background: var(--cocoa); color: #fff8f0; }
.game-open { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.2rem; padding: 0; border: 0; border-bottom: 1px solid var(--cocoa); background: transparent; color: var(--cocoa); cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 900; }
.game-open span { font-size: 1rem; transition: transform 160ms ease; }
.game-open:hover span { transform: translate(2px, -2px); }
.modal-open { overflow: hidden; }
.game-modal[hidden] { display: none; }
.game-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 1.5rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(43, 26, 19, 0.72); backdrop-filter: blur(8px); }
.modal-panel { position: relative; display: grid; grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr); width: min(100%, 900px); max-height: min(680px, calc(100vh - 3rem)); overflow: auto; border: 1px solid rgba(255, 255, 255, 0.25); background: var(--paper); box-shadow: 0 28px 80px rgba(32, 16, 9, 0.38); animation: modal-in 220ms ease both; }
.modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 3; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; background: rgba(43, 26, 19, 0.35); color: #fff8f0; cursor: pointer; font-size: 1.7rem; line-height: 1; }
.modal-gallery { position: relative; min-height: 510px; overflow: hidden; background: var(--cocoa); }
.modal-slide { position: absolute; inset: 0; display: none; flex-direction: column; justify-content: space-between; padding: 1.5rem; color: #fff8f0; }
.modal-slide.is-visible { display: flex; animation: slide-in 220ms ease both; }
.modal-slide::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px); background-size: 24px 24px; opacity: 0.5; }
.modal-slide-one { background: radial-gradient(circle at 68% 28%, #d7975e, transparent 25%), linear-gradient(135deg, #512919, #a35e31); }
.modal-slide-two { background: radial-gradient(circle at 35% 60%, #dfbd83, transparent 22%), linear-gradient(135deg, #795027, #bd7b42); }
.modal-slide-three { background: radial-gradient(circle at 72% 35%, #f1d2ae, transparent 18%), linear-gradient(135deg, #3d2118, #845033); }
.modal-slide-label, .modal-slide-symbol { position: relative; z-index: 1; }
.modal-slide-label { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.modal-slide-symbol { align-self: center; margin-top: auto; margin-bottom: auto; font-size: 9rem; line-height: 1; opacity: 0.82; }
.modal-slide-image { position: relative; z-index: 1; display: block; width: min(86%, 320px); height: 330px; margin: auto; object-fit: contain; border: 5px solid rgba(255, 255, 255, 0.88); background: #fffaf4; box-shadow: 0 16px 30px rgba(43, 26, 19, 0.25); }
.gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 50%; background: rgba(43, 26, 19, 0.32); color: #fff8f0; cursor: pointer; font-size: 2rem; transform: translateY(-50%); }
.gallery-arrow:hover, .modal-close:hover { background: var(--cocoa); }
.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }
.gallery-dots { position: absolute; right: 0; bottom: 1.2rem; left: 0; z-index: 2; display: flex; justify-content: center; gap: 0.45rem; }
.gallery-dot { width: 2rem; height: 4px; padding: 0; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.gallery-dot.is-active { background: #fff8f0; }
.modal-content { padding: 4.5rem 2.5rem 2.5rem; }
.modal-content .eyebrow { margin-bottom: 0.75rem; }
.modal-content h2 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.06em; }
.modal-content > p { color: var(--muted); line-height: 1.75; }
.modal-detail-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem; color: var(--cocoa); font-size: 0.82rem; font-weight: 900; }
.platforms { margin-top: 2.3rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.platforms-title { display: block; margin-bottom: 0.8rem; color: var(--cocoa); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.platform-links { display: grid; gap: 0.6rem; }
.platform-link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); color: var(--cocoa); font-size: 0.82rem; font-weight: 900; }
.platform-link small { color: var(--muted); font-size: 0.68rem; font-weight: 700; }
.platform-link.is-coming { cursor: not-allowed; opacity: 0.68; }
.callout { padding-bottom: 7rem; }
.callout-box { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3rem; background: var(--cocoa); color: #fff8f0; box-shadow: var(--shadow); }
.callout-box .eyebrow { color: #e8cdb8; }
.callout-box .eyebrow::before { background: var(--caramel); }
.callout-box h2 { max-width: 15ch; }
.footer { padding: 2rem 0 1.5rem; border-top: 1px solid var(--line); }
.footer-main, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-main strong { color: var(--cocoa); font-size: 0.95rem; letter-spacing: 0.12em; }
.footer p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.8rem; }
.footer-arrow { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--cocoa); font-size: 1.2rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.footer-bottom p { margin: 0; font-size: 0.72rem; }
.footer-bottom p:last-child { color: var(--cocoa); font-size: 0.82rem; }
.footer-bottom span { font-size: 1.1rem; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes slide-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 960px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { width: 100%; justify-content: space-between; gap: 0.7rem; }
  .hero { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; }
  .hero h1 { max-width: 12ch; }
  .hero-panel { justify-items: start; }
  .hero-logo-frame { width: min(100%, 540px); }
  .about-grid, .games-grid { grid-template-columns: 1fr; }
  .modal-panel { grid-template-columns: 1fr; max-height: calc(100vh - 2rem); }
  .modal-gallery { min-height: 300px; }
  .modal-content { padding: 2rem; }
}
@media (max-width: 640px) {
  .topbar, .hero, .section, .footer { width: min(calc(100% - 2rem), var(--max-width)); }
  .nav { flex-wrap: wrap; padding-bottom: 0.2rem; }
  .nav-cta { margin-left: auto; }
  .hero { min-height: auto; padding: 3rem 0 4rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-stats { gap: 0.7rem; }
  .hero-stats span { font-size: 0.7rem; }
  .hero-logo-frame { height: 280px; }
  .hero-logo-frame img { top: -9%; }
  .section { padding-top: 5rem; }
  .section-heading, .callout-box, .footer-main, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 1.2rem; }
  .text-link { align-self: flex-start; }
  .callout-box { padding: 2rem; }
  .footer-bottom { gap: 0.6rem; margin-top: 2rem; }
  .game-modal { padding: 0.7rem; }
  .modal-gallery { min-height: 250px; }
  .modal-slide-symbol { font-size: 6rem; }
  .modal-content { padding: 2.5rem 1.3rem 1.3rem; }
}
