/* ==========================================================================
   Dashboard / App UI — shared by auth, dashboard, and moment editor pages
   ========================================================================== */
:root {
  --cream: #FAF5EF;
  --cream-deep: #F3E9DC;
  --choco: #2E1F1D;
  --choco-soft: rgba(46, 31, 29, 0.66);
  --choco-faint: rgba(46, 31, 29, 0.45);
  --rose: #B76E79;
  --rose-soft: #E4BFBE;
  --rose-tint: #FBF1F1;
  --gold: #C9A24B;
  --gold-tint: #FDF6E9;
  --white: #FFFDF9;
  --border: #E8DFD3;
  --border-strong: #DCCFBC;
  --danger: #B3413A;
  --danger-tint: #F8E7E5;
  --success: #3E7A54;
  --success-tint: #E7F3EA;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(74, 44, 42, 0.06);
  --shadow: 0 10px 30px rgba(74, 44, 42, 0.10);
  --shadow-lg: 0 24px 50px -18px rgba(74, 44, 42, 0.30);
  --ring: 0 0 0 4px rgba(183, 110, 121, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-serif: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body.app-body {
  margin: 0;
  background: var(--cream);
  color: var(--choco);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--rose); text-decoration: none; }
a:hover { text-decoration: underline; }

.hidden { display: none !important; }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--rose-soft); color: var(--choco); }

/* ---- Nav ---- */
.app-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.app-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--choco);
}
.app-nav-brand:hover { text-decoration: none; }
.app-nav-mark {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(183, 110, 121, 0.35);
}
.app-nav-links { display: flex; align-items: center; gap: 16px; font-size: 0.92rem; }
.app-nav-links > a { color: var(--choco-soft); font-weight: 500; }
.app-nav-links > a:hover { color: var(--choco); text-decoration: none; }
.app-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--choco-soft);
  padding-right: 4px;
}
.app-nav-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--choco), #5A3B37);
  color: var(--gold-tint);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

.flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.94rem;
  border: 1px solid transparent;
}
.flash-success { background: var(--success-tint); color: var(--success); border-color: rgba(62, 122, 84, 0.18); }
.flash-error { background: var(--danger-tint); color: var(--danger); border-color: rgba(179, 65, 58, 0.18); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn:disabled:hover { transform: none; box-shadow: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--choco), #5A3B37);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(46, 31, 29, 0.22);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(46, 31, 29, 0.3); }
.btn-secondary { background: var(--white); color: var(--choco); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--border-strong); background: var(--cream); }
.btn-danger { background: var(--white); color: var(--danger); border-color: rgba(179, 65, 58, 0.35); }
.btn-danger:hover { background: var(--danger-tint); }
.btn-sm { padding: 7px 14px; font-size: 0.82rem; }
.link-button {
  background: none; border: none; padding: 0; color: var(--rose);
  font: inherit; cursor: pointer; text-decoration: none;
}
.link-button:hover { text-decoration: underline; }
.inline-form { display: inline; }

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.page-header h1, .page-header h2 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0; letter-spacing: -0.01em; }
.page-sub { color: var(--choco-soft); margin-top: 4px; }

/* ---- Cards / moment list ---- */
.moment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.moment-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.moment-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}
.moment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.moment-card h3 { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; }
.moment-meta { font-size: 0.85rem; color: var(--choco-soft); }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: fit-content;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-published { background: var(--success-tint); color: var(--success); }
.status-draft { background: var(--gold-tint); color: #A6812E; }
.moment-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

.empty-state {
  background: var(--white);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 20px;
  text-align: center;
  color: var(--choco-soft);
}
.empty-state-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-tint), var(--gold-tint));
  font-size: 1.4rem;
  color: var(--rose);
}

