:root {
  --ink: #30291f;
  --muted: #6f665a;
  --paper: #fffaf1;
  --paper-soft: #f7efe1;
  --sand: #eadcc5;
  --wood: #8c6239;
  --wood-deep: #5f432a;
  --sage: #7e9582;
  --sage-soft: #e6eee5;
  --lavender: #b9accf;
  --clay: #bd8060;
  --cream: #fffef9;
  --line: rgba(48, 41, 31, 0.12);
  --shadow: 0 22px 60px rgba(80, 55, 32, 0.13);
  --shadow-soft: 0 12px 28px rgba(80, 55, 32, 0.10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(185, 172, 207, 0.32), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(126, 149, 130, 0.22), transparent 26rem),
    linear-gradient(180deg, #fffaf1 0%, #f6ecdc 48%, #fffaf1 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 200;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 241, 0.82);
  border-bottom: 1px solid rgba(48, 41, 31, 0.08);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.35rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  font-size: 1.05rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(95, 67, 42, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a, .nav-links .nav-pill {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  color: rgba(48, 41, 31, 0.78);
  font-weight: 650;
  font-size: 0.94rem;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links .nav-pill:hover,
.nav-links .nav-pill:focus-visible {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(48, 41, 31, 0.08);
  color: var(--ink);
  outline: none;
}

.nav-pill {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.nav-pill strong { color: var(--ink); }

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(48, 41, 31, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible { transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-toggle span::before { transform: translateY(-6px); }
.mobile-toggle span::after { transform: translateY(4px); }
.mobile-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span::before { transform: rotate(90deg); }
.mobile-toggle[aria-expanded="true"] span::after { opacity: 0; }

main { overflow: hidden; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.35rem;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.35rem 4.4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.2rem;
  padding: 0.42rem 0.76rem;
  border: 1px solid rgba(48, 41, 31, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(126, 149, 130, 0.18);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1.25rem;
  max-width: 850px;
  font-size: clamp(3rem, 7.4vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-copy {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.42rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  font-weight: 780;
  border: 1px solid rgba(48, 41, 31, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  box-shadow: 0 9px 22px rgba(80, 55, 32, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  outline: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--wood-deep), var(--ink));
  border-color: rgba(48, 41, 31, 0.28);
}

.button.secondary { background: rgba(255, 255, 255, 0.72); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: rgba(48, 41, 31, 0.74);
  border: 1px solid rgba(48, 41, 31, 0.08);
  font-size: 0.92rem;
  font-weight: 650;
}

.trust-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.55;
}

.hero-panel {
  position: relative;
  min-height: 620px;
}

.device {
  position: relative;
  z-index: 3;
  width: min(390px, 100%);
  margin-left: auto;
  border-radius: 42px;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(234,220,197,0.76));
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: 0 35px 90px rgba(72, 52, 32, 0.22);
}

.device-screen {
  min-height: 540px;
  border-radius: 32px;
  padding: 1.2rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 6%, rgba(255,255,255,0.90), transparent 9rem),
    linear-gradient(160deg, #f2e4cf, #d9c2a5 58%, #b88d67);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: rgba(48, 41, 31, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

.phone-pill {
  width: 74px;
  height: 7px;
  border-radius: 99px;
  background: rgba(48, 41, 31, 0.20);
}

.app-stack {
  display: grid;
  gap: 0.84rem;
}

.mini-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.82rem;
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 18px rgba(82, 56, 30, 0.08);
}

.mini-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(48, 41, 31, 0.10);
}

.mini-card strong {
  display: block;
  line-height: 1.25;
}

.mini-card span {
  display: block;
  color: rgba(48, 41, 31, 0.63);
  font-size: 0.83rem;
}

.floating-note {
  position: absolute;
  z-index: 4;
  left: 0;
  bottom: 46px;
  max-width: 230px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 254, 249, 0.86);
  border: 1px solid rgba(48, 41, 31, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.floating-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0.2px);
  z-index: 1;
}

.orb.one {
  width: 180px;
  height: 180px;
  right: 20px;
  top: 12px;
  background: rgba(185, 172, 207, 0.34);
}

.orb.two {
  width: 220px;
  height: 220px;
  left: 10px;
  bottom: 0;
  background: rgba(126, 149, 130, 0.24);
}

.section-kicker {
  margin-bottom: 0.7rem;
  color: var(--wood-deep);
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-head p {
  max-width: 430px;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.game-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.05rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 254, 249, 0.68);
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: 0 14px 34px rgba(80, 55, 32, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.game-card:hover,
.game-card:focus-within {
  transform: translateY(-4px);
  background: rgba(255, 254, 249, 0.92);
  box-shadow: var(--shadow);
}

.game-art {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,0.72), transparent 7rem),
    linear-gradient(145deg, rgba(230,238,229,0.72), rgba(234,220,197,0.82));
  border: 1px solid rgba(48, 41, 31, 0.08);
  overflow: hidden;
}

.game-art img { width: 78%; height: 78%; object-fit: contain; }

.game-meta {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.56rem;
  border-radius: 999px;
  background: rgba(126, 149, 130, 0.14);
  color: #526959;
  font-weight: 760;
  font-size: 0.77rem;
}

.tag.soon { background: rgba(185, 172, 207, 0.22); color: #665a7a; }

.game-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.game-card p {
  flex: 1;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--wood-deep);
}

.card-link::after { content: "→"; transition: transform 0.18s ease; }
.game-card:hover .card-link::after { transform: translateX(3px); }

.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.value-card {
  min-height: 210px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.68), rgba(247,239,225,0.72));
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: 0 10px 26px rgba(80, 55, 32, 0.07);
}

.value-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  border-radius: 15px;
  background: var(--sage-soft);
  color: #526959;
  font-weight: 900;
}

.value-card h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.story {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1rem;
  align-items: stretch;
}

.story-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 249, 0.78);
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: var(--shadow-soft);
}

.story-card h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.story-card p { color: var(--muted); }
.story-card p:last-child { margin-bottom: 0; }

.studio-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 76% 22%, rgba(255,255,255,0.78), transparent 8rem),
    linear-gradient(145deg, #ccb08d, #e9dac2 48%, #9e7653);
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: var(--shadow-soft);
}

