/* 推广页面样式 - 响应式设计 */

.promote-page {
    background: #f0f4f8;
    min-height: 100vh;
    padding-bottom: 140px;
}

/* 顶部导航 */
.promote-header {
    background: #4a6fa5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.promote-header-back {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.promote-header-title {
    font-size: 18px;
    font-weight: bold;
}

/* Banner区域 */
.promote-banner {
    background: linear-gradient(180deg, #e8f0f8 0%, #f0f6fc 100%);
    padding: 30px 20px;
    text-align: center;
}

.promote-brand {
    font-size: 42px;
    font-weight: bold;
    color: #3b5998;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.promote-slogan {
    font-size: 22px;
    color: #4a6fa5;
    font-weight: bold;
    margin-bottom: 20px;
}

.promote-image-area {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
    height: 200px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 50%, #c0c0c0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.promote-image-placeholder {
    font-size: 80px;
}

/* 步骤区域 */
.promote-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 15px;
    background: #fff;
    margin: 0 10px;
    border-radius: 12px;
    overflow-x: auto;
}

@media (max-width: 375px) {
    .promote-steps {
        gap: 10px;
        padding: 20px 10px;
    }
}

.promote-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.promote-step-icon {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (min-width: 400px) {
    .promote-step-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.promote-step-text {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

@media (min-width: 400px) {
    .promote-step-text {
        font-size: 12px;
    }
}

.promote-arrow {
    color: #3b5998;
    font-size: 20px;
    flex-shrink: 0;
}

@media (min-width: 400px) {
    .promote-arrow {
        font-size: 24px;
    }
}

/* 邀请按钮 */
.promote-btn-area {
    padding: 20px;
}

.promote-btn {
    background: linear-gradient(135deg, #3b5998 0%, #4a6fa5 100%);
    color: #fff;
    border: none;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

/* 子菜单 */
.promote-sub-nav {
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    max-width: 480px;
    margin: 0 auto;
}

.promote-sub-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #3b5998;
}

.promote-sub-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promote-sub-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

@media (min-width: 400px) {
    .promote-sub-icon {
        font-size: 22px;
        width: 26px;
        height: 26px;
    }
}

.promote-sub-text {
    font-size: 11px;
}

@media (min-width: 400px) {
    .promote-sub-text {
        font-size: 12px;
    }
}

/* 邀请弹窗 */
.invite-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.invite-modal.show {
    display: flex;
}

.invite-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.invite-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    width: 85%;
    max-width: 320px;
    text-align: center;
    z-index: 1001;
}

.invite-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.invite-qrcode {
    width: 160px;
    height: 160px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-qrcode img {
    display: block;
}

.invite-link {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    word-break: break-all;
    padding: 0 10px;
}

.invite-modal-btns {
    display: flex;
    gap: 10px;
}

.invite-copy-btn {
    flex: 1;
    background: #3b5998;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.invite-close-btn {
    flex: 1;
    background: #f0f4f8;
    color: #666;
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
}