/* ---- Dashboard greeting ---- */
.dash-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--choco), #5A3B37);
  color: var(--white);
}
.dash-greeting h1 { font-family: var(--font-serif); font-size: 1.5rem; margin: 0 0 4px; }
.dash-greeting p { margin: 0; color: rgba(255, 253, 249, 0.72); font-size: 0.92rem; }
.dash-stat {
  text-align: center;
  padding: 6px 20px;
  border-left: 1px solid rgba(255, 253, 249, 0.2);
}
.dash-stat strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; }
.dash-stat span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 253, 249, 0.65); }

/* ---- Forms ---- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  max-width: 620px;
}
.form-card.wide { max-width: none; }
.form-error {
  background: var(--danger-tint);
  color: var(--danger);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
  border: 1px solid rgba(179, 65, 58, 0.18);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.field .hint { font-size: 0.8rem; color: var(--choco-soft); margin-top: 4px; }
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field input[type="date"],
.field textarea,
.field select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--choco);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--border-strong); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: var(--ring);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 90px; }
.field textarea.autosize { resize: none; overflow: hidden; min-height: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.theme-picker { display: flex; gap: 12px; flex-wrap: wrap; }
.theme-option { position: relative; }
.theme-option input { position: absolute; opacity: 0; }
.theme-option label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  min-width: 140px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.theme-option label:hover { border-color: var(--border-strong); }
.theme-option input:checked + label { border-color: var(--rose); background: var(--rose-tint); box-shadow: var(--ring); }
.theme-option input:focus-visible + label { outline: 2px solid var(--rose); outline-offset: 2px; }
.theme-swatch { width: 100%; height: 26px; border-radius: var(--radius-sm); }
.swatch-rose-gold { background: linear-gradient(90deg, #4A2C2A, #B76E79, #C9A24B); }
.swatch-midnight-elegant { background: linear-gradient(90deg, #0B1120, #1E293B, #C7B08B); }
.swatch-soft-pastel { background: linear-gradient(90deg, #6D5A7A, #D9BFD0, #E8A6A6); }
.swatch-loveflix { background: linear-gradient(90deg, #0A0A0C, #E50914, #FFD166); }

/* ---- Auth split-panel ---- */
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 63px);
  margin: -32px -24px -80px;
}
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; min-height: auto; }
}
.auth-brand-pane {
  position: relative;
  background: linear-gradient(160deg, var(--choco) 0%, #5A3B37 100%);
  color: var(--white);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-brand-pane::before {
  content: "♥";
  position: absolute;
  font-size: 22rem;
  right: -60px;
  bottom: -80px;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
@media (max-width: 860px) { .auth-brand-pane { padding: 40px 32px; } }
.auth-brand-top { position: relative; z-index: 1; }
.auth-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--rose), var(--gold));
  font-size: 1.2rem;
  margin-bottom: 22px;
}
.auth-brand-top h2 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 0 0 14px;
  max-width: 360px;
}
.auth-brand-top p { color: rgba(255, 253, 249, 0.72); max-width: 340px; line-height: 1.6; }
.auth-brand-quote {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 253, 249, 0.16);
  padding-top: 20px;
  font-style: italic;
  color: rgba(255, 253, 249, 0.75);
  font-size: 0.92rem;
  max-width: 360px;
}

.auth-form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}
.auth-form-inner { width: 100%; max-width: 380px; }
.auth-form-inner h1 { font-family: var(--font-serif); font-size: 1.7rem; margin: 0 0 6px; }
.auth-form-inner .page-sub { margin-bottom: 26px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 0.9rem; }