.studio-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(48, 41, 31, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(48, 41, 31, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, transparent, #000 26%, #000 70%, transparent);
}

.studio-note {
  position: relative;
  max-width: 380px;
  margin-left: auto;
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(255, 254, 249, 0.78);
  border: 1px solid rgba(255,255,255,0.60);
  box-shadow: 0 18px 38px rgba(76, 50, 28, 0.12);
  backdrop-filter: blur(10px);
}

.studio-note h3 { margin-bottom: 0.35rem; }
.studio-note p { margin-bottom: 0; color: var(--muted); }

.cta-band {
  margin-top: 1rem;
  padding: 3rem;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.62), transparent 18rem),
    linear-gradient(135deg, #5f432a, #2f291f);
  color: #fff;
  box-shadow: 0 28px 68px rgba(48, 41, 31, 0.22);
}

.cta-band h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.cta-band p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.78);
}

.cta-band .button {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}

.site-footer {
  border-top: 1px solid rgba(48, 41, 31, 0.10);
  background: rgba(255, 250, 241, 0.72);
}

.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.3rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 820;
  margin-bottom: 0.4rem;
}

.footer-brand img { width: 36px; height: 36px; }

.footer-wrap p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
}

.footer-links a {
  padding: 0.45rem 0.62rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}
.footer-links a:hover,
.footer-links a:focus-visible { background: rgba(255,255,255,0.62); color: var(--ink); outline: none; }

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.35rem 5rem;
}

.legal-card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border-radius: var(--radius-xl);
  background: rgba(255, 254, 249, 0.74);
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
}

.legal-card p,
.legal-card li { color: var(--muted); }

