:root {
    --black: #10070d;
    --ink: #24131d;
    --pink: #ff77b7;
    --pink-soft: #ffd0e7;
    --rose: #ff2f92;
    --cream: #fff7fb;
    --mint: #b8ffe3;
    --line: rgba(255, 255, 255, .18);
    --shadow: 0 22px 70px rgba(16, 7, 13, .32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--cream);
    font-family: "Vazirmatn", system-ui, sans-serif;
    background:
        radial-gradient(circle at 12% 15%, rgba(255, 119, 183, .34), transparent 26rem),
        radial-gradient(circle at 85% 8%, rgba(184, 255, 227, .18), transparent 20rem),
        linear-gradient(135deg, #10070d 0%, #1f0b18 42%, #070507 100%);
    cursor: none;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
audio,
video {
    font: inherit;
}

.fancy-emoji {
    display: inline-grid;
    place-items: center;
    width: 1.95em;
    height: 1.95em;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .96), rgba(255, 208, 231, .72) 34%, rgba(255, 119, 183, .42) 66%, rgba(16, 7, 13, .32)),
        linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 119, 183, .22));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .52),
        0 10px 24px rgba(255, 47, 146, .22),
        0 0 28px rgba(255, 119, 183, .24);
    line-height: 1;
    vertical-align: middle;
    text-shadow: 0 2px 8px rgba(16, 7, 13, .22);
    transform-origin: center;
    animation: emoji-float 3.4s ease-in-out infinite;
}

.fancy-emoji:hover {
    transform: translateY(-3px) scale(1.06) rotate(-3deg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .62),
        0 16px 34px rgba(255, 47, 146, .3),
        0 0 34px rgba(184, 255, 227, .24);
}

.scene {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.scene::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .34;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, transparent, black 14%, black 80%, transparent);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 16px 0;
    backdrop-filter: blur(14px);
}

.brand,
.nav-links {
    display: flex;
    align-items: center;
    border: 1px solid var(--line);
    background: rgba(16, 7, 13, .62);
    box-shadow: 0 14px 44px rgba(0, 0, 0, .22);
}

.brand {
    gap: 10px;
    min-width: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
}

.brand img {
    width: 38px;
    height: 38px;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-links {
    gap: 4px;
    padding: 8px;
    border-radius: 999px;
}

.nav-links a {
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255, 247, 251, .78);
    font-size: .92rem;
}

.nav-links a:hover {
    background: rgba(255, 119, 183, .18);
    color: #fff;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: center;
    min-height: calc(100vh - 84px);
    padding: 54px 0 84px;
}

.hero-copy {
    max-width: 700px;
}

.script,
.section-heading p {
    margin: 0 0 10px;
    color: var(--pink-soft);
    font-family: "Pacifico", cursive;
    font-size: clamp(1.25rem, 4vw, 2.3rem);
    direction: ltr;
}

h1 {
    max-width: 12ch;
    margin: 0;
    color: #fff;
    font-size: clamp(3.2rem, 8vw, 7.2rem);
    line-height: .95;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 16px 50px rgba(255, 47, 146, .32);
}

.hero-copy > p:not(.script) {
    max-width: 620px;
    color: rgba(255, 247, 251, .76);
    font-size: 1.15rem;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.primary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.primary-action {
    color: var(--black);
    background: linear-gradient(135deg, #fff, var(--pink));
    box-shadow: 0 16px 36px rgba(255, 47, 146, .34);
}

.ghost-action {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .08);
}

.hero-orbit {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        url("../img/sajy-bg.svg") center / min(92%, 620px) no-repeat,
        radial-gradient(circle, rgba(255, 208, 231, .22), transparent 66%);
    animation: floaty 5.5s ease-in-out infinite;
}

.heart,
.bow,
.moon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(16, 7, 13, .68);
    box-shadow: var(--shadow);
    font-size: 2rem;
}

