:root {
  --primary-color: #0e2a1a;
  --card: #e4e1cf;
  --black-color: #000;
  --white-color: #fff;
  --text-color: #9f9d89;
  --input-placeholder-color: #77766c;
  --input-error-color: #8b1717;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background-color: var(--black-color);
  font-family: 'Helvetica', sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.background-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: -3;
  pointer-events: none;
  background: #00291e;
}
.page {
  position: relative;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 45px 55px;
  overflow: hidden;
}
.page-content {
  position: relative;
  z-index: 1;
}
.hero {
  height: 215px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 170px;
  margin-bottom: 65px;
}
.brand {
  max-width: 150px;
  margin-bottom: 115px;
}
.ticket-registration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.ticket-registration img {
  width: auto;
}
.ticket-registration .text-ticket {
  width: 175px;
}
.ticket-registration .text-registration {
  width: 365px;
  transform: translateY(9px);
}
.hero p {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.5;
}
.card-identity {
  margin: 0 auto;
  border-radius: 45px;
  background: var(--card);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, .22),
    0 2px 4px rgba(0, 0, 0, .10);
  padding-bottom: 45px;
}
.card-identity .identity-heading,
.card-identity .registration-form,
.card-identity .panel-body {
  padding: 75px 160px 35px;
}
.card-identity .registration-form {
  padding-top: 52px
}
.identity-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: -52px;
}
.enter-your-identity {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 10px;
}
.enter-your-identity img {
  width: auto;
}
.enter-your-identity .text-enter {
  width: 95px;
}
.enter-your-identity .text-your {
  width: 80px;
}
.enter-your-identity .text-identity {
  width: 136px;
  transform: translateY(4px);
}
.identity-heading small {
  font-size: 14px;
  margin-top: 16px;
}
.registration-form {
  max-width: 750px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 82px;
}
.field {
  width: 100%;
}
.field.phone {
  grid-column: 1;
}
.input {
  width: 100%;
  height: 50px;
  padding: 0 26px;
  border: 1px solid #aaa795;
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, .06);
  color: #222;
  font-size: 16px;
  transition:
    border-color .2s,
    box-shadow .2s,
    background .2s;
}
.input::placeholder {
  color: var(--input-placeholder-color);
  opacity: 1;
}
.input:focus {
  border-color: #666356;
  background: rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 2px rgba(70, 67, 54, .10);
}
.email-input-wrapper {
  position: relative;
  width: 100%;
}
.input.email {
  box-sizing: border-box;
}
.field-hint {
  position: absolute;
  left: 28px;
  bottom: 8px;
  color: var(--input-placeholder-color);
  font-size: 8px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.error-message {
  display: none;
  margin-top: 4px;
  margin-left: 3px;
  color: var(--input-error-color);
  font-size: 12px;
}
.error-otp,
.error-agreement {
  margin-left: 0;
  font-size: clamp(9px, .8vw, 12px);
}
.error-agreement {
  margin-left: 28px;
  margin-right: 0;
  margin-top: -9px;
  margin-bottom: 10px;
  font-size: 12px;
}
.error-message.visible {
  display: block;
}
.field .input.error {
  border-color: var(--input-error-color);
  background: rgba(139, 23, 23, .06);
}
.otp-notice {
  margin-top: 20px;
  padding: 12px 27px;
  border-radius: 20px;
  background: var(--black-color);
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.5;
}
.otp-notice span {
  font-family: 'HelveticaBold';
  color: #b1ad97;
}
.agreement {
  display: flex;
  gap: 7px;
  margin: 20px 0 13px 28px;
  font-size: 12px;
}
.agreement span:hover {
  cursor: pointer;
}
.agreement input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin: 0;
  border: 1px solid #111;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.agreement input:checked {
  background: var(--black-color);
}
.agreement input:checked::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0;
  width: 5px;
  height: 8px;
  border: solid var(--white-color);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.label-terms {
  font-family: 'HelveticaBold';
}
.submit-btn {
  display: block;
  width: 240px;
  height: 32px;
  margin-left: 27px;
  border: 0;
  border-radius: 12px;
  background: var(--black-color);
  color: var(--text-color);
  font-size: 13px;
  cursor: pointer;
  transition:
    opacity .2s,
    transform .2s;
}
.submit-btn:hover {
  opacity: .65;
}
.submit-btn:active {
  opacity: .9;
}
.submit-btn:disabled {
  cursor: not-allowed;
  opacity: .35;
}
.panel.hidden {
  display: none;
}
.panel.visible {
  display: block;
  animation: panel-fade-in .35s ease both;
}
@keyframes panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-check-your-email {
  max-width: 250px;
  margin-bottom: 8px;
}
.panel-title {
  margin: 0 0 8px;
  color: var(--black-color);
  font-family: 'HelveticaBold';
  font-size: clamp(16px, 2.2vw, 26px);
  line-height: 1.2;
}
.panel-subtitle {
  margin: 0 0 6px;
  color: var(--input-placeholder-color);
  font-size: clamp(11px, 1.1vw, 15px);
  line-height: 1.55;
}
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(139, 23, 23, .35);
  border-radius: 10px;
  background: rgba(139, 23, 23, .08);
  color: var(--input-error-color);
  font-size: clamp(10px, .85vw, 13px);
  line-height: 1.45;
  text-align: left;
}
.form-error.is-hidden {
  display: none;
}
.form-error__icon {
  flex-shrink: 0;
}
.registration-form .form-error {
  margin: 0 0 12px;
}
.otp-panel {
  text-align: center;
}
.otp-email {
  margin: 0 0 28px;
  color: var(--black-color);
  font-family: 'HelveticaBold';
  font-size: clamp(12px, 1.1vw, 15px);
  word-break: break-all;
}
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: clamp(6px, .8vw, 12px);
  margin-bottom: 8px;
}
.otp-inputs input {
  box-sizing: border-box;
  width: clamp(34px, 4vw, 56px);
  height: clamp(42px, 5vw, 66px);
  padding: 0;
  border: 1px solid #aaa795;
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, .06);
  color: #222;
  font-family: 'HelveticaBold';
  font-size: clamp(16px, 1.7vw, 24px);
  text-align: center;
  transition:
    border-color .2s,
    background .2s,
    box-shadow .2s;
}
.otp-inputs input:focus {
  border-color: #666356;
  background: rgba(255, 255, 255, .25);
  box-shadow: 0 0 0 2px rgba(70, 67, 54, .10);
}
.otp-inputs input.filled {
  border-color: var(--black-color);
  background: rgba(255, 255, 255, .35);
}
.otp-inputs input.error {
  border-color: var(--input-error-color);
  background: rgba(139, 23, 23, .06);
  animation: otp-shake .3s ease;
}
@keyframes otp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
.otp-panel .form-error {
  display: none;
  max-width: 420px;
  margin: 12px auto 0;
}
.otp-panel .form-error:not(.is-hidden) {
  display: flex;
}
.resend-row {
  margin: 22px 0 18px;
  color: var(--input-placeholder-color);
  font-size: clamp(10px, .9vw, 13px);
}
.resend-row button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--black-color);
  font-family: 'HelveticaBold';
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.resend-row button:disabled {
  cursor: not-allowed;
  opacity: .4;
}
.resend-timer {
  color: var(--input-placeholder-color);
}
.otp-panel .verify-btn {
  margin: 0 auto;
}
.back-link {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--input-placeholder-color);
  font-size: clamp(10px, .9vw, 13px);
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}
.back-link:hover {
  color: var(--black-color);
}
.success-panel {
  text-align: center;
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--black-color);
  color: var(--card);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1;
}
.terms {
  margin-top: 40px;
  margin-left: 25px;
  margin-right: 25px;
  padding: 30px 140px 32px;
  border-radius: 29px;
  background: var(--black-color);
  color: var(--white-color);
}
.terms img {
  max-width: 275px;
  margin-bottom: 20px;
}
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.terms ul {
  margin: 0;
  padding-left: 17px;
}
.terms li {
  margin: 0 0 2px;
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.5;
}
.trust {
  margin-top: 45px;
  text-align: center;
}
.trust img {
  max-width: 95px;
}