/* ============================ CONTACT ============================ */

.contact { position: relative; overflow: hidden; }
.contact-aura {
  display: none;
  position: absolute;
  bottom: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  max-width: 120vw;
  background: radial-gradient(circle, rgba(157,78,221,0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-intro h2 { margin: 0.6rem 0 1rem; }
.contact-intro .lead { margin-bottom: 2.2rem; }

.contact-direct {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
}
.contact-direct-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.contact-direct-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  font-weight: 600;
  color: var(--text);
  transition: color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.contact-direct-row:hover { color: var(--purple-glow); transform: translateX(4px); }
.cd-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(157,78,221,0.12);
  border: 1px solid rgba(157,78,221,0.3);
  color: var(--purple-glow);
  font-size: 0.95rem;
}

/* --- Form --- */
.contact-form {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-strong);
  color: var(--text);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
/* Custom dark dropdown (matches inputs; native arrow replaced) */
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239D4EDD' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field select option { background: #16161D; color: var(--text); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(157,78,221,0.18);
  background-color: rgba(0,0,0,0.35);
}
.field input.invalid, .field textarea.invalid, .field select.invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
}

.contact-form .btn { grid-column: 1 / -1; margin-top: 0.3rem; }

.form-status {
  grid-column: 1 / -1;
  text-align: center;
  font-weight: 600;
  min-height: 1.2em;
  margin: 0;
}
.form-status.error { color: #ff8a8a; }
.form-status.success { color: #6fe0a6; }

/* success takeover */
.contact-form.sent {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 320px;
}
.contact-form.sent > *:not(.form-status):not(.success-block) { display: none; }
.success-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--purple-gradient);
  box-shadow: var(--glow-purple);
  color: #fff;
  font-size: 1.8rem;
}
.success-payment-note {
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(157,78,221,0.55);
  border-radius: 12px;
  background: rgba(123,44,191,0.14);
  color: #ECECF2;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
}

/* --- Two-step "Get started" layout --- */
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.steps-heading {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.2rem;
}
/* Step marker line at the top of each step card */
.step-label {
  grid-column: 1 / -1;
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--purple-glow);
  text-transform: uppercase;
}
.photos-note {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0.4rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dim);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(157,78,221,0.06);
  border: 1px dashed rgba(157,78,221,0.28);
}

/* --- Step 2: deposit card --- */
.deposit-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1.8rem, 3.2vw, 2.6rem) clamp(1.4rem, 3vw, 2rem);
  border: 1.5px solid #9D4EDD;
  background: linear-gradient(165deg, rgba(157,78,221,0.20), rgba(123,44,191,0.08) 55%, var(--glass));
  box-shadow: 0 0 48px rgba(157,78,221,0.28), inset 0 0 26px rgba(157,78,221,0.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.deposit-step .step-label { color: var(--purple-glow); }
.deposit-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #C9C9D4;
  max-width: 330px;
  margin: 0 0 1.4rem;
}
.deposit-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 64px rgba(157,78,221,0.42), inset 0 0 26px rgba(157,78,221,0.06);
}
.deposit-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #7B2CBF, #9D4EDD);
  padding: 0.42rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
  box-shadow: 0 0 22px rgba(157,78,221,0.55);
}
.deposit-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.deposit-big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(3.6rem, 7.5vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.deposit-to-start {
  font-size: 1.05rem;
  color: #ECECF2;
}
.deposit-fine {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #9A9AA6;
  margin: 0.85rem 0 0;
}
/* Bright glowing purple CTA, consistent with the primary buttons */
.deposit-btn {
  position: relative;
  background: var(--purple-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(123, 44, 191, 0.45), 0 0 40px rgba(157, 78, 221, 0.4),
              inset 0 1px 0 rgba(255,255,255,0.22);
  animation: depositPulse 2.8s var(--ease) infinite;
}
.deposit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 42px rgba(157, 78, 221, 0.6), 0 0 60px rgba(157, 78, 221, 0.5),
              inset 0 1px 0 rgba(255,255,255,0.28);
}
@keyframes depositPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(123, 44, 191, 0.45), 0 0 30px rgba(157, 78, 221, 0.32),
                         inset 0 1px 0 rgba(255,255,255,0.22); }
  50%      { box-shadow: 0 10px 30px rgba(123, 44, 191, 0.45), 0 0 55px rgba(157, 78, 221, 0.55),
                         inset 0 1px 0 rgba(255,255,255,0.22); }
}
@media (prefers-reduced-motion: reduce) {
  .deposit-btn { animation: none; }
}

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-form { grid-template-columns: 1fr; }
}