.heart.fancy-emoji,
.bow.fancy-emoji,
.moon.fancy-emoji {
    border-color: rgba(255, 255, 255, .36);
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .95), rgba(255, 208, 231, .58) 34%, rgba(255, 119, 183, .34) 66%, rgba(16, 7, 13, .74)),
        rgba(16, 7, 13, .68);
    box-shadow: var(--shadow), 0 0 34px rgba(255, 119, 183, .28);
}

.heart {
    color: var(--rose);
}

.heart-one {
    top: 9%;
    right: 18%;
}

.heart-two {
    bottom: 16%;
    left: 8%;
}

.bow {
    top: 33%;
    left: 4%;
}

.moon {
    right: 6%;
    bottom: 25%;
    color: var(--mint);
}

.timer-band,
.post-grid,
.letter-grid,
.track-list {
    display: grid;
    gap: 18px;
}

.home-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
    padding-bottom: 70px;
}

.home-links a {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 119, 183, .16), rgba(255, 255, 255, .08)),
        rgba(16, 7, 13, .62);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transition: transform .24s ease, border-color .24s ease;
}

.home-links a:hover {
    transform: translateY(-7px);
    border-color: rgba(255, 119, 183, .7);
}

.home-links span {
    font-size: 2.4rem;
}

.home-links .fancy-emoji {
    font-size: 2rem;
}

.home-links strong {
    display: block;
    color: #fff;
    font-size: 1.18rem;
}

.home-links small {
    color: rgba(255, 247, 251, .68);
    line-height: 1.7;
}

.page-hero {
    min-height: 38vh;
    display: grid;
    align-content: end;
    padding: 54px 0 34px;
}

.page-hero h1 {
    max-width: 11ch;
}

.page-section {
    padding-top: 26px;
}

.home-timers {
    margin-top: -44px;
    padding: 0 0 8px;
}

.garden-world {
    position: relative;
    min-height: calc(100vh - 98px);
    margin: 22px 0 70px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .32), transparent 15rem),
        linear-gradient(180deg, rgba(184, 255, 227, .24) 0%, rgba(255, 208, 231, .16) 38%, rgba(27, 96, 60, .2) 100%),
        rgba(255, 255, 255, .08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.garden-sky {
    position: relative;
    z-index: 2;
    min-height: 260px;
    padding: clamp(24px, 5vw, 54px);
    padding-left: min(42vw, 470px);
}

.garden-title {
    max-width: 680px;
}

.garden-title h1 {
    max-width: 10ch;
}

.garden-title span {
    display: block;
    max-width: 560px;
    color: rgba(255, 247, 251, .74);
    line-height: 1.9;
}

.garden-sun {
    position: absolute;
    top: 32px;
    left: 38px;
    color: #ffd46b;
    font-size: clamp(2rem, 6vw, 4.5rem);
    animation-duration: 6s;
}

.garden-tree {
    position: absolute;
    left: clamp(26px, 8vw, 110px);
    bottom: 33%;
    z-index: 2;
    width: clamp(185px, 24vw, 310px);
    height: clamp(320px, 42vw, 480px);
}

.tree-shadow {
    position: absolute;
    right: 7%;
    bottom: 2px;
    width: 78%;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 7, 13, .24);
    filter: blur(4px);
}

.tree-trunk {
    position: absolute;
    right: 43%;
    bottom: 22px;
    width: 18%;
    height: 52%;
    border-radius: 999px 999px 18px 18px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .16), transparent 22%),
        linear-gradient(180deg, #9b5a48, #4c241f);
    box-shadow: inset -12px 0 22px rgba(16, 7, 13, .22);
}

.tree-crown {
    position: absolute;
    border-radius: 48% 52% 44% 56%;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .34), transparent 24%),
        linear-gradient(145deg, #c7ffd7, #58c486 64%, #2c7b55);
    box-shadow: 0 18px 44px rgba(16, 7, 13, .22), inset -14px -18px 28px rgba(16, 7, 13, .12);
}

