:root {
  --red: #c92622;
  --red-dark: #b51f1b;
  --orange: #f36b2a;
  --orange-dark: #de5b1f;
  --orange-soft: rgba(243, 107, 42, 0.12);
  --text: #161616;
  --text-soft: #6f6f6f;
  --bg: #f6f4f2;
  --panel: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 38, 34, 0.05), transparent 28%),
    linear-gradient(180deg, #faf8f6 0%, #f5f2ef 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  padding: 0;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(0,0,0,0.5) 0.8px, transparent 0.9px),
    radial-gradient(circle at 75% 60%, rgba(0,0,0,0.45) 0.7px, transparent 0.8px);
  background-size: 18px 18px, 24px 24px;
  z-index: 0;
}

.bg-net {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.08;
}

.bg-net::before,
.bg-net::after {
  content: "";
  position: absolute;
  inset: auto auto 14% -12%;
  width: 80%;
  height: 38%;
  border-top: 2px solid rgba(243, 107, 42, 0.45);
  border-bottom: 2px solid rgba(243, 107, 42, 0.28);
  transform: rotate(-8deg);
}

.bg-net::after {
  inset: auto -16% 22% auto;
  width: 78%;
  height: 34%;
  border-top: 2px solid rgba(243, 107, 42, 0.3);
  border-bottom: none;
  transform: rotate(7deg);
}

.corner-volleyball {
  position: fixed;
  right: -40px;
  bottom: -40px;
  width: min(58vw, 360px);
  aspect-ratio: 1;
  background: url("./volleyball_icon.png") no-repeat center / contain;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  filter: sepia(1) saturate(1.3) hue-rotate(-14deg) brightness(1.08);
}

.quiz-app {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}

.screen {
  display: none;
  min-height: 100vh;
}

.screen.active-screen {
  display: block;
}

