* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  background:
    radial-gradient(circle at 88% 3%, rgba(255, 68, 15, 0.18), transparent 33%),
    radial-gradient(circle at 5% 95%, rgba(255, 68, 15, 0.08), transparent 34%),
    #07080a;

  color: #fff;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Inter,
    Arial,
    sans-serif;
}

button,
input {
  font-family: inherit;
}


/* BACKGROUND */

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(110px);
}

.ambient-one {
  width: 440px;
  height: 440px;
  top: -220px;
  right: -180px;
  background: #ff4815;
  opacity: 0.18;
}

.ambient-two {
  width: 400px;
  height: 400px;
  bottom: -230px;
  left: -170px;
  background: #ff4815;
  opacity: 0.08;
}


/* SCREENS */

.app-shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

.screen {
  display: none;
  width: 100%;
  min-height: 100vh;
  padding: 26px 16px;
  align-items: center;
  justify-content: center;
}

.screen-active {
  display: flex;
  animation: screenIn 0.42s ease;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* CARDS */

.hero-card,
.form-card,
.verification-card,
.certificate-card {
  position: relative;

  width: 100%;
  max-width: 560px;

  border:
    1px solid rgba(255, 255, 255, 0.085);

  background:
    linear-gradient(
      145deg,
      rgba(24, 25, 29, 0.97),
      rgba(10, 11, 14, 0.99)
    );

  box-shadow:
    0 35px 110px rgba(0, 0, 0, 0.48);

  overflow: hidden;
}


/* LOGO */

.brand-logo {
  display: block;
  object-fit: contain;

  mix-blend-mode: screen;

  filter:
    drop-shadow(
      0 0 18px rgba(255, 66, 15, 0.12)
    );
}

.hero-logo {
  width: 245px;
  max-width: 70%;
  margin: -28px 0 22px -38px;
}

.form-logo {
  width: 190px;
  margin: -20px 0 14px -27px;
}

.verification-logo {
  width: 185px;
  margin: -20px auto 16px;
}

.certificate-logo {
  width: 178px;
  margin: -23px 0 -20px -29px;
}


/* TYPOGRAPHY */

.eyebrow,
.certificate-overline,
.motivation-kicker {
  color: #ff511c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2.5px;
}

.centered {
  text-align: center;
}

.hero-title {
  margin: 0 0 23px;

  font-size:
    clamp(44px, 8vw, 64px);

  line-height: 0.98;
  letter-spacing: -2.7px;
}

.hero-title span {
  color: #ff511c;
}

.hero-description {
  margin: 0 0 32px;
  max-width: 440px;

  color: #9a9da5;

  font-size: 16px;
  line-height: 1.6;
}


/* START */

.hero-card {
  padding: 42px 40px 38px;
  border-radius: 32px;
}

.steps {
  display: grid;
  gap: 10px;
  margin-bottom: 29px;
}

.step {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 15px 16px;

  border-radius: 16px;

  border:
    1px solid rgba(255, 255, 255, 0.06);

  background:
    rgba(255, 255, 255, 0.022);
}

.step-index {
  display: flex;
  width: 39px;
  height: 39px;
  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(255, 78, 24, 0.10);

  color: #ff511c;

  font-size: 11px;
  font-weight: 900;
}

.step strong,
.step small {
  display: block;
}

.step strong {
  margin-bottom: 2px;
  font-size: 14px;
}

.step small {
  color: #6d7078;
  font-size: 11px;
}

.microcopy {
  margin: 16px 0 0;

  color: #51545c;
  font-size: 10px;
  line-height: 1.5;

  text-align: center;
}


/* BUTTONS */

.button {
  width: 100%;
  min-height: 58px;

  border: 0;
  border-radius: 15px;

  cursor: pointer;

  font-size: 15px;
  font-weight: 850;

  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}

.button-primary {
  background:
    linear-gradient(
      135deg,
      #ff5b21,
      #ff3900
    );

  color: #fff;

  box-shadow:
    0 17px 38px rgba(255, 70, 10, 0.18);
}

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

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.button-secondary {
  margin-top: 22px;

  color: #fff;

  background:
    rgba(255, 255, 255, 0.035);

  border:
    1px solid rgba(255, 255, 255, 0.09);
}


/* FORM */

.form-card {
  padding: 38px;
  border-radius: 30px;
}

.back-button {
  margin: 0 0 24px;
  padding: 0;

  border: 0;
  background: transparent;

  color: #71747b;

  cursor: pointer;
  font-size: 12px;
}

.form-title {
  margin: 12px 0 15px;

  font-size: 39px;
  line-height: 1.04;
  letter-spacing: -1.7px;
}

.form-description {
  margin: 0 0 30px;

  color: #858890;

  font-size: 13px;
  line-height: 1.6;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;

  color: #b8bac0;

  font-size: 11px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 58px;

  padding: 0 16px;

  border:
    1px solid rgba(255, 255, 255, 0.085);

  border-radius: 14px;

  outline: none;

  background: #141519;
  color: #fff;

  font-size: 16px;

  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.field input:focus {
  border-color:
    rgba(255, 81, 28, 0.65);

  background: #17181d;
}

.field input::placeholder {
  color: #50535b;
}

.field-hint {
  margin-top: 7px;

  color: #50535b;

  font-size: 9px;
  line-height: 1.5;
}

.form-message {
  display: none;

  margin: 3px 0 17px;

  padding: 13px 14px;

  border-radius: 12px;

  font-size: 11px;
  line-height: 1.5;
}

.form-message.error {
  display: block;

  color: #ff9979;

  background:
    rgba(255, 77, 32, 0.08);

  border:
    1px solid rgba(255, 77, 32, 0.24);
}


/* VERIFICATION */

.verification-card {
  padding: 42px 38px;
  border-radius: 30px;

  text-align: center;
}

.verification-icon {
  position: relative;

  display: flex;

  width: 112px;
  height: 112px;

  margin: 12px auto 27px;

  align-items: center;
  justify-content: center;
}

.scanner-ring {
  position: absolute;
  inset: 0;

  border-radius: 50%;

  border:
    1px solid rgba(255, 81, 28, 0.23);

  border-top-color: #ff511c;

  animation:
    scannerSpin 1.4s linear infinite;
}

.scanner-ring::before {
  content: "";

  position: absolute;
  inset: 11px;

  border-radius: 50%;

  border:
    1px dashed rgba(255, 255, 255, 0.09);
}

.scanner-core {
  display: flex;

  width: 66px;
  height: 66px;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 81, 28, 0.18),
      rgba(255, 81, 28, 0.035)
    );

  color: #ff511c;

  font-size: 23px;
  font-weight: 950;
}

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