.crown-a {
    top: 7%;
    right: 17%;
    width: 72%;
    height: 34%;
}

.crown-b {
    top: 22%;
    right: 2%;
    width: 58%;
    height: 32%;
    transform: rotate(-10deg);
}

.crown-c {
    top: 26%;
    left: 0;
    width: 58%;
    height: 34%;
    transform: rotate(12deg);
}

.tree-flower {
    position: absolute;
    top: 18%;
    right: 28%;
    font-size: 1.6rem;
}

.tree-flower-two {
    top: 38%;
    right: auto;
    left: 22%;
}

.garden-ground {
    position: relative;
    z-index: 3;
    min-height: 420px;
    margin-top: 18px;
    padding: 70px clamp(16px, 4vw, 44px) 32px;
    border-radius: 52% 48% 0 0 / 18% 20% 0 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(184, 255, 227, .34), transparent 42%),
        linear-gradient(180deg, #4fc17f 0%, #2e8b5c 48%, #1b5239 100%);
    box-shadow: inset 0 26px 48px rgba(255, 255, 255, .14);
}

.garden-ground::before {
    content: "";
    position: absolute;
    inset: 18px 0 auto;
    height: 100px;
    background:
        repeating-linear-gradient(100deg, transparent 0 18px, rgba(255, 255, 255, .18) 19px 21px, transparent 22px 34px);
    opacity: .18;
}

.grass {
    position: absolute;
    bottom: 18px;
    width: 120px;
    height: 70px;
    background:
        repeating-linear-gradient(80deg, transparent 0 10px, rgba(184, 255, 227, .6) 11px 14px, transparent 15px 24px);
    opacity: .7;
}

.grass-a { right: 6%; }
.grass-b { right: 46%; bottom: 38px; transform: scale(.9); }
.grass-c { left: 8%; transform: scale(1.15); }

.garden-plant {
    position: relative;
    z-index: calc(6 + var(--slot));
    display: inline-grid;
    align-content: end;
    width: min(210px, 30vw);
    min-width: 150px;
    margin: 0 clamp(7px, 1.2vw, 14px) 18px;
    vertical-align: bottom;
}

.plant-stage {
    position: relative;
    height: 220px;
    display: grid;
    justify-items: center;
    align-items: end;
}

.soil {
    position: absolute;
    bottom: 0;
    width: 132px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 208, 231, .42), rgba(86, 38, 62, .9));
    box-shadow: inset 0 8px 18px rgba(0, 0, 0, .22), 0 8px 18px rgba(16, 7, 13, .14);
}

.stem {
    position: absolute;
    bottom: 18px;
    width: 9px;
    height: calc(18px + (var(--growth) * 1.35px));
    max-height: 162px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mint), #2e9966);
    transform-origin: bottom;
    transition: height .8s ease;
}

.leaf {
    position: absolute;
    bottom: calc(38px + (var(--growth) * .62px));
    width: 40px;
    height: 22px;
    border-radius: 90% 0 90% 0;
    background: linear-gradient(135deg, #d9ffe9, #54c98f);
    opacity: calc(.18 + (var(--growth) * .007));
}

.leaf-left {
    margin-right: 30px;
    transform: rotate(-32deg);
}

.leaf-right {
    margin-left: 34px;
    transform: scaleX(-1) rotate(-32deg);
}

.flower-head {
    position: absolute;
    bottom: calc(32px + (var(--growth) * 1.35px));
    font-size: clamp(1.2rem, calc(1rem + var(--growth) * .035rem), 3.6rem);
    opacity: calc(.16 + (var(--growth) * .008));
    transform: scale(calc(.22 + var(--growth) * .008));
}

.plant-info {
    position: relative;
    margin-top: -8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(16, 7, 13, .58);
    box-shadow: 0 14px 34px rgba(16, 7, 13, .22);
    backdrop-filter: blur(12px);
}

.plant-info h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1rem;
}

.plant-info p {
    margin: 0 0 9px;
    color: rgba(255, 247, 251, .72);
    font-size: .82rem;
    line-height: 1.65;
}

