:root {
    --bg: #fff5f8;
    --bg-soft: #ffe9f0;
    --accent: #f973b8;
    --accent-soft: rgba(249, 115, 184, 0.16);
    --accent-strong: #ec4899;
    --card-bg: #ffffff;
    --text-main: #111827;
    --text-soft: #6b7280;
    --border-soft: rgba(252, 165, 192, 0.7);
    --error: #ef4444;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    min-height: 100vh;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background:
      radial-gradient(circle at top left, #ffe4ef 0, transparent 55%),
      radial-gradient(circle at bottom right, #ffdce9 0, transparent 55%),
      var(--bg);
    display: flex;
    flex-direction: column;   /* stack title + card */
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    color: var(--text-main);
  }
  
  
  /* Utility */
  
  .hidden {
    display: none !important;
  }
  
  /* Shared card styling */
  
  .card {
    width: 100%;
    max-width: 420px;
    background: var(--card-bg);
    border-radius: 1.25rem;
    border: 1px solid var(--border-soft);
    box-shadow:
      0 18px 35px rgba(244, 114, 182, 0.1),
      0 0 0 1px rgba(248, 250, 252, 0.8);
    padding: 2.1rem 2rem 1.9rem;
    position: relative;
    overflow: hidden;
  }
  
  .card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, var(--accent-soft), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
  }
  
  .card-inner {
    position: relative;
    z-index: 1;
  }
  
  /* Tiny heart badge */
  
  .heart-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 181, 0.5);
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.9rem;
  }
  
  .heart-icon {
    width: 10px;
    height: 10px;
    border-radius: 60% 60% 70% 70%;
    background: var(--accent);
    position: relative;
    transform: rotate(-45deg);
    box-shadow: 0 0 10px rgba(249, 113, 181, 0.7);
  }
  
  .heart-icon::before,
  .heart-icon::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
  }
  
  .heart-icon::before {
    top: -5px;
    left: 0;
  }
  
  .heart-icon::after {
    left: 5px;
    top: 0;
  }
  
  /* Typography & form */
  
  h1 {
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
    color: var(--text-soft);
    margin-bottom: 1.45rem;
    line-height: 1.5;
  }
  
  .field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
  }
  
  label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-soft);
  }
  
  .input-wrapper {
    position: relative;
  }
  
  input[type="password"] {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(252, 165, 192, 0.8);
    background: #fff;
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  
  input[type="password"]::placeholder {
    color: #d1d5db;
  }
  
  input[type="password"]:focus {
    border-color: var(--accent-strong);
    box-shadow:
      0 0 0 1px rgba(236, 72, 153, 0.35),
      0 0 20px rgba(244, 114, 182, 0.25);
    background: #fff;
  }
  
  .hint {
    font-size: 0.78rem;
    color: var(--text-soft);
  }
  
  .error-message {
    font-size: 0.8rem;
    color: var(--error);
    min-height: 1em;
    margin-top: 0.2rem;
  }
  
  /* Button */
  
  button {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1rem;
    margin-top: 0.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fdf2f8;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
    box-shadow: 0 12px 25px rgba(244, 114, 182, 0.55);
  }
  
  button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
  }
  
  button:active {
    transform: translateY(0);
    box-shadow: 0 7px 18px rgba(244, 114, 182, 0.45);
  }
  
  /* Footer */
  
  .footer-note {
    margin-top: 1.4rem;
    font-size: 0.78rem;
    color: var(--text-soft);
    text-align: center;
  }
  
  .footer-note span {
    color: var(--accent-strong);
    font-weight: 500;
  }
  
  /* Main site (inside after password) */
  
  #site-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
  }
  
  .site-hero {
    padding: 2.1rem 2rem 1.9rem;
    background: var(--card-bg);
    border-radius: 1.5rem;
    border: 1px solid rgba(252, 165, 192, 0.8);
    box-shadow:
      0 18px 45px rgba(244, 114, 182, 0.15),
      0 0 0 1px rgba(248, 250, 252, 0.9);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem;
  }
  
  .site-hero::before {
    content: "";
    position: absolute;
    inset: -45%;
    background: radial-gradient(circle at top right, var(--accent-soft), transparent 60%);
    opacity: 0.7;
  }
  
  .site-hero-inner {
    position: relative;
    z-index: 1;
  }
  
  .site-pill {
    display: inline-flex;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(252, 165, 192, 0.9);
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
  }
  
  .site-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
  }
  
  .site-subtitle {
    font-size: 0.95rem;
    color: var(--text-soft);
    max-width: 32rem;
    margin-bottom: 1.6rem;
    line-height: 1.6;
  }
  
  .placeholder-box {
    border-radius: 1rem;
    border: 1px dashed rgba(252, 165, 192, 0.9);
    padding: 1.1rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-soft);
    background: var(--bg-soft);
  }
  
  .placeholder-box strong {
    color: var(--accent-strong);
    font-weight: 500;
  }
  
  /* Layout sections for inside site */
  
  .section-block {
    padding: 1.6rem 1.6rem 1.7rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.4rem;
    border: 1px solid rgba(252, 165, 192, 0.7);
    box-shadow:
      0 16px 35px rgba(244, 114, 182, 0.13),
      0 0 0 1px rgba(248, 250, 252, 0.9);
    margin-bottom: 1.5rem;
  }
  
  .section-header {
    margin-bottom: 1.1rem;
  }
  
  .section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
  }
  
  .section-subtitle {
    font-size: 0.88rem;
    color: var(--text-soft);
  }
  
  /* Card grid for photos / videos */
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .media-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(252, 165, 192, 0.7);
    padding: 0.8rem 0.8rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  
  .media-card-empty {
    background: rgba(255, 240, 246, 0.8);
    border-style: dashed;
  }
  
  .media-thumb {
    border-radius: 0.8rem;
    overflow: hidden;
    border: 1px solid rgba(252, 165, 192, 0.5);
  }
  
  .media-thumb img,
  .media-video {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .media-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .media-title {
    font-size: 0.96rem;
    font-weight: 600;
  }
  
  .media-text {
    font-size: 0.84rem;
    color: var(--text-soft);
    line-height: 1.5;
  }

    /* Small label/tag for edits */
    .media-tag {
        display: inline-flex;
        align-items: center;
        padding: 0.15rem 0.6rem;
        border-radius: 999px;
        font-size: 0.7rem;
        background: var(--accent-soft);
        color: var(--accent-strong);
        font-weight: 500;
    }
  
  /* Optional: subtle tweak for edit cards */
  .media-card-edit {
    background: #fff;
  }
  .media-card-edit .media-thumb {
    border-color: rgba(236, 72, 153, 0.7);
  }
  
  
  /* Quotes section */
  
  .quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .quote-card {
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid rgba(252, 165, 192, 0.7);
    padding: 0.9rem 0.95rem;
  }
  
  .quote-card-soft {
    background: rgba(255, 240, 246, 0.9);
  }
  
  .quote-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
  }
  
  .quote-author {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-soft);
  }

  /* THE PLAN SECTION */
