/* ===== fengyezs-follow 整体容器 ===== */
.fengyezs-follow {
    position: fixed;
    display: flex;
    align-items: center;
    width: 700px;
    left: calc(50% - 350px);
    padding: 30px 30px 30px 35px;
    color: #fff;
    background: linear-gradient(to right, #3242b6 0%, #283593 100%);
    bottom: 30px;
    z-index: 999;
    border-radius: 24px 8px 24px 24px;
    box-shadow: 0px 0 15px rgba(0,0,0,0.3);
}

/* ===== 关闭按钮 ===== */
.fengyezs-follow-close {
    position: absolute;
    cursor: pointer;
    background: rgba(0,0,0,0.5);
    border-radius: 0 10px 0 50px;
    height: 30px;
    width: 30px;
    line-height: 21px;
    z-index: -1;
    right: 0;
    top: 0;
    color: #fff;
    text-indent: 7px;
}

.fengyezs-follow-close:hover {
    background: rgba(0,0,0,0.7);
}

.fengyezs-follow-close i {
    font-size: 11px;
    transform: scale(0.65);
    font-weight: 700;
}

/* ===== Logo ===== */
.fengyezs-follow-logo {
    margin: -10px 15px -10px -10px;
}

.fengyezs-follow-logo img {
    height: 64px;
}

/* ===== 内容区域 ===== */
.fengyezs-follow-inner {
    color: #fff !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.fengyezs-follow-inner:hover {
    color: inherit;
}

/* ===== 标题 ===== */
.fengyezs-follow-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 6px;
    position: relative;
}

.fengyezs-follow-title i {
    vertical-align: 2px;
    margin-left: -5px;
    font-weight: 400;
    opacity: 0;
    transition: all .3s;
}

.fengyezs-follow-inner:hover .fengyezs-follow-title i {
    margin-left: 5px;
    opacity: 1;
}

/* ===== 描述文本 ===== */
.fengyezs-follow-text {
    font-size: 14px;
}

.fengyezs-follow-text strong {
    position: relative;
    padding: 0 2px;
    color: #f6dc3e;
}

.fengyezs-follow-text strong::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 60%;
    background: rgba(0,0,0,0.4);
    bottom: -5%;
    z-index: -1;
    transform: rotate(-6deg);
    border-radius: 4px;
}

/* ===== 按钮容器 ===== */
.fengyezs-follow-btn {
    display: flex;
}

/* ===== 按钮项（公众号 & 小程序）===== */
.fengyezs-follow-btnlist {
    padding: 10px 18px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 14px;
}

.fengyezs-follow-btnlist,
.fengyezs-follow-btnlist::before {
    background: #283593;
    border: 1px solid rgba(255,255,255,0.8);
}

.fengyezs-follow-btnlist:hover,
.fengyezs-follow-btnlist:hover::before,
.fengyezs-follow-btnlist.last-btn,
.fengyezs-follow-btnlist.last-btn::before {
    background: #fff;
    color: #283593;
}

.fengyezs-follow-btnlist i {
    font-size: 16px;
}

.fengyezs-follow-btnlist::before {
    content: '';
    position: absolute;
    bottom: 0;
    top: -1px;
    height: calc(100% + 2px);
    border-radius: 6px;
    width: 50%;
    z-index: -1;
    transform: skew(-12deg);
}

.fengyezs-follow-btnlist.first-btn::before {
    right: -15px;
}

.fengyezs-follow-btnlist.last-btn::before {
    left: -15px;
}

.fengyezs-follow-btnlist.first-btn {
    border-radius: 12px 0 0 12px;
    border-right-width: 0;
    margin-right: 37px;
    padding-right: 5px;
}

.fengyezs-follow-btnlist.last-btn {
    border-radius: 0 12px 12px 0;
    border-left-width: 0;
    padding-left: 5px;
}

.fengyezs-follow-btnlist span {
    font-size: 14px;
    margin-left: 5px;
    font-weight: 700;
}

/* ===== 分享背景图（虽未用，但结构存在）===== */
.share-bg {
    pointer-events: none;
    height: 150px;
    width: 120px;
    position: absolute;
    top: -30px;
    right: 200px;
    z-index: -1;
    background-image: url(../images/share.webp);
    background-repeat: no-repeat;
    background-size: contain;
}

.first-btn:first-child:hover ～ .share-bg {
    background-image: url(../images/share-hover.webp);
}

/* ===== 二维码容器（由 JS 控制显示）===== */
.wechat-qrcode {
    display: none;
}

.wechat-qrcode img {
    height: 130px;
    width: 130px;
    alt: "硬核指南微信公众号";
}

/* ===== 响应式：移动端适配 ===== */
@media (max-width: 767px) {
    .fengyezs-follow {
        width: 96vw;
        left: 2vw;
        padding: 20px 20px 60px 25px;
        bottom: 10px;
        border-radius: 15px 8px 15px 15px;
    }

    .fengyezs-follow-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .fengyezs-follow-title i {
        display: none;
    }

    .fengyezs-follow-text {
        font-size: 12px;
    }

    .fengyezs-follow-btn {
        position: absolute;
        text-align: center;
        top: initial;
        left: 135px;
        bottom: 0;
        right: 0;
        width: 100%;
        left: 0;
        padding: 10px;
        z-index: 1;
    }

    .fengyezs-follow-btnlist {
        width: 50%;
        justify-content: center;
        padding: 6px 15px;
    }

    .fengyezs-follow-btnlist i {
        font-size: 14px;
    }

    .fengyezs-follow-btnlist span {
        font-size: 12px;
    }

    .fengyezs-follow-logo img {
        height: 50px;
    }

    .fengyezs-follow-logo {
        position: relative;
        z-index: 2;
    }

    .share-bg {
        top: -95px;
        right: initial;
        left: 30px;
        height: 165px;
        width: 125px;
    }

    /* 注意：以下规则在原始 CSS 中存在，但实际由 JS 控制显示，
       为保持完整性保留 */
    .last-btn:hover ～ .wechat-qrcode {
        display: inline-block;
        background-color: #000000;
        border: 10px solid #000000;
        border-radius: 10px;
        position: absolute;
        top: -150px;
        right: 30px;
        width: 150px;
        height: 150px;
    }
}

/* ===== 深色模式适配（可能被触发）===== */
.io-black-mode .fengyezs-follow-close {
    background: rgba(255,255,255,0.2);
}