:root {
  /* Soft pink color palette based on reference */
  --bg-gradient-top: #ffd6df;
  --bg-gradient-bottom: #ffffff;

  --card-bg: #fff0f3;
  --card-shadow: 10px 10px 20px #e6c1c8, -10px -10px 20px #ffffff;
  --card-border: rgba(255, 255, 255, 0.4);

  --primary: #ff8fa3;
  --primary-hover: #ff758f;

  /* Text */
  --text-main: #4a4a4a;
  --text-muted: #8b8b8b;
  --text-heading: #2d2d2d;

  /* Input & Bubbles */
  --input-bg: #ffe4e9;
  --input-shadow-inner: inset 4px 4px 8px #e6cdcd, inset -4px -4px 8px #ffffff;

  /* Button gradients */
  --btn-gradient: linear-gradient(135deg, #ff9eb1, #ff758f);
  --btn-shadow: 4px 4px 10px rgba(255, 117, 143, 0.3), -4px -4px 10px rgba(255, 255, 255, 0.8), inset 2px 2px 5px rgba(255, 255, 255, 0.4);
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 100%);
  background-attachment: fixed;
  color: var(--text-main);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
  animation: fadeIn 0.4s ease-out;
}

/* 3D Neumorphic Bubbly Card */
.card {
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 40px;
  padding: 40px;
  box-shadow: var(--card-shadow);
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

/* Optional subtle highlight inside card */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  text-align: center;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0;
  color: var(--text-heading);
  line-height: 1.5;
}

p {
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

/* 3D Inner Shadow Inputs */
input,
textarea {
  width: 100%;
  padding: 18px 24px;
  background: var(--input-bg);
  border: none;
  border-radius: 24px;
  box-shadow: var(--input-shadow-inner);
  font-size: 16px;
  color: var(--text-heading);
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-top: 12px;
}

input:focus,
textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05), 0 0 0 3px rgba(255, 143, 163, 0.3);
}

input::placeholder,
textarea::placeholder {
  color: #b05c6d;
  opacity: 0.6;
}

/* 3D Pill Buttons */
button {
  margin-top: 32px;
  width: 100%;
  padding: 18px 32px;
  border: none;
  border-radius: 50px;
  /* fully pill shaped */
  background: var(--btn-gradient);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 6px 6px 15px rgba(255, 117, 143, 0.4), -4px -4px 10px rgba(255, 255, 255, 0.9), inset 2px 2px 5px rgba(255, 255, 255, 0.5);
}

button:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: inset 4px 4px 10px rgba(0, 0, 0, 0.1), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
}

.meta {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 10px;
}

.muted {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

label {
  font-weight: 700;
  color: var(--text-heading);
  display: block;
  margin-bottom: 6px;
  margin-left: 12px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}