* {
  box-sizing: border-box;
}

:root {
  --bg: #1b2838;
  --panel: rgba(94, 117, 147, 0.82);
  --panel-dark: #2a3f5a;
  --top: #171a21;
  --top-2: #242a35;
  --text: #f3f6fb;
  --muted: #d4dbe5;
  --blue: #67a8f5;
  --blue-2: #4f7ee8;
  --input: #2b3340;
  --danger: #ffd0d0;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top, rgba(98, 137, 180, 0.28), transparent 34%),
    linear-gradient(180deg, #202f42 0%, #162334 100%);
  font-family: "Motiva Sans", sans-serif;
  color: var(--text);
}

body {
  display: flex;
  justify-content: center;
}

button,
input {
  font: inherit;
}

.mockup-note {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 14, 20, 0.72);
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.phone-page {
  width: min(100%, 430px);
  min-height: 100vh;
  background: rgb(15, 25, 36);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.38);
}

.topbar {
  background: linear-gradient(180deg, var(--top-2), var(--top));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-row {
  min-height: 76px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 4px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.72) contrast(0.95);
  opacity: 0.95;
}

.brand-name {
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #adb4bf;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 3px;
}

.icon-button,
.help-button {
  border: 0;
  color: #eef3fa;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  height: 42px;
  font-size: 39px;
  line-height: 1;
}

.help-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 31px;
  font-weight: 800;
}

.nav-row {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 10px 12px 15px;
}

.nav-row button {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.page-title {
  padding: 24px 24px 21px;
  background: rgb(28, 47, 68);
  font-size: clamp(24px, 10vw, 25px);
  font-weight: 860;
  text-shadow: 0 2px 1px rgba(0,0,0,.35);
}

.content-shell {
  padding: 32px 18px 50px;
  background: rgb(15, 25, 36);
  
}

.panel {
  padding: 30px 20px 27px;
  background: rgb(28, 47, 68);
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 30px rgba(0,0,0,.16);
}

.panel h1,
.success-title {
  margin: 0 0 29px;
  font-size: clamp(18px, 6.2vw, 23px);
  line-height: 1.38;
  letter-spacing: .04em;
  font-weight: 400;
}

.entry-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}

#productKey {
  width: 100%;
  min-width: 0;
  border: 2px solid #50667d;
  background: var(--input);
  color: #fff;
  padding: 14px 13px;
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}

#productKey:focus {
  border-color: #84b8ef;
  box-shadow: 0 0 0 3px rgba(87, 160, 238, .17);
}

.primary-button,
.secondary-button {
  border: 0;
  border-radius: 2px;
  padding: 0 22px;
  min-height: 54px;
  color: white;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px rgba(255,255,255,.2);
}

.primary-button {
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
}

.secondary-button {
  background: linear-gradient(90deg, #4d6ea4, #5d76b6);
}

.agreement {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
}

.agreement input {
  width: 21px;
  height: 21px;
  accent-color: #66a8f1;
  flex: 0 0 auto;
}

.error {
  min-height: 23px;
  margin: 14px 0 0;
  color: var(--danger);
  font-weight: 700;
}

.info-copy {
  padding: 25px 3px 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.info-copy code {
  display: inline-block;
  padding: 8px 10px;
  background: rgba(0,0,0,.2);
  color: #fff;
}
.success-shell {
  padding-top: 45px;
  background: transparent;
}
.success-copy {
  margin: 0 0 24px;
  padding: 24px 18px;
  background: rgba(67, 79, 104, .58);
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
}

.product-card h2 {
  margin: 0;
  padding: 13px 14px;
  background: rgba(26, 31, 42, .48);
  font-size: 22px;
}

.game-art {
  position: relative;
  overflow: hidden;
  height: 275px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(115deg, rgba(255, 49, 128, .85), transparent 34%),
    linear-gradient(235deg, rgba(64, 183, 255, .78), transparent 40%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.05) 0 2px,
      rgba(0,0,0,.03) 2px 8px
    ),
    #5f2d3d;
}

.art-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.6), rgba(255,171,82,.25) 35%, transparent 70%);
  filter: blur(2px);
  transform: translate(65px, -20px);
}

.art-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  transform: rotate(-5deg);
  font-size: clamp(38px, 12vw, 63px);
  line-height: .83;
  font-weight: 900;
  letter-spacing: -.06em;
  text-align: center;
  text-shadow: 0 5px 0 rgba(0,0,0,.28);
}

.art-title span:first-child {
  color: #f4ee51;
}

.art-title span:last-child {
  color: #ff79c6;
}

.success-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 28px;
}

@media (max-width: 390px) {
  .entry-row {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .success-actions {
    flex-direction: column;
  }

  .nav-row {
    gap: 14px;
  }
}


.page-title,
.panel h1,
.success-title,
.nav-row button,
.brand-name,
.primary-button,
.secondary-button {
  font-family: "Motiva Sans", "Segoe UI", Arial, Helvetica, sans-serif;
}

.success-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.success-check {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #5fbf4a;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255,255,255,.22);
}

.game-art {
  position: relative;
  overflow: hidden;
  height: 275px;
  background: #1b1f27;
}

.game-art-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Hide old decorative art rules if they remain unused */
.art-glow,
.art-title {
  display: none !important;
}

/* Success-page refinements */
.success-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-check {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #5ba32b;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px rgba(255,255,255,.25), 0 1px 2px rgba(0,0,0,.25);
}

.game-art {
  height: auto;
  aspect-ratio: 590 / 338;
  background: #1b1f27;
}

.game-art-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
#successScreen {
  min-height: calc(100vh - 130px);
 background-color: rgb(15, 25, 36);

  background-image: radial-gradient(
    ellipse 90% 430px at 50% 0%,
    rgba(94, 174, 255, 0.42) 0%,
    rgba(94, 174, 255, 0.18) 28%,
    rgba(94, 174, 255, 0.05) 52%,
    rgba(94, 174, 255, 0) 75%
  );

  background-repeat: no-repeat;
}

#activationScreen {
  min-height: calc(100vh - 130px);
  background: rgb(15, 25, 36);
}

#successScreen .content-shell {
  background: transparent;
}.page-title