:root {
  color-scheme: dark;
  --bg: #100e15;
  --surface: #19151f;
  --text: #faf4f7;
  --muted: #c0b3c4;
  --line: #352b3c;
  --accent: #ff91ad;
  --quiet: #e2a3bd;
  --ink: #24131d;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(ellipse at 55% 0, #221629, transparent 55rem), var(--bg);
  font-size: 1rem;
  line-height: 1.5;
}
button, input, a { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
:focus-visible { outline: 2px solid #ffb3c7; outline-offset: 4px; }
figure { margin: 0; }
.wrap { width: min(100% - 3rem, 72rem); margin: 0 auto; }
.site-header {
  min-height: 5rem;
  padding-top: env(safe-area-inset-top, 0px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; font-weight: 850; letter-spacing: .08em; }
.brand-box { color: var(--accent); }
.brand-mark {
  width: 1.45rem;
  height: 1.45rem;
  margin-right: .55rem;
  border: 1px solid #ff8fab;
  border-radius: .38rem;
  background: radial-gradient(circle, #ffc3ad 0 16%, transparent 22%), #4d253f;
  box-shadow: 0 0 1.1rem #ff689443, inset 0 0 .55rem #ff9bb94d;
}
.nav-link { font-weight: 650; text-underline-offset: .25em; color: var(--muted); }
.hero {
  position: relative;
  background: #1d1421;
  border: 1px solid #422d45;
  border-radius: 1.55rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  margin-top: 1.85rem;
}
.hero-copy { position: relative; z-index: 1; align-self: center; padding: clamp(1.6rem, 5vw, 4.5rem); padding-right: 0; }
.eyebrow { margin: 0 0 1rem; color: var(--quiet); font-size: .875rem; font-weight: 780; letter-spacing: .14em; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3.35rem, 6.2vw, 6.1rem); font-weight: 820; }
h1 em { color: var(--accent); font-style: normal; }
.hero-copy > p:not(.eyebrow) { max-width: 24ch; color: #dbc8d7; margin: 1.2rem 0 1.6rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .63rem 1.03rem;
  border: 1px solid transparent;
  border-radius: .68rem;
  font-weight: 730;
  text-decoration: none;
  transition: background-color .16s, border-color .16s;
}
.primary { background: var(--accent); color: var(--ink); }
.primary:hover { background: #ffc2ce; }
.secondary { border-color: #604456; background: #2a1d2b; color: var(--text); }
.secondary:hover { border-color: #d589ab; background: #402639; }
.art { display: grid; position: relative; place-items: center; isolation: isolate; overflow: hidden; background-color: #1c1723; }
.hero-art { min-height: 29rem; }
.art figcaption {
  position: absolute;
  right: .85rem;
  bottom: .8rem;
  border: 1px solid #ffffff38;
  border-radius: 100px;
  background: #15101cde;
  color: #eee2ec;
  padding: .22rem .56rem;
  font-size: .875rem;
}
.sunset {
  background: radial-gradient(ellipse at 66% 62%, #843953 0%, #3b203a 40%, #221729 67%, #1d1421 85%);
}
.sunset-box {
  position: relative;
  width: min(66%, 24rem);
  aspect-ratio: 1.65;
  overflow: hidden;
  border: .55rem solid #302331;
  border-bottom-width: .85rem;
  border-right-width: .85rem;
  border-radius: .92rem;
  transform: perspective(60rem) rotateY(-11deg) rotateZ(-3deg);
  background: radial-gradient(ellipse at bottom, #db638a, #4a2345 68%);
  box-shadow: 0 1.55rem 2.3rem #160e1a, 0 0 3.2rem #ea54836b, inset 0 0 1.1rem #ff9c95aa;
}
.sun {
  position: absolute;
  left: 25%;
  top: 10%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(#ffd3a5, #fc6d96 79%);
  box-shadow: 0 0 1.8rem #ff8c9c;
}
.horizon {
  position: absolute;
  inset: 54% 0 0;
  background: repeating-linear-gradient(to bottom, #57294bcc 0 6%, #f276a4 8% 11%, #6c315a 14% 26%);
}
.art.has-image { background-image: var(--product-image); background-size: cover; background-position: center; }
.art.has-image .sunset-box, .art.has-image .sign-face { display: none; }
.hero .has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1d1421 0%, transparent 24%);
}
.catalog { padding: 4rem 0 3rem; scroll-margin-top: 1.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head .eyebrow { margin-bottom: .65rem; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 790; }
.section-head > p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.card .art { aspect-ratio: 1.7; }
.card .sunset .sign-face { color: #ffe0bd; background: #452036; box-shadow: 0 0 2.2rem #ff749570, inset 0 0 1rem #ff768778; }
.card .art.fgt { background: radial-gradient(ellipse, #493669, #211b36 60%, #171520); }
.card .art.gamertag { background: radial-gradient(ellipse, #244e52, #1b2c36 60%, #131c23); }
.sign-face {
  display: grid;
  place-items: center;
  min-width: 57%;
  min-height: 43%;
  border: .42rem solid #282632;
  border-bottom-width: .66rem;
  border-radius: .68rem;
  transform: perspective(30rem) rotateY(-9deg) rotateZ(-3deg);
  background: #302149;
  color: #e1cfff;
  box-shadow: 0 0 1.75rem #a77fe670, inset 0 0 1rem #bb9aff78;
  font-size: clamp(1.4rem, 3vw, 2.8rem);
  font-weight: 850;
  letter-spacing: .04em;
  text-shadow: 0 0 .5em currentColor;
}
.gamertag .sign-face { background: #1d4148; color: #a3fbef; box-shadow: 0 0 1.75rem #61e5d670, inset 0 0 1rem #81fcdf78; font-size: clamp(1.2rem, 2.5vw, 2.3rem); }
.card-body { padding: 1.05rem; }
.card-label { color: var(--muted); margin: 0 0 .4rem; font-size: .9rem; }
h3 { font-size: 1.7rem; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: .45rem; margin-top: 1rem; }
.price { font-weight: 780; white-space: nowrap; }
footer { padding: 1.3rem 0 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); }
.footer-brand { font-weight: 820; letter-spacing: .12em; color: var(--text); }
dialog {
  width: min(100% - 1.5rem, 31rem);
  max-height: calc(100% - 1.5rem);
  border: 1px solid #634459;
  border-radius: 1.15rem;
  padding: 0;
  background: #211824;
  color: var(--text);
}
dialog::backdrop { background: #100c16d9; }
.close { position: absolute; top: .6rem; right: .6rem; min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; font-size: 1.5rem; line-height: 1; border: 1px solid var(--line); color: var(--text); background: #312232; }
.offer-copy { padding: 1.55rem; }
.offer-copy h2 { padding-right: 2rem; }
.offer-price { color: var(--accent); font-size: 1.2rem; font-weight: 750; margin-bottom: .5rem; }
form { display: grid; gap: .85rem; }
label { display: grid; gap: .35rem; font-weight: 620; }
input { width: 100%; padding: .67rem .75rem; border: 1px solid #624c66; border-radius: .55rem; background: #15111a; color: var(--text); }
.form-hint, .form-status, .open-note { margin: 0; color: var(--muted); }
.form-hint { font-size: .875rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: #ffabae; }
.open-note { margin-bottom: .75rem; }
@media (max-width: 56rem) {
  .wrap { width: min(100% - 2rem, 70rem); }
  .hero-art { min-height: 24rem; }
  .card-action { align-items: stretch; flex-direction: column; }
}
@media (max-width: 41rem) {
  .site-header { min-height: 4.1rem; }
  .hero { margin-top: 1rem; grid-template-columns: 1fr; }
  .hero-copy { padding: 1.5rem 1.2rem .35rem; }
  h1 { font-size: clamp(2.8rem, 11vw, 4.4rem); }
  .hero-art { min-height: 0; aspect-ratio: 1.75; }
  .hero .has-image::before { background: linear-gradient(180deg, #1d1421, transparent 24%); }
  .catalog { padding-top: 2.5rem; }
  .section-head { align-items: start; flex-direction: column; gap: .5rem; }
  .cards { grid-template-columns: 1fr; }
  .card .art { aspect-ratio: 1.9; }
  .card-action { align-items: center; flex-direction: row; }
  .sign-face { font-size: 2.4rem; }
  .gamertag .sign-face { font-size: 2.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
