Introduction

The Internet has become an indispensable part of people’s daily lives. According to the 51st statistical report on China’s Internet development, the number of Internet users in China has been rapidly increasing, and reached 1.067 billion by the end of 2022. Moreover, the proportion of adolescent Internet users cannot be ignored, as 14.3% of all users are aged 10–19 years old [1]. While the Internet brings convenience to adolescents’ studies and lives [2], it also has severe consequences when used in a problematic manner. Problematic Internet use (PIU) refers to using the Internet in a risky, excessive, or impulsive manner, leading to adverse consequences, including physical, emotional, social, or functional impairment [3]. Several studies have demonstrated that PIU can lead negative psychological and behavioral outcomes to adolescents (e.g., depression, cyber aggression and victimization) [4,5,6]. Thus, exploring the risk factors associated with PIU and its underlying mechanism has both theoretical and practical importance for PIU prevention and intervention among adolescents.

Family environment as the prime ecological system has profound impacts on individuals’ development [7]. A negative family environment contributes to internalizing and externalizing problems in adolescents [8]. Previous cross-sectional studies have demonstrated that negative parent-child interaction (e.g., parent-child conflict) can directly lead to PIU in adolescents [9, 10]. However, cross-sectional studies could not prove the effect of parent-adolescent conflict on PIU over time [8, 11]. Therefore, the first aim of this study is to preliminarily explore the relationship between prior parent-adolescent conflict and subsequent PIU by a longitudinal method. According to the cognitive-affective personality system, situational features (e.g., parent-child conflict) could be encoded by the mediating cognitive and affective units (e.g., depression), generating distinctive behavior (e.g., PIU) in response to different situations [12]. But the cause of PIU as well as the intrinsic psychological mechanism between parent-adolescent conflict and PIU have not been well elucidated so far. Thus, the second aim of this study is to explore the mediating effect of depression between parent-adolescent conflict and PIU longitudinally. Individual behaviors are shaped through interactions in not only the family system but also the school environment [7]. As another main environment in which adolescents study and live, schools have a significant influence on their development [13]. A positive school climate could likely buffer the negative effect of parent-adolescent conflict and depression. Hence, the third aim of this study is to explore the protective effect of school climate on adolescent PIU.

Parent-adolescent conflict and problematic internet use

As a type of negative parent-child interaction, parent-child conflict manifests as psychological or behavioral conflict between parent and child due to their opposition of cognition, emotion, behavior or attitude [14]. During puberty, adolescents tend to experience conflict with their parents when struggling to assert their autonomy and individuation [15]. Frequent and intense parent-adolescent conflict is harmful to adolescent development [16]. According to the uses and gratifications theory, individuals will use a medium (e.g., Internet, smartphones) to gratify their social needs [17, 18]. Parent-adolescent conflict not only prevents adolescents from meeting their increasing need to develop autonomy and individuation but also affects adolescents’ emotional insecurity and insecure attachment [19]. Therefore, adolescents may rely on Internet use to meet their unfulfilled social and psychological needs left unmet by their families [20, 21]. Moreover, parent-adolescent conflict is a main source of stress in the early stage of individual development [14]. Internet provides adolescents with a virtual environment in which they can indulge themselves without real-world stress [22, 23]. Previous cross-sectional researches have shown a positive relationship between parent-adolescent conflict and PIU [21, 24]. In longitudinal study, this association may still exist.

Based on the abovementioned theoretical and empirical evidence, we posit the first hypothesis:

Hypothesis 1

Parent-adolescent conflict is positively related to PIU in adolescents.

The mediation effect of depression

Adolescents exposed to continuous parent-adolescent conflict would be sensitive to this kind of family stressors [25, 26], and developed depression as a response to these stressors [27, 28]. Empirical studies have demonstrated that both disagreement and hostility, which are two specific dimensions of parent-adolescent conflict, have negative effects on adolescent development [29, 30]. In addition, research has shown a strong direct association between parent-adolescent conflict and depression [31, 32]. To relieve negative emotions, adolescents with depression may turn to increase Internet use to enhance their mood and compensate for unmet needs caused by parent-adolescent conflict [20, 23, 33]. In addition, depression can deplete adolescents’ self-control resources, leading to a lack of self-control [34]. A previous study found that individuals with lower level of self-control will exhibit PIU more frequently [35].

Therefore, adolescents experiencing parent-adolescent conflict are likely to experience depression, leading to PIU. Accordingly, we propose the following hypothesis:

Hypothesis 2

Depression mediates the relationship between parent-adolescent conflict and PIU.

The moderation effect of school climate