.plant-info strong {
    display: block;
    margin-top: 8px;
    color: var(--mint);
    font-size: .86rem;
}

.growth-bar {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.growth-bar span {
    display: block;
    width: var(--growth-pct);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--pink), var(--mint));
}

.garden-empty {
    position: relative;
    max-width: 380px;
    margin: 34px auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 7, 13, .62);
    box-shadow: var(--shadow);
}

.garden-empty h2 {
    margin: 0 0 8px;
}

.garden-empty p {
    margin: 0;
    color: rgba(255, 247, 251, .72);
    line-height: 1.8;
}

.bloom-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bloom-field span {
    position: absolute;
    top: -8vh;
    left: calc(((var(--x) * 8) + (var(--d) * 13)) * 1%);
    font-size: clamp(1.6rem, 5vw, 4.2rem);
    filter: drop-shadow(0 12px 22px rgba(255, 47, 146, .28));
    animation: bloom-fall calc(10s + (var(--x) * .7s)) linear infinite;
    animation-delay: calc((var(--x) + var(--d)) * -.9s);
    opacity: .9;
}

.timer-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -44px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .07);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.timer-card {
    min-height: 150px;
    padding: 22px;
    border-radius: 8px;
    color: var(--black);
    background: linear-gradient(155deg, #fff, var(--pink-soft));
}

.timer-card span,
.timer-card small {
    display: block;
    font-weight: 800;
}

.timer-card strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    line-height: 1;
}

.birthday-gifts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.gift-box {
    position: relative;
    min-height: 186px;
    padding: 26px 22px 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 119, 183, .42);
    border-radius: 8px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 119, 183, .22), rgba(255, 255, 255, .08)),
        rgba(16, 7, 13, .68);
    box-shadow: var(--shadow);
    text-align: right;
    cursor: pointer;
    backdrop-filter: blur(16px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.gift-box:hover,
.gift-box.birthday-today {
    transform: translateY(-6px);
    border-color: rgba(255, 208, 231, .95);
    box-shadow: 0 26px 80px rgba(255, 47, 146, .28);
}

.gift-box.birthday-today::after {
    content: "امروز تولدشه";
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--black);
    background: var(--mint);
    font-size: .78rem;
    font-weight: 800;
}

.gift-lid,
.gift-body {
    display: grid;
    place-items: center;
    margin-right: auto;
    margin-left: auto;
}

.gift-lid {
    width: 90px;
    height: 22px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(90deg, #fff, var(--pink), #fff);
    transform-origin: right bottom;
    transition: transform .25s ease;
}

.gift-body {
    width: 76px;
    height: 68px;
    margin-bottom: 16px;
    border-radius: 6px;
    background:
        linear-gradient(90deg, transparent 38%, rgba(16, 7, 13, .22) 38%, rgba(16, 7, 13, .22) 58%, transparent 58%),
        linear-gradient(145deg, var(--pink-soft), var(--pink));
    color: var(--black);
    font-size: 2.1rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.gift-body.fancy-emoji {
    border-radius: 8px;
    font-size: 1.9rem;
    animation-duration: 3.8s;
}

.gift-box:hover .gift-lid {
    transform: rotate(-8deg) translateY(-5px);
}

.gift-box strong,
.gift-box small {
    display: block;
    text-align: center;
}

.gift-box strong {
    font-size: 1.05rem;
}

.gift-box small {
    margin-top: 7px;
    color: rgba(255, 247, 251, .68);
}

.birthday-modal[hidden] {
    display: none;
}

.birthday-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
}

.birthday-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 7, 13, .72);
    backdrop-filter: blur(10px);
}

.birthday-note {
    position: relative;
    width: min(520px, 100%);
    padding: 34px;
    border: 1px solid rgba(255, 208, 231, .58);
    border-radius: 8px;
    color: var(--black);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 208, 231, .96));
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
    animation: note-pop .24s ease-out;
}