/* ---- Editor sections (chapters / gallery / song) ---- */
.editor-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  width: fit-content;
}
.editor-tabs button {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--choco-soft);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.86rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.editor-tabs button:hover { color: var(--choco); }
.editor-tabs button.active { background: var(--choco); color: var(--white); }
.editor-panel { display: none; }
.editor-panel.active { display: block; animation: panelIn 0.25s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.editor-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.editor-section h2 { font-family: var(--font-serif); font-size: 1.3rem; margin-top: 0; }

.list-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--cream);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.list-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.list-item-body { flex: 1; min-width: 0; }
.list-item-body h4 { margin: 0 0 4px; font-size: 0.98rem; }
.list-item-body p { margin: 0; font-size: 0.85rem; color: var(--choco-soft); white-space: pre-wrap; }
.list-item-actions { display: flex; flex-direction: column; gap: 6px; }
.icon-btn {
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: var(--radius-sm);
  width: 30px; height: 28px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.icon-btn:hover { background: var(--rose-tint); border-color: var(--rose); color: var(--rose); }
.icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.icon-btn:disabled:hover { background: var(--white); border-color: var(--border); color: inherit; }

.gallery-manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.gallery-manager-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  transition: box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.gallery-manager-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.gallery-manager-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
.gallery-manager-item .gm-body { padding: 10px; }
.gallery-manager-item input {
  width: 100%; font-size: 0.78rem; padding: 6px 8px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px;
  background: var(--white); transition: border-color 0.18s var(--ease);
}
.gallery-manager-item input:focus { outline: none; border-color: var(--rose); box-shadow: var(--ring); }
.gallery-manager-item .gm-actions { display: flex; gap: 6px; }

.upload-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  color: var(--choco-soft);
  margin-bottom: 16px;
  background: linear-gradient(180deg, var(--cream), transparent);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
  cursor: pointer;
}
.upload-drop:hover { border-color: var(--rose); background: var(--rose-tint); }
.upload-drop.drag-over {
  border-color: var(--rose);
  background: var(--rose-tint);
  border-style: solid;
  transform: scale(1.01);
}
.upload-drop.uploading { opacity: 0.75; pointer-events: none; }
.upload-drop-icon { font-size: 1.8rem; }
.upload-drop p { margin: 0; font-size: 0.9rem; }
.upload-drop input[type="file"] { font-size: 0.84rem; max-width: 100%; }

.editor-empty-hint {
  text-align: center;
  color: var(--choco-faint);
  font-size: 0.9rem;
  padding: 28px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--cream);
  margin-bottom: 16px;
}

.editor-subform {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-top: 16px;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--choco-soft);
  margin-bottom: 14px;
}
.breadcrumb-back:hover { color: var(--rose); text-decoration: none; }

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--choco);
  margin: 30px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.form-section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.form-section-title i { color: var(--rose); font-size: 0.92em; }

.tab-icon { margin-right: 4px; }

.theme-option-layout {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--choco-soft);
  margin-top: 2px;
}

.public-link-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.public-link-box code { background: var(--cream); padding: 4px 9px; border-radius: var(--radius-sm); color: var(--rose); }

.error-page { text-align: center; padding: 100px 20px; }
.error-page-icon {
  width: 84px; height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-tint), var(--gold-tint));
  font-size: 2rem;
  color: var(--rose);
}
.error-page h1 { font-family: var(--font-serif); font-size: 3.4rem; margin: 0 0 10px; color: var(--choco); }
.error-page p { color: var(--choco-soft); margin-bottom: 24px; }

/* ==========================================================================
   Landing page
   ========================================================================== */

.btn-lg { padding: 13px 26px; font-size: 1rem; }

