* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #ed8eae;
    --dark-pink: #d96d98;
    --lavender: #b7a3e8;
    --text: #5b4561;
    --white: #ffffff;
}

body {
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 15%, #ffe1ed 0, transparent 35%),
        radial-gradient(circle at 85% 80%, #e5dcff 0, transparent 40%),
        linear-gradient(135deg, #fff0f5, #f2edff);
    overflow-x: hidden;
}

.app {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px 18px 70px;
    position: relative;
    z-index: 1;
}

.screen {
    width: 100%;
    max-width: 650px;
    display: none;
    animation: screenEnter 0.8s ease both;
}

.screen.active {
    display: block;
}

@keyframes screenEnter {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.glass-card {
    position: relative;
    width: 100%;
    padding: 48px 38px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 20px 60px rgba(133, 98, 155, 0.12);
    overflow: hidden;
}

.small-heart {
    font-size: 42px;
    color: var(--dark-pink);
    margin-bottom: 12px;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.16); }
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--dark-pink);
    margin-bottom: 18px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 7vw, 52px);
    font-weight: 600;
    line-height: 1.2;
    color: #674d70;
    margin-bottom: 20px;
}

.subtitle {
    max-width: 440px;
    margin: 0 auto 30px;
    color: #8c7892;
    font-size: 15px;
    line-height: 1.8;
}

.pink {
    color: var(--dark-pink);
}

.primary-btn,
.secondary-btn {
    border: none;
    border-radius: 50px;
    padding: 15px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-btn {
    color: white;
    background: linear-gradient(135deg, #e98db0, #b79de9);
    box-shadow: 0 10px 25px rgba(207, 126, 177, 0.25);
}

.primary-btn span {
    margin-left: 8px;
}

.secondary-btn {
    color: #9b7595;
    background: #f5eaf4;
}

.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(207, 126, 177, 0.3);
}

.primary-btn:active,
.secondary-btn:active {
    transform: scale(0.97);
}

.tiny-note {
    margin-top: 28px;
    color: #b29eb5;
    font-size: 11px;
}

.password-card input {
    display: block;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 15px;
    padding: 15px 20px;
    border: 1px solid #ead7e9;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    outline: none;
    font-size: 14px;
    text-align: center;
}

.password-card input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(237, 142, 174, 0.12);
}

.error-message {
    min-height: 20px;
    color: #d65f87;
    font-size: 12px;
    margin-bottom: 8px;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 30px 0;
}

.time-box {
    padding: 18px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 5px 20px rgba(120, 90, 140, 0.07);
}

.time-box strong {
    display: block;
    font-size: 30px;
    color: #b47aa8;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.time-box span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: #9a879f;
}

.birthday-date {
    font-size: 13px;
    color: #a17c9f;
    font-weight: 700;
}

.floating-heart {
    color: #e98db0;
    font-size: 55px;
    margin-bottom: 10px;
    animation: heartbeat 2s infinite;
}

.answer-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
}

.answer-buttons button {
    min-width: 210px;
}

.reaction-text {
    min-height: 35px;
    margin: 22px 0 0;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    color: #b46e9a;
    line-height: 1.5;
}

.cat-container {
    display: none;
    width: 160px;
    margin: 20px 0 0 12%;
    animation: catPop 0.5s ease both;
}

.cat-container.show {
    display: block;
}

.cat-container img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(100, 70, 100, 0.15);
}

@keyframes catPop {
    from {
        opacity: 0;
        transform: translateY(15px) rotate(-8deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(-4deg) scale(1);
    }
}

.polaroid {
    width: min(280px, 100%);
    margin: 25px auto;
}

.polaroid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top;
    display: block;
}


.polaroid {
    width: min(280px, 100%);
    margin: 25px auto;
    padding: 12px 12px 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 12px 35px rgba(90, 65, 100, 0.15);
    transform: rotate(-3deg);
    animation: polaroidEnter 1s ease both;
}

.polaroid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.polaroid p {
    margin-top: 15px;
    font-family: 'Pacifico', cursive;
    color: #a47b9f;
    font-size: 17px;
}

