* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(160deg, #ffe3ec 0%, #ffd6e8 45%, #ffc2d9 100%);
  color: #4a1f34;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 24px;
  -webkit-tap-highlight-color: transparent;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  padding: 40px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 18px 50px rgba(190, 60, 110, 0.22);
  backdrop-filter: blur(6px);
}

.heart {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  animation: dobog 1.6s ease-in-out infinite;
}

@keyframes dobog {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

h1 {
  font-size: clamp(24px, 6vw, 34px);
  margin: 0 0 28px;
  line-height: 1.25;
}

h2 {
  font-size: clamp(20px, 5vw, 26px);
  margin: 0 0 8px;
}

.gombok {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.gomb {
  font: inherit;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

.gomb:active { transform: scale(0.96); }

.igen {
  background: linear-gradient(135deg, #ff5f8f, #ff3d6e);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 61, 110, 0.4);
}

.igen:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.nem {
  background: #fff;
  color: #a33b62;
  border: 2px solid #ffb3c9;
}

/* A szokdecselo Nem gomb: a viewporthoz kepest ugrik */
.nem.szokik {
  position: fixed;
  z-index: 50;
  margin: 0;
  transition: left 0.18s ease, top 0.18s ease;
}

.igen.novekszik {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.panel {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.panel[hidden] { display: none; }

.datum-input {
  font: inherit;
  font-size: 18px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid #ffb3c9;
  background: #fff;
  color: #4a1f34;
  width: 100%;
  max-width: 260px;
  text-align: center;
}

.datum-input:focus {
  outline: none;
  border-color: #ff3d6e;
}

p { margin: 0; font-size: 17px; line-height: 1.5; }
