:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;

  --amber-100: #fef3c7;
  --amber-300: #fcd34d;

  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;

  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 24px 60px -25px rgba(244, 63, 94, 0.28);
  --shadow-button: 0 10px 24px -12px rgba(244, 63, 94, 0.55);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--slate-700);
  background:
    radial-gradient(circle at 12% 18%, rgba(251, 113, 133, 0.18), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(252, 211, 77, 0.20), transparent 40%),
    linear-gradient(135deg, #fff1f2 0%, #ffe4e6 45%, #fff7ed 100%);
}

.center-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 16px;
}

.card {
  width: 100%;
  max-width: 460px;
  padding: 32px 24px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.plan-card {
  max-width: 560px;
  text-align: left;
}

h1,
h2 {
  margin: 0 0 10px;
  color: var(--rose-600);
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 7vw, 3rem);
}

h2 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
}

p {
  margin: 0 0 14px;
  color: var(--slate-600);
  line-height: 1.6;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 28px;
}

.question-box {
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-md);
  background: rgba(255, 241, 242, 0.75);
}

.question-box h2 {
  color: var(--slate-700);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 800;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 64px;
  margin-top: 20px;
}

button {
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-600));
  box-shadow: var(--shadow-button);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05);
}

button:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

button:focus-visible {
  outline: 3px solid var(--rose-300);
  outline-offset: 3px;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary-button {
  color: var(--slate-600);
  background: #fff;
  border: 1px solid var(--rose-200);
  box-shadow: 0 6px 18px -12px rgba(100, 116, 139, 0.45);
}

.secondary-button:hover:not(:disabled) {
  background: var(--rose-50);
}

#stillNoBtn {
  background: #64748b;
}

.image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-md);
  background: var(--rose-50);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guilt-text {
  font-weight: 600;
  color: var(--slate-700);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-700);
}

.vibe-options {
  display: grid;
  gap: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid #e9ecef;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.radio-label:hover,
.radio-label:focus-within {
  border-color: var(--rose-300);
  background: var(--rose-50);
  transform: translateY(-1px);
}

.radio-label input[type="radio"] {
  accent-color: var(--rose-500);
  width: 18px;
  height: 18px;
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 620px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

input[type="date"],
input[type="time"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--slate-700);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.18);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
}

.confirmation-card {
  padding: 22px;
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-md);
  background: var(--rose-50);
  text-align: center;
}

.confirmation-card h2 {
  margin-bottom: 14px;
}

.confirmation-card p {
  margin: 8px 0;
}

.confirmation-note {
  color: var(--slate-500);
  font-size: 0.92rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--rose-600);
  background: var(--rose-50);
}

/* Dark theme for no.html */
body.dark-theme {
  color: #e2e8f0;
  background:
    radial-gradient(circle at 15% 15%, rgba(244, 63, 94, 0.16), transparent 45%),
    linear-gradient(135deg, #111827 0%, #1f2937 100%);
}

body.dark-theme .card {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(31, 41, 55, 0.92);
  box-shadow: 0 24px 60px -25px rgba(0, 0, 0, 0.65);
}

body.dark-theme h2 {
  color: var(--rose-400);
}

body.dark-theme p {
  color: #cbd5e1;
}

body.dark-theme .image-container {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 24, 39, 0.7);
}
.choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e9ecef;
  border-radius: 16px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.choice-card:hover,
.choice-card:focus-within {
  border-color: var(--rose-300);
  background: var(--rose-50);
  transform: translateY(-2px);
}

.choice-card input[type="radio"] {
  accent-color: var(--rose-500);
  width: 18px;
  height: 18px;
}

.choice-icon {
  font-size: 1.5rem;
}

.choice-card strong {
  display: block;
  color: var(--slate-700);
}

.choice-card small {
  color: var(--slate-500);
}
.confirmation-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.qr-section {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rose-100);
}

.qr-code {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 20px -12px rgba(244, 63, 94, 0.45);
}

.qr-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}
.site-footer {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--rose-100);
}

.footer-line {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-600);
}

.footer-joke {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--slate-500);
}
@media (max-width: 700px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
.heart-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.heart {
  position: absolute;
  bottom: 20vh;
  font-size: 22px;
  color: var(--rose-500);
  opacity: 0;
  animation: heart-rise 1.4s ease-out forwards;
}

@keyframes heart-rise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.6) rotate(0deg);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(-55vh) scale(1.25) rotate(18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
[hidden] {
  display: none !important;
}

.form-group label.choice-card {
  display: flex;
  margin-bottom: 0;
  font-weight: 400;
}

.choice-card:has(input:checked) {
  border-color: var(--rose-400);
  background: var(--rose-50);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: white;
  color: var(--slate-700);
  font: inherit;
}

#hint-text {
  height: auto;
  min-height: 24px;
}

#btn-container {
  flex-wrap: wrap;
}

#responses {
  overflow-x: auto;
}

#slideshow-image {
  transition: opacity 250ms ease;
}

.heart {
  animation-duration: 900ms;
}

a:focus-visible {
  outline: 3px solid var(--rose-300);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .heart {
    display: none;
  }
}
.slideshow-frame {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 4px solid white;
  border-radius: 24px;
  box-shadow: 0 18px 40px -20px rgba(244, 63, 94, 0.45);
  background: var(--rose-50);
}

#slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 250ms ease;
}
.thank-you-photo-frame {
  width: min(320px, 80vw);
  aspect-ratio: 4 / 5;
  margin: 0 auto 24px;
  overflow: hidden;
  border: 5px solid white;
  border-radius: 28px;
  box-shadow: 0 24px 50px -22px rgba(244, 63, 94, 0.5);
  background: var(--rose-50);
}

.thank-you-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}