*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  color: #f7eefb;
  background: radial-gradient(circle at 20% 10%, #4d1563 0%, #200322 45%, #14021f 100%);
}

.contact-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.registration-shell {
  width: min(100%, 1040px);
}

.register-hero {
  position: relative;
  margin-bottom: 18px;
  min-height: 390px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(206, 190, 231, 0.35);
  background: url("https://www.shelomithinspires.com/images-yolanda/hero-bg.webp") center/cover no-repeat;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
}

.register-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 2, 16, 0.9) 0%, rgba(24, 8, 40, 0.62) 55%, rgba(12, 3, 20, 0.9) 100%);
}

.register-hero-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}

.register-date {
  margin: 0 0 8px 0;
  display: inline-block;
  font-family: "Archivo Black", sans-serif;
  color: #ffddf8;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.register-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2.6rem, 8vw, 5rem);
  color: #aa48d1;
  line-height: 0.9;
}

.register-script {
  margin: -8px 0 0 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #ffb5d7;
  font-family: "Brush Script MT", cursive;
  line-height: 1;
}

.register-subtitle {
  margin: 8px 0 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cebee7;
  font-weight: 700;
}

.register-location {
  margin: 8px 0 0 0;
  display: inline-block;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
  color: #ffd8ff;
  border-bottom: 2px solid rgba(255, 183, 240, 0.85);
  padding-bottom: 2px;
}

.register-hero-image {
  position: absolute;
  right: 6%;
  bottom: 0;
  height: 92%;
  max-width: 46%;
  object-fit: contain;
  z-index: 2;
}

.contact-card {
  width: min(100%, 760px);
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(50, 10, 68, 0.92) 0%, rgba(32, 3, 34, 0.95) 100%);
  border: 1px solid rgba(206, 190, 231, 0.38);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.45);
}

.top-return {
  margin-bottom: 18px;
}

.contact-eyebrow {
  margin: 0 0 8px 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cebee7;
  font-weight: 700;
  font-size: 0.82rem;
}

.contact-card h1 {
  margin: 0;
  color: #f7eefb;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  line-height: 1;
}

.contact-intro {
  margin: 14px 0 22px 0;
  color: #cebee7;
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 700;
  color: #f7eefb;
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(206, 190, 231, 0.45);
  background: rgba(255, 255, 255, 0.97);
  color: #2a1036;
  font-size: 1rem;
}

.form-field input:focus {
  outline: none;
  border-color: #aa48d1;
  box-shadow: 0 0 0 3px rgba(170, 72, 209, 0.28);
}

.contact-submit,
.contact-return-link {
  display: inline-block;
  text-decoration: none;
  border: 1px solid rgba(206, 190, 231, 0.5);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.contact-submit {
  width: fit-content;
  background: linear-gradient(135deg, #bf63e2 0%, #aa48d1 50%, #8330a7 100%);
  color: #ffffff;
  border-color: rgba(170, 72, 209, 0.9);
  cursor: pointer;
}

.contact-submit:hover:enabled {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-return-link {
  background: rgba(206, 190, 231, 0.14);
  color: #f7eefb;
}

.contact-return-link:hover {
  background: rgba(206, 190, 231, 0.24);
}

.response-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .contact-page {
    padding: 14px;
  }
  .register-hero {
    min-height: 430px;
    align-items: flex-start;
  }
  .register-hero-content {
    padding: 18px;
  }
  .register-date {
    font-size: 1rem;
  }
  .register-script {
    margin-top: -2px;
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .register-subtitle {
    font-size: 0.88rem;
  }
  .register-location {
    font-size: 1rem;
  }
  .register-hero-image {
    right: -4px;
    bottom: 0;
    height: 58%;
    max-width: 72%;
    opacity: 0.95;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-submit,
  .contact-return-link {
    width: 100%;
    text-align: center;
  }
}
