:root {
  --text: white;
  --input-bg: rgba(0, 0, 0, 0.33);
  --blessing: rgba(35, 124, 168, 1);
  --blessing-faded: rgba(35, 124, 168, 0.2);
  --curse: rgba(203, 58, 51, 1);
  --curse-faded: rgba(203, 58, 51, 0.2);
  --blessing-gradient: linear-gradient(159deg, #115478 0%, #42176A 100%);
  --curse-gradient: linear-gradient(159deg, #501C44 0%, #752C24 100%);
  --blessing-bg: linear-gradient(109deg, #0F284F 0%, #111 100%);
  --curse-bg: linear-gradient(109deg, #111 0%, #5E1D1F 100%);
}

body {
  font-size: 18px;
  font-family: "Instrument Sans";
  background: black;
  background-size: cover;
  color: var(--text);
  margin: 0;
  padding: 0;
}
body.comingsoon {
  text-align: center;
  padding-top: 6em;
  background: linear-gradient(90deg, #0F3C5B 0%, #111 49.52%, #5E1D1F 100%);
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-family: "Platypi";
}

p {
  margin: 0;
  margin-top: 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

.card {
  display: inline-block;
  margin: 1em;
  width: 240px;
  border-radius: 24px;
  padding: 16px;
  padding-top: 32px;
  box-sizing: border-box;
  vertical-align: top;
  height: 400px;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset, 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease-out;
  cursor: pointer;
}
.card.type-0 {
  background: var(--blessing-gradient);
  transform: rotate(-2deg);
}
.card.type-0:hover {
  transform: rotate(-1deg) scale(1.05);
}
.card.type-1 {
  background: var(--curse-gradient);
  transform: rotate(2deg);
}
.card.type-1:hover {
  transform: rotate(1deg) scale(1.05);
}
.card .content {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
}
.card .content .button:hover {
  transform: scale(1);
}

#step-0 {
  padding: 2em 0;
  background: linear-gradient(109deg, #0F3C5B 0%, #111 49.52%, #5E1D1F 100%);
}
#step-0 #cards {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#steps {
  padding: 2em 0;
}
#steps.confirm {
  min-height: 100vh;
  box-sizing: border-box;
}
#steps.type-0 {
  background-image: var(--blessing-bg);
}
#steps.type-0 #container {
  background-image: var(--blessing-gradient);
}
#steps.type-1 {
  background-image: var(--curse-bg);
}
#steps.type-1 #container {
  background-image: var(--curse-gradient);
}

#container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 24px;
  padding: 32px 32px 128px 32px;
  box-sizing: border-box;
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset, 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}
#container a {
  cursor: pointer;
}
#container .button.big {
  min-width: 200px;
  position: absolute;
  bottom: 24px;
  right: 32px;
}
#container #close {
  position: absolute;
  top: 32px;
  right: 32px;
  cursor: pointer;
}
#container #close:hover {
  transform: scale(1.3);
}
#container #back {
  position: absolute;
  left: 32px;
  bottom: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

input[type=text] {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 16px;
  background: var(--input-bg);
  border: 1px solid transparent;
  color: inherit;
  font: inherit;
  margin: 0;
  margin-top: 0.5em;
  border-radius: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.33);
}
input[type=text]::placeholder {
  opacity: 0.33;
}
input[type=text]:focus {
  border-color: var(--text);
  outline: none;
}

label.text-label {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
}

.button {
  display: inline-block;
  color: inherit;
  font: inherit;
  text-align: inherit;
  padding: 10px 16px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
.button.big {
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.3) inset, 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  line-height: 1.5;
}
.button.big i[class*=fa-] {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
}
.button.big.icon-left {
  text-align: center;
}
.button.big.icon-left i[class*=fa-] {
  position: relative;
  top: auto;
  right: auto;
  transform: none;
  margin-right: 0.5em;
}
.button:hover {
  transform: scale(1.05);
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.button:disabled:hover {
  transform: scale(1);
}

#container footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}
#container footer .button.big {
  position: relative;
  bottom: auto;
  right: auto;
}

#container.confirm {
  padding-bottom: 32px;
  text-align: center;
}

.type-0 .button {
  background: var(--blessing);
}

.type-1 .button {
  background: var(--curse);
}

.type-0 .button.secondary {
  background: var(--blessing-faded);
}

.type-1 .button.secondary {
  background: var(--curse-faded);
}

.type-0 .options li label {
  background: var(--blessing-faded);
}

.type-1 .options li label {
  background: var(--curse-faded);
}

.type-0 .options li input:checked + label {
  background: var(--blessing);
}

.type-1 .options li input:checked + label {
  background: var(--curse);
}

.options {
  list-style: none;
  padding: 0;
  margin: 1em 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}
.options input {
  visibility: hidden;
  position: absolute;
  top: -9999px;
}
.options li {
  flex-grow: 1;
}
.options li:hover label {
  border: 2px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.options li label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid transparent;
  padding: 16px;
  border-radius: 16px;
  transition: all 0.15s ease-out;
}
.options input:checked + label {
  border: 2px solid;
}

#payment {
  text-align: right;
  width: 67%;
  margin: 2em 0 0 auto;
}

#container.step-4 {
  padding-bottom: 32px;
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
#loading div {
  width: 300px;
  text-align: center;
}

#canvas {
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.33);
  margin: 1em auto 0 auto;
  transition: all 0.15s ease-out;
}
#canvas:hover {
  cursor: pointer;
  transform: scale(1.01);
}

#description {
  padding: 2em 0;
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.4;
}
#description details {
  margin: 1em 0;
  padding-left: 2rem;
}
#description details summary {
  margin-left: -2rem;
  cursor: pointer;
}
#description details summary:hover {
  color: #CB7CA8;
  transition: all 0.15s ease-out;
}
#description details p:last-child {
  margin-bottom: 2em;
}

#product-description {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1em;
  font-style: italic;
  font-weight: bold;
  text-shadow: 0 2px 0 black;
}