.verification-title {
  margin: 12px 0 15px;

  font-size: 37px;
  line-height: 1.03;
  letter-spacing: -1.5px;
}

.verification-description {
  margin: 0 auto 28px;

  max-width: 330px;

  color: #74777f;

  font-size: 12px;
  line-height: 1.55;
}

.verification-progress {
  height: 4px;

  margin-bottom: 25px;

  overflow: hidden;

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.06);
}

.verification-progress-bar {
  width: 0%;
  height: 100%;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      #ff3e00,
      #ff7a40
    );

  box-shadow:
    0 0 14px rgba(255, 70, 15, 0.45);

  transition:
    width 0.6s ease;
}

.verification-steps {
  display: grid;
  gap: 10px;

  text-align: left;
}

.verify-step {
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 12px 14px;

  border-radius: 12px;

  color: #5a5d65;

  background:
    rgba(255, 255, 255, 0.018);

  border:
    1px solid rgba(255, 255, 255, 0.045);

  font-size: 11px;

  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.verify-step.active {
  color: #dddde1;

  background:
    rgba(255, 81, 28, 0.045);

  border-color:
    rgba(255, 81, 28, 0.14);
}

.verify-step.done {
  color: #70df9b;

  border-color:
    rgba(72, 216, 125, 0.13);
}

.verify-indicator {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  border-radius: 50%;

  background: #41444b;
}

.verify-step.active .verify-indicator {
  background: #ff511c;

  box-shadow:
    0 0 10px rgba(255, 81, 28, 0.75);
}

.verify-step.done .verify-indicator {
  background: #62dc91;

  box-shadow:
    0 0 10px rgba(98, 220, 145, 0.4);
}


/* CERTIFICATE */

.certificate-card {
  padding: 39px;
  border-radius: 31px;
}

.certificate-watermark {
  position: absolute;

  top: 92px;
  right: -15px;

  color:
    rgba(255, 255, 255, 0.018);

  font-size: 190px;
  font-weight: 950;

  letter-spacing: -18px;

  pointer-events: none;
}

.certificate-top {
  position: relative;
  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 16px;

  margin-bottom: 32px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 8px 11px;

  border-radius: 999px;

  white-space: nowrap;

  font-size: 9px;
  font-weight: 850;
}

.status-active {
  color: #68e198;

  background:
    rgba(61, 220, 125, 0.08);

  border:
    1px solid rgba(61, 220, 125, 0.22);
}

.status-pending {
  color: #ffc464;

  background:
    rgba(255, 177, 54, 0.08);

  border:
    1px solid rgba(255, 177, 54, 0.22);
}

.status-cancelled {
  color: #ff846e;

  background:
    rgba(255, 75, 49, 0.08);

  border:
    1px solid rgba(255, 75, 49, 0.22);
}

.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: currentColor;

  box-shadow:
    0 0 10px currentColor;
}

