/* ===============================
   📱 SMARTPHONE MEDIUM (≤540px)
   =============================== */

@media (min-width: 346px) and (max-width: 540px) {
  .page {
    padding: 0 14px 30px;
  }
  .hero {
    height: auto;
    padding-top: 45px;
    margin-bottom: 26px;
  }
  .brand {
    max-width: 60px;
    margin-bottom: 45px;
  }
  .ticket-registration {
    gap: 8px;
  }
  .ticket-registration .text-ticket {
    width: 70px;
  }
  .ticket-registration .text-registration {
    width: 145px;
    transform: translateY(4px);
  }
  .hero p {
    margin-top: 8px;
    max-width: 320px;
    font-size: 10px;
  }
  .card-identity {
    border-radius: 24px;
    padding-bottom: 24px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding: 26px 18px 18px;
  }
  .card-identity .registration-form {
    padding-top: 24px;
  }
  .identity-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: -24px;
  }
  .enter-your-identity {
    gap: 4px;
  }
  .enter-your-identity .text-enter {
    width: 48px;
  }
  .enter-your-identity .text-your {
    width: 40px;
  }
  .enter-your-identity .text-identity {
    width: 68px;
    transform: translateY(2px);
  }
  .identity-heading small {
    font-size: 9px;
    margin-top: 0;
  }
  .registration-form {
    max-width: none;
  }
  .text-check-your-email {
    max-width: 150px;
    margin-bottom: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .input {
    box-sizing: border-box;
    height: 40px;
    padding: 0 14px;
    font-size: 12px;
    border-radius: 10px;
  }
  .field-hint {
    position: static;
    left: auto;
    bottom: auto;
    display: block;
    margin: 4px 0 0 4px;
    font-size: 8.5px;
    line-height: 1.35;
    white-space: normal;
  }
  .error-message {
    font-size: 9px;
  }
  .error-agreement {
    margin-left: 4px;
    margin-right: 0;
    margin-top: -8px;
    margin-bottom: 12px;
    font-size: 9px;
  }
  .otp-notice {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 8px;
  }
  .otp-notice br {
    display: none;
  }
  .agreement {
    gap: 6px;
    margin: 14px 0 12px 4px;
    font-size: 10.5px;
  }
  .agreement input {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    margin-top: 1px;
  }
  .agreement input:checked::after {
    width: 4px;
  }
  .submit-btn {
    width: 100%;
    height: 38px;
    margin-left: 0;
    border-radius: 10px;
    font-size: 12px;
  }
  .terms {
    margin-top: 24px;
    margin-left: 5px;
    margin-right: 5px;
    padding: 20px 32px 22px;
    border-radius: 30px;
  }
  .terms img {
    max-width: 175px;
    margin-bottom: 14px;
  }
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .terms ul {
    padding-left: 15px;
  }
  .terms li {
    font-size: 10.5px;
  }
  .trust {
    margin-top: 26px;
  }
  .trust img {
    max-width: 62px;
  }
}

/* ===============================
   iPhone 14 Pro Max
   =============================== */

@media (min-width: 425px) and (max-width: 450px) {
  .hero {
    padding-top: 50px;
  }
  .brand {
    max-width: 86px;
    margin-bottom: 50px;
  }
  .ticket-registration .text-ticket {
    width: 88px;
  }
  .ticket-registration .text-registration {
    width: 186px;
  }
  .hero p {
    max-width: 420px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding-left: 22px;
    padding-right: 22px;
  }
  .otp-notice {
    font-size: 9px;
  }
  .terms img {
    max-width: 210px;
  }
  .terms li {
    font-size: 11px;
  }
}

/* ===============================
   Samsung Galaxy S20 Ultra, iPhone XR
   =============================== */

@media (min-width: 410px) and (max-width: 420px) {
  .hero {
    padding-top: 50px;
  }
  .brand {
    max-width: 75px;
  }
  .ticket-registration .text-ticket {
    width: 85px;
  }
  .ticket-registration .text-registration {
    width: 179px;
  }
  .hero p {
    max-width: 335px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .otp-notice {
    font-size: 9px;
  }
  .terms img {
    max-width: 210px;
  }
  .terms li {
    font-size: 11px;
  }
}

/* ===============================
   iPhone 12 Pro
   =============================== */

@media (min-width: 390px) and (max-width: 400px) {
  .hero {
    padding-top: 45px;
  }
  .brand {
    max-width: 75px;
  }
  .ticket-registration .text-ticket {
    width: 81px;
  }
  .ticket-registration .text-registration {
    width: 170px;
  }
  .hero p {
    max-width: 322px;
  }
  .otp-notice {
    font-size: 9px;
  }
  .terms img {
    max-width: 210px;
  }
  .terms li {
    font-size: 11px;
  }
}

/* ===============================
   Samsung Galaxy S8+
   =============================== */

@media (min-width: 360px) and (max-width: 370px) {
  .page {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero {
    padding-top: 45px;
  }
  .brand {
    max-width: 65px;
    margin-bottom: 40px;
  }
  .ticket-registration .text-ticket {
    width: 73px;
  }
  .ticket-registration .text-registration {
    width: 154px;
  }
  .hero p {
    max-width: 300px;
    font-size: 9px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .otp-notice {
    font-size: 8px;
  }
  .terms img {
    max-width: 190px;
  }
  .terms li {
    font-size: 10px;
  }
}