/* =============================================================
   Design GALLERY — browse all invitation designs (live previews)
   ============================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root { --rose:#be185d; --rose-deep:#831843; --gold:#b08433; --gold-soft:#d9b773; --ink:#3a1228; --soft:#8a6076; --line:#efd9e4; }
html { scroll-behavior: smooth; }
body { font-family: 'Jost', system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased;
  background: radial-gradient(1100px 560px at 50% -8%, #fff 0%, #fdf1f5 48%, #fbf6f2 100%); min-height: 100dvh; }

.g-hero { text-align: center; padding: 64px 22px 26px; max-width: 820px; margin: 0 auto; }
.g-eyebrow { font-size: .8rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.g-title { font-family: 'Great Vibes', cursive; font-size: clamp(3rem, 11vw, 5.4rem); line-height: 1.04; color: var(--rose-deep); margin: 8px 0 6px; }
.g-sub { color: var(--soft); font-size: 1.15rem; line-height: 1.6; font-style: italic; }
.g-cta { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; text-decoration: none; font-weight: 700; font-family: 'Cormorant Infant', serif; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, var(--rose), #f472b6); padding: 14px 30px; border-radius: 999px; box-shadow: 0 16px 40px -14px rgba(190,24,93,.7); transition: transform .2s ease; }
.g-cta:hover { transform: translateY(-2px) scale(1.03); }
.g-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.g-section { max-width: 1180px; margin: 0 auto; padding: 30px 18px; }
.g-sec-title { display: flex; align-items: center; gap: 12px; justify-content: center; font-family: 'Cormorant Infant', serif; font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; color: var(--rose-deep); margin-bottom: 4px; }
.g-sec-note { text-align: center; color: var(--soft); margin-bottom: 26px; font-style: italic; }

.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }

.dcard { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 16px 16px; box-shadow: 0 18px 50px -28px rgba(131,24,67,.34); text-align: center; transition: transform .25s ease, box-shadow .25s ease; }
.dcard:hover { transform: translateY(-5px); box-shadow: 0 28px 60px -28px rgba(131,24,67,.45); }
.phone { width: 210px; max-width: 90%; margin: 0 auto; aspect-ratio: 9 / 18.5; background: #14121a; border-radius: 28px; padding: 7px; box-shadow: 0 14px 34px -16px rgba(0,0,0,.6); position: relative; }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 46px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #fff; position: relative; }
.screen iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.screen .ph-load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: .8rem; }

.dname { font-family: 'Cormorant Infant', serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-top: 14px; }
.ddesc { font-size: .82rem; color: var(--soft); margin-top: 2px; }
.dcolors { display: flex; gap: 7px; justify-content: center; margin: 12px 0; }
.dcolors .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: var(--c); padding: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: transform .15s, border-color .15s; }
.dcolors .dot:hover { transform: scale(1.18); }
.dcolors .dot[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.12); }
.dbtn { display: inline-flex; align-items: center; gap: 7px; width: 100%; justify-content: center; text-decoration: none; font-weight: 700; font-family: 'Cormorant Infant', serif; font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--rose), #f472b6); padding: 12px; border-radius: 12px; box-shadow: 0 12px 30px -14px rgba(190,24,93,.7); transition: transform .2s; }
.dbtn:hover { transform: translateY(-2px); }
.dbtn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* types row */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
.tcard { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-decoration: none; color: inherit; box-shadow: 0 16px 44px -28px rgba(131,24,67,.3); transition: transform .25s ease; }
.tcard:hover { transform: translateY(-4px); }
.tcard .mini { width: 86px; flex-shrink: 0; aspect-ratio: 9/18; border-radius: 16px; overflow: hidden; background: #14121a; padding: 4px; }
.tcard .mini .screen { border-radius: 12px; }
.tcard .ti h3 { font-family: 'Cormorant Infant', serif; font-size: 1.5rem; color: var(--rose-deep); }
.tcard .ti p { color: var(--soft); font-size: .9rem; margin-top: 4px; }
.tcard .ti .go { display: inline-block; margin-top: 8px; color: var(--rose); font-weight: 700; }

.g-foot { text-align: center; padding: 40px 22px 30px; }
.donate-foot { max-width: 560px; margin: 10px auto 36px; padding: 22px; text-align: center; background: linear-gradient(135deg,#fff,#fdeef4); border:1px solid var(--line); border-radius: 20px; box-shadow: 0 16px 44px -26px rgba(131,24,67,.3); }
.df-text { color: var(--soft); line-height: 1.6; font-size: .95rem; } .df-text b { color: var(--rose-deep); }
.df-btn { display: inline-flex; gap: 8px; margin-top: 14px; text-decoration: none; font-weight: 700; font-family: 'Cormorant Infant', serif; font-size: 1.1rem; color: #fff; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #3a2a10; padding: 11px 24px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
