/* ============================================
   VSeeBox Footer v2
   Reference: docs/ui_other/vseebox_footer menu_v2
   ============================================ */

.vb-footer,
.vb-footer * {
    box-sizing: border-box;
}

.vb-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #150529;
    color: #f0dfff;
    font-family: var(--vb-font);
}

.vb-footer__divider {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #7B2FE0 0%, #E950CC 100%);
}

.vb-footer__glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 500px;
    transform: translateX(-50%);
    border-radius: 100%;
    background: rgba(181, 134, 255, 0.05);
    filter: blur(100px);
    pointer-events: none;
}

.vb-footer__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 96px 32px 48px;
}

.vb-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 32px;
}

.vb-footer__column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
}

.vb-footer__heading {
    margin: 0;
    color: #E950CC;
    font-family: var(--vb-font);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.vb-footer__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vb-footer__list a {
    display: inline-flex;
    color: #bf9ceb;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vb-footer__list a:hover,
.vb-footer__list a:focus-visible {
    color: #fff;
}

.vb-footer__contact-column {
    gap: 32px;
}

.vb-footer__contact,
.vb-footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vb-footer__contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vb-footer__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.vb-footer__contact-link .material-symbols-outlined {
    color: #d1b3ff;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.vb-footer__contact-link:hover,
.vb-footer__contact-link:focus-visible {
    color: #fff;
}

.vb-footer__contact-link:hover .material-symbols-outlined,
.vb-footer__contact-link:focus-visible .material-symbols-outlined {
    transform: scale(1.1);
}

.vb-footer__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.vb-footer__input-wrap {
    position: relative;
    width: 100%;
}

.vb-footer__input-wrap input[type="email"] {
    width: 100%;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    outline: 0;
    background: #000;
    box-shadow: none;
    color: #fff;
    font-family: var(--vb-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.vb-footer__input-wrap input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.vb-footer__input-wrap::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #7B2FE0 0%, #E950CC 100%);
    content: "";
    transition: width 0.5s ease;
}

.vb-footer__input-wrap:focus-within::after {
    width: 100%;
}

.vb-footer__form button {
    display: inline-flex;
    width: 100%;
    height: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #7B2FE0 0%, #E950CC 100%);
    box-shadow: 0 10px 24px rgba(181, 134, 255, 0.2);
    color: #fff;
    cursor: pointer;
    font-family: var(--vb-font);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.vb-footer__form button:hover,
.vb-footer__form button:focus-visible {
    filter: brightness(1.06);
}

.vb-footer__form button:active {
    transform: scale(0.97);
}

.vb-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid rgba(87, 56, 127, 0.2);
}

.vb-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.vb-footer__logo {
    width: fit-content;
    background: linear-gradient(90deg, #7B2FE0 0%, #E950CC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: var(--vb-font);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.vb-footer__copyright {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--vb-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.vb-footer__social {
    display: flex;
    align-items: center;
    gap: 24px;
}

.vb-footer__social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #33125b;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.vb-footer__social-icon:hover,
.vb-footer__social-icon:focus-visible {
    background: #3c1668;
    color: #fff;
}

.vb-footer__social-icon .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
}

.vb-footer .material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: "liga";
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.vb-footer__pixels {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 256px;
    height: 256px;
    background-image: radial-gradient(rgba(181, 134, 255, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.1;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .vb-footer__columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 40px;
    }
}

@media (max-width: 767px) {
    .vb-footer__inner {
        padding: 64px 24px 40px;
    }

    .vb-footer__columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vb-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 56px;
    }

    .vb-footer__social {
        width: 100%;
        justify-content: flex-start;
        gap: 16px;
    }
}

@media (max-width: 420px) {
    .vb-footer__inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .vb-footer__social {
        justify-content: space-between;
    }
}

/* 隐藏 Astra 默认 Footer（如果残留） */
.ast-small-footer,
.ast-footer-overlay,
.site-footer,
.ast-above-footer-wrap,
.ast-footer-copyright-wrap {
    display: none !important;
}