.certificate-overline {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
}

.certificate-title {
  position: relative;
  z-index: 2;

  margin: 0 0 29px;

  font-size:
    clamp(52px, 9vw, 72px);

  line-height: 0.88;
  letter-spacing: -3.5px;
}

.certificate-title span {
  display: block;

  margin-top: 12px;

  color: #5c6068;

  font-size: 17px;
  letter-spacing: -0.3px;
}

.chance-card {
  position: relative;
  overflow: hidden;

  min-height: 176px;

  margin-bottom: 20px;

  padding: 23px;

  border-radius: 21px;

  border:
    1px solid rgba(255, 78, 21, 0.24);

  background:
    linear-gradient(
      135deg,
      rgba(255, 80, 22, 0.15),
      rgba(255, 80, 22, 0.025)
    );
}

.chance-label,
.chance-description {
  display: block;
}

.chance-label {
  color: #9b9da4;

  font-size: 10px;
  font-weight: 650;
}

.chance-number {
  display: block;

  margin: 6px 0 5px;

  font-size: 71px;
  line-height: 1;
  letter-spacing: -5px;
}

.chance-description {
  color: #686b73;
  font-size: 9px;
}

.chance-wordmark {
  position: absolute;

  top: 54px;
  right: 16px;

  color:
    rgba(255, 79, 22, 0.28);

  font-size: 24px;
  font-weight: 950;

  transform: rotate(-90deg);
}

.participant-data {
  overflow: hidden;

  margin-bottom: 27px;

  border-radius: 18px;

  background:
    rgba(255, 255, 255, 0.016);

  border:
    1px solid rgba(255, 255, 255, 0.065);
}

.data-row {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 15px 17px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.055);
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row span {
  color: #696c74;

  font-size: 10px;
}

.data-row strong {
  max-width: 66%;

  overflow: hidden;

  color: #e6e7ea;

  font-size: 11px;

  text-align: right;

  text-overflow: ellipsis;
  white-space: nowrap;
}


/* TICKET */

.section-heading {
  margin-bottom: 12px;

  color: #73767e;

  font-size: 9px;
  font-weight: 900;

  letter-spacing: 1.7px;

  text-transform: uppercase;
}

