.vsq-bleed {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: clip;
}

.vsq-app {
  --vsq-background: #071a46;
  --vsq-card: rgba(8, 31, 84, 0.58);
  --vsq-text: #f8faff;
  --vsq-muted: #d3dcf1;
  --vsq-gold-light: #f4dda4;
  --vsq-gold: #d8b568;
  --vsq-gold-deep: #a77d32;
  --vsq-border: rgba(190, 214, 255, 0.25);
  min-height: 100svh;
  color: var(--vsq-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.vsq-app,
.vsq-app * {
  box-sizing: border-box;
}

.vsq-app button,
.vsq-app input {
  font: inherit;
}

.vsq-shell {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(128deg, transparent 12%, rgba(135, 185, 255, 0.12) 46%, transparent 72%),
    radial-gradient(ellipse 85% 100% at 76% 22%, rgba(73, 145, 255, 0.38) 0%, rgba(49, 104, 211, 0.14) 42%, transparent 72%),
    radial-gradient(ellipse 90% 70% at 18% 90%, rgba(67, 92, 200, 0.28) 0%, transparent 68%),
    linear-gradient(160deg, #04102f 0%, #09265f 38%, #0c397e 62%, #071942 100%);
  isolation: isolate;
}

.vsq-shell::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 60px 70px, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(0.8px 0.8px at 100px 200px, #fff, transparent),
    radial-gradient(1px 1px at 200px 80px, rgba(255, 245, 220, 0.75), transparent),
    radial-gradient(1.4px 1.4px at 140px 250px, #fff, transparent),
    radial-gradient(0.8px 0.8px at 250px 150px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 300px 320px, #fff, transparent),
    radial-gradient(0.8px 0.8px at 50px 400px, rgba(220, 230, 255, 0.6), transparent),
    radial-gradient(1.4px 1.4px at 350px 50px, #fff, transparent);
  background-repeat: repeat;
  background-size: 400px 500px;
  content: "";
  mix-blend-mode: screen;
  opacity: 0.62;
  pointer-events: none;
  animation: vsq-twinkle 5s ease-in-out infinite alternate;
}

.vsq-shell::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(112deg, transparent 20%, rgba(224, 238, 255, 0.11) 48%, transparent 72%);
  background-position: 0 0;
  background-size: 180% 100%;
  content: "";
  pointer-events: none;
  animation: vsq-sheen 10s ease-in-out infinite alternate;
}

.vsq-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  min-height: 100svh;
  padding: 24px 20px 32px;
}

.vsq-inner--start {
  align-items: center;
  justify-content: center;
  max-width: none;
  padding: 0;
}

.vsq-shell--cover {
  background: #020c2a;
}

.vsq-shell--cover::before,
.vsq-shell--cover::after {
  display: none;
}

.vsq-cover {
  position: relative;
  width: min(100%, calc(100svh * 0.5624));
  height: 100svh;
  background-color: #020c2a;
  background-image: url("quiz-cover.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.vsq-cover__button {
  position: absolute;
  top: 76.4%;
  left: 50%;
  width: 46%;
  height: 7.2%;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 18px;
  outline: none;
  background: transparent;
  color: transparent;
  cursor: pointer;
  transform: translateX(-50%);
}

.vsq-cover__button:hover,
.vsq-cover__button:focus-visible {
  border-color: rgba(246, 205, 112, 0.48);
  background: rgba(246, 205, 112, 0.05);
  box-shadow: 0 0 28px rgba(246, 205, 112, 0.2);
}

.vsq-display {
  margin: 0;
  color: var(--vsq-text);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.vsq-brand {
  margin-bottom: 24px;
  text-align: center;
}

.vsq-brand__name {
  color: var(--vsq-gold-light);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0;
}

.vsq-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.vsq-divider::before,
.vsq-divider::after {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 181, 109, 0.55), transparent);
  content: "";
}

.vsq-divider__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--vsq-gold);
}

.vsq-start {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  text-align: center;
}

.vsq-start__title {
  margin-top: 4px;
  color: var(--vsq-gold-light);
  font-size: 48px;
  line-height: 0.98;
  text-shadow: 0 2px 16px rgba(4, 16, 52, 0.75), 0 0 22px rgba(209, 225, 255, 0.12);
}

.vsq-start__subtitle {
  max-width: 410px;
  margin: 12px auto 0;
  color: #eef3ff;
  font-size: 19px;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(1, 11, 42, 0.72);
}

.vsq-key {
  display: block;
  width: 120px;
  height: min(150px, 25svh);
  margin: 8px auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 22px rgba(151, 190, 255, 0.28));
}

.vsq-start__bottom {
  width: 100%;
}

.vsq-intro {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(194, 216, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(63, 112, 190, 0.24), rgba(8, 31, 84, 0.4));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 38px rgba(2, 15, 55, 0.2);
  color: var(--vsq-muted);
  font-size: 14px;
  line-height: 1.55;
  backdrop-filter: blur(16px) saturate(1.15);
}

.vsq-card {
  width: 100%;
  padding: 26px;
  border: 1px solid var(--vsq-border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(89, 137, 211, 0.2), rgba(5, 25, 74, 0.36)),
    var(--vsq-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 24px 72px rgba(2, 14, 52, 0.34),
    0 0 38px rgba(94, 153, 241, 0.1);
  backdrop-filter: blur(20px) saturate(1.2);
}

.vsq-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.vsq-back {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--vsq-muted);
  cursor: pointer;
  font-size: 13px;
}

.vsq-back:hover,
.vsq-back:focus-visible {
  color: var(--vsq-gold-light);
}

.vsq-counter {
  color: var(--vsq-muted);
  font-size: 13px;
}

.vsq-progress {
  width: 100%;
  height: 4px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 238, 0.1);
}

