/* Modern birthday panel — 25% hero sidebar */

.home-bday-experience {
    --bday-bg-0: #12091A;
    --bday-bg-1: #24102F;
    --bday-bg-2: #3A1548;
    --bday-gold: #D4AF37;
    --bday-gold-2: #F5D77A;
    --bday-gold-3: #FFF0B3;
    --bday-cream: #F8F1E3;
    --bday-white: #FFFFFF;
    --bday-blush: #C96C9B;
    position: relative;
    z-index: 4;
    isolation: isolate;
    overflow: hidden;
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
    min-height: 0;
    height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    color: var(--bday-cream);
    background:
        radial-gradient(ellipse 90% 55% at 10% -5%, rgba(245, 215, 122, 0.34), transparent 42%),
        radial-gradient(ellipse 70% 50% at 100% 10%, rgba(201, 108, 155, 0.28), transparent 44%),
        radial-gradient(ellipse 80% 45% at 50% 110%, rgba(142, 68, 173, 0.35), transparent 50%),
        linear-gradient(168deg, #4A1860 0%, var(--bday-bg-0) 42%, var(--bday-bg-1) 100%);
    background-size: 180% 180%;
    animation: home-bday-bg-shift 20s ease-in-out infinite;
    border-left: 1px solid rgba(245, 215, 122, 0.22);
}

.home-bday-experience.is-empty,
.home-bday-experience[hidden] {
    display: none;
}

.home-bday-experience__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.home-bday-experience__rays {
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 35% 20%, rgba(245, 215, 122, 0.18), transparent 28%),
        conic-gradient(from 200deg at 50% -10%, transparent 0deg, rgba(245, 215, 122, 0.1) 30deg, transparent 70deg);
    animation: home-bday-rays 40s linear infinite;
    opacity: 0.7;
}

.home-bday-experience__dust {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(245, 215, 122, 0.95) 1.2px, transparent 1.8px),
        radial-gradient(circle, rgba(201, 108, 155, 0.8) 1px, transparent 1.6px),
        radial-gradient(circle, rgba(255, 240, 179, 0.85) 1px, transparent 1.5px);
    background-size: 38px 58px, 48px 70px, 32px 46px;
    opacity: 0.4;
    animation: home-bday-dust 14s linear infinite;
}

.home-bday-experience__balloon {
    position: absolute;
    bottom: -18%;
    width: 28px;
    height: 36px;
    border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
    opacity: 0.9;
    animation: home-bday-fly 11s linear infinite;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
    z-index: 1;
}

.home-bday-experience__balloon::before {
    content: '';
    position: absolute;
    left: 18%;
    top: 14%;
    width: 34%;
    height: 28%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.home-bday-experience__balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1.5px;
    height: 34px;
    transform: translateX(-50%);
    background: linear-gradient(rgba(248, 241, 227, 0.55), transparent);
}

