/* ===============================
   📱 SMARTPHONE SMALL (≤345px)
   =============================== */

@media (max-width: 345px) {
  .page {
    padding: 0 10px 24px;
  }
  .hero {
    height: auto;
    padding-top: 48px;
    margin-bottom: 20px;
  }
  .brand {
    max-width: 64px;
    margin-bottom: 30px;
  }
  .ticket-registration {
    gap: 6px;
  }
  .ticket-registration .text-ticket {
    width: 66px;
  }
  .ticket-registration .text-registration {
    width: 138px;
    transform: translateY(3px);
  }
  .hero p {
    margin-top: 9px;
    max-width: 260px;
    font-size: 11px;
  }
  .card-identity {
    border-radius: 16px;
    padding-bottom: 20px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding: 20px 12px 14px;
  }
  .card-identity .registration-form {
    padding-top: 20px;
  }
  .identity-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: -20px;
  }
  .enter-your-identity {
    gap: 5px;
  }
  .enter-your-identity .text-enter {
    width: 44px;
  }
  .enter-your-identity .text-your {
    width: 37px;
  }
  .enter-your-identity .text-identity {
    width: 63px;
    transform: translateY(2px);
  }
  .identity-heading small {
    font-size: 9.5px;
    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: 9px;
  }
  .input {
    box-sizing: border-box;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
  }
  .field-hint {
    position: static;
    left: auto;
    bottom: auto;
    display: block;
    margin: 4px 0 0 3px;
    font-size: 8px;
    line-height: 1.35;
    white-space: normal;
  }
  .error-message {
    font-size: 8.5px;
  }
  .error-agreement {
    margin-left: 2px;
    margin-right: 0;
    margin-top: -10px;
    margin-bottom: 12px;
    font-size: 8.5px;
  }
  .otp-notice {
    margin-top: 12px;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 9px;
  }
  .otp-notice br {
    display: none;
  }
  .agreement {
    gap: 5px;
    margin: 15px 0 15px 2px;
    font-size: 9.5px;
  }
  .agreement input {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin-top: 1px;
  }
  .agreement input:checked::after {
    left: 3px;
    top: 0;
    width: 4px;
    height: 7px;
  }
  .submit-btn {
    width: 100%;
    height: 36px;
    margin-left: 0;
    border-radius: 10px;
    font-size: 12px;
  }
  .terms {
    margin-top: 20px;
    margin-left: 8px;
    margin-right: 8px;
    padding: 16px 25px 18px;
    border-radius: 14px;
  }
  .terms img {
    max-width: 150px;
    margin-bottom: 12px;
  }
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .terms ul {
    padding-left: 14px;
  }
  .terms li {
    font-size: 8px;
  }
  .trust {
    margin-top: 22px;
  }
  .trust img {
    max-width: 54px;
  }
}

@media (max-width: 320px) {
  .page {
    padding: 0 8px 20px;
  }
  .hero {
    padding-top: 38px;
    margin-bottom: 18px;
  }
  .brand {
    max-width: 58px;
    margin-bottom: 37px;
  }
  .ticket-registration .text-ticket {
    width: 60px;
  }
  .ticket-registration .text-registration {
    width: 126px;
  }
  .hero p {
    max-width: 260px;
    font-size: 9px;
  }
  .card-identity .identity-heading,
  .card-identity .registration-form,
  .card-identity .panel-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .enter-your-identity .text-enter {
    width: 40px;
  }
  .enter-your-identity .text-your {
    width: 34px;
  }
  .enter-your-identity .text-identity {
    width: 57px;
  }
  .terms img {
    max-width: 145px;
  }
}