/* Sales-page refinements: plain game screens and a manual sliding carousel. */
:root {
  --purple: #7546dd;
  --line: #e8e1f1;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-header {
  background: #ffffffeb;
  border-bottom-color: #ede7f4;
}
.header-inner { min-height: 88px; }
.navigation a {
  position: relative;
  font-size: 13px;
  transition: color 180ms ease;
}
.navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--motion-ease);
}
.navigation a:hover::after, .navigation a.active::after { transform: scaleX(1); }
.navigation a.active { color: var(--purple); }
.page-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8e64e8, #d4b7fb, #ffd86c);
  transform: scaleX(var(--page-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 56px;
  gap: 20px;
  padding: 9px 10px 9px 25px;
  border: 1px solid #f5c345;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffde64, #ffce35 60%, #ffc12e);
  color: #352713;
  font-weight: 600;
  box-shadow: 0 4px 0 #efb73335, 0 10px 24px #edb33316;
  transition: transform 240ms var(--motion-ease), box-shadow 240ms ease, border-color 240ms ease;
}
.button::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -60% -35%;
  background: linear-gradient(110deg, transparent 35%, #ffffff52 48%, transparent 62%);
  transform: translate3d(-95%, 0, 0);
  transition: transform 650ms var(--motion-ease);
  pointer-events: none;
}
.button:hover, .button:focus-visible {
  background: linear-gradient(135deg, #ffe078, #ffd246 60%, #ffc738);
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 5px 0 #efb73324, 0 15px 30px #edb33328;
}
.button:hover::before, .button:focus-visible::before { transform: translate3d(95%, 0, 0); }
.button:active { transform: translate3d(0, 1px, 0); box-shadow: 0 2px 8px #edb33316; }
.button-label { position: relative; z-index: 1; }
.button-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  border-radius: 11px;
  background: #ffffff59;
  box-shadow: inset 0 0 0 1px #ffffff30;
  transition: background 240ms ease;
}
.button-arrow .icon { width: 19px; height: 19px; transition: transform 300ms var(--motion-ease); }
.button:hover .button-arrow .icon, .button:focus-visible .button-arrow .icon { transform: translate3d(3px, 0, 0); }
.button-purple {
  color: #fff;
  border-color: #8657e8;
  background: linear-gradient(135deg, #8d60e9, #7546dd 62%, #6d3fd1);
  box-shadow: 0 4px 0 #5f36ba1f, 0 12px 24px #7042cb22;
}
.button-purple:hover, .button-purple:focus-visible {
  background: linear-gradient(135deg, #976aef, #8050e4 62%, #7546d9);
  box-shadow: 0 5px 0 #5f36ba1a, 0 17px 30px #7042cb2e;
}
.button-purple .button-arrow { background: #ffffff17; box-shadow: inset 0 0 0 1px #ffffff19; }
.button-outline {
  color: var(--purple);
  background: #fff;
  border-color: #d8c9ec;
  box-shadow: 0 4px 0 #dfd3ef35, 0 10px 24px #61349c06;
}
.button-outline:hover, .button-outline:focus-visible {
  background: #faf6ff;
  border-color: #b99bdd;
  box-shadow: 0 5px 0 #dfd3ef35, 0 15px 30px #61349c0c;
}
.button-outline .button-arrow { background: #f1eafb; }
.header-cta { min-height: 48px; padding-left: 20px; font-size: 12px; border-radius: 15px; gap: 12px; }
.header-cta .button-arrow { width: 30px; height: 30px; border-radius: 9px; }
.header-cta .button-arrow .icon { width: 17px; height: 17px; }
.text-link .icon { transition: transform 260ms var(--motion-ease); }
.text-link:hover .icon { transform: translate3d(3px, 0, 0); }

.hero {
  position: relative;
  grid-template-columns: 1fr 1.12fr;
  gap: 48px;
  padding-block: 88px 64px;
}
.hero-copy { min-width: 0; }
.hero h1 {
  font-size: clamp(40px, 3.75vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2.4px;
}
.hero h1 span { color: #7c4ade; }
.hero-description {
  text-wrap: pretty;
  max-width: 510px;
  color: #7a6b87;
  font-size: 17px;
  line-height: 1.7;
  margin-top: 26px;
}
.hero .eyebrow { font-size: 10px; letter-spacing: 2px; margin-bottom: 24px; }
.hero-actions { margin-top: 31px; flex-wrap: wrap; gap: 12px 20px; }
.hero-download-caption { flex-basis: 100%; margin: 0; color: #242337; font-size: 16px; line-height: 1.45; font-weight: 600; }
.hero-actions .button { font-size: 14px; padding: 10px 11px 10px 23px; min-height: 59px; }
.hero-actions .text-link { color: #746282; font-size: 12px; }
.occasion-list { gap: 7px; margin-top: 29px; }
.occasion-list span {
  font-size: 10px;
  line-height: 1.4;
  padding: 7px 11px;
  background: #f9f5ff;
  color: #967ea8;
  border: 1px solid #eee5f8;
  border-radius: 8px;
}
.occasion-list span + span::before { content: none; }
.hero-product { padding: 0; min-width: 0; }
.hero-product::before { content: none; }
.carousel-shell { position: relative; isolation: isolate; }
.carousel-shell::before {
  content: '';
  position: absolute;
  inset: -16px -8px;
  z-index: -1;
  background: radial-gradient(ellipse at 82% 24%, #efe0ffb0, transparent 68%), radial-gradient(ellipse at 18% 83%, #fff0b9b0, transparent 64%);
  filter: blur(16px);
  border-radius: 42px;
  pointer-events: none;
}
.carousel-stage {
  touch-action: pan-y pinch-zoom;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  padding: 0;
  border-radius: 19px;
  overflow: hidden;
  background: #f4eff9;
  box-shadow: 0 24px 60px #4a277323, 0 4px 12px #4a27730c;
}
.carousel-stage:hover { box-shadow: 0 24px 60px #4a27732c, 0 4px 12px #4a27730c; }
.carousel-image, .carousel-incoming {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 16/9;
  display: block;
}
.carousel-incoming { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.carousel-controls { display: flex; align-items: center; gap: 18px; padding: 15px 20px 0; }
.carousel-control {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  border: 1px solid #e7dcf4;
  background: #fbf8ff;
  color: #8c64bd;
  transition: transform 200ms var(--motion-ease), background 200ms ease, border-color 200ms ease;
}
.carousel-control:hover { background: #efe4fd; border-color: #d2b9f0; transform: translate3d(0, -2px, 0); }
.carousel-control:active { transform: translate3d(0, 1px, 0); }
.carousel-control .icon { width: 19px; height: 19px; }

.benefits { padding-block: 31px 48px; gap: 30px; }
.benefit-icon { border: 1px solid #eadff5; background: linear-gradient(135deg, #f5edff, #fbf8ff); color: #976cce; transition: transform 300ms var(--motion-ease), background 300ms ease; }
.benefits > div:hover .benefit-icon { transform: translate3d(0, -3px, 0) rotate(-4deg); }
.benefits h2 { color: #49365c; }
.constructor-section { background: radial-gradient(ellipse at 80% 40%, #f0e7fc99, transparent 62%), #faf7ff; }
.editor-demo { border-radius: 21px; border-color: #e7daf3; box-shadow: 0 15px 50px #55338109; }
.editor-fields input, .editor-fields textarea { transition: border-color 180ms ease, box-shadow 180ms ease; }
.editor-fields input:focus, .editor-fields textarea:focus { border-color: #b697df; box-shadow: 0 0 0 4px #c8adee16; }
.editor-heading { padding-block: 22px; }
.games-grid { gap: 28px; }
.game-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; padding: 24px; border-radius: 24px; gap: 24px; border-color: #eee5f5; background: linear-gradient(150deg, #fff, #fefcff); transition: transform 350ms var(--motion-ease), box-shadow 350ms ease, border-color 350ms ease; }
.game-card:hover { transform: translate3d(0, -5px, 0); box-shadow: 0 16px 35px #502d7010; border-color: #ceb3e9; }
.game-art { aspect-ratio: 16 / 9; align-self: start; border-radius: 14px; background: #f6f0fc; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.game-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 0 4px 4px; }
.game-category { font-size: 10px; letter-spacing: 1px; margin-bottom: 10px; }
.game-copy h3 { font-size: 26px; line-height: 1.25; }
.game-copy p { font-size: 16px; line-height: 1.65; margin-top: 12px; min-height: 0; }
.game-more { font-size: 14px; line-height: 1.4; margin-top: auto; padding-top: 20px; gap: 9px; }
.game-more .icon { width: 17px; height: 17px; transition: transform 300ms var(--motion-ease); }
.game-card:hover .game-more .icon { transform: translate3d(4px, 0, 0); }
.workflow-section { background: radial-gradient(ellipse at 85% 20%, #63407861, transparent 55%), linear-gradient(120deg, #312144, #35214d); }
.event-preview { border-radius: 23px; box-shadow: 0 26px 75px #170b3126; }
.price-card { border-radius: 23px; padding: 38px 40px; }
.full-price { background: radial-gradient(ellipse at 90% 0, #88629b6b, transparent 55%), linear-gradient(130deg, #493261, #3d2855); box-shadow: 0 24px 50px #4d2f741b; }
.price-card .button { font-size: 14px; justify-content: space-between; min-height: 56px; flex-shrink: 0; }
.price-badge { border-radius: 9px; padding: 7px 12px; }
.closing-section { background: radial-gradient(ellipse at 12% 10%, #f4e6ff80, transparent 60%), #faf6ff; border-radius: 25px; }
.closing-section .button { padding-left: 22px; }
.support-links { display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }

/* Shared website footer composition, adapted to the standalone mockup. */
.web-footer {
  padding: 56px 0 48px;
  background: radial-gradient(circle at 8% 8%, #7a2ee659, transparent 320px), radial-gradient(circle at 88% 96%, #ff4ea133, transparent 352px), linear-gradient(135deg, #071048, #0b082e 58%, #20115d);
  color: #ffffffc7;
  box-shadow: 0 -16px 48px #140c3c14;
}
.web-footer-inner { width: min(1200px, calc(100% - 64px)); margin-inline: auto; display: grid; grid-template-columns: minmax(250px, 1.25fr) repeat(4, minmax(0, .8fr)); gap: 24px; align-items: start; }
.web-footer-brand, .web-footer-column, .web-footer-rights { min-width: 0; }
.web-footer-logo { display: inline-flex; align-items: center; gap: 9px; color: #fff; margin-bottom: 12px; }
.web-footer-logo img { width: 29px; height: 29px; }
.web-footer-logo strong { font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.web-footer-brand p { font-size: 16px; line-height: 1.45; margin-bottom: 5px; }
.web-footer-brand small { display: block; color: #ffffff94; font-size: 13px; line-height: 1.5; }
.web-footer h2 { font-size: 18px; line-height: 1.35; letter-spacing: 0; color: #fff; margin-bottom: 10px; font-weight: 700; }
.web-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.web-footer-column h2 { margin-bottom: 5px; }
.web-footer-column a, .web-footer-column button { max-width: 100%; min-height: 32px; padding: 3px 0; border: 0; background: transparent; text-align: left; color: #ffffffb8; font-size: 16px; font-weight: 700; line-height: 1.4; transition: color 160ms ease; }
.web-footer-column a:hover, .web-footer-column button:hover { color: #fff; }
.web-footer-rights p { font-size: 16px; line-height: 1.4; }
.web-footer-rights p a { color: #ffd234; font-weight: 700; overflow-wrap: anywhere; }
.web-footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.web-footer-social a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border: 1px solid #ffffff24; border-radius: 999px; background: #ffffff14; color: #fff; font-size: 16px; font-weight: 700; transition: background 160ms ease; }
.web-footer-social a:hover { background: #ffffff26; }
.web-footer a:focus-visible, .web-footer button:focus-visible { outline: 2px solid #cbb6ff; outline-offset: 4px; border-radius: 5px; }

.ideas-section { padding: 84px 0 74px; background: #faf8ff; border-block: 1px solid #eee7f7; scroll-margin-top: 105px; }
.ideas-intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: end; gap: 60px; margin-bottom: 48px; }
.ideas-intro h2 { font-size: 48px; line-height: 1.12; letter-spacing: -1.7px; color: #211d38; }
.ideas-intro h2 span { color: var(--purple); }
.ideas-lead { font-size: 19px; line-height: 1.75; color: #69708e; }
.ideas-workspace { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 48px; align-items: start; }
.ideas-details { display: grid; gap: 28px; padding-top: 12px; }
.ideas-details article { display: flex; align-items: start; gap: 17px; }
.ideas-number { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-top: 1px; border-radius: 50%; background: #eee6ff; color: #7652d5; font-size: 12px; font-weight: 600; }
.ideas-details h3 { font-size: 19px; line-height: 1.35; color: #27233d; margin-bottom: 8px; }
.ideas-details p { font-size: 15px; line-height: 1.8; color: #69708e; }
.editor-showcase { min-width: 0; margin: 0; }
.editor-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.editor-tabs button { min-height: 44px; padding: 10px 14px; border: 1px solid #e4dbee; border-radius: 12px; background: #fff; color: #716282; font-size: 12px; line-height: 1.4; transition: background 180ms ease, border-color 180ms ease, color 180ms ease; }
.editor-tabs button:hover { border-color: #bba2e8; color: #6542bb; }
.editor-tabs button[aria-selected="true"] { background: #7546dd; border-color: #7546dd; color: #fff; }
.editor-screenshot { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.editor-screenshot img { width: 100%; height: auto; display: block; }
.editor-screenshot:focus-visible { outline: 2px solid #7546dd; outline-offset: 5px; }
.editor-description, .editor-load-error { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: #69708e; }
.editor-description[hidden], .editor-load-error[hidden] { display: none; }
.ideas-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding-top: 34px; margin-top: 44px; border-top: 1px solid #e7dff0; }
.ideas-examples .eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 12px; }
.ideas-examples h3 { font-size: 19px; line-height: 1.4; color: #27233d; margin-bottom: 8px; }
.ideas-examples article > p:last-child { font-size: 14px; line-height: 1.75; color: #69708e; }
@media (max-width: 1000px) {
  .ideas-intro { gap: 30px; }
  .ideas-intro h2 { font-size: 42px; }
  .ideas-lead { font-size: 17px; }
  .ideas-workspace { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .editor-showcase { order: -1; }
  .ideas-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .ideas-details article { display: block; }
  .ideas-number { margin-bottom: 13px; }
}

/* App gallery pattern: large screen, caption, manual arrows and screen dots. */
dialog.game-gallery-dialog { width: min(1100px, calc(100% - 48px)); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; border-radius: 20px; }
.game-gallery-dialog .dialog-header { position: absolute; top: 18px; right: 18px; padding: 0; background: transparent; border: 0; }
.game-gallery-dialog .dialog-header > span { display: none; }
.game-gallery-dialog #dialog-content { padding: 32px; }
.gallery-heading { padding-right: 48px; }
.gallery-eyebrow { color: #7652d5; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; }
.gallery-title { font-size: 28px; line-height: 1.2; letter-spacing: -.6px; margin: 6px 0 5px; color: #27233d; }
.gallery-intro { font-size: 15px; line-height: 1.6; color: #69708e; }
/* Let the screenshot define its bounds; never paint or crop a separate frame. */
.gallery-image { display: flex; justify-content: center; width: 100%; margin-top: 20px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.gallery-image img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52dvh; object-fit: contain; border-radius: 0; }
.gallery-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.gallery-caption { min-width: 0; min-height: 64px; }
.gallery-screen-title { display: block; font-size: 16px; line-height: 1.3; color: #25263f; }
.gallery-screen-description { font-size: 15px; color: #69708e; line-height: 1.5; margin-top: 4px; }
.gallery-controls { display: flex; align-items: center; gap: 10px; flex: none; }
.gallery-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ded8f1; border-radius: 10px; background: #f8f5ff; color: #6844c3; transition: background 180ms ease, border-color 180ms ease; }
.gallery-arrow:hover { background: #eee5ff; border-color: #cbb8e7; }
.gallery-arrow .icon { width: 20px; height: 20px; }
.gallery-count { color: #77708c; font-size: 14px; font-weight: 600; min-width: 42px; text-align: center; }
.gallery-dots { display: flex; justify-content: center; margin-top: 8px; }
.gallery-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 0; border-radius: 10px; }
.gallery-dot::before { content: ''; width: 8px; height: 8px; border-radius: 6px; background: #d9ceef; transition: width 180ms ease, background 180ms ease; }
.gallery-dot:hover::before { background: #ad91dc; }
.gallery-dot[aria-current="true"]::before { width: 23px; background: #7652d5; }

.motion-ready .reveal { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 650ms var(--motion-ease), transform 650ms var(--motion-ease); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }
.motion-ready .game-card.reveal.is-visible:hover { transform: translate3d(0, -5px, 0); transition-delay: 0ms; }
.motion-ready .hero-copy > * { animation: hero-rise 760ms var(--motion-ease) both; }
.motion-ready .hero-copy > :nth-child(2) { animation-delay: 65ms; }
.motion-ready .hero-copy > :nth-child(3) { animation-delay: 130ms; }
.motion-ready .hero-copy > :nth-child(4) { animation-delay: 195ms; }
.motion-ready .hero-copy > :nth-child(5) { animation-delay: 260ms; }
.motion-ready .game-carousel { animation: hero-rise 1000ms var(--motion-ease) 130ms both; }
@keyframes hero-rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } to { opacity: 1; transform: none; } }

@media (max-width: 1200px) {
  .hero { gap: 30px; grid-template-columns: 1fr 1.05fr; padding-top: 65px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.8px; }
  .hero-description { font-size: 16px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { font-size: 13px; gap: 12px; padding-left: 18px; }
  .game-card { gap: 22px; padding: 22px; }
  .game-copy h3 { font-size: 24px; }
  .price-card { padding: 33px; }
  .web-footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
}
@media (max-width: 800px) {
  .web-footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .web-footer-brand { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .navigation a { font-size: 12px; }
  .hero { grid-template-columns: .92fr 1.08fr; gap: 25px; padding-block: 55px 45px; }
  .hero h1 { font-size: clamp(30px, 4vw, 39px); letter-spacing: -1.5px; }
  .hero-description { font-size: 14px; line-height: 1.7; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.5px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 23px; }
  .occasion-list { gap: 5px; margin-top: 19px; }
  .occasion-list span { font-size: 9px; padding: 6px 8px; }
  .carousel-controls { gap: 12px; padding: 10px 17px 0; }
  .carousel-control { width: 38px; height: 38px; border-radius: 11px; }
  .benefits { gap: 20px; }
  .game-card { gap: 20px; }
  .price-card { padding: 30px 25px; }
}
@media (max-width: 900px) {
  .games-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .header-inner { min-height: 70px; }
  .navigation a { font-size: 14px; }
  .navigation a::after { left: 10px; right: auto; width: 25px; bottom: 5px; }
  .hero { grid-template-columns: 1fr; padding-block: 37px 31px; gap: 27px; }
  .hero h1 { font-size: clamp(31px, 8.7vw, 49px); letter-spacing: -1.65px; line-height: 1.12; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.7px; margin-bottom: 19px; }
  .hero-description { font-size: 15px; line-height: 1.7; margin-top: 23px; max-width: 520px; }
  .hero-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 12px 19px; margin-top: 24px; }
  .hero-actions .button { min-height: 55px; padding-left: 18px; gap: 15px; font-size: 13px; border-radius: 16px; }
  .button-arrow { width: 32px; height: 32px; border-radius: 10px; }
  .hero-actions .text-link { font-size: 11px; }
  .occasion-list { margin-top: 20px; gap: 6px; }
  .occasion-list span { font-size: 9px; padding: 6px 9px; }
  .carousel-stage { border-radius: 13px; box-shadow: 0 17px 35px #4a27731c; }
  .carousel-controls { padding: 7px 13px 0; gap: 16px; }
  .carousel-control { width: 40px; height: 40px; border-radius: 12px; }
  .benefits { padding-block: 28px 35px; gap: 23px; }
  .benefits > div { gap: 5px 13px; }
  .games-grid { gap: 24px; }
  .game-card { padding: 16px; gap: 20px; border-radius: 21px; }
  .game-copy { padding: 0 2px 2px; }
  .game-copy h3 { font-size: 22px; }
  .game-copy p { font-size: 15px; }
  .editor-heading { font-size: 11px; padding-block: 18px; }
  .price-card { padding: 30px 28px; }
  .price-card .button { font-size: 12px; gap: 10px; padding-left: 17px; }
  .closing-section .button { justify-content: space-between; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 32px; letter-spacing: -1.5px; }
  .hero-actions .text-link { font-size: 11px; }
  .hero-actions { gap: 7px 16px; }
  .occasion-list span { font-size: 8px; padding: 6px 8px; }
  .game-card { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .ideas-section { padding: 54px 0; }
  .ideas-intro { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-bottom: 34px; }
  .ideas-intro h2 { font-size: 36px; letter-spacing: -1.1px; }
  .ideas-lead { font-size: 16px; line-height: 1.8; }
  .ideas-details { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 0; }
  .ideas-details article { display: flex; }
  .ideas-number { margin-bottom: 0; }
  .ideas-details h3 { font-size: 18px; }
  .ideas-examples { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 32px; padding-top: 30px; }
  .editor-description { font-size: 14px; }
  .editor-tabs button { padding-inline: 10px; font-size: 11px; }
  dialog.game-gallery-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .game-gallery-dialog .dialog-header { top: 12px; right: 12px; }
  .game-gallery-dialog #dialog-content { padding: 20px; }
  .gallery-title { font-size: 25px; }
  .gallery-intro { font-size: 14px; }
  .gallery-image { margin-top: 16px; }
  .gallery-image img { max-height: none; }
  .gallery-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery-caption { min-height: 0; }
}
@media (max-width: 560px) {
  .web-footer { padding: 38px 0 40px; }
  .web-footer-inner { width: calc(100% - 36px); grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .web-footer-column { gap: 0; }
  .web-footer-column a, .web-footer-column button { min-height: 44px; display: flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .motion-ready .hero-copy > *, .motion-ready .game-carousel { animation: none; }
  .button:hover, .game-card:hover, .carousel-control:hover { transform: none; }
  .button::before { display: none; }
  *, *::before, *::after { transition: none !important; }
}
.capture .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.capture .hero-copy > *, .capture .game-carousel { animation: none !important; }
.capture .page-progress { display: none; }
.carousel-control { width: 48px; height: 48px; border-radius: 50%; }
.mobile-menu, .dialog-close { min-width: 44px; min-height: 44px; }
.preview-tabs button, .reset-example { min-height: 44px; }

.carousel-controls { justify-content: center; gap: 10px; padding: 18px 0 0; }
.slideshow-card {
  width: 100%;
  margin-top: 28px;
  padding: 26px;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto;
  gap: 36px;
  background: #fcfaff;
}
.slideshow-card .game-art { align-self: center; }
.slideshow-card .game-copy h3 { font-size: 30px; }
.slideshow-card .game-copy p { font-size: 16px; min-height: 0; }
.slideshow-features { display: grid; gap: 12px; margin-top: 22px; color: #766383; font-size: 14px; line-height: 1.55; }
.slideshow-features > span { display: flex; align-items: flex-start; gap: 10px; }
.slideshow-features .icon { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 17px; color: #966ac7; }
.slideshow-card .game-more { margin-top: 24px; font-size: 14px; }
@media (max-width: 900px) {
  .slideshow-card { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .slideshow-card .game-copy h3 { font-size: 26px; }
}
@media (max-width: 600px) {
  .slideshow-card { margin-top: 20px; padding: 18px; gap: 20px; }
  .slideshow-card .game-copy h3 { font-size: 24px; }
  .slideshow-card .game-copy p { font-size: 15px; }
  .slideshow-features { margin-top: 18px; }
}

.button{text-decoration:none}.download-detail{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;margin:14px 0 0;color:#858597}.download-detail a{color:#7652d5;text-underline-offset:3px}.checkout-dialog{padding:0;border:1px solid #e8dcfa;border-radius:22px;width:min(580px,calc(100vw - 28px));max-height:calc(100dvh - 36px);color:#242337;background:white}.checkout-dialog::backdrop{background:#21153580;backdrop-filter:blur(5px)}.checkout-content{padding:28px;display:grid;gap:18px}.checkout-content form{display:grid;gap:14px}.checkout-content input{font:inherit;min-width:0;width:100%;border:1px solid #ddd0f0;border-radius:12px;padding:14px}.checkout-content .button{width:100%;justify-content:center}.checkout-error{color:#aa2438;line-height:1.5}.checkout-content .text-link{font-size:13px;line-height:1.5}.checkout-dialog .dialog-header .button{min-height:40px;padding:8px 14px}.button:disabled{opacity:.55;cursor:default}

.hero-actions{flex-wrap:wrap;gap:12px}.hero-actions>.text-link{flex-basis:100%}
.download-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;align-items:stretch}
.download-buttons .button{width:100%;justify-content:space-between;min-height:56px;padding:10px 18px;font-size:14px;gap:16px}
.hero-actions>.download-buttons{width:100%}.download-buttons-header .button{min-height:48px;font-size:12px;gap:12px}
.demo-price .download-buttons{margin-top:auto}.demo-price .download-buttons,.closing-section .download-buttons,.checkout-content .download-buttons{grid-template-columns:1fr}
.demo-price .download-buttons .button{margin-top:0}.closing-section .download-buttons{min-width:260px}
.closing-section>div:last-child{display:flex;flex-direction:column;gap:12px}.closing-section>div:last-child p{margin:0}
.mac-test-notice{padding:18px;border-radius:14px;background:#fff8e4;font-size:13px;line-height:1.65}.mac-test-notice p{margin-top:6px}.mac-test-notice .text-link{font-size:12px;margin-top:8px}
.platform-icon{fill:currentColor;stroke:none}.button-platform{padding-right:18px}.button-platform-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0}.button-platform .platform-icon{width:21px;height:21px}.text-link:hover .platform-icon{transform:none}
.auth-modes{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:13px;background:#f5effc}.auth-modes button{font:inherit;font-size:14px;font-weight:600;min-height:44px;border:0;border-radius:9px;color:#7652bc;background:transparent}.auth-modes button[aria-pressed="true"]{background:white;color:#4f2da1;box-shadow:0 2px 7px #4c287b0d}
.auth-modes .auth-text-button{justify-self:stretch;text-align:center;padding:0 12px}
.checkout-content .auth-field{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}.auth-field input{font-weight:400}.auth-hint{font-size:12px;line-height:1.6;color:#82708e;font-weight:400}.checkout-content .auth-consent{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.65;color:#74617f}.checkout-content .auth-consent input{width:18px;height:18px;min-width:18px;flex-shrink:0;margin:2px 0 0;padding:0;accent-color:#7546dd}.auth-consent a{color:#7042ca;text-decoration:underline;text-underline-offset:3px}.auth-text-button{font:inherit;font-size:13px;font-weight:600;min-height:44px;justify-self:start;padding:0;border:0;background:none;color:#7546dd;text-align:left}.auth-text-button:disabled{cursor:default;color:#96879e}.checkout-content .checkout-error{font-size:13px}.checkout-content input{font-size:16px}
@media(max-width:1180px){.hero-actions>.download-buttons{grid-template-columns:1fr}}
@media(max-width:980px){.download-buttons-header{display:none}}
@media(max-width:600px){.hero-actions>.text-link{flex-basis:auto}.checkout-content{padding:22px}.closing-section .download-buttons{min-width:0}}

.windows-install-guide{width:min(1000px,calc(100vw - 32px));height:min(640px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e2d5f4;border-radius:24px;box-shadow:0 28px 110px #24133730;color:#242337;background:#fff;overflow:hidden}
.windows-install-guide[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto}
.windows-install-guide>*{min-width:0}
.windows-install-guide::backdrop{background:#21153580;backdrop-filter:blur(5px)}
.install-guide-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px 16px}
.install-guide-header h2{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:0}
.install-guide-subtitle{font-size:12px;line-height:1.5;color:#84758f;margin:7px 0 0}
.install-guide-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #e7ddf4;border-radius:13px;background:#f8f4fe;color:#7652bc;font:400 28px/1 Golos,sans-serif;cursor:pointer}
.install-guide-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0 24px 16px;gap:8px;border-bottom:1px solid #eee6f7}
.install-guide-step{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e9e1f3;border-radius:11px;background:#fff;font:600 11px/1.35 Golos,sans-serif;color:#81738e;min-height:46px;text-align:left;cursor:pointer}
.install-guide-number{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:8px;background:#f4eefb;color:#8460be}
.install-guide-step[aria-current=step]{background:#f4edff;border-color:#c9b2f3;color:#5a35a8}
.install-guide-step[aria-current=step] .install-guide-number{background:#7951d5;color:#fff}
.install-guide-body{padding:20px 24px;overflow:auto;overscroll-behavior:contain;min-height:0}
.install-guide-panel{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:28px;align-items:center;height:100%;min-height:0}
.install-guide-copy{min-width:0}
.install-guide-copy h3{font-size:24px;line-height:1.25;letter-spacing:-.5px;margin:0 0 14px}
.install-guide-description{font-size:14px;line-height:1.7;color:#665977;margin:0}
.install-guide-command{display:inline-block;max-width:100%;padding:11px 14px;border:1px solid #d8c7f3;border-radius:12px;background:#f5efff;color:#6335b4;font-size:14px;line-height:1.5;font-weight:700;margin:18px 0 0}
.install-guide-figure{margin:0;min-width:0;min-height:0;height:100%}
.install-guide-picture{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;height:100%;padding:10px;background:#f7f5fb;border:1px solid #eee6f7;border-radius:16px;cursor:zoom-in}
.install-guide-picture[hidden]{display:none}
.install-guide-picture img{display:block;max-width:100%;width:auto;height:auto;max-height:100%;min-height:0;object-fit:contain;border-radius:5px}
.install-guide-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px 18px;border-top:1px solid #eee6f7;background:#fff}
.install-guide-support{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;min-width:0}
.install-guide-link{font-size:11px;font-weight:600;line-height:1.6;color:#7950c8;text-underline-offset:4px}
.install-guide-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.install-guide-actions .button{min-height:44px;font-size:12px;padding:10px 18px;justify-content:center;white-space:nowrap}
.install-guide-actions .button:disabled{opacity:.4;cursor:default;transform:none;box-shadow:none}
.install-guide-progress{font-size:11px;color:#9685a3;white-space:nowrap;min-width:30px;text-align:center}
.windows-install-guide :is(button,a):focus-visible{outline:3px solid #b291ef;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.install-guide-step:hover{border-color:#bfa7e8}.install-guide-close:hover{background:#eee5fc}.install-guide-link:hover{color:#59329c}}
@media(max-width:700px){
 .windows-install-guide{width:calc(100vw - 20px);height:min(780px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:20px}
 .install-guide-header{padding:16px 18px 14px;gap:12px}.install-guide-header h2{font-size:22px;letter-spacing:-.4px}.install-guide-subtitle{font-size:11px;margin-top:6px}
 .install-guide-steps{padding:0 18px 12px;gap:7px}.install-guide-step{justify-content:center;padding:7px;min-height:44px}.install-guide-label{display:none}.install-guide-number{width:27px;height:27px}
 .install-guide-body{padding:16px 18px}.install-guide-panel{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(100px,1fr);gap:16px;align-items:stretch}
 .install-guide-copy h3{font-size:21px;margin-bottom:10px}.install-guide-description{font-size:13px;line-height:1.65}.install-guide-command{font-size:13px;margin-top:12px;padding:10px 12px}
 .install-guide-picture{padding:8px;border-radius:12px}
 .install-guide-footer{padding:12px 18px;flex-direction:column-reverse;gap:8px}.install-guide-support{width:100%;justify-content:space-between;gap:0 12px}.install-guide-actions{width:100%;justify-content:space-between;gap:9px}.install-guide-actions .button{padding:10px 15px}.install-guide-link{min-height:32px;display:inline-flex;align-items:center}
}
@media(max-width:359px){.install-guide-header,.install-guide-body{padding-inline:14px}.install-guide-header h2{font-size:20px}.install-guide-steps{padding-inline:14px}.install-guide-footer{padding-inline:14px}.install-guide-support{column-gap:10px}.install-guide-link{font-size:10px}.install-guide-actions .button{padding-inline:12px;font-size:11px}}
@media(prefers-reduced-motion:no-preference){.windows-install-guide[open]{animation:install-guide-appear 180ms cubic-bezier(.23,1,.32,1)}@keyframes install-guide-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.sale-old-price{font-size:22px;font-weight:500;color:#cbbbdc;margin-right:14px}.sale-end-date{display:block!important;font-size:14px!important;line-height:1.5;margin:12px 0 0!important;color:#f6dfb3!important}

.checkout-offer-price{font-size:32px;font-weight:700}.checkout-offer-price .sale-old-price{font-size:18px;color:#84738d}.checkout-offer-price .sale-end-date{color:#7752bd!important}
