@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Quicksand:wght@300;400;500;600;700&family=Playfair+Display:ital@0;1&display=swap');

:root {
  --rose-deep: #d6336c;
  --rose: #e85d8a;
  --blush: #ff8fab;
  --blush-light: #ffb3c6;
  --petal: #ffe5ec;
  --petal-light: #fff0f5;
  --gold: #e8a87c;
  --gold-light: #f5d6b8;
  --text: #2d1b2e;
  --text-light: #8b5e7c;
  --text-muted: #c4a0b0;
  --white: #ffffff;
  --shadow-soft: rgba(214, 51, 108, 0.15);
  --shadow-glow: rgba(214, 51, 108, 0.3);
  --shadow-strong: rgba(214, 51, 108, 0.25);
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(145deg, #fff5f7 0%, #ffe5ec 30%, #fccfd8 60%, #f8b4d9 100%);
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}

/* ===== Floating elements ===== */
.floating-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-heart, .floating-dove, .floating-petal {
  position: absolute;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(214, 51, 108, 0.15));
}

.floating-heart {
  font-size: 20px;
  animation-name: float-heart;
}

.floating-dove {
  font-size: 24px;
  animation-name: float-dove;
}

.floating-petal {
  font-size: 14px;
  animation-name: float-petal;
}

@keyframes float-heart {
  0% { transform: translateY(100vh) rotate(0deg) scale(0.3); opacity: 0; }
  8% { opacity: 0.7; transform: translateY(85vh) rotate(30deg) scale(0.6); }
  50% { transform: translateY(40vh) rotate(180deg) scale(1); opacity: 0.8; }
  92% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg) scale(0.8); opacity: 0; }
}

@keyframes float-dove {
  0% { transform: translateX(-100px) translateY(60vh) rotate(-10deg); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translateX(40vw) translateY(25vh) rotate(5deg); opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateX(100vw) translateY(-20px) rotate(-5deg); opacity: 0; }
}

@keyframes float-petal {
  0% { transform: translateY(-50px) rotate(0deg) translateX(0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { transform: translateY(35vh) rotate(200deg) translateX(50px); opacity: 0.6; }
  100% { transform: translateY(100vh) rotate(400deg) translateX(-40px); opacity: 0; }
}

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

@keyframes heartbeat {
  0% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

@keyframes love-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes bounce-in {
  0% { transform: scale(0.3) rotate(-5deg); opacity: 0; }
  50% { transform: scale(1.1) rotate(2deg); }
  70% { transform: scale(0.95) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

@keyframes confetti-fall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(1080deg); opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px var(--shadow-soft), 0 0 40px var(--shadow-soft); }
  50% { box-shadow: 0 0 30px var(--shadow-glow), 0 0 60px var(--shadow-glow); }
}

@keyframes rose-glow {
  0%, 100% { box-shadow: 0 0 15px rgba(214, 51, 108, 0.15); }
  50% { box-shadow: 0 0 30px rgba(214, 51, 108, 0.3), 0 0 60px rgba(214, 51, 108, 0.1); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Invite Page ===== */
.invite-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.main-card {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 245, 247, 0.92) 100%);
  border-radius: 36px 36px 36px 36px;
  padding: 52px 32px 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 10px 40px var(--shadow-soft),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 80px rgba(214, 51, 108, 0.08);
  animation: slide-up 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: visible;
  border: 2px solid rgba(255, 143, 171, 0.2);
}

/* Love letter / envelope top decoration */
.main-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20px;
  right: 20px;
  height: 6px;
  background: linear-gradient(90deg, var(--rose) 0%, var(--gold) 50%, var(--rose) 100%);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 12px rgba(214, 51, 108, 0.2);
}

/* Heart seal decoration */
.main-card::after {
  content: '💌';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  filter: drop-shadow(0 2px 6px rgba(214, 51, 108, 0.3));
  animation: float-gentle 3s ease-in-out infinite;
}

.sparkle-deco {
  font-size: 32px;
  margin-bottom: 20px;
  animation: sparkle 2.5s ease-in-out infinite;
}

.question {
  font-family: 'Dancing Script', cursive;
  font-size: 2.4rem;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: bounce-in 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-question {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 36px;
  font-weight: 400;
  font-style: italic;
}

/* ===== Buttons ===== */
.buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-yes {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  border: none;
  padding: 18px 52px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 24px var(--shadow-glow);
  font-family: 'Dancing Script', cursive;
  position: relative;
  overflow: hidden;
  min-width: 140px;
  animation: heartbeat 2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

.btn-yes:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 40px var(--shadow-strong), 0 0 60px rgba(214, 51, 108, 0.15);
}

.btn-yes:active {
  transform: scale(0.95);
}

.btn-yes::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  animation: love-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn-no {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--blush-light);
  padding: 12px 36px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s ease;
  font-family: 'Quicksand', sans-serif;
  position: relative;
  user-select: none;
  min-width: 100px;
}

.btn-no:hover {
  background: rgba(255, 179, 198, 0.15);
  border-color: var(--blush);
}

/* ===== Back button ===== */
.btn-back {
  background: transparent;
  color: var(--text-light);
  border: none;
  font-size: 0.9rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  padding: 8px 16px;
  margin-top: 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  color: var(--rose-deep);
  background: rgba(214, 51, 108, 0.06);
}

/* ===== Date Options ===== */
.options-section {
  display: none;
  animation: slide-up 0.5s ease-out;
  width: 100%;
}

.options-section.visible {
  display: block;
}

.options-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.date-options {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.option-card {
  background: white;
  border: 2px solid rgba(255, 179, 198, 0.3);
  border-radius: 20px;
  padding: 18px 20px;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 3px 12px rgba(214, 51, 108, 0.06);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slide-up 0.5s ease-out backwards;
}

.option-card:hover {
  border-color: var(--blush);
  transform: translateX(6px) translateY(-2px);
  box-shadow: 0 6px 24px var(--shadow-soft);
}

.option-card.selected {
  border-color: var(--rose-deep);
  background: linear-gradient(135deg, var(--petal-light), #fff5f9);
  box-shadow: 0 6px 28px var(--shadow-glow);
  transform: translateX(4px) scale(1.02);
}

.option-emoji {
  font-size: 30px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--petal-light), var(--petal));
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(214, 51, 108, 0.08);
}

.option-info {
  flex: 1;
}

.option-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 3px;
}

.option-category {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ===== Calendar Section ===== */
.calendar-section {
  display: none;
  animation: slide-up 0.5s ease-out;
  width: 100%;
}

.calendar-section.visible {
  display: block;
}

.calendar-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.date-input {
  width: 100%;
  padding: 18px;
  border: 2px solid var(--blush-light);
  border-radius: 18px;
  font-size: 1.1rem;
  font-family: 'Quicksand', sans-serif;
  color: var(--text);
  background: white;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  margin-bottom: 24px;
  -webkit-appearance: none;
}

.date-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--shadow-soft), 0 0 20px var(--shadow-soft);
}

