@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --green: #0b6b3a;
  --green-dark: #064d2a;
  --green-soft: #eaf6ef;
  --saffron: #f59e0b;
  --navy: #12233f;
  --muted: #667085;
  --line: #e5e7eb;
  --bg: #f5f7f6;
  --white: #fff;
  --danger: #c62828;
  --shadow: 0 20px 60px rgba(18, 35, 63, 0.09);
}

* {
  box-sizing: border-box;
  font-family: "Poppins";
  letter-spacing: 0.5px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    "Segoe UI",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--navy);
  background:
    radial-gradient(circle at 15% 5%, rgba(11, 107, 58, 0.08), transparent 28%),
    radial-gradient(
      circle at 90% 10%,
      rgba(245, 158, 11, 0.08),
      transparent 25%
    ),
    var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 35, 63, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.topbar-inner {
  max-width: 1180px;
  margin: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.logo {
  width: 48px;
  height: 48px;
  /* border-radius: 14px; */
  /* background: linear-gradient(145deg, var(--green), var(--green-dark)); */
  /* color: #fff; */
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  line-height: 1.05;
  text-align: center;
  /* box-shadow: 0 8px 20px rgba(11, 107, 58, 0.2); */
}

.logo img {
  height: 100%;
  width: 100%;
}

.brand-title {
  margin: 0;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border: 1px solid #dbe8df;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 500;
}

.event-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.page {
  max-width: 1000px;
  margin: 48px auto 70px;
  padding: 0 20px;
}

.hero {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  /* letter-spacing: -0.035em; */
  word-spacing: 2px;
}

.hero p {
  max-width: 600px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 35, 63, 0.07);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 50px;
}

.verify-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
}

.card-heading {
  margin-bottom: 25px;
}

.card-heading h2 {
  margin: 0 0 7px;
  font-size: 21px;
  font-weight: 600;
  color: var(--navy);
}

.card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.mobile-input-wrap {
  position: relative;
}

.country-code {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  pointer-events: none;
}

.mobile-input {
  padding-left: 58px !important;
  padding-right: 50px !important;
  font-size: 16px !important;
  letter-spacing: 0.03em;
}

.input-icon {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.6px;
  color: var(--navy);
}

.required {
  color: var(--danger);
}

.field {
  min-width: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfe3e8;
  background: #fbfcfc;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--navy);
  outline: none;
  transition: 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 107, 58, 0.09);
}

textarea {
  min-height: 105px;
  resize: vertical;
}

.field-error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 12px;
}

.input-error {
  border-color: var(--danger) !important;
}

.primary-btn {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  margin-top: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-weight: 500;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  box-shadow: 0 10px 22px rgba(11, 107, 58, 0.18);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 26px rgba(11, 107, 58, 0.23);
}

.primary-btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.verify-message {
  display: none;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.verify-message.error {
  display: block;
  background: #fff1f1;
  border: 1px solid #ffd2d2;
  color: #a61b1b;
}

.verify-message.registered {
  display: block;
  background: #fff8e9;
  border: 1px solid #f8ddb0;
  color: #855400;
}

.verify-message.available {
  display: block;
  background: var(--green-soft);
  border: 1px solid #cbe8d6;
  color: var(--green-dark);
}

.registered-box {
  display: none;
  margin-top: 17px;
  padding: 18px;
  border: 1px solid #f0d39d;
  background: #fffaf0;
  border-radius: 13px;
}

.registered-box strong {
  display: block;
  margin-bottom: 5px;
  color: #744900;
}

.registered-box span {
  color: #876b3f;
  font-size: 13px;
}

.form-section {
  padding: 34px;
}

.form-section + .form-section {
  border-top: 1px solid #edf0f2;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 23px;
}

.section-number {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
}

.section-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 20px;
}

.full {
  grid-column: 1 / -1;
}

.file-input {
  padding: 10px;
  border-style: dashed;
  cursor: pointer;
}

.file-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.payment-box {
  border: 1px solid #f0dfbc;
  background: #fffbf3;
  border-radius: 15px;
  padding: 19px;
}

.payment-layout {
  display: flex;
  gap: 22px;
  align-items: center;
}

.qr-placeholder {
  width: 145px;
  height: 145px;
  flex: 0 0 145px;
  border: 1px dashed #d6c49e;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  color: #927d56;
  font-size: 12px;
  line-height: 1.5;
}

.qr-placeholder img {
  height: 100%;
  width: 100%;
}

.payment-info {
  display: grid;
  gap: 7px;
  color: #5f513b;
  font-size: 13px;
}

.payment-info b {
  color: #594626;
}

.payment-note {
  margin-top: 10px;
  padding: 9px 11px;
  background: #fff2d5;
  border-radius: 8px;
  color: #725728;
  font-size: 11px;
  line-height: 1.5;
}

.declaration {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
  padding: 15px;
  border-radius: 11px;
  background: #f8faf9;
  border: 1px solid #e8eeea;
  font-size: 12px;
  color: #4d5a55;
  line-height: 1.55;
}

.declaration input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--green);
}

.submit-area {
  padding: 0 34px 34px;
}

.submit-area .primary-btn {
  margin-top: 0;
  max-width: 330px;
  margin-left: auto;
  display: block;
}

.alert {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 14px 17px;
  border-radius: 6px;
  background: #fff1f1;
  border: 1px solid #ffd2d2;
  color: #a61b1b;
  font-size: 14px;
  font-weight: 500;
}

.success {
  text-align: center;
  padding: 55px 30px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 600;
}

.success h2 {
  margin: 0 0 9px;
  color: var(--green-dark);
}

.success p {
  margin: 0 auto;
  max-width: 500px;
  color: var(--muted);
  line-height: 1.6;
}

.security-note {
  text-align: center;
  margin-top: 18px;
  color: #8a939b;
  font-size: 12px;
}

.hidden {
  display: none !important;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
  margin-right: 7px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 700px) {
  .topbar-inner {
    padding: 12px 16px;
  }
  .event-badge {
    display: none;
  }

  .page {
    margin-top: 30px;
    padding: 0 12px;
  }

  .verify-card,
  .form-section {
    padding: 24px 20px;
  }

  .submit-area {
    padding: 0 20px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full {
    grid-column: auto;
  }

  .payment-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .qr-placeholder {
    width: 145px;
    margin: auto;
  }

  .submit-area .primary-btn {
    max-width: none;
  }

  /* own */
  .brand-title {
    font-size: 12px;
  }

  .brand-subtitle {
    font-size: 10px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 12px;
    width: 90%;
  }

  .alert {
    font-size: 12px;
    text-align: center;
  }

  .card-heading h2 {
    font-size: 18px;
  }

  .card-heading p {
    font-size: 12px;
  }

  .mobile-input::placeholder {
    font-size: 12px;
  }

  .section-head h3 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }

  .section-head p {
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
  }

  .field-label {
    font-size: 13px;
    font-weight: 500;
  }

  .form-grid input {
    font-size: 13px;
  }
}