.landing-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Full-bleed helper: breaks a section out of .app-main's max-width */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---- Hero ---- */
.hero-band {
  padding: 56px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FBF1F1, #FDF6E9);
  border: 1px solid var(--border);
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.14;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.accent-text {
  background: linear-gradient(120deg, var(--rose), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-lede {
  color: var(--choco-soft);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 28px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 0.86rem;
  color: var(--choco-soft);
}
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust i { color: var(--success); }

/* ---- Hero visual mock card ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px;
}
.mock-card {
  position: relative;
  width: 260px;
  background: linear-gradient(160deg, var(--white), #FBF1EC);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px 24px 30px;
  box-shadow: 0 30px 60px -20px rgba(74, 44, 42, 0.35), 0 10px 24px rgba(74, 44, 42, 0.08);
  z-index: 2;
  animation: floatCard 5s ease-in-out infinite;
}
.mock-card-back {
  position: absolute;
  inset: 28px -18px auto 18px;
  height: 300px;
  background: linear-gradient(160deg, #C9A24B22, #B76E7922);
  border-radius: 22px;
  transform: rotate(6deg);
  z-index: 1;
  box-shadow: none;
  animation: none;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}
.mock-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mock-heart {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, var(--gold), #A6812E);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(201, 162, 75, 0.45);
}
.mock-year {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 700;
}
.mock-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--choco);
}
.mock-sub {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--choco-soft);
  margin-bottom: 18px;
}
.mock-gallery { display: flex; gap: 8px; margin-bottom: 16px; }
.mock-gallery span {
  flex: 1;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(150deg, #E8D5B5, #F3E9DC);
}
.mock-gallery span:nth-child(2) { background: linear-gradient(150deg, #E4BFBE, #F3E9DC); }
.mock-gallery span:nth-child(3) { background: linear-gradient(150deg, #D9C7A8, #F3E9DC); }
.mock-line { height: 8px; border-radius: 4px; background: var(--border); margin-bottom: 8px; }
.mock-line.short { width: 60%; }

/* ---- Steps ---- */
.steps-band { padding: 60px 0 20px; text-align: center; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}
@media (max-width: 760px) { .steps-grid { grid-template-columns: 1fr; } }
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--choco);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.step h3 { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 8px; }
.step p { color: var(--choco-soft); font-size: 0.92rem; margin: 0; }

/* ---- Layout showcase ---- */
.layout-showcase { padding: 64px 0 20px; text-align: center; }
.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  text-align: left;
}
@media (max-width: 860px) { .layout-grid { grid-template-columns: 1fr; } }

.layout-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.layout-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(74, 44, 42, 0.28); }
.layout-card h3 { font-family: var(--font-serif); margin: 18px 22px 4px; font-size: 1.15rem; }
.layout-card p { color: var(--choco-soft); font-size: 0.88rem; margin: 0 22px 22px; }

.layout-preview {
  height: 170px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
}

