@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { background: #fffafa; color: #2d1b22; font-family: "DM Sans", sans-serif; overflow-x: hidden; }

.background-glow { position: fixed; width: 450px; height: 450px; border-radius: 50%; filter: blur(120px); opacity: .25; pointer-events: none; z-index: -1; }

.glow-1 { background: #ffc0d3; top: -250px; left: -200px; }

.glow-2 { background: #e2c8ff; bottom: -250px; right: -200px; }

.navbar { max-width: 1000px; margin: auto; padding: 24px 25px; display: flex; align-items: center; justify-content: space-between; }

.logo { text-decoration: none; color: #2d1b22; font-family: "Playfair Display", serif; font-size: 22px; font-weight: 600; }

.logo span { color: #df5d88; font-size: 27px; }

.back-btn { padding: 10px 17px; border-radius: 30px; border: 1px solid #f0dfe5; background: white; color: #765260; text-decoration: none; font-size: 12px; transition: .3s; }

.back-btn:hover { transform: translateY(-2px); }

.templates-page { max-width: 850px; margin: auto; padding: 70px 25px 100px; }

.page-heading { max-width: 650px; margin-bottom: 55px; }

.page-heading > span { color: #d96790; font-size: 10px; font-weight: 600; letter-spacing: 3px; }

.page-heading h1 { margin-top: 12px; font-family: "Playfair Display", serif; font-size: clamp(42px, 7vw, 70px); line-height: 1.1; letter-spacing: -2px; }

.page-heading h1 em { color: #df5d88; font-weight: 500; }

.page-heading p { max-width: 530px; margin-top: 18px; color: #92747e; font-size: 14px; line-height: 1.8; }

.template-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.template-box { min-height: 105px; padding: 22px 25px; border-radius: 18px; display: flex; align-items: center; gap: 16px; text-decoration: none; transition: transform .3s, box-shadow .3s; }

.template-box:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(70, 30, 45, .1); }

.template-box span { font-size: 10px; letter-spacing: 1px; opacity: .6; }

.template-box h3 { flex: 1; font-family: "Playfair Display", serif; font-size: 19px; font-weight: 600; line-height: 1.3; }

.template-box b { font-size: 19px; font-weight: 400; transition: transform .3s; }

.template-box:hover b { transform: translateX(5px); }

.color-one { background: #f9e5eb; color: #6b3548; }

.color-two { background: #eee5f7; color: #554064; }

.custom-message { margin-top: 65px; padding: 45px 30px; border-radius: 24px; background: #2d1b22; color: white; text-align: center; }

.custom-message p { color: #d9b9c5; font-size: 13px; }

.custom-message h2 { max-width: 550px; margin: 12px auto 25px; font-family: "Playfair Display", serif; font-size: clamp(27px, 4vw, 38px); font-weight: 500; line-height: 1.3; }

.custom-message a { display: inline-block; padding: 13px 20px; border-radius: 30px; background: white; color: #5d243b; text-decoration: none; font-size: 12px; transition: .3s; }

.custom-message a:hover { transform: translateY(-3px); }

footer { padding: 55px 25px; border-top: 1px solid #f1e4e8; text-align: center; }

.footer-logo { font-family: "Playfair Display", serif; font-size: 22px; }

footer p { margin-top: 10px; color: #a3838d; font-size: 12px; }

@media (max-width: 650px) {
.navbar { padding: 20px; }

.logo { font-size: 18px; }

.back-btn { padding: 9px 12px; font-size: 10px; }

.templates-page { padding: 55px 18px 80px; }

.page-heading { margin-bottom: 40px; }

.template-list { grid-template-columns: 1fr; gap: 10px; }

.template-box { min-height: 78px; padding: 17px 18px; border-radius: 15px; }

.template-box h3 { font-size: 17px; }

.custom-message { margin-top: 45px; padding: 40px 20px; }
}