.home-bday-experience__balloon--1 {
    left: 4%;
    background: linear-gradient(160deg, #FFF0B3, #D4AF37);
    animation-duration: 10s;
}

.home-bday-experience__balloon--2 {
    left: 22%;
    width: 22px;
    height: 30px;
    background: linear-gradient(160deg, #F9C5D5, #C96C9B);
    animation-delay: -2s;
    animation-duration: 13s;
}

.home-bday-experience__balloon--3 {
    left: 42%;
    width: 32px;
    height: 42px;
    background: linear-gradient(160deg, #D7B4F3, #8E44AD);
    animation-delay: -4.5s;
    animation-duration: 9.5s;
}

.home-bday-experience__balloon--4 {
    left: 62%;
    width: 24px;
    height: 32px;
    background: linear-gradient(160deg, #FFE08A, #E0A800);
    animation-delay: -1s;
    animation-duration: 12s;
}

.home-bday-experience__balloon--5 {
    left: 78%;
    width: 26px;
    height: 34px;
    background: linear-gradient(160deg, #FF9BB5, #E11D48);
    animation-delay: -6s;
    animation-duration: 14s;
}

.home-bday-experience__balloon--6 {
    left: 12%;
    width: 20px;
    height: 28px;
    background: linear-gradient(160deg, #C4B5FD, #7C3AED);
    animation-delay: -8s;
    animation-duration: 11.5s;
}

.home-bday-experience__balloon--7 {
    left: 88%;
    width: 30px;
    height: 40px;
    background: linear-gradient(160deg, #F5D77A, #B8860B);
    animation-delay: -3.2s;
    animation-duration: 10.5s;
}

.home-bday-experience__balloon--8 {
    left: 52%;
    width: 18px;
    height: 26px;
    background: linear-gradient(160deg, #FBCFE8, #DB2777);
    animation-delay: -7.5s;
    animation-duration: 15s;
}

.home-bday-experience__board {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    padding: 0.65rem 0.55rem 0;
}

.home-bday-experience__loading {
    margin: auto;
    padding: 1.2rem;
    text-align: center;
    color: rgba(248, 241, 227, 0.78);
    font-size: 0.88rem;
}

.home-bday-card {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1rem 0.75rem 0.45rem;
    text-align: center;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04) 40%, rgba(18, 9, 26, 0.28));
    border: 1px solid rgba(245, 215, 122, 0.28);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 240, 179, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: home-bday-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-bday-card > :not(.home-bday-card__decor):not(.home-bday-card__view-btn) {
    position: relative;
    z-index: 1;
}

.home-bday-card.is-leaving {
    animation: home-bday-card-out 0.28s ease both;
}

/* Card décor sits ON TOP of content so balloons/streamers stay visible */
.home-bday-card__decor {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.home-bday-card__mini-balloon {
    position: absolute;
    bottom: -8%;
    width: 22px;
    height: 28px;
    border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
    opacity: 0.92;
    animation: home-bday-card-mini-fly 7.5s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
    z-index: 2;
}

.home-bday-card__mini-balloon::before {
    content: '';
    position: absolute;
    left: 18%;
    top: 14%;
    width: 34%;
    height: 28%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}

.home-bday-card__mini-balloon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 1.5px;
    height: 18px;
    transform: translateX(-50%);
    background: linear-gradient(rgba(248, 241, 227, 0.7), transparent);
}

.home-bday-card__mini-balloon--1 {
    left: 4%;
    background: linear-gradient(160deg, #FFF0B3, #D4AF37);
    animation-duration: 6.8s;
}

.home-bday-card__mini-balloon--2 {
    left: 18%;
    width: 18px;
    height: 24px;
    background: linear-gradient(160deg, #F9C5D5, #C96C9B);
    animation-delay: -1.6s;
    animation-duration: 8.2s;
}

.home-bday-card__mini-balloon--3 {
    left: 38%;
    width: 24px;
    height: 30px;
    background: linear-gradient(160deg, #D7B4F3, #8E44AD);
    animation-delay: -3.2s;
    animation-duration: 7s;
}

.home-bday-card__mini-balloon--4 {
    left: 58%;
    width: 17px;
    height: 22px;
    background: linear-gradient(160deg, #FFE08A, #E0A800);
    animation-delay: -0.8s;
    animation-duration: 9s;
}

.home-bday-card__mini-balloon--5 {
    left: 76%;
    width: 20px;
    height: 26px;
    background: linear-gradient(160deg, #FF9BB5, #E11D48);
    animation-delay: -4.4s;
    animation-duration: 7.8s;
}

.home-bday-card__mini-balloon--6 {
    left: 88%;
    width: 16px;
    height: 21px;
    background: linear-gradient(160deg, #F5D77A, #B8860B);
    animation-delay: -2.5s;
    animation-duration: 8.6s;
}

.home-bday-card__mini-balloon--7 {
    left: 28%;
    width: 15px;
    height: 20px;
    background: linear-gradient(160deg, #C4B5FD, #7C3AED);
    animation-delay: -5.5s;
    animation-duration: 9.4s;
}

.home-bday-card__mini-balloon--8 {
    left: 48%;
    width: 19px;
    height: 25px;
    background: linear-gradient(160deg, #FBCFE8, #DB2777);
    animation-delay: -6.8s;
    animation-duration: 7.2s;
}

/* Curly party-popper ribbon streamers */
.home-bday-card__streamer {
    position: absolute;
    width: 10px;
    height: 22px;
    border-radius: 50%;
    border: 2.5px solid #F5D77A;
    border-color: #F5D77A transparent transparent #F5D77A;
    opacity: 0.9;
    animation: home-bday-card-streamer-fall 5.5s linear infinite;
    filter: drop-shadow(0 0 4px rgba(245, 215, 122, 0.35));
}

.home-bday-card__streamer--1 {
    left: 8%;
    top: -8%;
    border-color: #F5D77A transparent transparent #F5D77A;
    animation-delay: 0s;
    animation-duration: 4.8s;
}

.home-bday-card__streamer--2 {
    left: 22%;
    top: -12%;
    width: 8px;
    height: 18px;
    border-width: 2px;
    border-color: #FF9BB5 transparent transparent #FF9BB5;
    animation-delay: -0.7s;
    animation-duration: 5.6s;
}

.home-bday-card__streamer--3 {
    left: 40%;
    top: -6%;
    width: 12px;
    height: 26px;
    border-color: #D7B4F3 transparent transparent #D7B4F3;
    animation-delay: -1.4s;
    animation-duration: 5.2s;
}

.home-bday-card__streamer--4 {
    left: 58%;
    top: -10%;
    width: 9px;
    height: 20px;
    border-color: #FFF0B3 transparent transparent #D4AF37;
    animation-delay: -2.1s;
    animation-duration: 6s;
}

.home-bday-card__streamer--5 {
    left: 74%;
    top: -14%;
    width: 11px;
    height: 24px;
    border-color: #F9C5D5 transparent transparent #C96C9B;
    animation-delay: -0.4s;
    animation-duration: 4.6s;
}

.home-bday-card__streamer--6 {
    left: 88%;
    top: -8%;
    width: 8px;
    height: 17px;
    border-width: 2px;
    border-color: #F5D77A transparent transparent #B8860B;
    animation-delay: -2.8s;
    animation-duration: 5.8s;
}

.home-bday-card__streamer--7 {
    left: 14%;
    top: -18%;
    width: 10px;
    height: 21px;
    border-color: #C4B5FD transparent transparent #8E44AD;
    animation-delay: -3.5s;
    animation-duration: 5s;
}

.home-bday-card__streamer--8 {
    left: 48%;
    top: -16%;
    width: 7px;
    height: 16px;
    border-width: 2px;
    border-color: #FFE08A transparent transparent #E0A800;
    animation-delay: -1.8s;
    animation-duration: 6.4s;
}

.home-bday-card__streamer--9 {
    left: 66%;
    top: -20%;
    width: 11px;
    height: 23px;
    border-color: #FBCFE8 transparent transparent #DB2777;
    animation-delay: -4.2s;
    animation-duration: 5.4s;
}

.home-bday-card__streamer--10 {
    left: 32%;
    top: -22%;
    width: 9px;
    height: 19px;
    border-color: #FFF0B3 transparent transparent #D4AF37;
    animation-delay: -3s;
    animation-duration: 4.4s;
}

/* Tiny party-popper confetti flecks */
.home-bday-card__confetti {
    position: absolute;
    width: 5px;
    height: 8px;
    border-radius: 1px;
    opacity: 0.85;
    animation: home-bday-card-confetti-fall 4.2s linear infinite;
}

.home-bday-card__confetti--1 {
    left: 12%;
    top: -4%;
    background: #F5D77A;
    animation-delay: -0.3s;
}

.home-bday-card__confetti--2 {
    left: 30%;
    top: -8%;
    width: 4px;
    height: 6px;
    background: #C96C9B;
    animation-delay: -1.1s;
    animation-duration: 4.8s;
}

.home-bday-card__confetti--3 {
    left: 52%;
    top: -2%;
    width: 6px;
    height: 4px;
    background: #8E44AD;
    animation-delay: -1.9s;
    animation-duration: 3.9s;
}

.home-bday-card__confetti--4 {
    left: 70%;
    top: -10%;
    background: #FFF0B3;
    animation-delay: -0.8s;
    animation-duration: 5.1s;
}

.home-bday-card__confetti--5 {
    left: 84%;
    top: -6%;
    width: 4px;
    height: 7px;
    background: #E11D48;
    animation-delay: -2.4s;
    animation-duration: 4.5s;
}

.home-bday-card__confetti--6 {
    left: 44%;
    top: -12%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D4AF37;
    animation-delay: -3.2s;
    animation-duration: 3.6s;
}

.home-bday-card__brand {
    flex: 0 0 auto;
    margin-bottom: 0.15rem;
}

.home-bday-card__crest {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin: 0 auto 0.18rem;
    display: block;
    filter: drop-shadow(0 0 10px rgba(245, 215, 122, 0.45));
}

.home-bday-card__school {
    margin: 0;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bday-gold-2);
}

.home-bday-card__wish {
    margin: 0.2rem 0 0.3rem;
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(1.35rem, 1.75vw, 1.75rem);
    line-height: 1.1;
    background: linear-gradient(105deg, #fff 8%, #F5D77A 45%, #FFF0B3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-bday-card__name {
    margin: 0 0 0.3rem;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 700;
    font-size: clamp(1.08rem, 1.45vw, 1.35rem);
    line-height: 1.25;
    color: var(--bday-white);
}

.home-bday-card__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    padding: 0.24rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(245, 215, 122, 0.38);
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(142, 68, 173, 0.18));
    font-size: 0.64rem;
    color: var(--bday-gold-3);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.06);
}

.home-bday-card__portrait {
    position: relative;
    flex: 0 0 auto;
    width: 210px;
    height: 210px;
    margin: 0.35rem auto 0.9rem;
}

.home-bday-card__glow {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 215, 122, 0.5), rgba(201, 108, 155, 0.12) 55%, transparent 70%);
    animation: home-bday-glow 3.2s ease-in-out infinite;
}

.home-bday-card__ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 70deg, #D4AF37, #FFF0B3, #C96C9B, #8E44AD, #D4AF37);
    animation: home-bday-spin 8s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3.5px), #000 calc(100% - 2.5px));
}

.home-bday-card__photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 30% 18%, #5b1d74, #1a0b24 72%);
    box-shadow:
        0 0 0 5px rgba(18, 9, 26, 0.9),
        0 14px 28px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(212, 175, 55, 0.2);
}

.home-bday-card__photo img,
.home-bday-card__initials {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.home-bday-card__photo img.is-cutout {
    object-fit: contain;
    object-position: center bottom;
    background: transparent;
}

.home-bday-card__initials {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--bday-gold-2);
}

/* ─── Bottom Group: Keeps Wishes Card & Bottom Card close together with perfect spacing ─── */
.home-bday-card__bottom-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    padding-bottom: 0.2rem;
}

.home-bday-card__quote {
    flex: 0 0 auto;
    margin: 0 auto;
    width: 100%;
    max-width: 20.5rem;
    padding: 0.85rem 1.05rem;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(18, 9, 26, 0.52));
    border: 1px solid rgba(245, 215, 122, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-bday-card__quote p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(248, 241, 227, 0.95);
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Card Footer: MD Info (Horizontal) & Card Changing Arrows ─── */
.home-bday-card__footer {
    flex: 0 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0;
    padding: 0.85rem 0.95rem;
    border: 1.2px solid rgba(245, 215, 122, 0.32);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(32, 14, 46, 0.88), rgba(18, 9, 26, 0.94));
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 240, 179, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
}

.home-bday-card__sign {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-align: left;
    min-width: 0;
    flex: 1 1 auto;
}

.home-bday-card__md-portrait {
    position: relative;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.home-bday-card__md-ring {
    position: absolute;
    inset: -3.5px;
    border-radius: 50%;
    background: conic-gradient(from 70deg, #D4AF37, #FFF0B3, #C96C9B, #8E44AD, #D4AF37);
    animation: home-bday-spin 8s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.2px), #000 calc(100% - 1.4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.2px), #000 calc(100% - 1.4px));
}

.home-bday-card__md-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 0 0 2.5px rgba(18, 9, 26, 0.9),
        0 5px 14px rgba(0, 0, 0, 0.45);
}

.home-bday-card__md-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    background: #ffffff;
}

.home-bday-card__sign-copy {
    margin: 0;
    text-align: left;
    min-width: 0;
    line-height: 1.3;
    flex: 1 1 auto;
}

.home-bday-card__sign-copy span {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--bday-gold-2);
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.home-bday-card__sign-copy strong {
    display: block;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.24;
    color: var(--bday-white);
    white-space: normal;
    word-break: break-word;
}

.home-bday-card__sign-copy small {
    display: block;
    margin-top: 0.18rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(248, 241, 227, 0.88);
    letter-spacing: 0.02em;
}

/* ─── Card Changing Navigation Arrows ─── */
.home-bday-card__nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.home-bday-card__nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 11, 36, 0.85);
    border: 1.2px solid rgba(245, 215, 122, 0.45);
    color: var(--bday-gold-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.home-bday-card__nav-btn:hover {
    background: rgba(91, 29, 116, 0.95);
    border-color: var(--bday-gold);
    color: #ffffff;
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.home-bday-card__nav-btn:active {
    transform: scale(0.92);
}

.home-bday-card__nav-btn svg {
    stroke: currentColor;
    stroke-width: 2.5;
}

@keyframes home-bday-card-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes home-bday-card-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes home-bday-bg-shift {
    0%, 100% { background-position: 0% 40%; }
    50% { background-position: 85% 60%; }
}

@keyframes home-bday-dust {
    from { background-position: 0 0, 12px 8px, 20px 16px; }
    to { background-position: 0 70px, 12px 78px, 20px 62px; }
}

@keyframes home-bday-fly {
    0% { transform: translate3d(0, 10%, 0) rotate(-10deg); opacity: 0; }
    8% { opacity: 0.95; }
    50% { transform: translate3d(14px, -55%, 0) rotate(8deg); opacity: 0.88; }
    100% { transform: translate3d(-12px, -125%, 0) rotate(-6deg); opacity: 0; }
}

@keyframes home-bday-rays {
    to { transform: rotate(360deg); }
}

@keyframes home-bday-spin {
    to { transform: rotate(360deg); }
}

@keyframes home-bday-glow {
    0%, 100% { opacity: 0.55; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.06); }
}

@keyframes home-bday-card-mini-fly {
    0% { transform: translate3d(0, 6%, 0) rotate(-10deg); opacity: 0; }
    8% { opacity: 0.9; }
    50% { transform: translate3d(12px, -52%, 0) rotate(8deg); opacity: 0.85; }
    100% { transform: translate3d(-10px, -115%, 0) rotate(-6deg); opacity: 0; }
}

@keyframes home-bday-card-streamer-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
        opacity: 0;
    }
    8% { opacity: 0.95; }
    35% {
        transform: translate3d(14px, 180px, 0) rotate(220deg) scale(1);
        opacity: 0.9;
    }
    70% {
        transform: translate3d(-12px, 360px, 0) rotate(480deg) scale(0.95);
        opacity: 0.75;
    }
    100% {
        transform: translate3d(8px, 560px, 0) rotate(720deg) scale(0.8);
        opacity: 0;
    }
}

@keyframes home-bday-card-confetti-fall {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.9; }
    100% {
        transform: translate3d(14px, 520px, 0) rotate(540deg);
        opacity: 0;
    }
}

@media (max-width: 991.98px) {
    .page-home .home-hero-split__slider,
    .home-bday-experience {
        flex: none;
        width: 100%;
        max-width: none;
        height: auto;
    }

    .home-bday-experience {
        min-height: 0;
        border-left: 0;
        border-top: 1px solid rgba(245, 215, 122, 0.18);
    }

    .home-bday-experience__board {
        padding: 1rem 1rem 0;
    }

    .home-bday-card {
        padding: 1rem 1rem 0.5rem;
        min-height: 0;
    }

    .home-bday-card__portrait {
        width: 128px;
        height: 128px;
    }

    .home-bday-card__md {
        max-height: 140px;
        width: min(48%, 170px);
    }

    .home-bday-card__quote p {
        -webkit-line-clamp: 4;
        font-size: 0.8rem;
    }

    .home-bday-card__quote {
        max-width: 28rem;
    }

    .home-bday-card__quote p {
        font-size: 0.9rem;
    }
}

/* ─── Round Icon Button in Corner Right with Right Arrow ─── */
.home-bday-card__view-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 1.5px solid rgba(245, 215, 122, 0.55);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(201, 108, 155, 0.22));
    color: var(--bday-gold-2);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15), 0 0 0 1px rgba(255, 240, 179, 0.15) inset;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: home-bday-btn-glow 3s ease-in-out infinite;
}

