/* Confirmation page: warm violet surfaces echo the Gaming Select UK shell. */
:root {
  --success-ink: #261c33;
  --success-muted: #6d6675;
  --success-purple: #6e37c5;
  --success-purple-deep: #45218b;
  --success-lilac: #f4efff;
  --success-line: #e8e1f0;
  --success-surface: #ffffff;
}

body {
  margin: 0;
  padding-top: 88px;
  color: var(--success-ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The shell header is absolute on the homepage; give it a solid helper-page surface. */
body > .gaming-hero__header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  padding: 16px max(5vw, calc((100vw - 1180px) / 2));
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(38, 28, 51, .08);
}

main {
  display: block;
  padding-top: 0;
}

.success-hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 24px 88px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 10%, #f4efff 0, #faf8ff 41%, #fff 78%);
  text-align: center;
}

.success-hero::before,
.success-hero::after {
  position: absolute;
  z-index: 0;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(110, 55, 197, .1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.success-hero::before { top: -190px; left: -90px; }
.success-hero::after { right: -100px; bottom: -245px; width: 390px; height: 390px; }

.success-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.success-eyebrow {
  margin: 0 0 16px;
  color: var(--success-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
}

.success-mark {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 26px;
  place-items: center;
  border: 1px solid #dfd2f6;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8252d6, #5e2fb0);
  box-shadow: 0 12px 30px rgba(94, 47, 176, .2);
  font-size: 34px;
  font-weight: 600;
}

.success-hero h1 {
  max-width: 730px;
  margin: 0 auto 18px;
  color: var(--success-ink);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.success-lede {
  max-width: 590px;
  margin: 0 auto;
  color: var(--success-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.success-reference {
  display: inline-flex;
  margin: 26px 0 0;
  padding: 9px 14px;
  align-items: center;
  border: 1px solid #e4daf3;
  border-radius: 999px;
  color: #50327c;
  background-color: rgba(255, 255, 255, .8);
  font-size: 13px;
  font-weight: 650;
}

.success-actions {
  display: flex;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.success-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.success-button:hover { transform: translateY(-2px); }
.success-button:focus-visible { outline: 3px solid #bd9df1; outline-offset: 3px; }

.success-button--primary {
  border-color: var(--success-purple);
  color: #fff;
  background-color: var(--success-purple);
  box-shadow: 0 8px 18px rgba(110, 55, 197, .18);
}

.success-button--primary:hover {
  border-color: var(--success-purple-deep);
  color: #fff;
  background-color: var(--success-purple-deep);
}

.success-button--quiet {
  border-color: #dcd4e6;
  color: #392c49;
  background-color: #fff;
}

.success-button--quiet:hover { color: #392c49; background-color: #f5f1fa; }

.success-next {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px 78px;
  align-items: center;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(40px, 7vw, 88px);
}

.success-next__copy h2,
.success-return__panel h2 {
  margin: 0 0 16px;
  color: var(--success-ink);
  font-size: clamp(27px, 3.4vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.15;
}

.success-next__copy > p:not(.success-eyebrow),
.success-return__panel > div > p:not(.success-eyebrow) {
  margin: 0;
  color: var(--success-muted);
  font-size: 16px;
  line-height: 1.75;
}

.success-steps {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 15px;
  list-style: none;
}

.success-steps li {
  display: flex;
  min-height: 50px;
  align-items: center;
  gap: 14px;
}

.success-step__number {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--success-line);
  border-radius: 50%;
  color: #776c84;
  background-color: #fff;
  font-size: 12px;
  font-weight: 750;
}

.success-steps li[data-step-state="complete"] .success-step__number {
  border-color: #e4daf3;
  color: #fff;
  background-color: var(--success-purple);
}

.success-steps strong,
.success-steps small { display: block; }
.success-steps strong { color: var(--success-ink); font-size: 14px; }
.success-steps small { margin-top: 3px; color: var(--success-muted); font-size: 13px; line-height: 1.5; }

.success-art {
  position: relative;
  display: grid;
  min-height: 350px;
  place-items: center;
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, #dbcefa 0%, #eee8ff 43%, #c5aff1 100%);
  box-shadow: 0 22px 50px rgba(43, 27, 62, .14);
}

.success-visual {
  position: relative;
  display: grid;
  width: min(78%, 420px);
  aspect-ratio: 1.15;
  place-items: center;
  transform: rotate(-5deg);
}

.success-visual__orb {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.success-visual__orb--one {
  top: 7%;
  right: 4%;
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #ffc978, #f78ba5);
  box-shadow: 0 16px 32px rgba(181, 99, 150, .23);
}

.success-visual__orb--two {
  bottom: 8%;
  left: 2%;
  width: 54px;
  height: 54px;
  background: linear-gradient(140deg, #6dd8cb, #5f87db);
}

.success-visual__screen {
  position: relative;
  display: flex;
  width: 78%;
  height: 68%;
  padding: 20px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  border: 8px solid #34264c;
  border-radius: 22px;
  background: linear-gradient(135deg, #4a3c77, #8055be 58%, #db80bc);
  box-shadow: 0 26px 50px rgba(41, 27, 69, .28);
}

.success-visual__screen i {
  display: block;
  width: 20%;
  height: 46%;
  border: 1px solid rgba(255,255,255,.56);
  border-radius: 9px;
  background: linear-gradient(160deg, #f8c978, #f38d9c 56%, #7a8deb);
  box-shadow: inset 0 -12px 15px rgba(48, 34, 83, .2);
}

.success-visual__screen i:nth-child(2) { height: 62%; background: linear-gradient(160deg, #91e3d8, #6ca1dd 58%, #a47ee3); }
.success-visual__screen i:nth-child(3) { height: 52%; background: linear-gradient(160deg, #fde285, #e58dbc 56%, #815ad5); }
.success-visual__screen b { position: absolute; right: 13px; bottom: 12px; color: #fff; font-size: 10px; letter-spacing: .17em; }

.success-visual__tile {
  position: absolute;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(140deg, #7651c7, #aa62cf);
  box-shadow: 0 12px 24px rgba(55, 35, 97, .2);
  font-size: 24px;
}

.success-visual__tile--one { top: 11%; left: 3%; }
.success-visual__tile--two { right: 1%; bottom: 12%; background: linear-gradient(140deg, #e685a5, #eea46e); }
.success-visual__tile--three { bottom: 0; left: 29%; width: 35px; height: 35px; font-size: 18px; }

.success-art::after {
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(28, 18, 41, .2));
  content: "";
  pointer-events: none;
}

.success-return { padding: 14px 28px 82px; }

.success-return__panel {
  display: grid;
  max-width: 1064px;
  min-height: 208px;
  margin: auto;
  padding: 34px 42px;
  box-sizing: border-box;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  border: 1px solid #eee8f5;
  border-radius: 22px;
  background: linear-gradient(110deg, #fbf9ff, #f3edff);
}

.success-return__spark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background-color: #7240c3;
  font-size: 26px;
}

.success-return__panel .success-eyebrow { margin-bottom: 9px; }
.success-return__panel h2 { margin-bottom: 9px; font-size: clamp(23px, 2.7vw, 30px); }
.success-return__panel > .success-button { white-space: nowrap; }

.success-noscript {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  body { padding-top: 76px; }
  body > .gaming-hero__header { min-height: 76px; padding: 12px 20px; }
  .success-hero { padding: 60px 20px 64px; }
  .success-hero::before { left: -240px; }
  .success-hero::after { right: -280px; }
  .success-mark { width: 64px; height: 64px; margin-bottom: 22px; font-size: 29px; }
  .success-actions { flex-direction: column; align-items: stretch; }
  .success-actions .success-button { width: 100%; }
  .success-next { padding: 54px 22px 56px; grid-template-columns: 1fr; gap: 30px; }
  .success-art { min-height: 270px; max-height: 360px; }
  .success-return { padding: 0 22px 58px; }
  .success-return__panel { padding: 28px 24px; grid-template-columns: auto 1fr; gap: 18px; }
  .success-return__panel > .success-button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 420px) {
  body > .gaming-hero__header { padding-inline: 14px; }
  .success-hero h1 { font-size: 37px; }
  .success-next { padding-inline: 18px; }
  .success-art { min-height: 220px; }
  .success-return { padding-inline: 18px; }
  .success-return__panel { padding: 24px 20px; }
  .success-return__spark { width: 44px; height: 44px; }
}

/* Bound the shared logo asset on the standalone confirmation page. */
body > .gaming-hero__header .gaming-hero__brand { display: inline-flex; min-width: 0; max-width: 100%; }
body > .gaming-hero__header .gaming-hero__brand img { display: block; width: min(100%, 190px); max-width: 190px; height: auto; }
