:root{--ink:#54384f;--muted:#987c91;--pink:#f5a9ca;--rose:#e879aa;--cream:#fffaf7;--lav:#eee7ff;--line:rgba(143,91,126,.13);font-family:Tahoma,Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:radial-gradient(circle at 8% 12%,#f9ddeb 0,transparent 25rem),radial-gradient(circle at 92% 38%,#e9e3ff 0,transparent 28rem),linear-gradient(145deg,#fff9f7 0%,#fff5fa 48%,#faf7ff 100%);overflow-x:hidden}
.birthday-page{position:relative;padding:26px 20px 34px}
.ambient{position:fixed;z-index:0;border-radius:50%;filter:blur(2px);pointer-events:none;opacity:.5}
.ambient-one{width:230px;height:230px;top:8%;left:-120px;background:linear-gradient(135deg,#ffc6df,#fff0f8)}
.ambient-two{width:280px;height:280px;right:-150px;bottom:8%;background:linear-gradient(135deg,#dfd5ff,#f9eaff)}
.floating-sparkles{position:fixed;top:11%;right:5%;z-index:0;color:#e5a5c8;letter-spacing:16px;opacity:.52;font-size:18px;pointer-events:none;animation:twinkle 5s ease-in-out infinite}
.page-shell{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.topline{display:flex;justify-content:space-between;align-items:center;padding:0 12px 23px;color:#987b91}
.brand-mark{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:#714d69;font-weight:800;letter-spacing:.02em}
.brand-heart{display:grid;place-items:center;width:30px;height:30px;background:#ffe4ef;color:#e778a7;border-radius:11px;font-size:14px;transform:rotate(-8deg)}
.topline-note{font:italic 12px Georgia,serif;letter-spacing:.12em;direction:ltr}
.hero-card{position:relative;display:grid;grid-template-columns:1.04fr .96fr;align-items:center;min-height:470px;padding:70px 7.5%;overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:34px;background:linear-gradient(115deg,rgba(255,255,255,.92),rgba(255,247,251,.84));box-shadow:0 24px 80px rgba(145,91,129,.12),inset 0 1px 0 #fff}
.hero-card:after{content:"";position:absolute;inset:14px;border:1px solid rgba(222,170,201,.24);border-radius:25px;pointer-events:none}
.hero-copy{position:relative;z-index:2;max-width:520px}
.eyebrow{margin:0 0 17px;color:#bc78a1;font-size:11px;font-weight:800;letter-spacing:.16em;direction:ltr;text-align:right}
.eyebrow-star{display:inline-block;margin-left:10px;color:#ed9aba;font-size:16px;vertical-align:-2px}
.hero-copy h1{max-width:570px;margin:0;color:#69465f;font-family:'Trebuchet MS',Tahoma,sans-serif;font-size:clamp(38px,5.1vw,65px);font-weight:800;line-height:1.13;letter-spacing:-.045em;direction:ltr;text-align:right;text-wrap:balance}
.hero-subtitle{max-width:485px;margin:23px 0 20px;color:#967b91;font-size:17px;line-height:2.05}
.hero-meta{display:flex;align-items:center;gap:9px;margin:0 0 27px;color:#b38ca5;font-size:12px;letter-spacing:.04em}
.meta-dot{width:7px;height:7px;border-radius:50%;background:#eda2c2;box-shadow:0 0 0 5px #fcebf3}
.celebrate-button{display:inline-flex;align-items:center;gap:24px;padding:13px 18px 13px 15px;border-radius:13px;background:linear-gradient(135deg,#e58ab6,#d77eac);color:#fff;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 11px 22px rgba(207,119,164,.23);transition:transform .2s,box-shadow .2s}
.celebrate-button:hover{transform:translateY(-3px);box-shadow:0 15px 25px rgba(207,119,164,.3)}
.button-arrow{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.2);font-size:15px}
.hero-art{position:relative;display:grid;place-items:center;min-height:310px;direction:ltr}
.orbit{position:absolute;width:270px;height:270px;border:1px dashed rgba(216,151,190,.48);border-radius:50%;transform:rotate(-25deg)}
.orbit-b{width:220px;height:220px;border-color:rgba(193,170,225,.58);transform:rotate(36deg)}
.cake-plate{position:absolute;bottom:56px;width:265px;height:22px;border-radius:50%;background:linear-gradient(180deg,#efd2df,#d9b8cb);box-shadow:0 11px 18px rgba(172,121,153,.18)}
.birthday-cake{position:relative;z-index:2;width:220px;height:190px;margin-top:30px;filter:drop-shadow(0 13px 9px rgba(165,112,148,.1))}
.cake-bottom,.cake-middle,.cake-top{position:absolute;left:50%;transform:translateX(-50%);border:4px solid #fff9fb;box-shadow:0 5px 0 rgba(206,144,177,.15)}
.cake-bottom{bottom:42px;width:190px;height:69px;border-radius:16px 16px 22px 22px;background:linear-gradient(180deg,#f8bdd5,#ef9fc2)}
.cake-middle{bottom:101px;width:155px;height:53px;border-radius:14px 14px 17px 17px;background:linear-gradient(180deg,#ffe4ee,#fac5dc)}
.cake-top{bottom:146px;width:110px;height:22px;border-radius:50%;border:0;background:#fff0f7}
.cake-icing{position:absolute;bottom:91px;left:50%;width:156px;height:17px;transform:translateX(-50%);border-radius:50%;background:#fff7fb;box-shadow:0 5px 0 #f5b5d0}
.cake-candle{position:absolute;z-index:4;bottom:161px;left:50%;width:10px;height:35px;transform:translateX(-50%);border-radius:5px;background:repeating-linear-gradient(135deg,#fff 0 5px,#de8ab4 5px 9px)}
.cake-candle i{position:absolute;left:50%;top:-17px;width:13px;height:18px;transform:translateX(-50%);border-radius:70% 30% 60% 40%;background:linear-gradient(145deg,#ffeaa0,#ff9d67);box-shadow:0 0 21px rgba(255,183,109,.72);animation:flame 1.3s ease-in-out infinite alternate}
.art-heart,.art-star,.art-ribbon{position:absolute;z-index:3;color:#e98bb5}
.heart-a{top:43px;left:16%;font-size:27px;transform:rotate(-15deg);animation:float 3s ease-in-out infinite}
.heart-b{right:12%;bottom:52px;color:#c6a9e3;font-size:23px;transform:rotate(15deg);animation:float 4s ease-in-out infinite reverse}
.star-a{top:32px;right:23%;color:#e5b46e;font-size:25px}
.star-b{bottom:74px;left:15%;color:#bea8df;font-size:31px;animation:twinkle 3s infinite}
.art-ribbon{top:83px;right:8%;font-size:37px;color:#e7aac8;transform:rotate(14deg)}
.hero-sticker{position:absolute;z-index:3;pointer-events:none}
.sticker-cake{width:67px;right:4%;bottom:22px;transform:rotate(9deg)}
.sticker-sparkle{width:50px;left:5%;top:30px}
.scroll-hint{display:flex;align-items:center;justify-content:center;gap:11px;margin:26px 0 39px;color:#ae91a5;font-size:12px}
.scroll-hint span{width:18px;height:28px;border:1px solid #dfb4cc;border-radius:12px;position:relative}
.scroll-hint span:after{content:"";position:absolute;top:5px;left:7px;width:3px;height:6px;border-radius:2px;background:#d88bb3;animation:scrollDot 1.6s infinite}
.content-sections{display:grid;gap:22px;max-width:870px;margin:0 auto}
.message-card{position:relative;overflow:hidden;padding:var(--card-padding,30px);border:1px solid rgba(255,255,255,.9);border-radius:27px;background:var(--card-bg,#fff8fc);color:var(--card-color,var(--ink));box-shadow:0 15px 50px rgba(139,91,125,.09);text-align:var(--card-align,center);font-family:var(--card-font,Tahoma,Arial,sans-serif);font-size:var(--card-size,19px);line-height:2.05;transition:transform .35s,box-shadow .35s}
.message-card:hover{transform:translateY(-3px);box-shadow:0 20px 55px rgba(139,91,125,.13)}
.message-card h2{position:relative;z-index:1;margin:0 0 14px;color:#855a78;font-family:'Trebuchet MS',Tahoma,sans-serif;font-size:clamp(22px,3vw,29px);line-height:1.6}
.message-card p{margin:7px 0}
.message-card strong{color:#bd6d99}
.card-decoration{position:absolute;top:15px;left:20px;color:rgba(218,146,185,.32);font-size:26px}
.rich-message{position:relative;z-index:1;overflow-wrap:anywhere}
.rich-message img{display:inline-block;max-width:min(100%,180px);height:auto;vertical-align:middle;margin:8px;border-radius:12px}
.rich-message a{color:#be6d99;text-decoration-thickness:1px;text-underline-offset:3px}
.rich-message blockquote{margin:18px 0;padding:10px 18px;border-right:3px solid #e8a7c7;background:rgba(255,255,255,.42);border-radius:10px}
.memory-image-wrap{margin:18px auto 0;max-width:640px}
.memory-image{display:block;width:100%;max-height:520px;object-fit:contain;border-radius:19px;box-shadow:0 12px 30px rgba(104,63,92,.13)}
.memory-image-wrap figcaption{margin-top:11px;color:#987c91;font-size:13px}
.closing-note{display:flex;flex-direction:column;align-items:center;margin:66px auto 49px;text-align:center;color:#aa8da2}
.closing-gif{width:112px;height:85px;object-fit:contain;margin-bottom:12px}
.closing-note p{margin:0 0 7px;font-size:13px}
.closing-title{color:#855a78;font-family:'Trebuchet MS',Tahoma,sans-serif;font-size:27px;font-weight:800}
.closing-title span{color:#e489b5}
.site-footer{display:flex;justify-content:space-between;align-items:center;padding:20px 11px 5px;border-top:1px solid var(--line);color:#ae91a5;font-size:11px}
.footer-stars{color:#d99abd;letter-spacing:5px}
@keyframes float{0%,100%{transform:translateY(0) rotate(-12deg)}50%{transform:translateY(-10px) rotate(5deg)}}
@keyframes twinkle{0%,100%{opacity:.35}50%{opacity:.9}}
@keyframes flame{from{transform:translateX(-50%) rotate(-7deg) scale(.93)}to{transform:translateX(-50%) rotate(7deg) scale(1.05)}}
@keyframes scrollDot{0%{opacity:0;transform:translateY(0)}40%{opacity:1}100%{opacity:0;transform:translateY(9px)}}
@media(max-width:780px){.birthday-page{padding:18px 13px 25px}.hero-card{grid-template-columns:1fr;min-height:0;padding:47px 8% 25px;text-align:center}.hero-copy{max-width:none}.eyebrow{text-align:center}.hero-copy h1{text-align:center;font-size:clamp(38px,10vw,58px)}.hero-subtitle{margin:17px auto;font-size:15px}.hero-meta{justify-content:center}.hero-art{min-height:280px;margin-top:12px}.birthday-cake{transform:scale(.88)}.orbit{width:245px;height:245px}.orbit-b{width:205px;height:205px}.sticker-cake{right:3%;bottom:6px;width:54px}.sticker-sparkle{left:5%;top:16px;width:40px}.scroll-hint{margin:22px 0 29px}.message-card{padding:25px 20px!important;font-size:var(--card-size,18px)}.closing-note{margin:50px auto 35px}}
@media(max-width:430px){.topline-note{font-size:10px}.hero-card{border-radius:26px;padding-top:38px}.hero-card:after{inset:9px;border-radius:19px}.hero-copy h1{font-size:39px}.hero-art{min-height:250px}.birthday-cake{transform:scale(.78)}.cake-plate{transform:scale(.85)}.site-footer{gap:10px;font-size:10px}.footer-stars{letter-spacing:2px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Additional fluid sizing for small phones, tablets and wide displays */
.page-shell { width: min(100%, 1120px); min-width: 0; }
.hero-card, .message-card, .closing-note, .site-footer { min-width: 0; }
.memory-image { max-width: 100%; max-height: min(68svh, 620px); }
.rich-message, .message-card h2, .message-card p { overflow-wrap: anywhere; }
.celebrate-button { min-height: 44px; }
@media (min-width: 781px) and (max-width: 1050px) {
  .birthday-page { padding-right: 18px; padding-left: 18px; }
  .hero-card { min-height: 420px; padding: 52px 5%; }
  .hero-art { min-height: 285px; transform: scale(.94); }
}
@media (max-width: 600px) {
  .birthday-page { padding: 12px 10px 24px; }
  .topline { gap: 10px; padding: 0 4px 15px; }
  .brand-mark { gap: 7px; font-size: 12px; }
  .brand-heart { width: 27px; height: 27px; }
  .topline-note { max-width: 45%; font-size: 9px; letter-spacing: .06em; text-align: left; }
  .hero-card { padding: 35px 17px 18px; border-radius: 23px; }
  .hero-card:after { inset: 8px; border-radius: 16px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(30px, 9.5vw, 42px); line-height: 1.28; letter-spacing: -.025em; }
  .hero-subtitle { max-width: 100%; font-size: 13px; line-height: 1.95; }
  .hero-meta { margin-bottom: 19px; font-size: 10px; }
  .celebrate-button { min-height: 44px; gap: 15px; padding: 10px 13px; }
  .hero-art { min-height: clamp(215px, 62vw, 270px); margin-top: 5px; }
  .orbit { width: min(65vw, 230px); height: min(65vw, 230px); }
  .orbit-b { width: min(54vw, 190px); height: min(54vw, 190px); }
  .birthday-cake { transform: scale(.76); }
  .cake-plate { width: min(70vw, 240px); }
  .sticker-cake { right: 2%; bottom: 0; width: 45px; }
  .sticker-sparkle { left: 3%; top: 6px; width: 35px; }
  .scroll-hint { margin: 18px 0 24px; font-size: 10px; }
  .content-sections { gap: 13px; }
  .message-card { border-radius: 19px; line-height: 1.95; font-size: clamp(14px, 4vw, var(--card-size, 18px)); }
  .message-card h2 { font-size: clamp(20px, 6vw, 26px); }
  .message-card p { margin: 5px 0; }
  .memory-image-wrap { margin-top: 12px; }
  .memory-image { max-height: 62svh; border-radius: 13px; }
  .memory-image-wrap figcaption { font-size: 11px; line-height: 1.8; }
  .closing-note { margin: 38px auto 28px; padding: 0 8px; }
  .closing-title { font-size: clamp(21px, 6vw, 26px); }
  .site-footer { flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding-top: 15px; text-align: center; line-height: 1.8; }
}
@media (max-width: 380px) {
  .birthday-page { padding-right: 8px; padding-left: 8px; }
  .topline-note { display: none; }
  .hero-card { padding-right: 13px; padding-left: 13px; }
  .hero-copy h1 { font-size: clamp(28px, 9vw, 36px); }
  .hero-art { min-height: 210px; }
  .birthday-cake { transform: scale(.68); }
  .message-card { padding: 20px 15px !important; }
  .closing-gif { width: 96px; height: 76px; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 900px) {
  .hero-card { grid-template-columns: 1fr 1fr; min-height: 330px; padding: 28px 5%; }
  .hero-art { min-height: 250px; }
  .birthday-cake { transform: scale(.72); }
}


/* ── Hana birthday: warm, personal visual refresh ─────────────────────── */
:root {
  --ink: #503748;
  --muted: #9c7e91;
  --pink: #f0a3c4;
  --rose: #d977a6;
  --cream: #fffaf6;
  --lav: #eee8ff;
  --line: rgba(153, 103, 133, .15);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}
html { scroll-padding-top: 24px; }
body {
  background:
    radial-gradient(ellipse at 7% 9%, rgba(255, 207, 226, .72), transparent 31rem),
    radial-gradient(ellipse at 94% 31%, rgba(224, 214, 255, .66), transparent 34rem),
    radial-gradient(ellipse at 50% 100%, rgba(255, 231, 211, .48), transparent 32rem),
    linear-gradient(145deg, #fffaf7 0%, #fff5f9 52%, #faf7ff 100%);
  color: var(--ink);
}
.birthday-page { padding-top: 30px; }
.topline { padding-bottom: 25px; }
.brand-mark { gap: 11px; font-size: 13px; }
.brand-heart {
  width: 35px; height: 35px; border-radius: 13px;
  background: linear-gradient(145deg, #ffe2ed, #f8e9ff);
  box-shadow: 0 5px 15px rgba(205, 132, 172, .13);
}
.topline-note { color: #b08da5; font: 11px "Segoe UI", Tahoma, sans-serif; letter-spacing: 0; }
.hero-card {
  min-height: 495px; border-radius: 38px; padding: 66px 7.8%;
  background: linear-gradient(122deg, rgba(255,255,255,.97), rgba(255,247,251,.91) 55%, rgba(249,245,255,.92));
  border-color: rgba(255,255,255,.98);
  box-shadow: 0 28px 90px rgba(125, 77, 111, .13), 0 5px 18px rgba(208, 147, 177, .08), inset 0 1px 0 #fff;
}
.hero-card:after { inset: 12px; border-radius: 28px; border-color: rgba(223, 164, 196, .3); }
.hero-card:before {
  position: absolute; content: ""; width: 270px; height: 270px; left: -115px; bottom: -155px;
  border-radius: 50%; background: radial-gradient(circle, rgba(244, 191, 216, .24), transparent 70%);
}
.hero-copy { max-width: 555px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 8px 13px;
  border: 1px solid rgba(228, 187, 211, .55); border-radius: 30px;
  background: rgba(255, 241, 248, .76); color: #b27899; font: 700 11px "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0; direction: rtl;
}
.eyebrow-star { margin: 0; font-size: 13px; }
.hero-copy h1 { color: #65485f; font-family: "Segoe UI", Tahoma, sans-serif; font-size: clamp(40px, 5.3vw, 68px); line-height: 1.28; letter-spacing: -.035em; }
.hero-subtitle { margin-top: 20px; color: #92758a; font-size: clamp(15px, 1.7vw, 18px); line-height: 2.15; }
.hero-meta { color: #af8ca1; }
.celebrate-button {
  gap: 17px; padding: 12px 13px 12px 17px; border-radius: 15px;
  background: linear-gradient(125deg, #e994b9, #cd83b3 58%, #b99ad6);
  box-shadow: 0 12px 24px rgba(195, 116, 160, .24);
}
.celebrate-button:hover { transform: translateY(-3px) scale(1.015); }
.button-arrow { width: 30px; height: 30px; border-radius: 10px; }
.hero-art { filter: drop-shadow(0 10px 24px rgba(194, 139, 173, .1)); }
.orbit { border-style: solid; border-color: rgba(223, 165, 197, .4); }
.orbit-b { border-style: dashed; }
.birthday-cake { filter: drop-shadow(0 16px 13px rgba(165, 112, 148, .14)); }
.scroll-hint { margin: 28px 0 39px; color: #a88ca0; }
.scroll-hint span { border-color: #e2b4ce; }
.content-sections { gap: 24px; max-width: 900px; }
.message-card {
  border: 1px solid rgba(255,255,255,.97); border-radius: 29px;
  box-shadow: 0 17px 48px rgba(127, 83, 115, .085), inset 0 1px 0 rgba(255,255,255,.95);
  transition: transform .28s ease, box-shadow .28s ease;
}
.message-card:nth-child(3n + 1) { border-bottom-right-radius: 12px; }
.message-card:nth-child(3n + 2) { border-top-left-radius: 12px; }
.message-card:hover { transform: translateY(-4px); box-shadow: 0 22px 58px rgba(127, 83, 115, .13); }
.message-card h2 { color: #80536f; font-family: "Segoe UI", Tahoma, sans-serif; }
.card-decoration { top: 13px; left: 18px; color: rgba(210, 142, 179, .4); }
.memory-image { border: 7px solid rgba(255,255,255,.92); border-radius: 23px; box-shadow: 0 14px 36px rgba(104,63,92,.15); }
.memory-image-wrap figcaption { color: #9f8197; }
.closing-note { margin: 74px auto 48px; color: #a58a9e; }
.closing-gif { width: 124px; height: 96px; filter: drop-shadow(0 8px 13px rgba(196, 128, 169, .14)); }
.closing-title { color: #79536f; font-size: clamp(24px, 4vw, 31px); }
.site-footer { padding-top: 21px; color: #a98fa2; }
@media (max-width: 780px) {
  .birthday-page { padding: 16px 12px 25px; }
  .topline { padding: 0 4px 17px; }
  .hero-card { border-radius: 29px; padding: 39px 7% 22px; }
  .hero-card:after { inset: 9px; border-radius: 21px; }
  .hero-copy h1 { font-size: clamp(36px, 9.5vw, 52px); }
  .hero-subtitle { max-width: 420px; }
  .message-card { border-radius: 23px; }
  .closing-note { margin-top: 48px; }
}
@media (max-width: 430px) {
  .topline-note { max-width: 48%; text-align: left; font-size: 9px; }
  .hero-card { padding-top: 33px; }
  .hero-copy h1 { font-size: clamp(34px, 10vw, 43px); }
  .hero-subtitle { font-size: 14px; }
  .message-card { padding: 22px 17px !important; }
  .site-footer { gap: 12px; flex-wrap: wrap; justify-content: center; text-align: center; }
}
