:root {
  --pale-pink: #FFF0F5;
  --soft-peach: #FFF4EC;
  --mint-green: #E8F8F5;
  --butter-yellow: #FFF9E6;
  
  --brand-yellow: #FFD6A5;
  --brand-pink: #FFB5C7;
  --brand-mint: #9FF3D7;

  --text-dark: #4A4A4A;
  --text-muted: #7A7A7A;
  --white: #FFFFFF;

  --shadow-sm: 0 4px 12px rgba(255, 181, 199, 0.15);
  --shadow-lg: 0 16px 40px rgba(255, 181, 199, 0.22);
  
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

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

body {
  font-family: 'Fredoka', sans-serif;
  color: var(--text-dark);
  background-color: var(--soft-peach);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Floating Blobs Background */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
  opacity: 0.6;
}

.shape1 {
  width: 400px; height: 400px;
  background: var(--brand-yellow);
  top: -100px; left: -100px;
  animation: float 14s infinite alternate;
}

.shape2 {
  width: 350px; height: 350px;
  background: var(--brand-pink);
  bottom: -50px; right: -50px;
  animation: float 16s infinite alternate-reverse;
}

.shape3 {
  width: 300px; height: 300px;
  background: var(--brand-mint);
  top: 40%; left: -150px;
  animation: float 12s infinite alternate;
}

.shape4 {
  width: 250px; height: 250px;
  background: var(--brand-yellow);
  top: 10%; right: -100px;
  animation: float 18s infinite alternate-reverse;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(40px, 60px) rotate(15deg); }
}

/* Layout */
.container {
  max-width: 540px;
  margin: 0 auto;
  padding: 30px 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.invite-card {
  text-align: center;
  padding-top: 40px;
  border-top: 6px solid var(--brand-yellow);
}

.wishes-card {
  border-top: 6px solid var(--brand-pink);
}

.form-card {
  border-top: 6px solid var(--brand-mint);
}

/* Hero Photo */
.photo-container {
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--white);
  position: relative;
  /* Fun gentle bounce */
  animation: gentleBounce 4s infinite ease-in-out;
}

@keyframes gentleBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.photo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Headings & Text */
.header-tags {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tag {
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tag-yellow { background: var(--brand-yellow); }
.tag-pink { background: var(--brand-pink); }

.main-title {
  font-size: 32px;
  font-weight: 700;
  color: #FF8BA0;
  margin-bottom: 12px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 600;
}

.intro-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Event Details Grid */
.event-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.icon-yellow { background: #FFF4D1; }
.icon-pink { background: #FFD4DF; }
.icon-mint { background: #D1F3E6; }

.detail-content {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.detail-content span {
  font-size: 16px;
  font-weight: 500;
}

.location-desc {
  font-size: 13px !important;
  color: var(--text-muted);
  margin-top: 4px;
}

.map-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-left: 50px;
}

/* Inputs & Forms */
.form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.choices {
  border: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 4px solid var(--white);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: all 0.2s;
}

.choice:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.choice-yes {
  border-color: var(--butter-yellow);
}
.choice-no {
  border-color: var(--pale-pink);
}
.choice-money {
  border-color: var(--mint-green);
}

.choice:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.choice-yes { background: var(--butter-yellow); }
.choice-no { background: var(--pale-pink); }
.choice-money { background: var(--mint-green); }

.choice input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #FF8BA0;
  cursor: pointer;
}

.choice-content {
  display: flex;
  flex-direction: column;
}

.choice-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
}

.choice-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Dynamic Rows */
.dynamic {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.row label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #EBEBEB;
  background: var(--white);
  font-family: inherit;
  font-size: 16px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.input:focus {
  border-color: #FF8BA0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 99px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #FF8BA0;
  color: var(--white);
  width: 100%;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(255, 139, 160, 0.3);
}

.btn-primary:not(:disabled):hover {
  background: #FF708C;
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: transparent;
  border: 2px solid #EBEBEB;
  color: var(--text-dark);
}

.btn-tiny {
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-cal {
  background: var(--brand-yellow);
  color: var(--text-dark);
  width: 100%;
  margin-top: 10px;
}

.calendar-hidden {
  display: none !important;
}

.form-actions {
  margin-top: 10px;
}

.status {
  text-align: center;
  font-weight: 500;
  color: #FF8BA0;
  min-height: 22px;
}

/* Checkbox specific */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 2px solid #EBEBEB;
  cursor: pointer;
}

.check-row input {
  margin-top: 4px;
  accent-color: #FF8BA0;
  width: 18px;
  height: 18px;
}

.check-content {
  display: flex;
  flex-direction: column;
}

.check-title {
  font-weight: 600;
  font-size: 15px;
}

.check-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Copy Bank Details */
.copyline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.copyval {
  flex-grow: 1;
  background: #F8F8F8;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 14px;
  color: var(--text-dark);
  border: 1px dashed #CCC;
  word-break: break-all;
}

.copy-btn {
  background: var(--brand-mint);
  color: var(--text-dark);
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

.small-hints {
  font-size: 13px;
  color: var(--text-muted);
}