/* Glow animation for submit button */
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 6px 20px var(--shadow-glow); }
  50% { box-shadow: 0 8px 35px var(--shadow-strong), 0 0 50px rgba(214, 51, 108, 0.12); }
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 20px var(--shadow-glow);
  font-family: 'Dancing Script', cursive;
  animation: btn-glow 3s ease-in-out infinite;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--shadow-strong), 0 0 50px rgba(214, 51, 108, 0.1);
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  animation: none;
  box-shadow: 0 6px 20px var(--shadow-soft);
}

/* ===== Celebration Screen ===== */
.celebration {
  display: none;
  animation: bounce-in 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.celebration.visible {
  display: block;
}

.celebration-emoji {
  font-size: 72px;
  margin-bottom: 16px;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

.celebration-title {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.celebration-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 6px;
  font-weight: 500;
}

.celebration-date {
  font-family: 'Dancing Script', cursive;
  font-size: 1.5rem;
  color: var(--rose-deep);
  margin-top: 12px;
  padding: 10px 28px;
  background: linear-gradient(135deg, var(--petal-light), var(--petal));
  border-radius: 24px;
  display: inline-block;
  box-shadow: 0 4px 16px var(--shadow-soft);
  border: 1px solid rgba(255, 143, 171, 0.2);
}

/* ===== Confetti ===== */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  z-index: 100;
  pointer-events: none;
  animation: confetti-fall 3s ease-out forwards;
  border-radius: 2px;
}

/* ===== Error State ===== */
.error-state {
  text-align: center;
  padding: 40px 20px;
}

.error-state .emoji {
  font-size: 56px;
  margin-bottom: 16px;
  animation: wiggle 2s ease-in-out infinite;
}

.error-state h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: var(--rose-deep);
  margin-bottom: 8px;
}

/* ===== Loading ===== */
.loading {
  text-align: center;
  padding: 40px;
  font-size: 2.5rem;
}

.loading-dots {
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

/* ===== Admin Styles ===== */
.admin-page {
  min-height: 100vh;
  padding: 0;
}

.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(145deg, #fff5f7 0%, #ffe5ec 30%, #fccfd8 60%, #f8b4d9 100%);
}

.admin-login-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 44px 36px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px var(--shadow-soft), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  text-align: center;
  border: 2px solid rgba(255, 143, 171, 0.15);
}

.admin-login-card h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
}

.admin-login-card input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--blush-light);
  border-radius: 16px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
  outline: none;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.admin-login-card input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px var(--shadow-soft);
}

.admin-login-card .btn-submit {
  margin-top: 8px;
}

.admin-error {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Admin Dashboard */
.admin-dashboard {
  display: none;
  min-height: 100vh;
}

.admin-dashboard.visible {
  display: block;
}

.admin-header {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  padding: 24px 32px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px var(--shadow-soft);
}

.admin-header h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
}

.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 32px;
  background: white;
  border-bottom: 1px solid #f0e0e6;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.admin-nav button {
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: 22px;
  background: var(--petal-light);
  color: var(--rose-deep);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.admin-nav button:hover {
  background: var(--blush-light);
  color: var(--rose-deep);
}