In this study, we paid close attention to the causes of PIU among adolescents and hoped to explore a moderating factor to help adolescents effectively intervene their PIU. Thus, guided by the ecological system theory [7], we focused on the moderating role of a positive school factor (e.g. school climate) in the pathway from parent-adolescent conflict and depression to PIU.

Although adolescents experiencing depression and parent-adolescent conflict may engage in PIU, they may not all experience negative consequences. School climate refers to a school’s quality and characteristics, and reflects school norms, values, goals, and interpersonal relationship [36]. According to stage environment fit theory, when school environment granted opportunity for adolescents, which fits their psychological needs, it wound boost their optimal development [37,38,39]. A positive school climate may provide interpersonal emotional support to adolescents with depression [40], thereby compensating for the lack of psychological need fulfillment caused by parent-adolescent conflict, which may reduce their PIU. Moreover, in a positive school climate, adolescents with depression may learn more appropriate Internet use, norms, and attitudes by observing their peers or teachers [41]. Thus, based on the evidence above, we propose the following:

Hypothesis 3

School climate moderates the mediating effect of depression on the relationship between parent-adolescent conflict and PIU, manifested as moderating the pathways from parent-adolescent conflict to PIU and from depression to PIU.

The current study

As literature illustrates, the previous cross-sectional studies failed to uncover the effect of parent-adolescent conflict on PIU over time and the potential psychological mechanism between the two variables. In this sense, it is meaningful to address the aforementioned research gaps for better understanding the causes of PIU and proposing effective intervention strategies for adolescents. Guided by the cognitive-affective personality system and the ecological system theory [7, 12], we concentrated on the interactions among family (parent-adolescent conflict), school (school climate), and individual emotional factors (depression), aiming at exploring the influencing factors of PIU. Hence, we constructed a moderated mediation model (Fig. 1) and adopted a two-wave longitudinal design to verify our hypotheses as follows: (1) Hypothesis 1: parent-adolescent conflict at T1 will be positively related to PIU in adolescents at both T1 and T2; (2) Hypothesis 2: T2 depression will mediate the relationship between T1 parent-adolescent conflict and T2 PIU, and (3) Hypothesis 3: T2 school climate will moderate the mediating effect of T2 depression on the relationship between T1 parent-adolescent conflict and T2 PIU, moderating the pathways from T1 parent-adolescent conflict to T2 PIU and from T2 depression to T2 PIU.

Fig. 1
figure 1

The proposed moderated mediation model

Methods

Participants and procedure

Convenience sampling was used to recruit participants from three junior and high schools in Guangzhou, China. Data were collected in two waves six months apart: November 2021 (T1) and May 2022 (T2). To examine the unidirectional impact of parent-adolescent conflict on PIU over time and the potential psychological mechanism, participants are required to report parent-adolescent conflict at T1, and depression and school climate at T2. Specifically, PIU was measured at both T1 and T2 to control the baseline of PIU. 881 participants finished the questionnaires at T1. Excluding participants who did not complete the measures at T2 and answer the questions seriously, the final sample included 801 adolescents, comprising 411 boys (51.3%) and 390 girls (48.7%) aged 12–17 years (14.68 ± 1.54 years).

The survey material and all procedures conformed to the Declaration of Helsinki and were approved by the Ethics Committee of Guangzhou University. In addition, the survey was conducted by well-trained data collectors. Before the formal survey, we obtained informed consent from all participants and their parents included in the study. Participants were informed that their responses would be strictly confidential and that they could opt out of the survey at any time if they became uncomfortable.

Measures

Parent-adolescent conflict

The Parent-Child Conflict Scale designed by Fang et al. [42] was used to assess parent-child conflict among adolescents. The scale consists of eight items, requiring participants to report the frequency of conflicts with their parents in eight aspects (e.g., academic, making friends, spending money) and is rated on a five-point Likert scale ranging from 1 (never) to 5 (several times a day). In this study, Cronbach’s α was 0.85 for this scale. The result of confirmatory factor analysis (CFA) indicates the scale has acceptable structure validity: χ2/df = 3.98, CFI = 0.95, TLI = 0.93, RMSEA = 0.06, and SRMR = 0.04.

Depression

The Center for Epidemiologic Studies Depression Scale (CES-D) developed by Andresen et al. [43] was used to measure depression. The scale includes 10 items (e.g., “I find it hard to be concentrated”; “I feel very depressed”), ranging from 0 (never) to 3 (always). In this study, Cronbach’s α was 0.87 for this scale. The result of CFA indicates the scale has acceptable structure validity: χ2/df = 4.31, CFI = 0.96, TLI = 0.94, RMSEA = 0.06, and SRMR = 0.03.