.birthday-note-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--black);
    font-size: 2rem;
}

.birthday-note-icon.fancy-emoji {
    color: #fff;
    background:
        radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .9), rgba(255, 119, 183, .55) 40%, rgba(16, 7, 13, .9)),
        var(--black);
}

.birthday-note h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    line-height: 1.35;
}

.birthday-note p {
    margin: 0;
    color: #3a1d2c;
    font-size: 1.08rem;
    line-height: 2;
}

.birthday-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--black);
    cursor: pointer;
    font-size: 1.4rem;
}

.section {
    padding: 90px 0 20px;
}

.section-heading {
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.post-card,
.empty-state,
.letter-card,
.track {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    backdrop-filter: blur(16px);
}

.post-card {
    overflow: hidden;
    transform: rotate(var(--tilt, -1deg));
    transition: transform .25s ease, border-color .25s ease;
}

.post-card:nth-child(2n) {
    --tilt: 1.2deg;
}

.post-card:hover {
    transform: translateY(-8px) rotate(0);
    border-color: rgba(255, 119, 183, .62);
}

.post-card.featured {
    grid-column: span 2;
}

.post-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #000;
}

.post-body {
    padding: 18px;
}

.post-body h3,
.track h3,
.empty-state h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.post-body p,
.track p,
.empty-state p,
.soft-note {
    color: rgba(255, 247, 251, .72);
    line-height: 1.9;
}

audio {
    width: 100%;
    margin-top: 12px;
    accent-color: var(--rose);
}

.like-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 82px;
    height: 42px;
    margin-top: 14px;
    padding: 0 15px;
    border: 1px solid rgba(255, 119, 183, .4);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
}

.like-button span {
    color: var(--pink-soft);
    font-size: 1.3rem;
    line-height: 1;
}

.like-button .fancy-emoji {
    width: 1.65em;
    height: 1.65em;
    color: var(--rose);
    font-size: 1rem;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 18px rgba(255, 47, 146, .2);
    animation: none;
}

.like-button.liked {
    color: var(--black);
    background: var(--pink);
}

.like-button.liked span {
    color: var(--black);
}

.like-button.liked .fancy-emoji {
    color: var(--black);
    background: rgba(255, 255, 255, .7);
}

.letter-section,
.playlist-section {
    padding-bottom: 40px;
}

.letter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.letter-card {
    display: grid;
    gap: 10px;
    min-height: 190px;
    padding: 22px;
    color: #fff;
    text-align: right;
    cursor: pointer;
}

.letter-card span {
    font-size: 2.2rem;
}

.letter-card .fancy-emoji {
    font-size: 1.85rem;
}

.letter-card em {
    display: none;
    color: rgba(255, 247, 251, .78);
    font-style: normal;
    line-height: 1.9;
}

.letter-card.open {
    background: linear-gradient(145deg, rgba(255, 119, 183, .22), rgba(255, 255, 255, .08));
}

.letter-card.open em {
    display: block;
}

.track-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
}

.track img,
.track-cover {
    width: 86px;
    height: 86px;
    border-radius: 8px;
    object-fit: cover;
}

.track-cover {
    display: grid;
    place-items: center;
    color: var(--black);
    background: var(--pink-soft);
    font-size: 2.4rem;
}

.track-cover.fancy-emoji {
    border-radius: 8px;
    font-size: 2rem;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
}

.bunny-guide {
    position: fixed;
    right: 18px;
    left: auto;
    bottom: 14px;
    z-index: 12;
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 10px;
    direction: ltr;
}

.speech {
    max-width: min(280px, calc(100vw - 44px));
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(16, 7, 13, .8);
    box-shadow: var(--shadow);
    color: #fff;
    font-size: .92rem;
    direction: rtl;
}

.speech-emoji,
.speech .fancy-emoji {
    display: inline;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    margin-inline: 2px;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    vertical-align: middle;
    font-size: 1rem;
    animation: none;
}

