:root {
    --footer-banner-height: 120px;
    --purple-dark: #a23e91;
    --purple-main: #b85a9c;
    --purple-light: #d37ba9;
}

/* ===== Footer Banner ===== */
.footer-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1050;
    background: linear-gradient( 90deg, var(--purple-dark) 0%, var(--purple-main) 70%, var(--purple-light) 100% );
    color: #ffffff;
    padding: 36px 16px calc(28px + env(safe-area-inset-bottom));
    box-sizing: border-box;
}

/* Icon 外圈 */
.banner-icon-wrapper {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--purple-dark) 0%, var(--purple-light) 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Icon 內圈 */
.banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .banner-icon svg {
        width: 28px;
        height: 28px;
        fill: var(--purple-dark);
    }

/* 內容區 */
.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

.banner-text {
    margin: 0;
}

.banner-btn {
    padding: 6px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: #ffffff;
    color: var(--purple-main);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 0 0.5px var(--purple-main);
}

    .banner-btn:hover {
        background-color: #f2f2f2;
    }

/* RWD */
@media (max-width: 768px) {
    :root {
        --footer-banner-height: 150px;
    }

    .banner-content {
        flex-direction: column;
        gap: 8px;
    }

    .banner-icon-wrapper {
        width: 72px;
        height: 72px;
        top: -32px;
    }

    .banner-icon {
        width: 54px;
        height: 54px;
    }

        .banner-icon svg {
            width: 24px;
            height: 24px;
        }
}

/* 隱藏狀態 */
.footer-banner.is-hidden {
    display: none;
}