/* Classic preview */
.preview-classic { background: linear-gradient(165deg, #FAF5EF, #F3E9DC); }
.preview-classic .lp-ring {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #B76E79;
  border-right-color: #C9A24B;
  margin-bottom: 4px;
}
.lp-line { height: 6px; border-radius: 3px; background: rgba(74, 44, 42, 0.18); }
.lp-line.w60 { width: 60%; }
.lp-line.w40 { width: 40%; }
.preview-classic .lp-grid { display: flex; gap: 6px; margin-top: 8px; }
.preview-classic .lp-grid i { width: 26px; height: 34px; border-radius: 5px; background: #E8D5B5; }

/* Cinematic preview */
.preview-cinematic {
  background: linear-gradient(180deg, rgba(11,17,32,0.15), rgba(11,17,32,0.92)), linear-gradient(140deg, #2A3550, #101826);
  align-items: flex-start;
  justify-content: flex-end;
}
.preview-cinematic .lp-photo { display: none; }
.preview-cinematic .lp-line.on-photo { background: rgba(233, 237, 245, 0.55); }
.preview-cinematic .lp-timeline { display: flex; gap: 10px; margin-top: 10px; }
.preview-cinematic .lp-timeline i {
  width: 8px; height: 8px; border-radius: 50%;
  background: #C7B08B;
  box-shadow: 0 0 0 3px rgba(199, 176, 139, 0.25);
}

/* Magazine preview */
.preview-magazine { background: linear-gradient(165deg, #FBF3F6, #F3E4EC); flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; }
.preview-magazine .lp-line { width: 100%; }
.preview-magazine > .lp-line { display: none; }
.preview-magazine .lp-polaroids { position: relative; width: 60px; height: 70px; flex-shrink: 0; }
.preview-magazine .lp-polaroids i {
  position: absolute;
  width: 42px; height: 42px;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 6px 14px rgba(74, 59, 82, 0.25);
}
.preview-magazine .lp-polaroids i:first-child { top: 0; left: 0; transform: rotate(-8deg); background: linear-gradient(150deg, #E8A6A6, #fff); }
.preview-magazine .lp-polaroids i:last-child { top: 18px; left: 20px; transform: rotate(6deg); background: linear-gradient(150deg, #C9AED9, #fff); }
.preview-magazine .lp-cards { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.preview-magazine .lp-cards i { height: 20px; border-radius: 5px; background: rgba(74, 59, 82, 0.12); }

/* ---- Feature grid ---- */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 70px;
}
.landing-feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FBF1F1, #FDF6E9);
  font-size: 1.15rem;
  color: var(--rose);
  margin-bottom: 14px;
}
.landing-feature h3 { font-family: var(--font-serif); margin: 0 0 8px; font-size: 1.05rem; }
.landing-feature p { margin: 0; color: var(--choco-soft); font-size: 0.92rem; }

/* ---- Final CTA band ---- */
.cta-band {
  margin-top: 80px;
  padding: 70px 24px;
  background: linear-gradient(135deg, var(--choco), #6B453F);
  text-align: center;
}
.cta-band-inner { max-width: 560px; margin: 0 auto; }
.cta-band h2 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin: 0 0 12px;
}
.cta-band p { color: rgba(255, 253, 249, 0.78); margin: 0 0 26px; }
.btn-cta {
  background: var(--white);
  color: var(--choco);
  padding: 13px 30px;
  font-size: 1rem;
}
.btn-cta:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25); }

/* ==========================================================================
   Donation card (dashboard) + donation page
   ========================================================================== */
.donate-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 52px 18px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--rose-tint), var(--gold-tint));
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.donate-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--rose);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.donate-body { flex: 1; min-width: 200px; }
.donate-body h3 { margin: 0 0 3px; font-family: var(--font-serif); font-size: 1.02rem; color: var(--choco); }
.donate-body p { margin: 0; font-size: 0.86rem; color: var(--choco-soft); }
.btn-donate {
  background: var(--white);
  color: var(--rose);
  border: 1px solid var(--rose-soft);
  flex-shrink: 0;
}
.btn-donate:hover { background: var(--rose); color: var(--white); border-color: var(--rose); }
.donate-dismiss {
  position: absolute;
  top: 10px; right: 12px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--choco-faint);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 0.8rem;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.donate-dismiss:hover { background: rgba(46, 31, 29, 0.08); color: var(--choco); }
@media (max-width: 600px) {
  .donate-card { padding: 18px 44px 18px 18px; }
  .btn-donate { width: 100%; justify-content: center; }
}

.donasi-page { max-width: 640px; margin: 20px auto 0; text-align: center; }
.donasi-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--rose-tint), var(--gold-tint));
  color: var(--rose);
  font-size: 1.7rem;
}
.donasi-page h1 { font-family: var(--font-serif); font-size: 1.9rem; margin: 0 0 10px; }
.donasi-lede { font-size: 1.05rem; color: var(--choco); font-weight: 600; margin: 0 0 10px; }
.donasi-sub { color: var(--choco-soft); font-size: 0.92rem; line-height: 1.6; margin: 0 0 36px; }

.donasi-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
  text-align: left;
}
.donasi-method {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  opacity: 0.85;
}
.donasi-method-icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream);
  color: var(--choco-soft);
  font-size: 1.2rem;
}
.donasi-method h3 { font-family: var(--font-serif); font-size: 1rem; margin: 0 0 6px; }
.donasi-method p { font-size: 0.82rem; color: var(--choco-soft); margin: 0 0 14px; min-height: 2.6em; }
.coming-soon-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--gold-tint);
  color: #A6812E;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