.ticket-list {
  display: grid;
  gap: 11px;
}

.ticket-pass {
  position: relative;
  overflow: hidden;

  min-height: 138px;

  padding: 18px;

  border-radius: 18px;

  border:
    1px solid rgba(255, 255, 255, 0.085);

  background:
    linear-gradient(
      135deg,
      #191a1f,
      #111216
    );
}

.ticket-pass::after {
  content: "HYRO";

  position: absolute;

  right: -5px;
  bottom: -12px;

  color:
    rgba(255, 255, 255, 0.026);

  font-size: 55px;
  font-weight: 950;

  letter-spacing: -4px;
}

.ticket-pass-top {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-bottom: 31px;
}

.ticket-pass-brand {
  color: #ff511c;

  font-size: 10px;
  font-weight: 900;

  letter-spacing: 1.5px;
}

.ticket-pass-status {
  display: flex;

  align-items: center;

  gap: 5px;

  color: #6fe39c;

  font-size: 8px;
  font-weight: 900;

  letter-spacing: 1px;
}

.ticket-pass-number-label {
  display: block;

  margin-bottom: 5px;

  color: #60636b;

  font-size: 8px;

  letter-spacing: 1px;
}

.ticket-pass-number {
  position: relative;
  z-index: 2;

  color: #fff;

  font-size: 17px;
  font-weight: 850;

  letter-spacing: 0.1px;
}

.no-ticket {
  padding: 17px;

  border-radius: 14px;

  border:
    1px solid rgba(255, 255, 255, 0.06);

  color: #686b72;

  background:
    rgba(255, 255, 255, 0.018);

  font-size: 11px;
}


/* MOTIVATION */

.motivation-card {
  margin-top: 26px;

  padding: 19px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 81, 28, 0.07),
      rgba(255, 81, 28, 0.015)
    );

  border:
    1px solid rgba(255, 81, 28, 0.11);
}

.motivation-kicker {
  display: block;
  margin-bottom: 10px;
}

.motivation-card strong {
  display: block;

  max-width: 390px;

  margin-bottom: 8px;

  font-size: 14px;
  line-height: 1.35;
}

.motivation-card p {
  margin: 0;

  color: #656870;

  font-size: 9px;
  line-height: 1.55;
}


/* SYNC */

.sync-row {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 15px;

  margin-top: 25px;

  padding-top: 18px;

  border-top:
    1px solid rgba(255, 255, 255, 0.055);
}

.sync-row span,
.sync-row strong {
  display: block;
}

.sync-label {
  margin-bottom: 3px;

  color: #4d5057;

  font-size: 8px;
}

.sync-row strong {
  color: #858890;
  font-size: 9px;
}

.ozon-sync {
  display: flex;

  align-items: center;

  gap: 6px;

  color: #757880;

  font-size: 8px;
}

.sync-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #62dd92;

  box-shadow:
    0 0 9px rgba(98, 221, 146, 0.55);
}

.certificate-note {
  margin: 17px 0 0;

  color: #45484f;

  font-size: 8px;
  line-height: 1.55;
}


/* MOBILE */

@media (max-width: 600px) {

  .screen {
    padding: 13px 10px;
  }

  .hero-card,
  .form-card,
  .verification-card,
  .certificate-card {
    padding: 29px 21px;
    border-radius: 24px;
  }

  .hero-logo {
    width: 205px;
    margin-left: -31px;
  }

  .form-logo,
  .verification-logo,
  .certificate-logo {
    width: 155px;
  }

  .hero-title {
    font-size: 43px;
  }

  .certificate-title {
    font-size: 54px;
  }

  .certificate-top {
    align-items: flex-start;
  }

  .status-badge {
    padding: 7px 8px;
    font-size: 7px;
  }

  .chance-number {
    font-size: 61px;
  }

  .sync-row {
    align-items: flex-start;
    flex-direction: column;
  }

}
