:root {
  --bg: #f3f1ed;
  --card: #ffffff;
  --text: #3e3d3b;
  --muted: #6f6c67;
  --accent: #ec6907;
  --accent-dark: #2f2e2c;
  --border: #ddd8d2;
  --soft: #f7f3ee;
  --soft-border: #e5d9cb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-header {
  background: var(--accent-dark);
  color: white;
  padding: 26px 20px;
  border-bottom: 4px solid var(--accent);
}

.header-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo-link {
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.site-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  flex-shrink: 0;
}

.brand-text h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  color: #ffffff;
}

.brand-text p {
  margin: 6px 0 0;
  color: #ebe8e3;
  font-size: 16px;
}

.site-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.site-nav a {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  border-radius: 6px;
  padding: 7px 8px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--accent);
}

.language-switcher button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

main {
  max-width: 980px;
  margin: 32px auto;
  padding: 0 20px;
}

.home-page {
  max-width: 1120px;
}

.hero-section {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 46, 44, 0.96), rgba(69, 45, 24, 0.92)),
    var(--accent-dark);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -90px -170px auto;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(236, 105, 7, 0.2);
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 44px;
}

.hero-copy p {
  max-width: 620px;
  color: #f5eee7;
  font-size: 17px;
}

.hero-art {
  display: flex;
  justify-content: center;
}

.hero-art img {
  width: min(100%, 350px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.36));
}

.studio-hero .hero-art img {
  width: min(100%, 230px);
  padding: 16px;
  border-radius: 50%;
  background: #ffffff;
}

.section-block {
  margin-top: 34px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  gap: 18px;
  align-items: stretch;
}

.game-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.featured-game {
  display: grid;
  grid-template-columns: minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.home-game-card {
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
}

.game-media {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 218, 117, 0.48), transparent 30%),
    linear-gradient(180deg, #fff7e6, #f4e1c1);
}

.single-game-media {
  min-height: 220px;
}

.game-icon {
  width: min(88%, 230px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.22));
}

.game-logo {
  width: min(96%, 330px);
  max-height: 160px;
  object-fit: contain;
  margin-top: -16px;
  filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.2));
}

.game-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-title-row h3,
.upcoming-game h3,
.roadmap-grid h3 {
  margin: 0;
  color: var(--accent-dark);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff2df;
  color: #8f4209;
  border: 1px solid #efc89e;
  font-size: 13px;
  font-weight: 800;
}

.feature-list {
  padding-left: 20px;
  margin: 18px 0;
}

.feature-list li {
  margin: 8px 0;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--soft-border);
}

.upcoming-game {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 260px;
  background: var(--soft);
}

.upcoming-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
}

.roadmap-block {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.roadmap-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-block {
  max-width: none;
}

.about-prose {
  max-width: 920px;
}

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

.about-prose p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--accent-dark);
}

.legal-home {
  margin-top: 34px;
}

.compact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.compact-links li {
  display: flex;
  margin: 0;
}

.compact-links a {
  width: 100%;
}

.game-detail-page {
  max-width: 1120px;
}

.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 34px;
  align-items: center;
  min-height: 420px;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(47, 46, 44, 0.96), rgba(96, 53, 16, 0.94)),
    var(--accent-dark);
  color: #ffffff;
  overflow: hidden;
}

.game-hero-copy p {
  max-width: 680px;
  color: #f5eee7;
  font-size: 17px;
}

.game-lettering {
  display: block;
  width: min(100%, 760px);
  max-height: 130px;
  object-fit: contain;
  object-position: left center;
  margin: 6px 0 18px;
  filter: drop-shadow(0 16px 14px rgba(0, 0, 0, 0.34));
}

.game-hero-icon {
  display: flex;
  justify-content: center;
}

.game-hero-icon img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.36));
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 18px;
  align-items: stretch;
}

.summary-grid > .card {
  height: 100%;
}

.summary-card h2,
.fact-card h2 {
  margin-top: 0;
}

.fact-list {
  margin: 0;
}

.fact-list div {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 4px 0 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.placeholder-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.placeholder-gallery div {
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--soft-border);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
}