.plan-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 240, 246, 0.85);
    padding: 1.3rem 1.4rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(252, 165, 192, 0.7);
    margin-bottom: 1.2rem;  /* adds space under the first box */
  }
  
  .plan-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-main);
  }
  
  .plan-highlight {
    color: var(--accent-strong);
    font-weight: 600;
  }
  
  
  /* Responsive */
  
  @media (max-width: 900px) {
    .card-grid,
    .quotes-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 640px) {
    .card,
    .site-hero {
      padding: 1.7rem 1.4rem 1.4rem;
    }
  
    .site-title {
      font-size: 1.6rem;
    }
  
    .section-block {
      padding: 1.4rem 1.2rem 1.4rem;
    }
  
    .card-grid,
    .quotes-grid {
      grid-template-columns: minmax(0, 1fr);
    }  
  }

/* Curved SVG Gold Title Container */
.curved-title {
    margin-bottom: 2.2rem;
    overflow: visible;
  }
  
  /* Main curved text */
  .curved-text {
    font-size: 4.2rem;          /* Bigger font */
    font-weight: 800;
    letter-spacing: 0.1em;
    text-shadow:
      0 0 8px rgba(255, 215, 0, 0.7),
      0 0 18px rgba(255, 200, 0, 0.6);
    animation: glow-pulse 3s ease-in-out infinite;
  }
  
  /* Hearts on the sides */
  .side-heart {
    fill: url(#goldGradient);
    font-size: 2.8rem;
    text-shadow:
      0 0 6px rgba(255, 215, 0, 0.7),
      0 0 14px rgba(255, 200, 0, 0.5);
  }
  
  /* ✨ Sparkles like the emoji */
/* Star sparkles around the title */
.sparkle {
    fill: #fffcef;            /* soft light center */
    stroke: #ffe39a;          /* light gold outline */
    stroke-width: 1.5;
    opacity: 0.85;
    transform-origin: center center;
  
    /* gentle twinkle */
    animation: sparklePulse 1.8s ease-in-out infinite;
  }
  
  .sparkle-2 {
    animation-delay: 0.3s;
  }
  
  .sparkle-3 {
    animation-delay: 0.7s;
  }
  
  @keyframes sparklePulse {
    0%, 100% {
      transform: scale(0.9);
      opacity: 0.4;
    }
    50% {
      transform: scale(1.15);
      opacity: 1;
    }
  }

  /* Small heart-shaped sparkles */
.heart-sparkle {
    fill: #ffbfd4;                    /* soft pink heart color */
    stroke: #ff8fb1;                  /* slightly darker outline */
    stroke-width: 1.2;
    opacity: 0.85;
  
    transform-origin: center center;
    animation: heartSparklePulse 1.9s ease-in-out infinite;
  }
  
  .heart-sparkle-2 {
    animation-delay: 0.4s;
  }
  
  .heart-sparkle-3 {
    animation-delay: 0.8s;
  }
  
  @keyframes heartSparklePulse {
    0%, 100% {
      transform: scale(0.85);
      opacity: 0.45;
    }
    50% {
      transform: scale(1.15);
      opacity: 1;
    }
  }
  