:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", sans-serif;
  --background: #100d17;
  --paper: #fff6e9;
  --muted: #c5b8cd;
  --accent: #ff8fa9;
  --line: #3a2c44;
  --gutter: clamp(20px, 5vw, 72px);
  background: var(--background);
  color: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, p, figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; width: 100%; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #ffbcaa;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 1;
  background: #100d17;
  border-bottom: 1px solid #342638;
}

.topbar-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.075em;
}

.brand > span:last-child { color: var(--accent); margin-left: .2em; }

.brand-mark {
  display: inline-block;
  width: 26px;
  height: 24px;
  margin-right: 9px;
  background: linear-gradient(155deg, #ffb18c 15%, #eb6ca4 70%);
  clip-path: polygon(46% 0, 70% 0, 45% 38%, 75% 38%, 32% 100%, 40% 58%, 16% 58%);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 34px);
  font-size: .94rem;
  font-weight: 700;
  color: var(--muted);
}

nav a { padding-block: .6em; transition: color 160ms ease, transform 180ms ease; }
nav a:hover { color: var(--paper); transform: translateY(-2px); }
nav a:active { transform: translateY(1px) scale(.96); }

.hero {
  position: relative;
  isolation: isolate;
  background: #47263e url("assets/hero.webp") center 51% / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, #100d17 0%, #100d1752 38%, transparent 73%),
    linear-gradient(90deg, #1c1021e8 0%, #261427b8 25%, #27153226 61%, transparent 86%);
}

.hero-inner {
  display: flex;
  min-height: clamp(485px, 40vw, 625px);
  align-items: center;
  padding-block: 44px 82px;
}

h1 {
  font-family: "Arial Black", "Segoe UI", sans-serif;
  font-weight: 950;
  font-size: clamp(4.4rem, 8.55vw, 8rem);
  line-height: .85;
  letter-spacing: -.095em;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px #190c2870);
}

h1 > span {
  display: block;
  white-space: nowrap;
  background-size: 170% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: hero-gradient 18s ease-in-out infinite alternate;
}

/* Grand Theft + Auto — one light gradient, more visible */
h1 > span:nth-child(1),
h1 > span:nth-child(2) {
  background-image: linear-gradient(100deg, #ffffff 0%, #ffe0b8 22%, #ffb9d0 48%, #ffe6cc 72%, #ffffff 100%);
}

/* PC Emulator — pearly cool lavender */
h1 > span:nth-child(3) {
  background-image: linear-gradient(100deg, #ffffff 0%, #dccdff 24%, #b9a0ff 52%, #e7daff 76%, #ffffff 100%);
  animation-duration: 22s;
  animation-delay: -7s;
}

/* VI — warm sunset accent */
h1 em {
  font-style: italic;
  color: inherit;
  display: inline-block;
  padding: .02em .22em .06em .1em;
  background-image: linear-gradient(100deg, #ffcf82 0%, #ff8f58 22%, #ff4b9c 50%, #cc63ff 76%, #ff8f58 100%);
  background-size: 170% 100%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: hero-gradient 16s ease-in-out infinite alternate;
  animation-delay: -4s;
}

@keyframes hero-gradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.page-content { position: relative; margin-top: -49px; }

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 365px);
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
}

.offer {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #634256;
  border-radius: 20px;
  background: linear-gradient(147deg, #2f1d31 0%, #1b1424 58%);
  box-shadow: 0 16px 60px #08050b6e;
}

.offer h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); letter-spacing: -.05em; line-height: 1.03; }

.buy {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 58px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(105deg, #ffad7d, #ff76a9);
  color: #25111e;
  font-size: 1.16rem;
  font-weight: 900;
  box-shadow: 0 6px 21px #f660952e;
  transition: transform 280ms cubic-bezier(.2, 1.6, .45, 1), box-shadow 200ms ease;
}

.buy::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 18%, #ffffff85 50%, transparent 80%);
  transform: translateX(-125%);
  transition: transform 540ms ease;
  pointer-events: none;
}
.buy:hover, .buy:focus-visible { transform: translateY(-2px) scale(1.018); box-shadow: 0 10px 24px #f6609552; }
.buy:hover::after, .buy:focus-visible::after { transform: translateX(125%); }
.buy:active { transform: scale(.964); transition-duration: 100ms; }

.gallery {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}
.gallery, .about { scroll-margin-top: 20px; }

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.045em; }

.gallery-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #835369;
  border-radius: 16px;
  background: #2f1835;
  box-shadow: 0 16px 45px #0a050c66;
}
.gallery-frame img {
  height: auto;
  aspect-ratio: 2.28;
  object-fit: cover;
}
.gallery-frame::after {
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(transparent, #110916dc);
  content: "";
  pointer-events: none;
}
figcaption {
  position: absolute;
  z-index: 1;
  bottom: clamp(12px, 3vw, 20px);
  left: clamp(14px, 3vw, 22px);
  font-weight: 750;
  font-size: clamp(.96rem, 2vw, 1.22rem);
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 11px;
}

.thumbnail {
  display: block;
  background: #2f1835;
  padding: 2px;
  overflow: hidden;
  border: 1px solid #614258;
  border-radius: 9px;
  cursor: pointer;
  opacity: .66;
  transition: opacity 170ms ease, border-color 170ms ease, transform 240ms cubic-bezier(.2, 1.55, .45, 1), box-shadow 170ms ease;
}
.thumbnail[aria-pressed="true"] { border-color: #ffa4ad; opacity: 1; box-shadow: 0 0 0 1px #ffa4ad; }
.thumbnail:hover, .thumbnail:focus-visible { border-color: #ffa4ad; opacity: 1; transform: translateY(-2px) scale(1.015); }
.thumbnail:active { transform: scale(.95); }
.thumbnail img { height: clamp(49px, 7vw, 84px); border-radius: 6px; object-fit: cover; }

.about {
  position: relative;
  isolation: isolate;
  margin-block: clamp(48px, 7vw, 90px) 0;
  overflow: hidden;
  display: flex;
  align-items: end;
  min-height: 340px;
  border: 1px solid #634256;
  border-radius: 20px;
  background: #3c223b url("assets/coast.webp") center 51% / cover no-repeat;
}
.about::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #110a19e8, transparent 96%), linear-gradient(90deg, #110a19de, transparent 93%);
  content: "";
}
.about-content { max-width: 45rem; padding: clamp(25px, 5vw, 54px); }
.about h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: .98; letter-spacing: -.065em; }
.about p { max-width: 34rem; margin-top: 16px; line-height: 1.53; color: #f5e9ed; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  margin-top: 23px;
  color: var(--muted);
  font-size: .87rem;
}

@media (max-width: 760px) {
  .hero-inner { min-height: 440px; align-items: end; padding-bottom: 42px; }
  .hero { background-position: 53% center; }
  h1 { font-size: clamp(2.2rem, 10.2vw, 4.4rem); }
  .hero::before {
    background: linear-gradient(0deg, #100d17 0%, #100d17b5 35%, transparent 83%), linear-gradient(90deg, #24152677, transparent 80%);
  }
  .page-content { margin-top: 0; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .offer, .gallery { grid-area: auto; }
  .gallery-frame img { aspect-ratio: 1.72; }
  .about { min-height: 300px; }
}

@media (max-width: 430px) {
  .topbar-inner { min-height: 58px; }
  .brand { font-size: 1.14rem; }
  .brand-mark { margin-right: 4px; }
  nav { font-size: .86rem; gap: 13px; }
  .hero-inner { min-height: 380px; }
  .site-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}


.report-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 9px auto 0;
  color: #8fc5ff;
  font-size: .73rem;
  line-height: 1.25;
  text-align: center;
}
.report-mark { flex: 0 0 13px; width: 13px; height: 13px; }

.offer-prices { display: flex; align-items: baseline; gap: 15px; flex-wrap: wrap; }
.reference-price { color: var(--muted); font-size: .8rem; }
.reference-price del { font-size: 1.2rem; font-weight: 750; }

.agreement {
  display: flex;
  align-items: start;
  gap: 9px;
  margin-top: 15px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.35;
}
.agreement input { width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: #ffa0aa; }
.agreement input:focus-visible { outline: 2px solid #ffbcaa; outline-offset: 2px; }
.agreement label, .agreement input { cursor: pointer; }
.agreement a { display: block; width: fit-content; margin-top: 4px; color: #ffd1d9; text-decoration: underline; }

.offer-price {
  margin-top: 14px;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.075em;
}
.gallery-type { color: var(--muted); }
.gallery-type { font-size: .9rem; }
.buy { width: 100%; border: 0; cursor: pointer; }

.payment {
  width: min(calc(100% - 28px), 490px);
  max-height: calc(100dvh - 28px);
  padding: clamp(17px, 5vw, 28px);
  color: var(--paper);
  border: 1px solid #815870;
  border-radius: 19px;
  background: linear-gradient(148deg, #342037, #1b1424 70%);
  box-shadow: 0 20px 80px #08050bcc;
  overscroll-behavior: contain;
}
.payment[open] { animation: payment-in 210ms cubic-bezier(.24,.8,.29,1) both; }
.payment::backdrop { background: #09060cbb; backdrop-filter: blur(6px); }
body:has(.payment[open]) { overflow: hidden; }
@keyframes payment-in {
  from { opacity: 0; transform: translateY(12px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.payment-heading, .payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.payment-heading h2 { font-size: 1.9rem; letter-spacing: -.05em; }
.payment-close {
  width: 40px;
  height: 40px;
  font-size: 1.65rem;
  line-height: 1;
}
.payment-total { margin: 12px 0 19px; color: var(--muted); }
.payment-total strong { font-size: 1.5rem; color: var(--paper); }

.payment-method {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0 0 15px;
  border: 0;
}
.payment-method legend { font-size: .88rem; font-weight: 700; color: var(--muted); }
.payment-method legend { padding: 0 0 8px; }
.payment-method label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding-inline: 9px;
  border: 1px solid #634256;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease;
}
.payment-method input { accent-color: #ff9ca8; margin: 0; }
.payment-method label:has(:checked) { border-color: #ff9ca8; background: #522e48; }
.payment-method label:hover { border-color: #ffb9c2; }
.payment-method label:active { transform: scale(.97); }

.payment-breakdown {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #634256;
  border-radius: 10px;
  background: #160f1d;
}
.payment-breakdown div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 12px;
}
.payment-breakdown dd { font-weight: 800; overflow-wrap: anywhere; }
.payment-breakdown div:last-child { border-top: 1px solid #634256; padding-top: 9px; }
.payment-breakdown dt { color: var(--muted); font-size: .88rem; }
.payment-action, .payment-close {
  border-radius: 7px;
  border: 1px solid #80546b;
  background: #3a263b;
  color: var(--paper);
  font-weight: 750;
  cursor: pointer;
  transition: transform 190ms cubic-bezier(.2, 1.55, .45, 1), background 160ms ease;
}
.payment-action { padding: 8px 10px; min-height: 38px; font-size: .82rem; }
.payment-action:hover, .payment-close:hover { background: #592f4e; transform: translateY(-1px); }
.payment-action:active, .payment-close:active { transform: scale(.95); }
.payment-action:disabled { opacity: .55; cursor: default; transform: none; }
#refresh-quote { margin-top: 7px; }
.payment-note { margin-top: 10px; color: var(--muted); font-size: .87rem; line-height: 1.35; }

@media (prefers-reduced-motion: reduce) {
  .payment[open] { animation: none; }
}

@media (max-width: 280px) {
  .payment-method { grid-template-columns: 1fr; }
  .payment-total { flex-wrap: wrap; }
}
@media (max-width: 280px) {
  .payment { padding: 12px; }
  .payment-heading h2 { font-size: 1.25rem; }
  .payment-note { overflow-wrap: anywhere; }
}

.payment-wallet {
  display: grid;
  gap: 8px;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #634256;
  border-radius: 10px;
  background: #160f1d;
}
.payment-wallet label { color: var(--muted); font-size: .88rem; font-weight: 700; }
.payment-wallet textarea {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid #634256;
  border-radius: 6px;
  background: #24182c;
  color: var(--paper);
  font: .84rem/1.3 ui-monospace, Consolas, monospace;
  overflow-wrap: anywhere;
  resize: none;
}
.copy-status:empty { display: none; }

.locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
  margin-top: 26px;
}
.locations article { border-top: 1px solid #65445b; padding-block: 14px 6px; }
.locations h3 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  letter-spacing: -.035em;
}
.locations p { color: var(--muted); font-size: 1rem; line-height: 1.55; }

@media (max-width: 760px) {
  .gallery-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .locations { grid-template-columns: minmax(0, 1fr); }
}

.terms-page { max-width: 780px; overflow-wrap: anywhere; padding-block: clamp(32px, 7vw, 84px); }
.terms-page h1 { font-size: clamp(1.5rem, 6vw, 4.2rem); line-height: 1.05; letter-spacing: -.065em; overflow-wrap: anywhere; }
.terms-page h2 { margin-bottom: 12px; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.2; }
.terms-page p, .terms-page li { line-height: 1.65; color: var(--muted); }
.terms-page p + p { margin-top: 12px; }
.terms-page ul { padding-left: 1.35em; }
.terms-page li + li { margin-top: 7px; }
.terms-page section { margin-top: 30px; padding-top: 24px; border-top: 1px solid #49374e; }
.terms-page .terms-intro { margin-top: 20px; }
.terms-nav { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.terms-nav a, .terms-page a { color: #ffd1d9; text-decoration: underline; text-underline-offset: 3px; }

.language-select, .feedback select, .feedback textarea {
  border: 1px solid #72556b;
  border-radius: 7px;
  background: #211526;
  color: var(--paper);
  font: inherit;
}
.language-select { max-width: 100%; min-height: 36px; padding: 5px 8px; font-size: .85rem; }
.language-select:focus-visible, .feedback select:focus-visible, .feedback textarea:focus-visible {
  outline: 2px solid #ffc1cf;
  outline-offset: 2px;
}
.agreement span { min-width: 0; }
.site-footer { align-items: center; flex-wrap: wrap; }
.beta-note { padding: 5px 8px; border: 1px solid #6d5061; border-radius: 6px; color: #ead4df; }

.feedback form#feedback-form { display: grid; gap: 9px; margin-top: 15px; }
.feedback label { font-size: .9rem; font-weight: 750; }
.feedback select, .feedback textarea { width: 100%; min-width: 0; padding: 9px 10px; }
.feedback textarea { resize: vertical; }
.feedback .payment-note { margin-top: 1px; }
.feedback .buy { margin-top: 2px; }
.feedback .buy:disabled { opacity: .65; cursor: wait; transform: none; }
.feedback-status { margin-top: 12px; color: #ffd1d9; }
#feedback-copy { margin-top: 8px; }

@media (max-width: 560px) {
  .topbar-inner { flex-wrap: wrap; justify-content: space-between; gap: 5px 12px; padding-block: 6px; }
  .topbar nav { gap: 9px; flex-wrap: wrap; }
}

.payment-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 0 15px;
  padding: 8px 10px;
  border: 1px solid #634256;
  border-radius: 8px;
  background: #160f1d;
  color: var(--muted);
  font-size: .85rem;
}
.payment-status dd {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffd199;
  font-weight: 750;
}
.payment-status dd::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.payment-loading {
  padding: 26px 4px 16px;
  color: var(--muted);
  text-align: center;
  font-weight: 650;
}
.payment-progress {
  width: min(100%, 260px);
  height: 5px;
  overflow: hidden;
  margin: 13px auto 0;
  border-radius: 4px;
  background: #412d45;
}
.payment-progress::after {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffa77f, #ff7fae);
  content: "";
  transform-origin: left;
  animation: prepare-payment var(--payment-loading-duration) linear both;
}

@keyframes prepare-payment {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .payment-progress::after { animation: none; transform: scaleX(.4); }
}

#payment:has(#payment-loading:not([hidden])) {
  width: min(calc(100% - 28px), 300px);
  padding: 14px 16px;
}
#payment:has(#payment-loading:not([hidden])) .payment-heading h2 { font-size: 1.2rem; }
#payment:has(#payment-loading:not([hidden])) .payment-loading { padding: 10px 0 3px; font-size: .85rem; }
#payment:has(#payment-loading:not([hidden])) .payment-progress { width: min(100%, 180px); margin-top: 10px; }

.offer-version {
  display: inline-block;
  margin-left: 7px;
  padding: 4px 10px;
  border: 1px solid #8e5b78;
  border-radius: 999px;
  background: #42293f;
  color: #ffd1d9;
  font-size: .5em;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.pitch {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #6d4560;
  border-radius: 20px;
  background: linear-gradient(150deg, #351f38 0%, #1b1424 62%);
  box-shadow: 0 16px 60px #08050b6e;
}
.pitch::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(620px 240px at 10% -12%, #ff76a91f, transparent 70%),
    radial-gradient(520px 220px at 94% 118%, #5f7bff1c, transparent 70%);
}
.pitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid #8e5b78;
  border-radius: 999px;
  background: #42293f;
  color: #ffd1d9;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.pitch-badge::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(155deg, #ffb18c, #eb6ca4);
  content: "";
}
.pitch h2 {
  margin-top: 15px;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.pitch-lead {
  max-width: 56rem;
  margin-top: 13px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}
.pitch-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 26px);
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.pitch-points li {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, #ff9d92, #eb6ca4) 1;
  padding-top: 14px;
}
.pitch-points h3 { margin: 0 0 7px; font-size: 1.04rem; letter-spacing: -.02em; }
.pitch-points p { color: var(--muted); font-size: .92rem; line-height: 1.52; }

@media (max-width: 760px) {
  .pitch { grid-row: auto; }
  .pitch-points { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  h1 > span, h1 em { animation: none; background-position: 50% 50%; }
}