.speech .fancy-emoji:hover {
    transform: none;
    box-shadow: none;
}

.bunny {
    position: relative;
    width: 76px;
    height: 78px;
    border: 0;
    background: transparent;
    cursor: pointer;
    animation: bunny-hop 3.8s ease-in-out infinite;
    transition: transform .22s ease;
}

.ear,
.face {
    position: absolute;
    background: #fff;
    border: 3px solid var(--black);
}

.ear {
    top: 0;
    width: 24px;
    height: 48px;
    border-radius: 24px 24px 12px 12px;
}

.ear-left {
    right: 18px;
    transform: rotate(-12deg);
}

.ear-right {
    left: 18px;
    transform: rotate(12deg);
}

.face {
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 55px;
    border-radius: 50%;
}

.eye {
    position: absolute;
    top: 22px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--black);
    transition: all .2s ease;
}

.eye-left {
    right: 17px;
}

.eye-right {
    left: 17px;
}

.mouth {
    position: absolute;
    right: 50%;
    bottom: 14px;
    width: 10px;
    height: 7px;
    border-radius: 50%;
    background: var(--pink);
    transform: translateX(50%);
    transition: all .2s ease;
}

.reaction-mark {
    position: absolute;
    top: -9px;
    left: -7px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid var(--black);
    border-radius: 50%;
    color: var(--black);
    background: var(--pink-soft);
    font-weight: 900;
    opacity: 0;
    transform: scale(.6) rotate(-8deg);
    transition: opacity .2s ease, transform .2s ease;
}

.bunny.is-happy .reaction-mark,
.bunny.is-love .reaction-mark,
.bunny.is-surprised .reaction-mark,
.bunny.is-excited .reaction-mark {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
}

.bunny.is-love .reaction-mark {
    content: "";
    color: var(--rose);
}

.bunny.is-love .eye {
    width: 10px;
    height: 10px;
    background: var(--rose);
    transform: rotate(45deg);
    border-radius: 2px 50% 50% 50%;
}

.bunny.is-happy .mouth {
    width: 16px;
    height: 8px;
    border-radius: 0 0 16px 16px;
}

.bunny.is-surprised .eye {
    width: 10px;
    height: 10px;
}

.bunny.is-surprised .mouth {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.bunny.is-sleepy {
    animation-duration: 7s;
}

.bunny.is-sleepy .eye {
    width: 13px;
    height: 3px;
    border-radius: 999px;
    transform: translateY(2px);
}

.bunny.is-sleepy .mouth {
    width: 13px;
    height: 4px;
    border-radius: 999px;
    opacity: .65;
}

.bunny.is-excited {
    animation: bunny-excited .55s ease-in-out infinite;
}

.bunny.is-walk {
    animation: bunny-walk 1.1s ease-in-out infinite;
}

.bunny.is-walk .ear-left {
    animation: ear-wiggle-left 1.1s ease-in-out infinite;
}

.bunny.is-walk .ear-right {
    animation: ear-wiggle-right 1.1s ease-in-out infinite;
}

.cursor-heart {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    color: var(--pink);
    pointer-events: none;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 18px rgba(255, 119, 183, .8);
}

.cursor-heart.fancy-emoji {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--pink);
    font-size: 1.35rem;
    animation: none;
    text-shadow: 0 0 18px rgba(255, 119, 183, .9), 0 2px 8px rgba(0, 0, 0, .28);
}

.cloud {
    position: absolute;
    width: 170px;
    height: 56px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    filter: blur(.2px);
    animation: cloud-drift 24s linear infinite;
}

.cloud::before,
.cloud::after {
    content: "";
    position: absolute;
    bottom: 18px;
    border-radius: 50%;
    background: inherit;
}

.cloud::before {
    right: 24px;
    width: 68px;
    height: 68px;
}

.cloud::after {
    left: 28px;
    width: 56px;
    height: 56px;
}

.cloud-a {
    top: 15%;
    right: -200px;
}