.home-bday-card__view-btn-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-bday-card__view-btn:hover {
    border-color: var(--bday-gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.55), rgba(201, 108, 155, 0.45));
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35), 0 0 0 4px rgba(245, 215, 122, 0.15);
}

.home-bday-card__view-btn:hover .home-bday-card__view-btn-arrow {
    transform: translateX(2px);
}

.home-bday-card__view-btn:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    .home-bday-card__view-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
    .home-bday-card__view-btn-arrow {
        width: 14px;
        height: 14px;
    }
}

@keyframes home-bday-btn-glow {
    0%, 100% { box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15), 0 0 0 0 rgba(245, 215, 122, 0); }
    50% { box-shadow: 0 6px 22px rgba(212, 175, 55, 0.28), 0 0 0 3px rgba(245, 215, 122, 0.1); }
}

@media (prefers-reduced-motion: reduce) {
    .home-bday-experience,
    .home-bday-experience__dust,
    .home-bday-experience__rays,
    .home-bday-experience__balloon,
    .home-bday-card,
    .home-bday-card__ring,
    .home-bday-card__glow,
    .home-bday-card__mini-balloon,
    .home-bday-card__streamer,
    .home-bday-card__confetti {
        animation: none !important;
    }

    .home-bday-card__wish {
        color: var(--bday-gold-2);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
    }

    .home-bday-experience__balloon {
        opacity: 0.55;
        bottom: 12%;
    }

    .home-bday-card__mini-balloon {
        opacity: 0.7;
        bottom: 16%;
    }

    .home-bday-card__streamer,
    .home-bday-card__confetti {
        opacity: 0.55;
        top: 20%;
    }
}

