:root {
  --green-border: #0d6d1a;
  --yellow-bright: #ffd319;
  --field-bg: #efefef;
  --field-border: #cfcfcf;
  --field-icon: #787878;
  --text-dark: #143018;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 207, 51, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 207, 51, 0.12), transparent 20%),
    linear-gradient(180deg, #061108 0%, #030b04 100%);
}

body { min-height: 100vh; }


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 12px;
  overflow: hidden;
}

.stage-viewport {
  width: 100%;
  display: grid;
  place-items: center;
  transform-origin: top center;
}

.stage-viewport { width: 100%; }

.stage {
  width: min(1560px, 100%);
  min-height: calc(100svh - 24px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 470px);
  gap: 14px;
  align-items: center;
}

.poster-shell {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.poster-image {
  display: block;
  width: auto;
  height: min(calc(100svh - 32px), 1080px);
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.33));
}

.form-shell {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.signup-card {
  width: min(100%, 455px);
  border: 4px solid var(--green-border);
  border-radius: 34px;
  background: linear-gradient(180deg, #f8f8f8 0%, #f1f1f1 100%);
  box-shadow: var(--shadow);
}

.card-inner { padding: 26px 22px 22px; }

.card-header {
  position: relative;
  text-align: center;
  padding: 2px 18px 18px;
}

.card-header h1 {
  margin: 0;
  font-family: 'Anton', Impact, sans-serif;
  font-size: clamp(2.2rem, 1.2rem + 1.8vw, 3.1rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

.card-header p {
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #313131;
}

.accent {
  position: absolute;
  top: 12px;
  width: 34px;
  height: 18px;
}

.accent::before,
.accent::after {
  content: '';
  position: absolute;
  top: 6px;
  width: 15px;
  height: 4px;
  background: #efb512;
  border-radius: 999px;
}

.accent::before { transform: rotate(22deg); }
.accent::after { transform: rotate(-22deg); left: 12px; }
.accent-left { left: 8px; }
.accent-right { right: 8px; transform: scaleX(-1); }

.field-grid { display: grid; gap: 14px; }

.input-wrap {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 79px;
  background: var(--field-bg);
  border: 2px solid var(--field-border);
  border-radius: 8px;
  overflow: hidden;
}

.input-wrap-textarea {
  align-items: start;
  min-height: 172px;
}

.icon { display: grid; place-items: center; color: var(--field-icon); }
.icon svg { width: 27px; height: 27px; }

.input-wrap input,
.input-wrap textarea,
.captcha-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #4b4b4b;
  font-size: 0.98rem;
  padding: 16px 16px 16px 0;
  font-family: inherit;
}

.input-wrap textarea {
  resize: vertical;
  min-height: 170px;
  padding-top: 18px;
}

.input-wrap input::placeholder,
.input-wrap textarea::placeholder,
.captcha-wrap input::placeholder { color: #7a7a7a; }

.input-wrap:focus-within,
.captcha-wrap input:focus {
  border-color: #7ea764;
  box-shadow: 0 0 0 3px rgba(115, 157, 86, 0.12);
}

.checks { display: grid; gap: 18px; margin-top: 22px; }

.check-row {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
  color: #383838;
  font-size: 0.95rem;
  line-height: 1.52;
  cursor: pointer;
}

.check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.fake-check {
  width: 30px;
  height: 30px;
  border: 2px solid #9d9d9d;
  border-radius: 6px;
  background: #fafafa;
  margin-top: 2px;
}

.check-row input:checked + .fake-check {
  background: #0b6118;
  border-color: #0b6118;
  box-shadow: inset 0 0 0 5px #fafafa;
}

.check-row a { color: #2a2a2a; font-weight: 600; text-decoration-thickness: 2px; }

.captcha-wrap { margin-top: 24px; display: grid; gap: 10px; }

.captcha-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1f2f22;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.captcha-image-row {
  border: 2px solid #d1d1d1;
  border-radius: 8px;
  background: #f7f7f7;
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 8px;
  align-items: center;
  padding: 8px;
}

.captcha-image {
  width: 100%;
  height: 72px;
  border-radius: 4px;
  background: #fff;
}

.captcha-refresh {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #0b6118;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.captcha-wrap input {
  border: 2px solid var(--field-border);
  border-radius: 8px;
  background: var(--field-bg);
  padding: 14px;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #394739;
}

.form-status.error { color: #8c1e1e; }
.form-status.success { color: #0b6118; }

.submit-btn {
  width: 100%;
  margin-top: 10px;
  min-height: 74px;
  border: 3px solid #d2ad15;
  border-radius: 22px;
  background: linear-gradient(180deg, #08440c 0%, #053907 100%);
  color: var(--yellow-bright);
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.92rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.submit-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.submit-btn:active { transform: translateY(0); }
.submit-btn:focus-visible { outline: 3px solid rgba(240, 194, 29, 0.28); outline-offset: 2px; }

.event-date-line { text-align: center; }

.card-header .event-date {
  display: inline-block;
  margin: 0;
  padding: 7px 20px;
  border: 2px solid #d2ad15;
  border-radius: 999px;
  background: linear-gradient(180deg, #08440c 0%, #053907 100%);
  color: var(--yellow-bright);
  font-family: 'Anton', Impact, sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.payment-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 14px;
  border: 2px dashed #0b6118;
  border-radius: 12px;
  background: rgba(11, 97, 24, 0.06);
  color: #1f2f22;
  font-size: 0.9rem;
  line-height: 1.45;
}

.payment-note strong { color: #0b6118; font-weight: 700; }

.payment-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #0b6118;
}

.payment-icon svg { width: 24px; height: 24px; }

@media (max-width: 1120px) {
  .hero { padding: 10px; }

  .stage {
    min-height: auto;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 12px;
    align-items: start;
  }

  .poster-shell,
  .form-shell {
    justify-content: center;
    align-items: flex-start;
  }

  .poster-image {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .signup-card {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .hero { padding: 8px; }

  .stage {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 8px;
  }

  .signup-card {
    border-width: 3px;
    border-radius: 18px;
    width: 100%;
  }

  .card-inner { padding: 14px 11px 12px; }
  .card-header { padding: 0 6px 12px; }
  .card-header h1 { font-size: clamp(1.45rem, 6vw, 2.1rem); }
  .card-header p { margin-top: 9px; font-size: 0.85rem; line-height: 1.4; }

  .card-header .event-date { font-size: 1rem; padding: 5px 14px; letter-spacing: 0.03em; }

  .field-grid { gap: 10px; }

  .input-wrap {
    grid-template-columns: 42px 1fr;
    min-height: 56px;
    border-radius: 7px;
  }

  .input-wrap-textarea,
  .input-wrap textarea { min-height: 118px; }

  .icon svg { width: 20px; height: 20px; }

  .input-wrap input,
  .input-wrap textarea,
  .check-row,
  .captcha-wrap input { font-size: 0.84rem; }

  .input-wrap input,
  .input-wrap textarea { padding: 12px 10px 12px 0; }

  .checks { gap: 12px; margin-top: 16px; }

  .check-row {
    grid-template-columns: 22px 1fr;
    gap: 9px;
    line-height: 1.4;
  }

  .fake-check { width: 22px; height: 22px; border-radius: 5px; margin-top: 1px; }
  .check-row input:checked + .fake-check { box-shadow: inset 0 0 0 4px #fafafa; }

  .captcha-wrap { margin-top: 16px; gap: 8px; }
  .captcha-label { font-size: 0.76rem; }

  .captcha-image-row {
    grid-template-columns: 1fr 40px;
    padding: 5px;
    gap: 6px;
  }

  .captcha-image { height: 54px; }

  .captcha-refresh {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    border-radius: 8px;
  }

  .captcha-wrap input { padding: 10px; }

  .payment-note {
    margin-top: 14px;
    padding: 10px 11px;
    font-size: 0.78rem;
    gap: 8px;
  }

  .payment-icon { width: 24px; height: 24px; }
  .payment-icon svg { width: 20px; height: 20px; }

  .submit-btn {
    min-height: 52px;
    font-size: 1.15rem;
    border-radius: 14px;
    border-width: 2px;
  }
}

@media (max-width: 420px) {
  .stage {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 6px;
  }

  .card-inner { padding: 11px 8px 10px; }
  .card-header { padding: 0 2px 10px; }
  .card-header h1 { font-size: clamp(1.2rem, 7vw, 1.7rem); }
  .card-header p { font-size: 0.78rem; }
  .card-header .event-date { font-size: 0.85rem; padding: 4px 12px; }

  .input-wrap { grid-template-columns: 34px 1fr; min-height: 50px; }
  .icon svg { width: 17px; height: 17px; }

  .input-wrap input,
  .input-wrap textarea,
  .check-row,
  .captcha-wrap input { font-size: 0.76rem; }

  .check-row { grid-template-columns: 20px 1fr; gap: 7px; }
  .fake-check { width: 20px; height: 20px; }

  .payment-note { font-size: 0.72rem; padding: 9px; }

  .submit-btn { min-height: 46px; font-size: 1rem; }
}