.legal-card a { color: var(--wood-deep); font-weight: 780; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-panel { min-height: 530px; }
  .device { margin: 0 auto; }
  .floating-note { left: max(1rem, calc(50% - 350px)); }
  .games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 74px 1rem auto 1rem;
    display: grid;
    gap: 0.35rem;
    padding: 0.7rem;
    border-radius: 24px;
    background: rgba(255, 250, 241, 0.96);
    border: 1px solid rgba(48, 41, 31, 0.10);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a, .nav-links .nav-pill { width: 100%; }
  .section, .hero { padding-left: 1rem; padding-right: 1rem; }
  .section-head { display: block; }
  .section-head h2 { margin-bottom: 0.8rem; }
  .games-grid, .values { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .cta-band { grid-template-columns: 1fr; padding: 2rem; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hero { padding-top: 3rem; gap: 2.4rem; }
  h1 { font-size: clamp(2.7rem, 17vw, 4.2rem); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-panel { min-height: auto; }
  .floating-note, .orb { display: none; }
  .device-screen { min-height: auto; }
  .mini-card:nth-child(n+6) { display: none; }
  .section { padding-top: 4rem; padding-bottom: 4rem; }
  .game-art { height: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Real MentalDeload assets integration */
.brand-mark,
.footer-brand img,
.game-icon,
.mini-icon {
  object-fit: cover;
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 3.2rem;
}

.hero-copy-block {
  position: relative;
  z-index: 3;
}

.hero-panel {
  min-height: auto;
  display: grid;
  gap: 1rem;
}

.hero-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #2d2018;
  border: 1px solid rgba(48, 41, 31, 0.14);
  box-shadow: 0 34px 90px rgba(72, 52, 32, 0.24);
}

.hero-visual-card picture,
.visual-studio-card picture {
  display: block;
}

.hero-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(37, 25, 18, 0.58));
}

.hero-visual-card .floating-note {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: none;
  z-index: 2;
  background: rgba(255, 250, 241, 0.86);
}

.app-stack-wrap {
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 254, 249, 0.66);
  border: 1px solid rgba(48, 41, 31, 0.10);
  box-shadow: var(--shadow-soft);
}

.app-stack-wrap .app-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-stack-wrap .mini-card {
  grid-template-columns: 42px 1fr;
  padding: 0.68rem;
  border-radius: 18px;
}

.app-stack-wrap .mini-icon {
  width: 42px;
  height: 42px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 10px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 22px rgba(48, 41, 31, 0.18));
  outline: none;
}

.store-badge {
  height: 58px;
  width: auto;
}

.game-art {
  height: 205px;
  padding: 0;
  background: #2d2018;
}

.game-art picture,
.game-art img {
  width: 100%;
  height: 100%;
}

.game-art img {
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.26s ease;
}

.game-card:hover .game-art img,
.game-card:focus-within .game-art img {
  transform: scale(1.045);
}

.game-title-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 0.8rem;
  align-items: center;
  margin: 0.2rem 0 0.75rem;
}

.game-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(80, 55, 32, 0.16);
  border: 1px solid rgba(48, 41, 31, 0.12);
}

.game-title-row .game-meta {
  margin-bottom: 0.34rem;
}

.game-title-row h3 {
  margin-bottom: 0;
}

.visual-studio-card {
  padding: 0;
  background: #2d2018;
}

.visual-studio-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.cta-band .store-badge-link {
  flex-shrink: 0;
}

.cta-band .store-badge {
  height: 62px;
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; }
  .hero-panel { max-width: 760px; margin: 0 auto; }
  .app-stack-wrap .app-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .app-stack-wrap .app-stack { grid-template-columns: 1fr; }
  .cta-band .store-badge-link { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .store-badge-link { width: 100%; justify-content: flex-start; }
  .store-badge { height: auto; width: min(100%, 216px); }
  .hero-visual-card { border-radius: 24px; }
  .hero-visual-card .floating-note { display: block; position: static; margin: 0.8rem; }
  .hero-visual-card::after { display: none; }
  .game-art { height: 186px; }
  .game-title-row { grid-template-columns: 52px 1fr; }
  .game-icon { width: 52px; height: 52px; border-radius: 16px; }
}