h2 {
  margin-top: 30px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  color: var(--accent-dark);
}

h2:first-child {
  margin-top: 0;
}

h3 {
  margin-top: 28px;
  color: var(--accent-dark);
}

h4 {
  margin: 20px 0 8px;
}

a {
  color: var(--accent);
  font-weight: 700;
}

a:hover {
  opacity: 0.9;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.legal-links {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.legal-links li {
  margin: 14px 0;
}

.legal-links a {
  display: block;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--accent-dark);
}

.legal-links span {
  display: block;
  font-weight: 700;
}

.legal-links small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 400;
}

.legal-links a:hover {
  background: #f3e9de;
  border-color: #dbccb9;
}

.button-row {
  margin: 20px 0;
}

.button {
  display: inline-block;
  margin: 8px 8px 8px 0;
  padding: 12px 18px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
}

.button:hover {
  opacity: 0.92;
}

.button.secondary {
  background: var(--accent-dark);
}

.pdf-frame {
  width: 100%;
  height: 80vh;
  min-height: 620px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: white;
}

.notice {
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 18px 0;
}

.pdf-fallback {
  padding: 32px;
  text-align: center;
  background: white;
  border-radius: 8px;
}

.pdf-fallback h2 {
  border-bottom: none;
  margin-top: 0;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 32px 20px;
  font-size: 14px;
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.breadcrumb {
  margin-top: 0;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--accent-dark);
  text-decoration: none;
}

.breadcrumb span:last-child {
  color: var(--text);
  font-weight: 700;
}

.legal-document {
  max-width: 980px;
}

.legal-document ul {
  padding-left: 22px;
}

.legal-document li {
  margin: 8px 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--accent-dark);
}

.checklist li {
  list-style: square;
}

.document-nav {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-nav a {
  display: inline-block;
  padding: 10px 12px;
  border: 1px solid var(--soft-border);
  background: var(--soft);
  border-radius: 8px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 14px;
}

.support-form {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.support-form label {
  font-weight: 700;
  color: var(--accent-dark);
}

.support-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--text);
  background: #ffffff;
}

.support-form textarea {
  resize: vertical;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  outline: 3px solid rgba(236, 105, 7, 0.22);
  border-color: var(--accent);
}

.support-form .button {
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.support-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.support-honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.support-status {
  margin: 8px 0 0;
  min-height: 24px;
  font-weight: 700;
}

.support-status--success {
  color: #256018;
}

.support-status--error {
  color: #9a1c12;
}

@media print {
  body {
    background: #ffffff;
  }

  .site-header,
  footer,
  .button-row,
  .breadcrumb,
  .document-nav {
    display: none;
  }

  main {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .card {
    border: none;
    box-shadow: none;
    padding: 0;
  }

  a {
    color: #000000;
    text-decoration: none;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-nav {
    margin-left: 0;
    justify-content: center;
  }

  .site-logo {
    width: 72px;
    height: 72px;
  }

  .brand-text h1 {
    font-size: 26px;
  }

  .brand-text p {
    font-size: 15px;
  }

  main {
    margin: 20px auto;
    padding: 0 12px;
  }

  .hero-section,
  .featured-game,
  .games-grid,
  .game-hero,
  .summary-grid,
  .roadmap-grid,
  .compact-links,
  .placeholder-gallery {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
    padding: 24px 18px;
  }

  .hero-copy h2 {
    font-size: 31px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-art img {
    width: min(82vw, 270px);
  }

  .game-hero {
    min-height: 0;
    padding: 24px 18px;
  }

  .game-lettering {
    max-height: 90px;
    object-position: center;
  }

  .game-hero-copy {
    text-align: center;
  }

  .game-hero-icon img {
    width: min(76vw, 260px);
  }

  .card {
    padding: 18px;
  }

  .game-card,
  .roadmap-block {
    padding: 18px;
  }

  .game-media {
    min-height: 240px;
  }

  .button {
    display: block;
    width: 100%;
    text-align: center;
  }

  .pdf-frame {
    height: 70vh;
    min-height: 480px;
  }
}
