@font-face {
  font-family: Nunito;
  src: url('/assets/nunito.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #292039;
  --muted: #675e73;
  --purple: #7025de;
  --mint: #c6f4de;
  --border: #e5dfeb;
  --font: Nunito, ui-rounded, system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #156b60; outline-offset: 5px; }
button[hidden], [hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
::selection { background: #d8c3ff; color: #271344; }
.container { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus { position: fixed; inset: 12px auto auto 12px; z-index: 100; background: white; padding: 16px; border-radius: 8px; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--border); background: var(--paper); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 28px; }
.brand { display: block; width: 140px; flex-shrink: 0; }
.brand img { width: 100%; height: 70px; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 800; }
.site-header nav a { padding-block: 13px; }
.site-header nav a:hover { color: var(--purple); }
.site-header nav a:last-child { border: 1px solid #cfc5dc; padding: 11px 21px; border-radius: 999px; }
.site-header nav span { margin-left: 10px; }
.menu-toggle { display: none; }

.hero { min-height: 650px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 35px; padding-block: 68px 84px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; font-weight: 900; line-height: 1.6; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.small-dot { display: inline-block; background: #7025de; width: 8px; height: 8px; border-radius: 50%; }
.hero h1 { font-size: clamp(58px, 6.7vw, 92px); font-weight: 1000; line-height: 1.02; letter-spacing: -0.055em; }
.hero h1 > span { color: var(--purple); }
.hero-description { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 360px; margin: 26px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 16px 25px; min-height: 54px; border-radius: 999px; font-size: 15px; font-weight: 900; transition: transform 180ms, background 180ms; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--purple); color: white; box-shadow: 0 5px 0 #48138c; }
.button-primary:hover { background: #6021bc; }
.button span { font-size: 22px; line-height: 1; }
.hero-store { display: block; width: fit-content; margin-top: 25px; font-size: 12px; font-weight: 800; }
.hero-store:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-store span { margin-left: 6px; color: var(--purple); }
.hero-art { position: relative; min-height: 470px; }
.hero-orbit { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: #e8dcfa; inset: 25px auto auto 40px; }
.hero-orbit::after { content: ''; position: absolute; inset: -25px; border: 1px solid #e1d7eb; border-radius: inherit; }
.hero-feature { position: absolute; width: 335px; top: 36px; left: 100px; padding: 10px; background: white; border-radius: 27px; box-shadow: 0 20px 55px #39225a1c; transform: rotate(-6deg); transition: transform 220ms; }
.hero-feature:hover { transform: rotate(-3deg) translateY(-5px); }
.hero-tower { border-radius: 19px; width: 100%; }
.hero-feature-caption { display: flex; align-items: center; justify-content: space-between; padding: 16px 8px 8px; gap: 12px; }
.hero-feature-caption div { display: grid; gap: 3px; }
.hero-feature-caption div > span { color: var(--muted); font-size: 10px; font-weight: 700; }
.hero-feature-caption strong { font-size: 18px; font-weight: 900; }
.circle-arrow { border-radius: 50%; background: var(--mint); width: 35px; height: 35px; display: grid; place-items: center; font-size: 22px; }
.floating-game { position: absolute; border: 7px solid white; border-radius: 23px; overflow: hidden; box-shadow: 0 13px 30px #34244e1c; transition: translate 200ms; }
.floating-game:hover { translate: 0 -6px; }
.floating-gota { top: -8px; right: -6px; width: 134px; transform: rotate(12deg); }
.floating-galaxy { top: 160px; left: 7px; width: 163px; transform: rotate(8deg); background: white; }
.floating-galaxy img { aspect-ratio: 1.26; object-fit: cover; }
.floating-galaxy > span { display: flex; justify-content: space-between; font-size: 12px; font-weight: 900; padding: 10px 6px 5px; }

.catalog { padding-top: 30px; padding-bottom: 90px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { color: var(--muted); margin-bottom: 10px; }
h2 { font-size: clamp(32px, 3.5vw, 44px); line-height: 1.16; font-weight: 1000; letter-spacing: -0.04em; }
.heading-dot { color: var(--purple); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 3px; }
.filters button { border: 1px solid transparent; background: transparent; border-radius: 100px; padding: 10px 13px; min-height: 44px; font-size: 12px; font-weight: 800; color: var(--muted); }
.filters button:hover { background: #eee8f5; }
.filters button[aria-pressed="true"] { background: var(--ink); color: white; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.game-card { background: white; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 180ms, transform 180ms; scroll-margin-top: 35px; }
.game-card:hover { box-shadow: 0 12px 32px #30223b0c; transform: translateY(-3px); }
.game-art { display: block; aspect-ratio: 1024 / 500; overflow: hidden; background: #173b4b; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms; }
a.game-art:hover img { transform: scale(1.025); }
.art-galaxy23 { background: #071d2c; }
.art-galaxy23 img { object-fit: contain; }
.art-salsicha-a-mil img { object-position: center 60%; }
.game-content { padding: 22px; display: flex; flex: 1; flex-direction: column; }
.game-genre { font-size: 10px; text-transform: uppercase; letter-spacing: 0.11em; color: #74667e; font-weight: 900; margin-bottom: 7px; }
.game-card h3 { font-size: 24px; font-weight: 1000; letter-spacing: -0.035em; }
.game-description { margin-top: 10px; margin-bottom: 24px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.game-actions { display: flex; align-items: center; gap: 15px; min-height: 44px; padding-top: 14px; margin-top: auto; border-top: 1px solid #eeeaf2; }
.game-action { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; color: #6622c9; min-height: 36px; }
.game-action:hover { text-decoration: underline; text-underline-offset: 4px; }
.game-action > span { font-size: 17px; }
.secondary-action { color: var(--muted); }
.development-note { font-size: 12px; font-weight: 800; color: #79612c; background: #f8efd9; border-radius: 30px; padding: 8px 12px; }
.development-note span { font-size: 16px; margin-right: 5px; }
.catalog-footer { display: flex; justify-content: center; align-items: center; gap: 10px; padding-top: 32px; font-size: 13px; }
.catalog-footer p { color: var(--muted); }
.catalog-footer a { font-weight: 900; color: var(--purple); }
.catalog-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.studio-section { background: #edf4ed; padding-block: 78px; }
.studio-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 85px; }
.studio-brand { aspect-ratio: 1.4; display: grid; align-items: center; background: #d6ebd9; border-radius: 50% 50% 42% 42%; padding: 50px; transform: rotate(-4deg); }
.studio-brand img { width: 100%; }
.studio-copy .eyebrow { margin-bottom: 16px; color: #42634b; }
.studio-copy h2 { font-size: clamp(30px, 3vw, 40px); margin-bottom: 24px; }
.studio-copy > p:not(.eyebrow) { color: #526355; font-size: 15px; line-height: 1.8; }
.studio-copy > p + p { margin-top: 12px; }
.contact-section { background: #292039; color: white; padding: 54px; margin-block: 80px; border-radius: 28px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.contact-section .eyebrow { color: #bff0d6; margin-bottom: 16px; }
.contact-section h2 { font-size: 36px; margin-bottom: 20px; }
.contact-section p:not(.eyebrow) { color: #d0c7dd; font-size: 14px; line-height: 1.7; }
.email-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: clamp(16px, 1.9vw, 24px); font-weight: 900; padding-bottom: 18px; border-bottom: 1px solid #635770; overflow-wrap: anywhere; }
.email-link:hover { color: var(--mint); }
.email-link span { font-size: 29px; color: var(--mint); }
.contact-details p { margin-top: 15px; max-width: 350px; }
.contact-section a:focus-visible { outline-color: var(--mint); }
.site-footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 116px; }
.footer-brand { width: 110px; }
.footer-inner p { font-size: 12px; color: var(--muted); margin-right: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; font-weight: 800; }
.site-footer nav a { padding-block: 14px; }
.site-footer nav a:hover { color: var(--purple); }

.legal-main { max-width: 880px; padding-block: 45px 80px; }
.back-link { margin-bottom: 42px; color: var(--purple); font-weight: 800; font-size: 14px; }
.back-link a { display: inline-block; padding-block: 10px; }
.legal-heading { border-bottom: 1px solid var(--border); padding-bottom: 32px; margin-bottom: 35px; }
.legal-heading .eyebrow { color: var(--purple); margin-bottom: 14px; }
.legal-heading h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 1000; line-height: 1.12; letter-spacing: -0.045em; }
.legal-heading > p:last-child { color: var(--muted); line-height: 1.65; margin-top: 15px; }
.legal-content { font-size: 16px; line-height: 1.85; color: #4e455a; overflow-wrap: anywhere; }
.legal-content > p { margin-bottom: 18px; }
.legal-content h2 { font-size: 25px; color: var(--ink); margin-block: 36px 18px; letter-spacing: -0.025em; scroll-margin-top: 30px; }
.legal-content a { color: #6725c3; text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--ink); font-weight: 850; }
.legal-content ul { padding-left: 25px; }
.legal-content li { margin-bottom: 10px; }
.legal-help { margin-top: 45px; padding: 28px; border-radius: 18px; background: #eee6f7; }
.legal-help h2 { font-size: 23px; margin-bottom: 14px; }
.legal-help a { font-weight: 900; color: var(--purple); }
.terms-list { display: grid; gap: 14px; margin-bottom: 35px; }
.terms-list > a { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 26px; border: 1px solid var(--border); border-radius: 18px; background: white; }
.terms-list > a:hover { border-color: var(--purple); background: #f5efff; }
.terms-list h2 { font-size: 25px; }
.terms-list p { font-size: 13px; color: var(--muted); margin-top: 8px; }
.terms-list > a > span { font-size: 26px; color: var(--purple); }
.error-page { padding-block: 100px; min-height: 65vh; }
.error-page h1 { font-size: 80px; color: var(--purple); }
.error-page p { margin-block: 20px; }

@media (min-width: 1450px) {
  .hero { min-height: 710px; }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 16px; min-height: 620px; }
  .hero-art { min-height: 430px; }
  .hero-feature { width: 295px; left: 40px; top: 35px; }
  .hero-orbit { width: 340px; height: 340px; left: 10px; top: 35px; }
  .floating-gota { width: 115px; right: -9px; top: 0; }
  .floating-galaxy { left: -10px; width: 139px; top: 140px; }
  .section-heading { align-items: start; flex-direction: column; }
  .game-grid { gap: 20px; }
  .game-content { padding: 19px; }
  .game-actions { flex-wrap: wrap; gap: 4px 13px; }
  .game-card h3 { font-size: 22px; }
  .studio-inner { gap: 50px; }
  .contact-section { padding: 40px; }
}

@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 86px; }
  .brand { width: 120px; }
  .site-header nav { gap: 23px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 64px; gap: 35px; }
  .hero-copy { max-width: 570px; }
  .hero h1 { font-size: 76px; }
  .hero-description { max-width: 400px; }
  .hero-art { min-height: 460px; width: min(450px, 100%); margin-inline: auto; }
  .hero-feature { width: 315px; top: 27px; left: 70px; }
  .hero-orbit { width: 360px; height: 360px; left: 40px; top: 32px; }
  .floating-gota { width: 125px; right: -2px; }
  .floating-galaxy { left: 10px; top: 150px; width: 148px; }
  .hero-store { margin-top: 23px; }
  .catalog { padding-top: 20px; padding-bottom: 58px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-inner { gap: 36px; grid-template-columns: 0.7fr 1fr; }
  .studio-brand { padding: 26px; }
  .studio-copy h2 { font-size: 30px; }
  .contact-section { grid-template-columns: 1fr; padding: 36px; margin-block: 55px; gap: 30px; }
  .email-link { font-size: 25px; }
  .footer-inner { flex-wrap: wrap; column-gap: 20px; row-gap: 0; padding-block: 20px; }
  .site-footer nav { width: 100%; justify-content: space-between; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 80px; position: relative; }
  .brand { width: 108px; }
  .brand img { height: 60px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #d9d0e4; border-radius: 30px; background: transparent; color: var(--ink); padding: 11px 16px; font-size: 13px; font-weight: 800; min-height: 44px; }
  .site-header nav { display: none; position: absolute; inset: calc(100% - 3px) 0 auto; background: var(--paper); border: 1px solid var(--border); padding: 16px; border-radius: 14px; box-shadow: 0 10px 25px #29203915; }
  .site-header nav.is-open { display: grid; gap: 4px; }
  .site-header nav a { padding: 12px; }
  .site-header nav a:last-child { border: none; padding: 12px; }
  .site-header:has(.menu-toggle[hidden]) nav { display: flex; position: static; border: none; box-shadow: none; padding: 0; gap: 8px; }
  .site-header:has(.menu-toggle[hidden]) nav a { padding: 8px 2px; font-size: 12px; }
  .hero { padding-top: 36px; gap: 32px; padding-bottom: 50px; }
  .hero .eyebrow { margin-bottom: 20px; font-size: 10px; }
  .hero h1 { font-size: clamp(54px, 14.5vw, 75px); }
  .hero-description { font-size: 17px; margin-top: 22px; }
  .hero-art { min-height: 385px; max-width: 360px; }
  .hero-feature { width: 258px; left: 52px; top: 25px; border-radius: 22px; padding: 8px; }
  .hero-feature-caption { padding-top: 12px; }
  .hero-feature-caption strong { font-size: 15px; }
  .hero-feature-caption div > span { font-size: 9px; }
  .hero-orbit { width: 295px; height: 295px; left: 25px; top: 32px; }
  .hero-orbit::after { inset: -14px; }
  .floating-gota { width: 99px; right: 2px; top: 0; border-width: 5px; border-radius: 18px; }
  .floating-galaxy { width: 127px; top: 115px; left: 7px; border-width: 5px; border-radius: 18px; }
  .floating-galaxy > span { padding: 8px 4px 4px; font-size: 10px; }
  .circle-arrow { width: 29px; height: 29px; font-size: 18px; }
  .hero-store { font-size: 11px; }
  .section-heading { gap: 20px; margin-bottom: 25px; }
  .filters { gap: 3px; }
  .filters button { font-size: 11px; padding: 9px 12px; }
  .game-grid { grid-template-columns: 1fr; gap: 24px; }
  .game-content { padding: 23px; }
  .game-card h3 { font-size: 26px; }
  .game-description { font-size: 15px; margin-bottom: 22px; }
  .game-actions { gap: 18px; }
  .game-action { font-size: 14px; }
  .catalog-footer { flex-direction: column; gap: 8px; font-size: 12px; }
  .studio-section { padding-block: 48px; }
  .studio-inner { grid-template-columns: 1fr; gap: 32px; }
  .studio-brand { max-width: 245px; padding: 34px; margin-inline: auto; aspect-ratio: 1.7; }
  .studio-copy h2 { font-size: 34px; }
  .contact-section { padding: 30px 24px; margin-block: 45px; border-radius: 22px; }
  .contact-section h2 { font-size: 30px; }
  .email-link { font-size: 17px; }
  .contact-section p:not(.eyebrow) { font-size: 13px; }
  .footer-inner p { margin-left: auto; margin-right: 0; }
  .site-footer nav { gap: 18px; }
  .legal-main { padding-top: 25px; }
  .back-link { margin-bottom: 25px; }
  .legal-heading h1 { font-size: 37px; }
  .legal-content { font-size: 15px; }
  .legal-content h2 { font-size: 23px; }
  .terms-list > a { padding: 21px; }
  .terms-list h2 { font-size: 23px; }
}

@media (max-width: 360px) {
  .hero-feature { width: 230px; left: 32px; }
  .hero-art { min-height: 360px; }
  .hero-orbit { width: 260px; height: 260px; left: 14px; }
  .floating-gota { width: 88px; }
  .floating-galaxy { width: 112px; top: 100px; }
  .email-link { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Páginas individuais dos jogos e documentos. */
.catalog-status { margin-top: 8px; color: var(--muted); font-size: 11px; }
.game-back { margin-block: 25px 20px; }
.game-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 52px; padding-block: 20px 55px; }
.game-intro .eyebrow { color: var(--purple); margin-bottom: 18px; }
.game-intro h1 { font-size: clamp(43px, 5.4vw, 72px); font-weight: 1000; line-height: 1.04; letter-spacing: -.05em; }
.game-tagline { font-size: 23px; font-weight: 850; margin-top: 18px; }
.intro-description { color: var(--muted); line-height: 1.75; margin-top: 14px; max-width: 470px; }
.game-cover { background: #e9e0f3; border-radius: 26px; overflow: hidden; box-shadow: 0 20px 55px #39225a12; }
.game-cover img { width: 100%; max-height: 360px; object-fit: contain; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-block: 27px 20px; }
.detail-actions .button { font-size: 14px; gap: 15px; padding: 13px 22px; }
.button-outline { border: 1px solid #c6b6d8; }
.button-outline:hover { background: #eee6f7; }
.availability { color: var(--muted); font-size: 12px; line-height: 1.65; max-width: 470px; }
.game-subnav { display: flex; flex-wrap: wrap; gap: 28px; border-block: 1px solid var(--border); padding: 10px 0; }
.game-subnav a { padding: 13px 0; font-weight: 850; font-size: 14px; }
.game-subnav a:hover { color: var(--purple); }
.game-about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; padding-block: 60px 35px; }
.game-about .eyebrow { color: var(--muted); margin-bottom: 15px; }
.game-about h2 { font-size: 36px; }
.game-about-copy p { font-size: 16px; color: var(--muted); line-height: 1.8; }
.game-about-copy p + p { margin-top: 16px; }
.feature-strip { list-style: none; padding: 0; margin: 0 0 65px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-strip li { display: flex; align-items: flex-start; gap: 14px; padding: 23px; border-radius: 16px; background: #eee7f6; font-weight: 800; font-size: 14px; line-height: 1.5; }
.feature-strip span { color: var(--purple); font-size: 12px; padding-top: 2px; }
.game-gallery .section-heading p:not(.eyebrow) { font-size: 13px; color: var(--muted); }
.game-gallery h2 { font-size: 34px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.gallery-grid figure { margin: 0; min-width: 0; }
.gallery-grid a { display: grid; place-items: center; height: 340px; background: #eee8f2; border-radius: 20px; overflow: hidden; padding: 12px; border: 1px solid var(--border); }
.gallery-grid a:hover { background: #e6d9f4; }
.gallery-grid img { max-height: 316px; width: 100%; height: 100%; object-fit: contain; }
.gallery-grid figcaption { font-size: 12px; line-height: 1.6; color: var(--muted); padding-top: 12px; }
.game-video { margin-block: 65px; padding: 38px; border-radius: 25px; background: #292039; color: white; display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; align-items: center; }
.video-copy .eyebrow { color: var(--mint); margin-bottom: 15px; }
.video-copy h2 { font-size: 30px; }
.video-copy p { color: #d4c9e1; font-size: 14px; line-height: 1.75; margin-top: 20px; }
.video-copy details { margin-top: 22px; font-size: 13px; }
.video-copy summary { cursor: pointer; }
.video-player { background: #160f20; border-radius: 16px; overflow: hidden; display: grid; place-items: center; }
.video-player video { display: block; width: 100%; max-height: 520px; }
.game-documents { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; padding-bottom: 60px; }
.game-documents .eyebrow { color: var(--purple); margin-bottom: 15px; }
.game-documents h2 { font-size: 34px; }
.game-documents p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 20px; }
.document-links { display: grid; gap: 12px; }
.document-links a { display: grid; gap: 6px; border: 1px solid var(--border); padding: 22px; border-radius: 15px; background: white; }
.document-links a:hover { border-color: var(--purple); }
.document-links span { color: var(--muted); font-size: 12px; }
.document-links strong { color: var(--purple); font-weight: 900; }
.game-bottom { border-top: 1px solid var(--border); padding-block: 28px 45px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 14px; font-weight: 850; color: var(--purple); }
.review-note { border-left: 3px solid #a785d3; background: #f0eaf7; color: #5a486f; padding: 16px 20px; font-size: 13px; line-height: 1.65; margin-bottom: 25px; }
.legal-switch { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-bottom: 30px; font-size: 14px; font-weight: 850; color: var(--purple); }
.legal-switch a { padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; }
.legal-content h3 { font-size: 20px; margin-block: 28px 12px; }
.gallery-dialog { width: min(1100px, calc(100% - 30px)); max-height: 94vh; border: 0; padding: 24px; background: var(--paper); border-radius: 18px; color: var(--ink); }
.gallery-dialog::backdrop { background: #170e25dc; }
.gallery-dialog h2 { font-size: 19px; padding-right: 110px; margin-bottom: 20px; }
.gallery-dialog > img { max-height: 76vh; width: 100%; object-fit: contain; }
.gallery-close { position: absolute; right: 18px; top: 16px; border: 1px solid #cdbedb; border-radius: 30px; padding: 10px 15px; background: white; color: var(--ink); font-weight: 800; }
@media(max-width: 800px) {
  .game-intro { grid-template-columns: 1fr; gap: 30px; padding-bottom: 35px; }
  .game-cover { max-width: 600px; }
  .game-about { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; }
  .feature-strip { gap: 12px; }
  .feature-strip li { padding: 18px 14px; flex-direction: column; gap: 7px; font-size: 13px; }
  .gallery-grid { gap: 14px; }
  .gallery-grid a { height: 270px; padding: 7px; }
  .gallery-grid img { max-height: 255px; }
  .game-video { grid-template-columns: 1fr; padding: 28px; gap: 25px; }
  .game-documents { grid-template-columns: 1fr; gap: 25px; }
}
@media(max-width: 520px) {
  .game-intro { padding-top: 5px; }
  .game-intro h1 { font-size: 48px; }
  .game-tagline { font-size: 21px; }
  .intro-description { font-size: 15px; }
  .detail-actions .button { width: 100%; }
  .game-subnav { gap: 12px 22px; }
  .game-subnav a { font-size: 12px; padding-block: 8px; }
  .game-about h2, .game-gallery h2, .game-documents h2 { font-size: 30px; }
  .feature-strip { grid-template-columns: 1fr; margin-bottom: 45px; }
  .feature-strip li { flex-direction: row; gap: 14px; padding: 17px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 23px; }
  .gallery-grid a { height: 380px; padding: 12px; }
  .gallery-grid img { max-height: 355px; }
  .game-video { margin-block: 45px; padding: 24px 18px; }
  .video-copy h2 { font-size: 27px; }
  .gallery-dialog { padding: 16px; }
  .gallery-dialog h2 { font-size: 15px; padding-right: 75px; }
  .gallery-close { right: 10px; top: 10px; padding: 9px; font-size: 12px; }
  .gallery-dialog > img { max-height: 68vh; }
  .legal-heading h1 { overflow-wrap: anywhere; }
}