.cloud-b {
    top: 48%;
    right: -260px;
    animation-duration: 31s;
    animation-delay: -11s;
}

.cloud-c {
    top: 72%;
    right: -210px;
    animation-duration: 38s;
    animation-delay: -4s;
}

.star {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px #fff, 0 0 28px var(--pink);
    animation: twinkle 1.8s ease-in-out infinite alternate;
}

.star-a {
    top: 20%;
    left: 12%;
}

.star-b {
    top: 34%;
    right: 32%;
    animation-delay: .6s;
}

.star-c {
    bottom: 24%;
    left: 26%;
    animation-delay: 1s;
}

.petal {
    position: absolute;
    top: -30px;
    width: 15px;
    height: 22px;
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, #fff, var(--pink));
    opacity: .8;
    animation: petal-fall linear infinite;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-18px) rotate(1deg); }
}

@keyframes cloud-drift {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 520px)); }
}

@keyframes twinkle {
    from { opacity: .25; transform: scale(.8); }
    to { opacity: 1; transform: scale(1.35); }
}

@keyframes petal-fall {
    to { transform: translate3d(var(--sway), 105vh, 0) rotate(460deg); }
}

@keyframes bunny-hop {
    0%, 100% { transform: translateY(0); }
    45% { transform: translateY(-8px); }
}

@keyframes bunny-excited {
    0%, 100% { transform: translateY(0) rotate(0); }
    35% { transform: translateY(-10px) rotate(-5deg); }
    70% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes bunny-walk {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-4px) translateY(-3px); }
    50% { transform: translateX(0) translateY(0); }
    75% { transform: translateX(4px) translateY(-3px); }
}

@keyframes ear-wiggle-left {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(-24deg); }
}

@keyframes ear-wiggle-right {
    0%, 100% { transform: rotate(12deg); }
    50% { transform: rotate(24deg); }
}

@keyframes emoji-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-4px) rotate(2deg); }
}

@keyframes bloom-fall {
    to { transform: translate3d(30px, 112vh, 0) rotate(420deg); }
}

@keyframes note-pop {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    body {
        cursor: auto;
    }

    .cursor-heart {
        display: none;
    }

    .topbar,
    .hero {
        align-items: stretch;
    }

    .topbar,
    .nav-links {
        flex-wrap: wrap;
    }

    .nav-links {
        justify-content: center;
        width: 100%;
        border-radius: 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 38px;
    }

    h1 {
        max-width: 9ch;
    }

    .hero-orbit {
        min-height: 320px;
    }

    .timer-band,
    .home-links,
    .birthday-gifts,
    .post-grid,
    .letter-grid,
    .track-list {
        grid-template-columns: 1fr;
    }

    .garden-world {
        min-height: auto;
    }

    .garden-sky {
        min-height: 430px;
        padding-left: 24px;
    }

    .garden-tree {
        right: 50%;
        left: auto;
        bottom: auto;
        top: 190px;
        width: 180px;
        height: 300px;
        opacity: .9;
        transform: translateX(50%);
    }

    .garden-ground {
        min-height: 430px;
        overflow-y: auto;
        padding-top: 54px;
    }

    .garden-plant {
        width: min(46%, 210px);
        min-width: 140px;
        margin: 16px 1%;
    }

    .plant-stage {
        height: 220px;
    }

    .post-card.featured {
        grid-column: auto;
    }

    .bunny-guide {
        right: 10px;
        left: auto;
        bottom: 10px;
    }
}

@media (max-width: 560px) {
    main,
    .topbar {
        width: min(100% - 22px, 1180px);
    }

    .brand {
        width: 100%;
    }

    .nav-links a {
        padding-inline: 9px;
        font-size: .84rem;
    }

    .hero-copy > p:not(.script) {
        font-size: 1rem;
    }

    .timer-card {
        min-height: 128px;
    }

    .track {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .track img,
    .track-cover {
        width: 64px;
        height: 64px;
    }
}
