:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: #0d1d30;
  --line: #21344b;
  --ink: #f7f9fc;
  --muted: #9eb0c6;
  --accent: #8b5cf6;
  --mint: #35d5b2;
  --danger: #ff7c75;
  font:
    16px/1.5 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(160deg, rgba(7, 17, 31, 0.91), rgba(6, 16, 28, 0.96)),
    radial-gradient(circle at 85% 0, rgba(98, 70, 190, 0.34), transparent 30rem),
    url("/background.webp");
  background-position: center, center, center top;
  background-size: cover, cover, cover;
  background-attachment: fixed;
  color: var(--ink);
}
button,
input,
textarea {
  font: inherit;
}
.top {
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 40px);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, #6d4aff, #a178ff);
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 12px 35px #7655ff45;
}
.brand span:last-child {
  display: grid;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.secure {
  font-size: 12px;
  color: #8de9d3;
  background: #123229;
  border: 1px solid #215746;
  padding: 7px 11px;
  border-radius: 99px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.install-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #8b5cf680;
  border-radius: 99px;
  background: #8b5cf620;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
main {
  width: min(100% - 30px, 680px);
  margin: 18px auto 80px;
}
.hero {
  text-align: center;
  padding: 34px 8px 26px;
}
.eyebrow {
  color: #a88dff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
}
.hero h1 {
  font-size: clamp(36px, 9vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 12px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero > p:last-child {
  max-width: 540px;
  margin: auto;
  color: var(--muted);
  font-size: 17px;
}
.card {
  background: linear-gradient(180deg, #102137, #0c1a2b);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(20px, 5vw, 36px);
  box-shadow: 0 30px 80px #0008;
}
.hidden {
  display: none !important;
}
.state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 180px;
  text-align: center;
}
.state p {
  color: var(--muted);
}
.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff20;
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.step {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 29px 0 15px;
}
.step:first-child {
  margin-top: 0;
}
.step > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: #7553ff;
  color: #fff;
  font-weight: 900;
}
.step div {
  display: grid;
}
.step small,
label small {
  color: var(--muted);
  font-weight: 400;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.choice {
  min-height: 72px;
  text-align: left;
  color: var(--ink);
  background: #0b1828;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  cursor: pointer;
}
.choice b,
.choice small {
  display: block;
}
.choice small {
  color: var(--muted);
  margin-top: 4px;
}
.choice.active {
  border-color: var(--mint);
  background: #0c2a2a;
  box-shadow: inset 0 0 0 1px var(--mint);
}
.people .choice {
  min-height: 58px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: #dce5f0;
}
.wide {
  grid-column: 1/-1;
}
input,
textarea {
  width: 100%;
  border: 1px solid #2a405a;
  background: #081522;
  color: #fff;
  border-radius: 14px;
  padding: 14px 15px;
  outline: none;
  min-height: 50px;
}
input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #8b5cf629;
}
textarea {
  min-height: 88px;
  resize: vertical;
}
.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 12px;
}
.slot {
  min-height: 46px;
  border: 1px solid var(--line);
  background: #081522;
  color: #e9eef5;
  border-radius: 13px;
  font-weight: 800;
}
.slot.active {
  background: var(--mint);
  border-color: var(--mint);
  color: #06251d;
}
.empty {
  grid-column: 1/-1;
  color: var(--muted);
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
}
.summary {
  margin-top: 24px;
  background: #071522;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.summary span {
  color: var(--muted);
}
.summary strong {
  color: var(--mint);
}
.primary,
.secondary,
.state button {
  border: 0;
  border-radius: 15px;
  min-height: 54px;
  padding: 0 20px;
  font-weight: 900;
  cursor: pointer;
}
.primary {
  width: 100%;
  margin-top: 14px;
  background: linear-gradient(135deg, #7653ff, #9d72ff);
  color: #fff;
  box-shadow: 0 14px 34px #7653ff36;
}
.primary:disabled {
  opacity: 0.55;
}
.privacy {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.payment-choice {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  border: 1px solid #265c50;
  background: #0b2a28;
  padding: 14px;
  border-radius: 16px;
}
.payment-choice input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--mint);
}
.payment-choice span {
  display: grid;
}
.success {
  text-align: center;
}
.success-icon {
  display: grid;
  place-items: center;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 22px;
  background: #103d34;
  color: var(--mint);
  font-size: 34px;
  font-weight: 900;
}
.success h2 {
  font-size: 30px;
  margin: 8px 0 20px;
}
.ticket {
  display: grid;
  gap: 9px;
  text-align: left;
  background: #071522;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
}
.ticket p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}
.ticket b {
  color: #fff;
  text-align: right;
}
.pix {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #f5f7fb;
  color: #07111f;
}
.pix img {
  display: block;
  width: min(250px, 100%);
  margin: 12px auto;
  border-radius: 12px;
}
.pix label {
  display: block;
  margin: 14px 0 7px;
  font-size: 0.86rem;
  font-weight: 900;
  color: #142238;
}
.pix textarea {
  height: 72px;
  min-height: 72px;
  background: #fff;
  color: #1a2634;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.secondary {
  width: 100%;
  margin-top: 8px;
  background: #0b2340;
  color: #fff;
}
.pix p {
  font-weight: 800;
  color: #6e4dd7;
}
.danger-link {
  margin: 18px auto 0;
  background: none;
  border: 0;
  color: var(--danger);
  font-weight: 800;
  cursor: pointer;
}
.link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.error {
  color: #ffd2cf;
}
.error button {
  background: #fff;
  color: #111;
}
footer {
  text-align: center;
  color: #71859d;
  font-size: 12px;
  padding: 30px;
}
.install-sheet {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: end center;
  padding: 18px;
}
.install-scrim {
  position: absolute;
  inset: 0;
  border: 0;
  background: #02060db8;
  backdrop-filter: blur(8px);
}
.install-card {
  position: relative;
  width: min(100%, 480px);
  padding: 28px;
  border: 1px solid #334861;
  border-radius: 25px;
  background: linear-gradient(180deg, #13263c, #0b192a);
  box-shadow: 0 28px 80px #000b;
}
.install-card h2 {
  margin: 6px 36px 8px 0;
  font-size: 25px;
  line-height: 1.12;
}
.install-card > p:not(.eyebrow) {
  color: var(--muted);
}
.install-close {
  position: absolute;
  right: 17px;
  top: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.install-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: #2d215c;
  color: #b8a7ff;
  font-size: 28px;
  font-weight: 900;
}
@media (max-width: 560px) {
  .secure {
    display: none;
  }
  .install-button {
    min-height: 36px;
    padding: 0 12px;
  }
  .choice-grid,
  .fields {
    grid-template-columns: 1fr;
  }
  .slots {
    grid-template-columns: repeat(3, 1fr);
  }
  .wide {
    grid-column: auto;
  }
  .hero {
    padding-top: 18px;
  }
  .card {
    border-radius: 22px;
  }
  .ticket p {
    font-size: 14px;
  }
}