.vsq-progress__fill {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--vsq-gold-deep), var(--vsq-gold-light), var(--vsq-gold));
  box-shadow: 0 0 18px rgba(215, 181, 109, 0.32);
  transition: width 400ms ease;
}

.vsq-question {
  margin: 0 0 20px;
  font-size: 29px;
  line-height: 1.14;
}

.vsq-answers {
  display: grid;
  gap: 10px;
}

.vsq-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(215, 229, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 169, 235, 0.12), rgba(12, 47, 116, 0.2));
  color: var(--vsq-text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
  text-align: left;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.vsq-radio {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(224, 234, 255, 0.55);
  border-radius: 50%;
  background: rgba(4, 22, 67, 0.34);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.vsq-radio::after {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--vsq-gold-light);
  box-shadow: 0 0 10px rgba(232, 199, 125, 0.5);
  content: "";
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 150ms ease, transform 150ms ease;
}

.vsq-answer__text {
  flex: 1 1 auto;
  min-width: 0;
}

.vsq-answer:hover {
  border-color: rgba(202, 220, 255, 0.42);
  background: linear-gradient(135deg, rgba(141, 184, 246, 0.18), rgba(18, 58, 132, 0.25));
}

.vsq-answer.is-selected {
  border-color: rgba(232, 203, 139, 0.72);
  background: linear-gradient(135deg, rgba(216, 181, 104, 0.16), rgba(24, 69, 148, 0.28));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 22px rgba(198, 216, 255, 0.12);
}

.vsq-answer.is-selected .vsq-radio {
  border-color: var(--vsq-gold-light);
}

.vsq-answer.is-selected .vsq-radio::after {
  opacity: 1;
  transform: scale(1);
}

.vsq-hint {
  margin: 14px 0 0;
  color: var(--vsq-muted);
  font-size: 13px;
  text-align: center;
}

.vsq-question-spacer {
  flex: 0 0 82px;
  height: 82px;
}

.vsq-button.vsq-question-next {
  position: fixed;
  bottom: max(14px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 20;
  width: min(420px, calc(100vw - 28px));
  transform: translateX(-50%);
  box-shadow:
    0 18px 46px rgba(2, 14, 52, 0.46),
    0 12px 34px rgba(192, 151, 68, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.vsq-button.vsq-question-next:active:not(:disabled) {
  transform: translateX(-50%) scale(0.985);
}

.vsq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 13px 20px;
  border: 1px solid rgba(247, 230, 187, 0.7);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, var(--vsq-gold-light) 0%, var(--vsq-gold) 42%, var(--vsq-gold-deep) 100%);
  box-shadow: 0 14px 36px rgba(192, 151, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  color: #17120a;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.vsq-button--compact {
  max-width: 320px;
}

.vsq-button:hover:not(:disabled) {
  filter: brightness(1.04) saturate(1.04);
  box-shadow: 0 18px 42px rgba(214, 168, 79, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.vsq-button:active:not(:disabled) {
  transform: scale(0.985);
}

.vsq-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.vsq-time,
.vsq-signature {
  color: var(--vsq-muted);
  font-size: 12px;
}

.vsq-time {
  margin-top: 8px;
}

.vsq-signature {
  margin-top: 8px;
  color: var(--vsq-gold);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.3em;
}

.vsq-contact-title {
  margin: 0 0 14px;
  font-size: 31px;
  line-height: 1.12;
}

.vsq-copy {
  margin: 0 0 20px;
  color: var(--vsq-muted);
  font-size: 15px;
  line-height: 1.65;
}

.vsq-form {
  display: grid;
  gap: 12px;
}

.vsq-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 250, 238, 0.16);
  border-radius: 14px;
  outline: none;
  background: rgba(255, 250, 238, 0.06);
  color: var(--vsq-text);
  font-size: 15px;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.vsq-input:focus {
  border-color: rgba(248, 230, 160, 0.65);
  background: rgba(255, 250, 238, 0.09);
  box-shadow: 0 0 18px rgba(215, 181, 109, 0.15);
}

.vsq-input::placeholder {
  color: rgba(201, 192, 170, 0.58);
}

.vsq-error {
  min-height: 20px;
  margin: 0;
  color: var(--vsq-gold-light);
  font-size: 13px;
}

.vsq-privacy {
  margin: 16px 4px 0;
  color: var(--vsq-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.vsq-result-kicker {
  margin-bottom: 14px;
  color: var(--vsq-gold-light);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.vsq-result-title {
  margin: 0 0 20px;
  font-size: 33px;
  line-height: 1.12;
}

.vsq-section {
  margin-bottom: 24px;
}

.vsq-section h3 {
  margin: 0 0 8px;
  color: var(--vsq-gold-light);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 500;
}

.vsq-section p,
.vsq-section li {
  color: var(--vsq-muted);
  font-size: 15px;
  line-height: 1.65;
}

.vsq-section p {
  margin: 0;
}

.vsq-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vsq-list li {
  position: relative;
  padding-left: 18px;
}

.vsq-list li::before {
  position: absolute;
  top: 0;
  left: 2px;
  color: var(--vsq-gold);
  content: "·";
}

.vsq-telegram {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(215, 181, 109, 0.22);
}

.vsq-telegram h3 {
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.15;
}

.vsq-telegram p {
  margin: 0 0 18px;
  color: var(--vsq-muted);
  font-size: 14px;
  line-height: 1.6;
}

.vsq-fade {
  animation: vsq-fade-in 420ms ease;
}

.vsq-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vsq-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.vsq-app :focus-visible {
  outline: 2px solid var(--vsq-gold-light);
  outline-offset: 3px;
}

@keyframes vsq-twinkle {
  from { opacity: 0.58; }
  to { opacity: 0.95; }
}

@keyframes vsq-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vsq-sheen {
  from { background-position: 0 0; opacity: 0.55; }
  to { background-position: 100% 0; opacity: 0.92; }
}

@media (max-width: 600px) {
  .vsq-inner {
    padding: 16px 14px 24px;
  }

  .vsq-inner--start {
    padding: 0;
  }

  .vsq-brand {
    margin-bottom: 18px;
  }

  .vsq-start__title {
    font-size: 41px;
  }

  .vsq-start__subtitle {
    font-size: 18px;
  }

  .vsq-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .vsq-question {
    font-size: 27px;
  }

  .vsq-answer {
    padding: 13px 14px;
    font-size: 14.5px;
  }

  .vsq-result-title {
    font-size: 30px;
  }
}

@media (max-height: 680px) {
  .vsq-start__title {
    font-size: 38px;
  }

  .vsq-key {
    height: 112px;
  }

  .vsq-start__subtitle {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vsq-shell::before,
  .vsq-shell::after,
  .vsq-fade {
    animation: none;
  }

  .vsq-app * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
