.footer {
    width: 100%;
    background: linear-gradient(90deg, #e5b7cf 0%, #f3e6ef 100%);
    color: #814365;
    text-align: center;
    position: relative;
    z-index: 20;
    box-shadow: 0 -2px 20px 0 rgba(129, 67, 101, 0.07);
    overflow: hidden;
    font-family: 'Poppins', Arial, sans-serif;
}
.footer-content {
    padding: 28px 10px 18px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-main span {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.7px;
    text-shadow: 0 1px 2px #fff2;
}
.footer-icons {
    margin-top: 8px;
    display: flex;
    gap: 22px;
}
.footer-icons a {
    color: #814365;
    font-size: 22px;
    background: #fff;
    border-radius: 50%;
    padding: 6px 9px;
    box-shadow: 0 2px 8px rgba(129,67,101,0.13);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-icons a:hover {
    background: #e5b7cf;
    color: #a3578b;
    transform: translateY(-4px) scale(1.08);
    text-decoration: none;
}
.footer-stars {
    margin-bottom: 4px;
}
.footer-stars .star {
    font-size: 18px;
    color: #d6a6c6;
    opacity: 0.65;
    margin: 0 6px;
    animation: sparkle 2.7s infinite alternate;
}
.footer-stars .star:nth-child(2) { animation-delay: 0.7s }
.footer-stars .star:nth-child(3) { animation-delay: 1.3s }
@keyframes sparkle {
    0%   { opacity: 0.65; filter: blur(0px);}
    50%  { opacity: 1; filter: blur(1.2px);}
    100% { opacity: 0.65; filter: blur(0px);}
}
@media screen and (max-width: 576px) {
    .footer-content {
        padding: 18px 2vw 12px 2vw;
        gap: 7px;
    }
    .footer-main span {
        font-size: 13px;
    }
    .footer-icons a {
        font-size: 17px;
        padding: 4px 7px;
    }

}


/* --- Scroll Up Button: Magical Orb Style --- */
.scroll-top-btn {
    position: fixed;
    right: 36px;
    bottom: 48px;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 35%, #fff8fb 40%, #e8b6d0 100%);
    box-shadow: 0 8px 24px 0 rgba(129, 67, 101, 0.20), 0 0 12px #f3e6ef;
    color: #a3578b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
    z-index: 999;
    font-size: 28px;
    outline: none;
    animation: floatOrb 2.5s ease-in-out infinite;
    overflow: visible;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

@keyframes floatOrb {
    0% { transform: translateY(0);}
    50% { transform: translateY(-10px);}
    100% { transform: translateY(0);}
}

/* Sparkle effect on hover */
.scroll-top-btn::after {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    filter: blur(0.5px);
}
.scroll-top-btn:hover::after {
    opacity: 1;
    animation: sparkleRotate 1.5s linear infinite;
}
@keyframes sparkleRotate {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
    background: radial-gradient(circle at 60% 35%, #fff 45%, #e4b7cb 100%);
    box-shadow: 0 12px 34px 0 rgba(129, 67, 101, 0.21), 0 0 28px #f6e2f0;
    color: #814365;
    transform: translateY(-6px) scale(1.08);
}

/* Mobile responsive */
@media (max-width: 576px) {
    .scroll-top-btn {
        width: 42px;
        height: 42px;
        font-size: 19px;
        right: 14px;
        bottom: 16px;
    }
    .scroll-top-btn::after {
        font-size: 11px;
        top: 3px;
        right: 4px;
    }
}