School climate

The Delaware School Climate Surveys-Student Scale (DSCS-S) was used to measure school climate [44]. The scale comprises 29 total items across seven subscales: teacher-student relationship, student-student relationship, school-wide student engagement, clarity of expectations, fairness of rules, school safety, and school-wide bullying. Items are rated on a 4-point scale ranging from 1 (strongly disagree) to 4 (strongly agree). Sample items are “The school rules are fair” and “Teachers care about their students”. In this study, Cronbach’s α was 0.95 for this scale. The result of CFA indicates the scale has acceptable structure validity: χ2/df = 3.08, CFI = 0.91, TLI = 0.90, RMSEA = 0.05, and SRMR = 0.05.

Problematic internet use

The Chinese version of Young’s [45] Problematic Internet Use Scale was used to measure PIU. The scale comprises 10 items (e.g., Do you feel the need to use the internet with increasing amounts of time in order to achieve satisfaction) ranging from 1 (not at all true) to 6 (very true). In this study, Cronbach’s α was 0.90 at T1 and 0.91 at T2 for this scale. The result of CFA indicates the scale has acceptable structure validity at both T1 (χ2/df = 4.21, CFI = 0.95, TLI = 0.94, RMSEA = 0.06, SRMR = 0.03) and T2 (χ2/df = 4.24, CFI = 0.95, TLI = 0.94, RMSEA = 0.06, SRMR = 0.03).

Statistical analyses

First, to ensure that the consistence and reliability of measurement tool across different time points, measurement invariance for PIU scores at two time points was evaluated using CFA. Following researchers’ recommendations, change in comparative fit index (ΔCFI) of more than 0.01 and change in root mean squared error of approximation (ΔRMSEA) of more than 0.015 would not able to support measurement invariance [46, 47].

Second, descriptive statistics and Pearson correlations were calculated by SPSS 22.0. We then used Mplus 8.3 [48] to test the moderated mediation effects through path analysis. Acceptable standard indices (χ2/df < 5, CFI and TLI > 0.90, RMSEA and SRMR < 0.08) were used to evaluate model fit following Hoyle [49]. Bootstrapping analysis with 5000 replicates was performed to verify the significance of the paths. For the path analysis, we set participants’ sex, age, and baseline (PIU at T1) as covariates in the longitudinal structural equation model to exclude their effects on the model outcome. Sex was dummy coded (0 = female, 1 = male).

Results

Common method bias

Considering that the questionnaires were self-reported by adolescents, common method bias could interfere with the results [50, 51]. To reduce the impact of common method bias in terms of procedure control, we emphasized the strict confidentiality of data to the participants and reverse-scored several items. Moreover, we employed Harman’s single-factor test to determine whether serious common method bias was present. The results showed that the eigenvalues of the 12 factors were > 1, and the first factor explained only 19.67% of the variance. Thus, the results indicated that no serious common method bias was present in this study.

Preliminary analyses

The results of CFA suggested that the null hypothesis of measurement invariance should not be rejected (see Table 1). Table 2 displays the means, standard deviations, and Pearson correlations of the study variables. T1 parent-adolescent conflict was significantly positively correlated with T2 depression, T1 PIU, and T2 PIU, but significantly negatively correlated with T2 school climate. Moreover, T2 depression was significantly positively correlated with T1 and T2 PIU, but significantly negatively correlated with T2 school climate. T2 school climate was significantly negatively correlated with both T1 and T2 PIU. These results explain the relationship among the variables to a certain extent. However, the specific variable model requires further testing.

Table 1 Model fit statistics for tests of measurement invariance of PIU
Table 2 Descriptive statistics and correlations for all variables

Testing for mediation effects of depression

The paths from the covariates (i.e., age, sex, and T1 PIU) to all constructs were included as controls. However, the path between sex and T2 PIU was not statistically significant, and was therefore removed from the mediation model analysis to avoid overcontrol [52].

The mediation model, as presented in Fig. 2, showed excellent data fit: χ2 = 1.93, df = 1, χ2/df = 1.93, CFI = 0.99, TLI = 0.99, and RMSEA = 0.03. As shown in Table 3; Fig. 2, after controlling for covariates, T1 parent-adolescent conflict positively predicted T2 depression (β = 0.66, SE = 0.09, p < 0.001, 95% CI = [0.51, 0.85]) but did not significantly positively predict T2 PIU (β = 0.02, SE = 0.04, p > 0.05, 95% CI = [− 0.05, 0.09]). T2 Depression positively predicted T2 PIU (β = 0.15, SE = 0.04, p < 0.001, 95% CI = [0.08, 0.22]).

Fig. 2
figure 2