@keyframes polaroidEnter {
    from {
        opacity: 0;
        transform: translateY(35px) rotate(5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(-3deg);
    }
}

.memory-caption {
    font-size: 13px;
    color: #9c879e;
    margin-bottom: 25px;
}

.letter-content {
    max-width: 460px;
    margin: 10px auto 30px;
    padding: 25px;
    text-align: left;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(231, 205, 230, 0.7);
    color: #806b87;
    font-size: 14px;
    line-height: 1.9;
}

.letter-content p {
    margin-bottom: 15px;
}

.letter-signature {
    font-family: 'Pacifico', cursive;
    color: #c27b9f;
    font-size: 16px;
    margin-top: 20px;
}


/* INTERACTIVE BIRTHDAY CAKE */

.cake-area {
    position: relative;
    margin: 15px auto 25px;
    width: 280px;
    height: 190px;
    display: grid;
    place-items: center;
}

.cake-glow {
    position: absolute;
    width: 190px;
    height: 45px;
    bottom: 12px;
    border-radius: 50%;
    background: rgba(220, 143, 190, 0.3);
    filter: blur(18px);
}

.cake-stage {
    position: relative;
    width: 250px;
    height: 170px;
    display: grid;
    place-items: center;
}

.cake-whole {
    position: relative;
    width: 220px;
    height: 130px;
    transition: transform 0.5s ease;
}

.cake-half {
    position: absolute;
    top: 20px;
    width: 110px;
    height: 110px;
    transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}

.cake-left {
    left: 0;
}

.cake-right {
    right: 0;
}

.cake-body {
    position: absolute;
    top: 28px;
    width: 100%;
    height: 78px;
    background: linear-gradient(135deg, #fff 0%, #f5e8f2 100%);
    border-bottom: 5px solid #e9c9df;
    box-shadow: inset 0 -8px 12px rgba(180, 120, 160, 0.12);
}

.cake-left .cake-body {
    border-radius: 0 0 0 45px;
}

.cake-right .cake-body {
    border-radius: 0 0 45px 0;
}

.cake-top {
    position: absolute;
    z-index: 2;
    top: 0;
    width: 100%;
    height: 55px;
    background: linear-gradient(135deg, #fff 0%, #ffe8f3 100%);
    border: 3px solid #f3d8e9;
    border-radius: 50%;
}

.cake-cream {
    position: absolute;
    z-index: 3;
    top: 39px;
    width: 100%;
    height: 12px;
    background: #fff;
    border-radius: 50%;
}

.cake-candles {
    position: absolute;
    z-index: 5;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 22px;
}

.candle {
    position: relative;
    width: 11px;
    height: 38px;
    border-radius: 4px 4px 2px 2px;
    background: repeating-linear-gradient(
        135deg,
        #fff 0px,
        #fff 5px,
        #f4a6c8 5px,
        #f4a6c8 8px
    );
    box-shadow: 0 0 7px rgba(220, 150, 190, 0.25);
}

.candle i {
    position: absolute;
    width: 11px;
    height: 15px;
    top: -17px;
    left: 0;
    background: radial-gradient(ellipse, #fff7a0 10%, #ffbf32 55%, #ff8c42 80%);
    border-radius: 50% 50% 45% 45%;
    animation: candleFlicker 0.7s ease-in-out infinite alternate;
    box-shadow: 0 0 12px #ffc857;
}

@keyframes candleFlicker {
    from {
        transform: scale(0.9) rotate(-5deg);
    }
    to {
        transform: scale(1.1) rotate(5deg);
    }
}

.cake-knife {
    position: absolute;
    z-index: 8;
    top: 0;
    right: -15px;
    font-size: 36px;
    opacity: 0;
    transform: rotate(-35deg) translateY(-15px);
    transition: all 0.5s ease;
}

/* Cake cutting animation */

.cake-whole.cut .cake-left {
    transform: translate(-42px, 8px) rotate(-8deg);
}

.cake-whole.cut .cake-right {
    transform: translate(42px, 8px) rotate(8deg);
}

.cake-knife.show {
    opacity: 1;
    transform: rotate(-35deg) translateY(0);
}

.final-message {
    margin-top: 25px;
    color: #b47aa8;
    font-family: 'Pacifico', cursive;
    font-size: 17px;
}

footer {
    position: fixed;
    z-index: 2;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #b49db9;
    pointer-events: none;
}

.background-hearts {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 25;
}

.heart-particle {
    position: absolute;
    bottom: -30px;
    color: rgba(218, 137, 183, 0.35);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-variant-emoji: text;
    animation: floatUp linear forwards;
}

@keyframes floatUp {
    from {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    15% { opacity: 1; }
    to {
        transform: translateY(-110vh) rotate(35deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    top: -20px;
    width: 9px;
    height: 14px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 20;
    animation: confettiFall 3.5s linear forwards;
}

@keyframes confettiFall {
    to {
        transform: translateY(110vh) rotate(720deg);
        opacity: 0;
    }
}

/* MOBILE RESPONSIVE */
.polaroid {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    overflow: hidden;
}

.polaroid img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}
@media (max-width: 500px) {
    .app {
        padding: 20px 14px 65px;
        align-items: center;
    }

    .glass-card {
        padding: 38px 21px;
        border-radius: 24px;
    }

    h1 {
        font-size: 35px;
    }

    .subtitle {
        font-size: 14px;
    }

    .countdown {
        gap: 7px;
    }

    .time-box {
        padding: 14px 4px;
    }

    .time-box strong {
        font-size: 23px;
    }

    .time-box span {
        font-size: 10px;
    }

    .cat-container {
        width: 135px;
        margin-left: 7%;
    }

    .cat-container img {
        height: 130px;
    }

    .polaroid {
        max-width: 250px;
    }

    
.polaroid img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
}

@media (max-height: 720px) {
    .app {
        align-items: flex-start;
    }

    .glass-card {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
/* TWO PHOTO SCRAPBOOK LAYOUT */

.polaroid-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 440px;
    margin: 30px auto 20px;
}

.polaroid-stack .polaroid {
    position: absolute;
    width: 260px;
    max-width: 85%;
    margin: 0;
    padding: 12px 12px 18px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 12px 35px rgba(90, 65, 100, 0.2);
    overflow: hidden;
    animation: none;
    opacity: 1;
}

.polaroid-first {
    top: 0;
    left: 0px;
    z-index: 1;
    transform: rotate(-5deg);
}

.polaroid-second {
    top: 65px;
    right: -5px;
    z-index: 2;
    transform: rotate(7deg);
}

.polaroid-stack .polaroid img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
    border-radius: 4px;
}

.polaroid-stack .polaroid p {
    margin-top: 12px;
    text-align: center;
    font-family: 'Pacifico', cursive;
    font-size: 16px;
    color: #a47b9f;
}

@keyframes photoFirstIn {
    from {
        opacity: 0;
        transform: translateY(35px) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(-5deg);
    }
}

@keyframes photoSecondIn {
    from {
        opacity: 0;
        transform: translateY(35px) rotate(12deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(5deg);
    }
}
/* INTERACTIVE POLAROID SCRAPBOOK */
/* PHOTO STACK */
.polaroid-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 390px;
    margin: 30px auto 20px;
    cursor: pointer;
    perspective: 1000px;
}

.polaroid-stack .polaroid {
    position: absolute;
    width: 260px;
    max-width: 85%;
    margin: 0;
    padding: 12px 12px 18px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 12px 35px rgba(90, 65, 100, 0.2);
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.polaroid-stack .polaroid img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center center;
    border-radius: 4px;
}

.polaroid-stack .polaroid p {
    margin-top: 12px;
    text-align: center;
    font-family: 'Pacifico', cursive;
    font-size: 16px;
}

/* Initial overlapping position */
.polaroid-stack .polaroid-first {
    top: 0;
    left: 0;
    z-index: 1;
    transform: rotate(-5deg);
}

.polaroid-stack .polaroid-second {
    top: 55px;
    right: 0;
    z-index: 2;
    transform: rotate(7deg);
}

/* Reveal both photos when clicked */
.polaroid-stack.show-both .polaroid-first {
    transform: translate(-35px, -12px) rotate(-7deg);
}

.polaroid-stack.show-both .polaroid-second {
    transform: translate(35px, 12px) rotate(7deg);
}
/* BIRTHDAY FINALE */
.birthday-reveal {
    display: none;
    text-align: center;
    margin: 35px auto 20px;
    padding: 25px 15px;
    animation: birthdayReveal 1.2s ease both;
}

.birthday-reveal.show {
    display: block;
}

.birthday-reveal h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.2;
    background: linear-gradient(135deg, #f49abc, #c7b5f4, #e9a9d0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(244, 154, 188, 0.2);
}

.birthday-reveal p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #765b78;
}

@keyframes birthdayReveal {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* DREAMY FINAL PAGE */

#finalScreen {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        #fce8f2 0%,
        #eee4fa 50%,
        #e4ddfa 100%
    );
    text-align: center;
    padding: 70px 20px;
}

.dreamy-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.moon {
    font-size: 75px;
    margin-top: 35px;
    filter: drop-shadow(0 0 25px rgba(255, 230, 170, 0.8));
    animation: moonFloat 4s ease-in-out infinite;
}

.dreamy-stars {
    margin-top: 35px;
    color: #ffffff;
    font-size: 25px;
    letter-spacing: 12px;
    animation: starsGlow 3s ease-in-out infinite alternate;
}

.final-content {
    position: relative;
    z-index: 2;
    margin: 70px auto 0;
    max-width: 650px;
}

.final-content h1 {
    font-family: 'Playfair Display', serif;
    color: #795879;
    font-size: clamp(2rem, 7vw, 3.5rem);
}

.final-content p {
    color: #896d8d;
    font-size: 1.2rem;
    line-height: 1.8;
}

@keyframes moonFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes starsGlow {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}
/* DREAMY BIRTHDAY LETTER */

.letter-card {
    display: block;
    position: relative;
    max-width: 550px;
    margin: 40px auto;
    padding: 35px 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(180, 120, 170, 0.16);
    color: #795879;
    text-align: left;
    line-height: 1.9;
}

.letter-card.show-letter {
    animation: letterAppear 1s ease forwards;
}

.letter-card p {
    margin-bottom: 18px;
    font-size: 16px;
}

.letter-signature {
    text-align: right;
    font-style: italic;
    color: #c477a9;
    margin-top: 28px;
}

@keyframes letterAppear {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* PINK ROSE ENDING */


/* =================================
   DREAMY PINK ROSE GARDEN ENDING
================================= */

#roseEndingScreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #ffe4f0,
        #eadfff,
        #fff0f6
    );
    transition: background 3s ease;
}

#roseEndingScreen.active {
    display: block;
}

#roseEndingScreen .rose-garden {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main rose */

.final-rose {
    position: absolute;
    top: 43%;
    left: 50%;
    width: clamp(180px, 42vw, 360px);
    z-index: 10;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1);
    pointer-events: none;
}

.final-rose img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 25px rgba(170, 65, 100, 0.2));
}

