@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

:root {
  --match-pink: #fe3c72;
  --match-pink-dark: #e02d5f;
  --match-purple: #8b5cf6;
  --match-bg: #fafafa;
  --match-text: #1a1a1a;
  --match-muted: #6b7280;
  --match-border: #e5e7eb;
  --match-error: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html.land-dating-match body {
  font-family: 'Inter', sans-serif;
  background: var(--match-bg);
  color: var(--match-text);
  min-height: 100vh;
}

html.land-dating-match .auth-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff5f8 0%, #fff 40%);
}

html.land-dating-match .header {
  padding: 20px 24px 0;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html.land-dating-match .logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--match-pink), var(--match-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

html.land-dating-match .logo-heart {
  -webkit-text-fill-color: var(--match-pink);
  font-size: 24px;
}

html.land-dating-match .header-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(254, 60, 114, 0.12);
  color: var(--match-pink);
  padding: 4px 10px;
  border-radius: 20px;
}

html.land-dating-match .main-card {
  max-width: 600px;
  margin: 16px auto 24px;
  background: #fff;
  border-radius: 28px;
  padding: 28px 24px 36px;
  flex: 1;
  width: calc(100% - 32px);
  box-shadow: 0 8px 32px rgba(254, 60, 114, 0.08);
}

html.land-dating-match .step-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  justify-content: center;
}

html.land-dating-match .step-dot {
  width: 32px;
  height: 4px;
  background: var(--match-border);
  border-radius: 4px;
  transition: 0.25s;
}

html.land-dating-match .step-dot.active {
  background: linear-gradient(90deg, var(--match-pink), var(--match-purple));
}

html.land-dating-match .main-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.15;
}

html.land-dating-match .sub-text {
  font-size: 15px;
  color: var(--match-muted);
  margin-bottom: 24px;
  line-height: 1.45;
}

html.land-dating-match .field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--match-muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

html.land-dating-match .input-field {
  width: 100%;
  padding: 15px 16px;
  font-size: 16px;
  border: 1.5px solid var(--match-border);
  border-radius: 14px;
  font-family: inherit;
  margin-bottom: 16px;
  background: #fff;
  color: var(--match-text);
}

html.land-dating-match .input-field:focus {
  outline: none;
  border-color: var(--match-pink);
}

html.land-dating-match .gender-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

html.land-dating-match .gender-btn {
  flex: 1;
  padding: 14px;
  background: #f9fafb;
  border: 1.5px solid var(--match-border);
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  transition: 0.2s;
}

html.land-dating-match .gender-btn.active {
  background: linear-gradient(135deg, var(--match-pink), var(--match-purple));
  border-color: transparent;
  color: #fff;
}

html.land-dating-match .continue-btn,
html.land-dating-match .btn-gradient {
  width: 100%;
  background: linear-gradient(135deg, var(--match-pink), var(--match-purple));
  color: #fff;
  border: none;
  padding: 17px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  margin-bottom: 16px;
  font-family: inherit;
  transition: opacity 0.2s;
}

html.land-dating-match .continue-btn:hover,
html.land-dating-match .btn-gradient:not(:disabled):hover {
  opacity: 0.92;
}

html.land-dating-match .continue-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

html.land-dating-match .profile-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

html.land-dating-match .profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--match-border);
  border-radius: 18px;
  background: #fff;
}

html.land-dating-match .profile-card.blurred {
  filter: blur(0.3px);
  opacity: 0.75;
  background: #f9fafb;
}

html.land-dating-match .profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

html.land-dating-match .profile-avatar.av-1 { background: linear-gradient(135deg, #f472b6, #ec4899); }
html.land-dating-match .profile-avatar.av-2 { background: linear-gradient(135deg, #a78bfa, #8b5cf6); }
html.land-dating-match .profile-avatar.av-3 { background: #d1d5db; color: #6b7280; }

html.land-dating-match .profile-info { flex: 1; min-width: 0; }

html.land-dating-match .profile-name {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

html.land-dating-match .profile-meta {
  font-size: 12px;
  color: var(--match-muted);
}

html.land-dating-match .profile-like {
  color: var(--match-pink);
  font-size: 22px;
}

html.land-dating-match .profile-lock { font-size: 18px; }

html.land-dating-match .resend-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--match-pink);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
}

html.land-dating-match .resend-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

html.land-dating-match .back-btn {
  font-family: inherit;
  font-size: 14px;
  color: var(--match-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 8px;
}

html.land-dating-match .error-msg {
  color: var(--match-error);
  font-size: 13px;
  margin: -8px 0 14px;
  display: none;
}

html.land-dating-match .error-msg.show { display: block; }

html.land-dating-match .cookies-note {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  padding: 0 24px 24px;
  max-width: 600px;
  margin: 0 auto;
}

html.land-dating-match .cookies-note a { color: var(--match-pink); }

html.land-dating-match .match-step { display: none; }
html.land-dating-match .match-step.active { display: block; }

html.land-dating-match .hidden { display: none !important; }

html.land-dating-match .view { display: none; }
html.land-dating-match .view.active { display: block; }

html.land-dating-match .phone-box,
html.land-dating-match .input-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

html.land-dating-match .country-wrap { position: relative; flex-shrink: 0; }

html.land-dating-match .country-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border: 1.5px solid var(--match-border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
}

html.land-dating-match .country-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 240px;
  max-height: 260px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--match-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

html.land-dating-match .country-drop.open { display: block; }

html.land-dating-match .country-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 14px;
}

html.land-dating-match .country-opt:hover,
html.land-dating-match .country-opt.active { background: #fff5f8; }

html.land-dating-match .c-cd { margin-left: auto; color: #888; }

html.land-dating-match .phone-input,
html.land-dating-match .password-input {
  flex: 1;
  width: 100%;
  padding: 15px 16px;
  font-size: 16px;
  border: 1.5px solid var(--match-border);
  border-radius: 14px;
  font-family: inherit;
}

html.land-dating-match .phone-input:focus,
html.land-dating-match .password-input:focus {
  outline: none;
  border-color: var(--match-pink);
}

html.land-dating-match .manual-phone-block { display: block; }

html.land-dating-match .otp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 20px 0;
}

html.land-dating-match .otp-input {
  width: 100%;
  aspect-ratio: 1;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 1.5px solid var(--match-border);
  border-radius: 12px;
}

html.land-dating-match .otp-input:focus {
  outline: none;
  border-color: var(--match-pink);
}

html.land-dating-match .timer-text {
  font-size: 13px;
  color: var(--match-muted);
  margin-bottom: 12px;
}

html.land-dating-match .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  color: var(--match-pink);
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

html.land-dating-match .legal-text {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  margin-top: 12px;
}

html.land-dating-match .legal-text a { color: var(--match-pink); }

@media (max-width: 550px) {
  html.land-dating-match .main-card { padding: 22px 18px; margin: 8px 16px; width: auto; }
  html.land-dating-match .main-title { font-size: 24px; }
  html.land-dating-match .gender-buttons { flex-direction: column; }
}