Model of the mediating role of T2 depression between T1 parent-adolescent conflict and T2 problematic Internet use

Note: T1 = Time 1, T2 = Time 2. Values are standardized coefficients and the standard error. Paths of covariables in the model are not displayed. ***p < 0.001

Table 3 Mediation and moderated mediation effect test

Additionally, bootstrapping analyses indicated that T2 depression mediated the relationship between T1 parent-adolescent conflict and T2 PIU (indirect effect = 0.10, SE = 0.03, p < 0.001, 95% CI = [0.05, 0.16]; see Table 4).

Table 4 Summary of the direct and indirect effects

Testing for moderated mediation effect

The moderated mediation model represented in Fig. 3 displays a good fit to the data: χ2 = 52.31, df = 12, χ2/df = 4.36, CFI = 0.94, TLI = 0.92, and RMSEA = 0.07. The bias-corrected percentile bootstrap results indicated that the indirect effect of T1 parent-adolescent conflict on T2 PIU through T2 depression was moderated by the T2 school climate.

Fig. 3
figure 3

Model of the moderating role of T2 school climate on the indirect relation between T1 parent-adolescent conflict and T2 problematic Internet use via T2 depression

Note: Values are standardized coefficients and the standard error. Paths of covariables in the model are not displayed. PAC, Parent-adolescent conflict; DP, Depression; SC, School climate; T1 = Time 1, T2 = Time 2. * p < 0.05, ** p < 0.01, *** p < 0.001

Specifically, as shown in Table 2, T2 school climate moderated the relationship between T2 depression and T2 PIU (β = 0.11, SE = 0.05, p = 0.02, 95% CI = [0.02, 0.20]). Age, sex, and T1 PIU were included as covariates in the regression equation as controls. However, T2 school climate did not moderate the relationship between T1 parent-adolescent conflict and T2 PIU (β = −0.02, SE = 0.04, p = 0.57, 95% CI = [− 0.10, 0.05]).

To better understand the intrinsic mechanism of moderation, we conducted a simple slope test. As Fig. 4 shows, the positive link between T2 depression and T2 PIU was much weaker for adolescents with low school climate scores (1 SD below the mean; β = 0.02, SE = 0.06, p = 0.77, 95% CI = [− 0.10, 0.13]) than for those with a high school climate score (1 SD above the mean; β = 0.24, SE = 0.07, p < 0.001, and 95% CI = [0.12, 0.38]). Notably, the positive indirect links between T1 parent-adolescent conflict and T2 PIU via T2 depression were much weaker for adolescents with low school climate scores (indirect effect = 0.01, SE = 0.04, p = 0.77, 95% CI [− 0.07, 0.10]) than for those with high school climate scores (indirect effect = 0.18, SE = 0.06, p = 0.001, 95% CI = [0.09, 0.33]).

Fig. 4
figure 4

School climate as a protective function of depression and problematic internet use

Discussion

In the current study, we explored the relationship between parent-adolescent conflict and PIU longitudinally, as well as its underlying psychological mechanism in Chinese adolescents. The study yields three major findings. These findings have both theoretical and practical value in terms of preventing or providing interventions for PIU among adolescents.

The association between parent-adolescent conflict and problematic internet use

Supporting hypothesis 1, we found parent-adolescent conflict was positively related to PIU in adolescents over time, which supplements longitudinal research evidence for the negative effect of parent-adolescent conflict on PIU. In line with the uses and gratifications theory [17, 18], this finding suggests that adolescents who experience more parent-adolescent conflicts are more prone to engage in Internet use in a risky, excessive, or impulsive manner to gratify their unmet social and psychological needs within their family [24]. Previous studies have found that the parent-adolescent relationship is a predictive factor for PIU [9, 53]. However, in this study, we did not find a direct predictive relation between T1 parent-adolescent conflict and T2 PIU. This may be due to the statistical control for the baseline level of T1 PIU, which is a strong predictor of subsequent PIU in adolescents. This suggests that parent-adolescent conflict is not sufficiently powerful to directly affect subsequent PIU when previous PIU is excluded. However, this does not mean that no association exists between parent-adolescent conflict and subsequent PIU. As our findings shows, parent-adolescent conflict will indirectly affect subsequent PIU via depression.

The mediation of depression

Supporting Hypothesis 2, we found that depression mediated the relationship between parent-adolescent conflict and PIU, suggesting that prior parent-adolescent conflict would indirectly affect adolescents’ subsequent PIU by first influencing their subsequent depression. We found that parent-adolescent conflict was positively associated with depression. According to stress sensitization theory and life stress theory [25, 26], for adolescents, parent-adolescent conflict are not only early adverse environmental events but also later stressors. Adolescents who are exposed to either early or later parent-adolescent conflict may be at risk for experiencing depression symptoms and heavy stress, with this risk higher for those who experience both early and later parent-adolescent conflict [27, 28].

