@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Source+Serif+4:wght@400;500&display=swap");

:root{
  --bg: #fbf4f6;          /* soft blush */
  --paper: #ffffff;       /* clean card */
  --ink: #1f1b1c;         /* warm black */
  --muted: rgba(31,27,28,.65);
  --line: rgba(31,27,28,.10);
  --accent: #b23a67;      /* rose */
  --accent2: #7a2f47;     /* deep rose */
  --shadow: 0 14px 55px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

body{
  margin:0;
  font-family:"Source Serif 4", Georgia, serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(178,58,103,.08), transparent 55%),
              radial-gradient(900px 500px at 85% 20%, rgba(122,47,71,.07), transparent 60%),
              var(--bg);
  color: var(--ink);
  line-height: 1.9;
}

.container{
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 18px;
}

header.container{
  padding-top: 42px;
  padding-bottom: 14px;
  position: relative;
}

.brandRow{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.title{
  font-family:"Playfair Display", serif;
  font-size: 60px;
  font-weight: 600;
  margin: 0;
  letter-spacing: .3px;
}

.tagline{
  margin: 8px 0 0 0;
  font-size: 18px;
  color: var(--muted);
}

.link{
  color: var(--accent2);
  text-decoration: none;
  border-bottom: 1px solid rgba(178,58,103,.35);
  padding-bottom: 2px;
  transition: opacity .2s, border-color .2s;
}
.link:hover{
  opacity: .75;
  border-color: rgba(178,58,103,.55);
}

.badge{
  display:inline-flex;
  gap:10px;
  align-items:center;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(178,58,103,.08);
  border: 1px solid rgba(178,58,103,.16);
  color: rgba(122,47,71,.95);
  font-size: 14px;
}

.card{
  background: var(--paper);
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(178,58,103,.08);
}

.sectionTitle{
  font-family:"Playfair Display", serif;
  font-size: 24px;
  margin: 0 0 18px 0;
}

.thought{
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.thought:first-child{
  border-top: none;
  padding-top: 0;
}

.thoughtTitle{
  font-family:"Playfair Display", serif;
  font-size: 28px;
  margin: 0 0 8px 0;
}

.meta{
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px 0;
}

.content{
  margin: 0;
  font-size: 18px;
  white-space: pre-wrap;
}

.muted{ color: var(--muted); }

/* Admin form styles */
.input, .textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(31,27,28,.18);
  background: rgba(255,255,255,.85);
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.input:focus, .textarea:focus{
  border-color: rgba(178,58,103,.55);
  box-shadow: 0 0 0 4px rgba(178,58,103,.10);
}

.textarea{ min-height: 180px; resize: vertical; }

.btn{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .06s ease, opacity .2s ease;
}
.btn:active{ transform: scale(.99); }
.btn:hover{ opacity: .92; }

.footerNote{
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.quoteText{
    font-family:"Playfair Display", serif;
    font-size: 26px;
    margin: 0;
    line-height: 1.6;
  }
  
  .quoteText::before{ content: "“"; color: rgba(178,58,103,.55); }
  .quoteText::after{ content: "”"; color: rgba(178,58,103,.55); }
  
  .quoteMeta{
    margin: 12px 0 0 0;
    font-size: 14px;
    color: var(--muted);
  }

  .btnSmall{
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14px;
  }
  
  .quoteBox{
    margin-top: 16px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .35s ease, transform .35s ease;
  }
  
  .quoteBox.fadeOut{
    opacity: 0;
    transform: translateY(6px);
  }
  
  .quoteBox.fadeIn{
    opacity: 1;
    transform: translateY(0);
  }

  .btnOutline{
    background: transparent;
    color: var(--accent2);
    border: 1px solid rgba(178,58,103,.35);
    box-shadow: none;
  }
  .btnOutline:hover{
    border-color: rgba(178,58,103,.55);
    opacity: .92;
  }
  
  #newQuoteBtn{
    position: relative;
    overflow: hidden;
  }
  
  /* Sparkles */
  .sparkleLayer{
    position:absolute;
    inset:0;
    pointer-events:none;
  }
  
  .sparkle{
    position:absolute;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.95);
    opacity: 0;
    transform: translateY(0) scale(1);
    animation: sparklePop 550ms ease-out forwards;
  }
  
  @keyframes sparklePop{
    0%   { opacity: 0; transform: translateY(0) scale(.6); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(-18px) scale(1.2); }
  }

  .btnOutline{
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(6px);
  }
  