.screen-card {
  min-height: 100vh;
  position: relative;
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-card {
  background: transparent;
}

.hero-block {
  background: var(--red);
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  padding: 22px 20px 0;
}

.hero-title {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(88px, 22vw, 120px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-title span:not(.hero-logo-wrap) {
  display: inline-block;
  transform: scaleX(0.85);
  transform-origin: center;
  margin-left: -0.075em;
  margin-right: -0.075em;
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.8em;
  height: 0.8em;
  background: #fff;
  border-radius: 2px;
}

.hero-logo {
  width: 66.6666%;
  height: auto;
  display: block;
}

.welcome-body {
  padding: 8px 20px 40px;
  position: relative;
}

.welcome-heading {
  font-size: clamp(34px, 8.8vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 900;
  margin-bottom: 18px;
  max-width: 340px;
}

.welcome-description {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 600;
  max-width: 340px;
  margin-bottom: 18px;
}

.info-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  background: rgba(255,255,255,0.78);
  color: #454545;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.badge-icon {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
}

.top-brand-row {
  display: flex;
  align-items: center;
  padding: 24px 0 30px;
}

.top-brand-row.centered {
  justify-content: center;
}

.brand-logo {
  width: 112px;
  height: auto;
  display: block;
}

.form-card,
.quiz-card,
.results-card {
  padding: 0 20px 34px;
}

.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
}

.step-indicator.centered {
  justify-content: center;
  width: 100%;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(243, 42, 42, 0.14);
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.step-label {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.screen-title {
  font-size: clamp(34px, 8.6vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
  margin-bottom: 12px;
}

.screen-subtitle,
.score-description,
.error-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 22px;
}

.data-form {
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  padding-left: 7px;
}

.form-field input {
  width: 100%;
  min-height: 54px;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.88);
  padding: 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.form-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 8px 4px rgba(243, 42, 42, 0.12);
}

.form-field input.field-error {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(201, 38, 34, 0.12);
  animation: shake .35s ease;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 0;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--red);
  border-radius: 6px;
  margin-top: 1px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"]:checked {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-field input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.checkbox-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  font-weight: 500;
}

.optional-text {
  color: var(--text-soft);
}

.progress-section {
  margin: 6px 0 22px;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.progress-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-soft);
}

.progress-percentage {
  font-size: 14px;
  font-weight: 800;
  color: var(--orange);
}

.progress-track {
  width: 100%;
  height: 10px;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 999px;
  transition: width .35s ease;
}

.question-number {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 800;
}

.current-q {
  font-size: 26px;
}

.divider,
.total-q {
  font-size: 16px;
  color: var(--text-soft);
}

.question-title {
  font-size: clamp(28px, 7vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 24px;
}

.options-grid {
  display: grid;
  gap: 12px;
}

.answer-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px;
  background: rgba(255,255,255,0.86);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.answer-option:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 107, 42, 0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.answer-option.selected {
  border-color: var(--orange);
  background: rgba(243, 107, 42, 0.08);
  box-shadow: 0 10px 26px rgba(243, 107, 42, 0.12);
}

.answer-option.selected .answer-text {
  color: #fff;
}

.answer-letter {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f1f1;
  color: var(--orange);
  font-weight: 900;
  font-size: 17px;
  flex-shrink: 0;
}

.answer-option.selected .answer-letter {
  background: var(--orange);
  color: #fff;
}

.answer-text {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #222;
}

.results-card {
  text-align: center;
}

.results-badge {
  width: 82px;
  height: 82px;
  margin: 6px auto 22px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 20px 40px rgba(243, 42, 42, 0.24);
}

.trophy-icon {
  width: 40px;
  height: 40px;
  color: #fff;
}

.score-display {
  font-size: clamp(58px, 16vw, 88px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  margin: 18px 0 14px;
}

.answers-review {
  text-align: left;
  margin: 28px 0;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.035);
}

.result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s ease, transform .28s ease;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.result-item.is-correct {
  border-left: 4px solid #18ac24;
}

.result-item.is-wrong {
  border-left: 4px solid var(--red);
}

.result-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.result-row-icon.is-correct {
  background: #dcfce7;
  color: #18ac24;
}

.result-row-icon.is-wrong {
  background: #fee2e2;
  color: #dc2626;
}

.result-item-body {
  flex: 1;
}

.result-row-question {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  color: #222;
  margin-bottom: 8px;
}

.result-row-answer-wrap {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.045);
}

.result-row-answer-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.result-row-answer-label.is-correct {
  color: #16a34a;
}

.result-row-answer-label.is-wrong {
  color: #dc2626;
}

.result-row-answer {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  margin-top: 2px;
}

.result-row-answer.is-correct {
  color: #16a34a;
}

.result-row-answer.is-wrong {
  color: #222;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-group .btn {
  min-width: 0;
}

.button-group .btn:first-child:nth-last-child(2),
.button-group .btn:first-child:nth-last-child(2) ~ .btn {
  flex: 1 1 160px;
}

.button-group .btn:only-child {
  flex: 0 0 auto;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.btn {
  min-height: 52px;
  border: none;
  border-radius: 999px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  font-size: 15px;
  font-weight: 800;
  font-family: "Inter", sans-serif;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 10px 24px rgba(201, 38, 34, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(201, 38, 34, 0.3);
}

.btn-secondary {
  color: #222;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
}

.btn-start {
  position: relative;
  text-transform: uppercase;
  font-size: 15px;
  min-width: 158px;
  box-shadow: 0 12px 26px rgba(201, 38, 34, 0.24);
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #d92d20;
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 18px 40px rgba(217,45,32,0.25);
  max-width: calc(100% - 32px);
}

#confettiCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.question-header {
  margin: 0 -20px 16px;
  padding: 54px 20px;
  background: var(--red);
  border-top: 1px solid rgba(255,255,255,0.25);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.question-header .question-title {
  color: #fff;
  margin: 0;
  font-size: 28px;
}

.progress-modern {
  position: relative;
  margin-bottom: 24px;
}

.progress-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 45px;
}

.progress-current {
  font-size: 35px;
  font-weight: 900;
  color: var(--red);
}

.progress-total {
  font-size: 16px;
  color: var(--text-soft);
}

.progress-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.progress-step {
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
}

.progress-step.active {
  background: var(--red);
}

.volleyball-indicator {
  position: absolute;
  top: 57px;
  left: 0;
  transform: translateX(0);
  transition: transform 0.4s cubic-bezier(.22,1.2,.36,1);
}

.ball {
  width: 22px;
  height: 22px;
  background: url('./volleyball_icon.png') no-repeat center/contain;
  animation: floatBounce 1s ease-in-out infinite;
}

@keyframes floatBounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.answer-option {
  border-radius: 20px;
  padding: 18px;
  font-size: 16px;
  font-weight: 700;
  background: rgba(255,255,255,0.9);
  border: 2px solid transparent;
}

.answer-option:hover {
  border-color: rgba(201,38,34,0.25);
}

.answer-option.selected {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
}

.answer-letter {
  display: none;
}

/* small mobile */
@media (max-width: 429px) {
  .hero-block {
    min-height: 242px;
  }

  .hero-title {
    gap: 6px;
    font-size: 80px;
  }

  .hero-logo-wrap {
    width: 0.72em;
    height: 0.72em;
  }

  .hero-logo {
    width: 66.6666%;
  }

  .welcome-body,
  .form-card,
  .quiz-card,
  .results-card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .welcome-heading {
    max-width: 310px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button-group .btn,
  .button-group .btn:first-child:nth-last-child(2),
  .button-group .btn:first-child:nth-last-child(2) ~ .btn,
  .button-group .btn:only-child {
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
    margin: 0;
  }

  .corner-volleyball {
    width: 270px;
    right: -58px;
    bottom: -38px;
  }
}

/* large mobile */
@media (min-width: 430px) and (max-width: 599px) {
  .quiz-app {
    max-width: 100%;
  }

  .screen,
  .screen-card {
    min-height: 100vh;
  }

  .hero-block {
    min-height: 280px;
    padding: 30px 24px 8px;
    align-items: flex-end;
  }

  .hero-title {
    justify-content: flex-start;
    gap: 8px;
    font-size: clamp(64px, 14vw, 82px);
    line-height: 0.9;
  }

  .hero-logo-wrap {
    width: 0.72em;
    height: 0.72em;
  }

  .hero-logo {
    width: 66.6666%;
  }

  .welcome-body {
    padding: 16px 24px 36px;
  }

  .welcome-heading {
    max-width: 430px;
    font-size: clamp(38px, 7.5vw, 50px);
    margin-bottom: 18px;
  }

  .welcome-description {
    max-width: 430px;
    font-size: 15.5px;
    line-height: 1.6;
  }

  .form-card,
  .quiz-card,
  .results-card {
    padding: 0 24px 34px;
  }

  .top-brand-row {
    padding: 24px 0 28px;
  }

  .brand-logo {
    width: 118px;
  }

  .screen-title {
    font-size: clamp(36px, 7vw, 46px);
  }

  .question-header {
    margin: 0 -24px 18px;
    padding: 54px 24px;
  }

  .question-header .question-title {
    font-size: clamp(28px, 5.6vw, 34px);
  }

  .progress-top {
    margin-bottom: 42px;
  }

  .progress-steps {
    gap: 7px;
  }

  .volleyball-indicator {
    top: 58px;
  }

  .ball {
    width: 23px;
    height: 23px;
  }

  .corner-volleyball {
    width: min(48vw, 300px);
    right: -24px;
    bottom: -24px;
    opacity: 0.11;
  }
}

/* tablet */
@media (min-width: 600px) and (max-width: 899px) {
  .page-shell {
    padding: 24px 16px;
  }

  .quiz-app {
    max-width: 640px;
    min-height: auto;
  }

  .screen,
  .screen-card {
    min-height: auto;
  }

  .welcome-card,
  .form-card,
  .quiz-card,
  .results-card {
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    backdrop-filter: blur(8px);
    overflow: hidden;
  }

  .form-card,
  .quiz-card,
  .results-card {
    padding: 0 28px 36px;
  }

  .hero-block {
    min-height: 280px;
    padding: 32px 28px 0;
  }

  .hero-title {
    font-size: clamp(72px, 10vw, 96px);
    justify-content: flex-start;
  }

  .hero-logo-wrap {
    width: 0.72em;
    height: 0.72em;
  }

  .hero-logo {
    width: 66.6666%;
  }

  .welcome-body {
    padding: 20px 28px 36px;
  }

  .welcome-heading {
    max-width: 460px;
    font-size: clamp(40px, 6vw, 54px);
  }

  .welcome-description {
    max-width: 460px;
    font-size: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-field input {
    min-height: 56px;
  }

  .question-header {
    margin: 0 -28px 20px;
    padding: 56px 28px;
  }

  .question-header .question-title {
    font-size: clamp(28px, 5vw, 36px);
  }

  .options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .answer-option {
    padding: 20px;
  }

  .answer-text {
    font-size: 15.5px;
  }

  .progress-top {
    margin-bottom: 40px;
  }

  .progress-steps {
    gap: 8px;
  }

  .volleyball-indicator {
    top: 60px;
  }

  .ball {
    width: 23px;
    height: 23px;
  }

  .button-group {
    justify-content: center;
  }

  .button-group .btn:first-child:nth-last-child(2),
  .button-group .btn:first-child:nth-last-child(2) ~ .btn {
    flex: 1 1 200px;
    max-width: 240px;
  }

  .button-group .btn:only-child {
    max-width: 300px;
  }

  .btn {
    min-height: 54px;
    font-size: 15px;
  }

  .corner-volleyball {
    width: min(40vw, 320px);
    right: -20px;
    bottom: -20px;
    opacity: 0.1;
  }
}

/* desktop */
@media (min-width: 900px) {
  .page-shell {
    padding: 40px 24px;
  }

  .quiz-app {
    max-width: 980px;
    min-height: auto;
  }

  .screen,
  .screen-card {
    min-height: auto;
  }

  .welcome-card {
    display: block;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
  }

  .hero-block {
    min-height: 320px;
    padding: 40px 40px 0;
    align-items: flex-end;
  }

  .hero-title {
    justify-content: flex-start;
    text-align: left;
    font-size: clamp(88px, 10vw, 120px);
  }

  .welcome-body {
    padding: 32px 40px 48px;
    text-align: left;
  }

  .welcome-heading {
    max-width: 560px;
    margin-bottom: 18px;
    font-size: clamp(44px, 4.2vw, 64px);
  }

  .welcome-description {
    max-width: 520px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .info-badges {
    justify-content: flex-start;
  }

  .btn-start {
    margin: 0;
    min-width: 220px;
    min-height: 58px;
  }

  .form-card,
  .quiz-card,
  .results-card {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 32px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.07);
    backdrop-filter: blur(10px);
    padding: 0 44px 42px;
  }

  .top-brand-row {
    padding: 34px 0 34px;
  }

  .brand-logo {
    width: 128px;
  }

  .screen-title {
    max-width: 700px;
    font-size: clamp(42px, 4.6vw, 62px);
    margin-bottom: 14px;
  }

  .screen-subtitle,
  .score-description,
  .error-note {
    max-width: 680px;
    font-size: 16px;
  }

  .data-form {
    margin-top: 28px;
  }

  .form-grid {
    gap: 16px;
  }

  .form-field input {
    min-height: 58px;
  }

  .checkbox-field {
    max-width: 720px;
    align-items: flex-start;
  }

  .checkbox-field input[type="checkbox"] {
    margin-top: 2px;
  }

  .checkbox-text {
    font-size: 15px;
  }

  .question-header {
    margin: 0 -44px 24px;
    padding: 64px 44px;
    border-radius: 28px 28px 0 0;
  }

  .question-header .question-title {
    max-width: 720px;
    font-size: clamp(34px, 3.3vw, 48px);
  }

  .progress-modern {
    margin-bottom: 30px;
    padding-top: 4px;
  }

  .progress-top {
    margin-bottom: 52px;
  }

  .progress-steps {
    gap: 10px;
  }

  .volleyball-indicator {
    top: 62px;
  }

  .ball {
    width: 24px;
    height: 24px;
  }

  .options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .answer-option {
    min-height: 92px;
    padding: 22px 20px;
    align-items: center;
  }

  .answer-text {
    font-size: 16px;
    line-height: 1.45;
  }

  .answers-review {
    margin: 32px auto 0;
    max-width: 720px;
  }

  .result-item {
    padding: 20px 22px;
  }

  .score-display {
    font-size: clamp(72px, 7vw, 104px);
  }

  .button-group {
    margin-top: 32px;
    justify-content: center;
  }

  .button-group .btn:first-child:nth-last-child(2),
  .button-group .btn:first-child:nth-last-child(2) ~ .btn {
    flex: 0 1 240px;
    max-width: 260px;
  }

  .button-group .btn:only-child {
    max-width: 340px;
  }

  .btn {
    min-height: 56px;
    padding: 0 28px;
    font-size: 15px;
  }

  .corner-volleyball {
    width: min(28vw, 420px);
    right: 10px;
    bottom: 10px;
    opacity: 0.09;
  }
}