.final-rose.show {
    animation: roseBloom 3s cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

@keyframes roseBloom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.1) rotate(-20deg);
    }
    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12) rotate(6deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0);
    }
}

/* Expanding dreamy rings */

.rose-ring {
    position: absolute;
    top: 43%;
    left: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(225, 135, 180, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    animation: ringExpand 4s ease-out forwards;
}

@keyframes ringExpand {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }
    25% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(5);
    }
}

/* Natural curved garden stems */


/* Real falling PNG petals */

#rosePetalContainer {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 20;
}

.rose-petal {
    position: absolute;
    top: -70px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: petalFall linear forwards;
}

@keyframes petalFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -5vh, 0) rotate(0deg);
    }
    15% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift), 110vh, 0) rotate(600deg);
    }
}

/* Final peaceful white fade */

#roseEndingScreen {
    transition: background 3s ease;
}

#roseEndingScreen .rose-garden,
#roseEndingScreen #rosePetalContainer {
    opacity: 1;
    transition: opacity 3s ease-in-out;
}

#roseEndingScreen.rose-white-screen {
    background: #fff;
}

#roseEndingScreen.rose-white-screen .rose-garden,
#roseEndingScreen.rose-white-screen #rosePetalContainer {
    opacity: 0;
}

#roseEndingScreen.return-background {
    background: linear-gradient(
        135deg,
        #ffe4f0,
        #eadfff,
        #fff0f6
    );
}
#roseEndingScreen.return-background .rose-garden,
#roseEndingScreen.return-background #rosePetalContainer {
    opacity: 0;
}
/* Rose ending text */

.rose-ending-text {
    position: absolute;
    left: 50%;
    top: 75%;
    width: min(90%, 650px);
    text-align: center;
    transform: translate(-50%, 20px);
    opacity: 0;
    z-index: 15;
    pointer-events: none;
}

.rose-ending-text.show {
    animation: roseTextAppear 1.8s ease forwards;
}

.rose-ending-text h2 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(25px, 5vw, 40px);
    color: #c65d91;
    margin-bottom: 18px;
}

.rose-main-line {
    font-family: 'Playfair Display', serif;
    font-size: clamp(17px, 3vw, 23px);
    color: #92547c;
    line-height: 1.6;
    margin-bottom: 12px;
}

.rose-last-line {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(13px, 2.5vw, 16px);
    color: #a47a9c;
    font-style: italic;
}

@keyframes roseTextAppear {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
/* Background music control */
.music-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 30px;
    background: rgba(255,255,255,0.75);
    color: #b45b91;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(180,91,145,0.15);
    backdrop-filter: blur(10px);
}