.admin-nav button.active {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: white;
  border-color: var(--rose-deep);
  box-shadow: 0 3px 12px var(--shadow-soft);
}

.admin-content {
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-panel {
  display: none;
  animation: slide-up 0.3s ease-out;
}

.admin-panel.visible {
  display: block;
}

.admin-panel h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  color: var(--rose-deep);
  margin-bottom: 24px;
}

/* Admin Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: white;
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 0 0 1px rgba(255, 143, 171, 0.1) inset;
  border: 1px solid rgba(255, 143, 171, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-soft);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
  font-weight: 500;
}

/* Admin Chart */
.chart-container {
  background: white;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 0 0 1px rgba(255, 143, 171, 0.06) inset;
}

.chart-container h3 {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 600;
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.chart-bar-label {
  min-width: 120px;
  font-size: 0.85rem;
  color: var(--text);
  text-align: right;
}

.chart-bar-fill {
  height: 30px;
  border-radius: 15px;
  background: linear-gradient(90deg, var(--blush), var(--rose), var(--rose-deep));
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  padding-left: 12px;
  font-size: 0.8rem;
  color: white;
  font-weight: 600;
  min-width: 30px;
  box-shadow: 0 2px 8px rgba(214, 51, 108, 0.15);
}

.chart-bar-count {
  font-size: 0.8rem;
  color: var(--text-light);
  min-width: 30px;
}

/* Admin Form */
.admin-form {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 0 0 1px rgba(255, 143, 171, 0.06) inset;
  margin-bottom: 24px;
}

.admin-form h3 {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.form-row input, .form-row select, .form-row textarea {
  flex: 1;
  min-width: 150px;
  padding: 12px 16px;
  border: 2px solid var(--blush-light);
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: 'Quicksand', sans-serif;
  outline: none;
  transition: all 0.3s ease;
}

.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--shadow-soft);
}

.form-row textarea {
  min-height: 80px;
  resize: vertical;
}

.btn-action {
  padding: 12px 26px;
  border: none;
  border-radius: 14px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: white;
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--shadow-glow);
}

.btn-danger {
  background: #fee;
  color: #e74c3c;
}

.btn-danger:hover {
  background: #e74c3c;
  color: white;
}

.btn-secondary {
  background: var(--petal-light);
  color: var(--rose-deep);
}

.btn-secondary:hover {
  background: var(--blush-light);
  color: var(--rose-deep);
}

/* Admin Items List */
.admin-list {
  display: grid;
  gap: 12px;
}

.admin-item {
  background: white;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
  gap: 12px;
  border: 1px solid rgba(255, 143, 171, 0.06);
}

.admin-item:hover {
  box-shadow: 0 6px 24px var(--shadow-soft);
}

.admin-item-info {
  flex: 1;
}

.admin-item-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.admin-item-meta {
  font-size: 0.82rem;
  color: var(--text-light);
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.admin-item-actions .btn-action {
  padding: 6px 14px;
  font-size: 0.8rem;
}

/* Checkbox grid for option selection */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--petal-light);
  border-radius: 12px;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.checkbox-item:hover {
  background: var(--blush-light);
  border-color: var(--blush);
  transform: translateY(-1px);
}

.checkbox-item input {
  accent-color: var(--rose-deep);
  width: 18px;
  height: 18px;
}

/* Link card with copy */
.link-card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 0 0 1px rgba(255, 143, 171, 0.06) inset;
  margin-bottom: 16px;
  transition: box-shadow 0.3s ease;
}

.link-card:hover {
  box-shadow: 0 8px 30px var(--shadow-soft);
}

.link-url {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.link-url input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--blush-light);
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'Quicksand', sans-serif;
  background: #fafafa;
  transition: border-color 0.3s ease;
}

.link-url input:focus {
  border-color: var(--rose);
  outline: none;
}

.link-url .btn-action {
  white-space: nowrap;
}

.link-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.link-options-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.option-tag {
  padding: 5px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--petal-light), var(--petal));
  font-size: 0.8rem;
  color: var(--rose-deep);
  font-weight: 500;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: linear-gradient(135deg, var(--rose-deep), var(--rose));
  color: white;
  padding: 14px 28px;
  border-radius: 16px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  box-shadow: 0 6px 30px var(--shadow-strong);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .main-card {
    padding: 40px 20px 32px;
    border-radius: 28px;
  }

  .question {
    font-size: 1.7rem;
  }

  .buttons {
    flex-direction: column;
    gap: 16px;
  }

  .btn-yes, .btn-no {
    width: 100%;
    max-width: 260px;
  }

  .admin-header {
    padding: 16px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .admin-nav {
    padding: 12px 20px;
  }

  .admin-content {
    padding: 20px 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    flex-direction: column;
  }

  .form-row input, .form-row select {
    min-width: auto;
  }

  .admin-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-url {
    flex-direction: column;
  }

  .link-url input {
    width: 100%;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .chart-bar-label {
    min-width: 80px;
    font-size: 0.75rem;
  }

  .celebration-emoji {
    font-size: 56px;
  }

  .celebration-title {
    font-size: 1.8rem;
  }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blush), var(--rose));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rose-deep);
}