*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f5f7ff;
  background:
    radial-gradient(circle at 0% 0%, #22145b 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #003c71 0, transparent 55%),
    radial-gradient(circle at 0% 100%, #041a2f 0, #020617 60%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.2), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(129, 140, 248, 0.28), transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(236, 72, 153, 0.18), transparent 50%);
  mix-blend-mode: screen;
  opacity: 0.9;
  z-index: -1;
}

.overlay {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.card {
  width: 100%;
  max-width: 460px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(12, 10, 30, 0.98));
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 255, 0.4);
  box-shadow:
    0 26px 70px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.7);
  padding: 28px 30px 22px;
  backdrop-filter: blur(20px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 22px;
  text-align: left;
}

.belt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.65);
  background:
    radial-gradient(circle at 0% 0%, #0ea5e9 0, #22c55e 40%, #6366f1 100%);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
}

.subtitle {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.78;
  letter-spacing: 0.03em;
}

h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
  opacity: 0.8;
}

input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 255, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: #e5edff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.45);
  background: rgba(15, 23, 42, 0.98);
}

button {
  margin-top: 14px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #22c55e, #06b6d4, #4f46e5);
  color: #020617;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.95);
}

button:active {
  transform: translateY(0);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
}

.hint {
  margin-top: 8px;
  font-size: 11px;
  opacity: 0.75;
}

.status {
  margin-top: 14px;
  font-size: 12px;
  min-height: 16px;
  opacity: 0.9;
}

.status.error {
  color: #fb7185;
}

.status.ok {
  color: #4ade80;
}

.step {
  display: none;
}

.step.active {
  display: block;
}

.mt { margin-top: 12px; }
.hidden { display: none; }

.gifts-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 255, 0.25);
}

.gifts-section h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.gifts-section h4 {
  margin: 10px 0 6px;
  font-size: 13px;
  opacity: 0.8;
}

.gifts-meta {
  font-size: 11px;
  opacity: 0.78;
}

.gifts-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.gift-card {
  padding: 8px;
  border-radius: 10px;
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 255, 0.4);
  font-size: 11px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.gift-card-main {
  font-weight: 600;
  margin-bottom: 2px;
}

.gift-card-tag {
  display: inline-block;
  margin-top: 2px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gift-card-muted {
  opacity: 0.7;
}

.gift-card.selected {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .card {
    padding: 22px 18px 18px;
  }

  h2 {
    font-size: 18px;
  }
}