Further, depression was positively associated with PIU, which is consistent with the results of previous studies [54, 55]. Internet use can help adolescents satisfy their needs that are unmet in their real lives [56] and help them regulate negative moods [57]. Thus, the enjoyment that Internet use brings is likely to ultimately leading to PIU in adolescents with depression. According to the cognitive-behavioral model of PIU [58], individuals with depression are predisposed to develop maladaptive cognitions regarding the Internet, which subsequently leads to maladaptive Internet behaviors. Depression may also impair self-control [59], and individuals with poor self-control are more likely to engage in PIU [60]. In summary, depression not only increases individuals’ Internet use but also decreases their ability of using Internet appropriately, which will gradually create a self-perpetuating cycle, resulting in the onset of PIU [61].

The moderation of school climate

Another important finding of the current study was that the mediating effect of depression was moderated by school climate, which supports Hypothesis 3. Specifically, school climate moderated the second stage of the mediating path (from depression to PIU). The relationship between depression and PIU was stronger for adolescents with positive school climates than for those with negative school climates. A positive school climate can buffer the negative impact of low level of depression on PIU. Social support brings adolescents love and care, providing them with sufficient psychological resources to relieve their acute psychological stress [62, 63]. In accordance with stage environment fit theory, a positive school climate provides adolescents with psychological support [64], thereby effectively reducing PIU in adolescents with low level of depression. Notably, a positive school climate was not found to affect adolescents with high level of depression, which supports the protective-reactive model [65]. As a protective factor, a positive school climate can diminish but not eliminate the association between the risk (depression) and the outcome (PIU). Adolescents with higher level of depression have more negative mood states [66], stress [67] and loss of self-control [68], which cannot be completely buffered by school climate and will directly lead to more serious PIU.

However, inconsistent with our hypothesis 3, T2 school climate did not moderate the relationship between T1 parent-adolescent conflict and T2 PIU. One possible explanation for this is that parent-adolescent conflict leads to individual negative externalizing behavior by influencing internalizing emotions [69]. Positive factors such as school climate cannot directly buffer problematic behaviors caused by negative family interactions but can alleviate PIU by regulating adolescents’ emotions. Meanwhile, many internalizing emotions can arise simultaneously due to parent-adolescent conflict [30]. Therefore, focusing interventions on an important emotional variable (depression) may be more effective than focusing on multiple emotional variables.

Limitations and implications

This study has some limitations that need to be addressed in future research. First, we only explored the unidirectional impact of parent–adolescent conflict on PIU. Previous studies have demonstrated the negative effects of PIU on parent-adolescent conflict and depression [24, 70]. Future research can employ a cross-lagged design to further reveal the reciprocal relationship among parent-adolescent conflict, depression, and PIU. Second, we conducted our research on Chinese adolescents, which limits the generalizability of the results to different cultural samples. Future research to replicate our results should include participants from other cultural contexts. Third, although we used a longitudinal study design to examine our model, we only followed the participants for six months. This length of time is insufficient to observe the development of and changes in parent-adolescent conflict and its effects on PIU over time. Future research should extend the timeline to further explore changes with age.

However, the research findings also have important theoretical and practical implications. The study findings contribute to the understanding of the causes of PIU, validating cognitive-affective personality system as well as ecological system theory, and extending these theories to the knowledge on PIU. Meanwhile, these findings provide insights into integrating multiple theories when exploring the formation of problematic behaviors. As for practical implications for prevention and intervention in PIU, first, parents should learn to address issues with their children peacefully instead of through conflict. Second, parents should aim to better understand the characteristics and needs of adolescents during puberty to promote parent-child interactions and relationship. Third, if conflict does occur, we advise that parents address the problem calmly and express their love to their children in a timely manner to alleviate negative emotions of their children. Finally, schools need to create a safe, harmonious, and positive educational environment to effectively soothe adolescents’ emotions and positively guide and educate them to use the Internet appropriately.

Conclusions

The present study reveals that parent-adolescent conflict leads to PIU in adolescents through depression whilst the school climate moderates the impacts of depression on PIU. This adds further evidence regarding the significance of systematically and consistently incorporating family and school in the alleviating of problem behaviors displayed by teens. With the prevalence of internet use among the young population, it is central that parents sustain a healthy relationship with their adolescent children and schools construct a secure and nurturing environment so as to lower students’ risks of the excessive and impulsive use of internet.