Introduction

Human-induced environmental changes are globally affecting biodiversity by causing pollution, climate change and habitat modification such as urbanization (French et al. 2018; Willmott et al. 2022). The rapidly growing human population (United Nations 2019) results in the expansion of urban areas (Chen et al. 2014), generating novel environments that have the potential to negatively affect plant and animal life, posing threats to biodiversity. Species residing in urban areas may encounter challenges related to habitat fragmentation (Fardila et al. 2017), exposure to pollutants (Frixione et al. 2022), reduced vegetation (Kisvarga et al. 2023), alterations in the thermal environment (Andrade et al. 2023), changes in predation pressure and food availability (Eötvös et al. 2018), as well as the existence of novel structures and substrates (French et al. 2018). This implies that the urban environment introduces novel and intricate selective pressures and consequently has a significant effect on animal populations.

While many reptiles experience the negative effects of human-induced environmental changes, they are underrepresented in urban ecology research (Doherty et al. 2020). Ectothermic creatures demonstrate heightened sensitivity to their thermal environment, and the limited dispersal ability of reptiles makes them more vulnerable to habitat changes (Inman et al. 2023). Research on reptiles has indicated that urban anthropogenic stressors, such as noise (Mancera et al. 2017), pollution (Lettoof et al. 2020; Salvador et al. 2018), fragmentation (Tan et al. 2023) and elevated temperature (Andrade et al. 2023; Battles and Kolbe 2019; Hall and Warner 2018) can act as deterrents. For instance, road coverage is an important abiotic factor of the urban environment, presenting indirect (pollutants, impermeable surface, disturbance, fragmentation) and direct (road kills) sources of mortality (Fahrig and Rytwinski 2009; Rytwinski and Fahrig 2012). Besides these, asphalt roads and concrete pavements significantly influence the ambient temperature of urban habitats, causing urban areas to experience higher temperatures compared to nearby rural areas. This phenomenon is referred to as the urban heat island effect (Andrade et al. 2023; Hulley 2012) which is primarily linked to asphalt roads (Gong et al. 2023; Wang et al. 2021). Higher environmental temperatures resulting from the urban heat island effect can affect fitness-related traits of individuals (Batabyal and Thaker 2019; Cordero et al. 2022; Putman et al. 2019), potentially influencing survival and population sizes of many reptile species.

The majority of research investigating the impact of urbanization on reptile populations suggests a decline in population size or species richness with urbanization. For instance, a worldwide meta-analysis, incorporating 56 studies on reptiles, revealed that the average reptile abundance is one-third lower in modified habitats compared to unmodified ones (Doherty et al. 2020). Besides this, Ackley et al. (2015a) discovered that the proportion of building cover within a 200-m diameter buffer had a significantly adverse effect on both lizard diversity and abundance. Moreover, a similar pattern was observed in the case of the eastern green lizards (Lacerta viridis) in Bulgaria (Prieto-Ramírez 2023) and the skink communities across four cities of New Zealand (Woolley et al. 2023). On the contrary, many studies reveal an opposite trend as some reptile species, by adapting to novel environmental conditions, can flourish in urban habitats. For instance, the crested anoles (Anolis cristatellus) demonstrate increased tolerance to higher environmental temperatures in urban habitat when compared to their counterparts in forested areas (Campbell-Staton et al. 2020). In addition, a 13-year study of the populations of the common chuckwalla (Sauromalus ater) near the Phoenix Metropolitan region has demonstrated population stability despite the highly urbanized environment (Sullivan and Sullivan 2008; Sullivan and Williams 2010). Also, eastern long-necked turtles (Chelodina longicollis) were more abundant and grew faster in suburban areas compared to the nature reserves (Roe et al. 2011).

Exploring the factors influencing reptile populations is urgent as they are experiencing global declines (Gibbons et al. 2000). To address this, our study aimed to examine the impact of urbanization on the abundance of an aquatic snake living on a lake characterized by a highly urbanized shoreline and experiencing significant human disturbance. We examined the abundance of dice snakes (Natrix tessellata) residing in the artificial lakeside habitats of Lake Balaton, exploring correlations with various aspects of urbanization assessed at both landscape- and local-scales. In our previous study we found that urban land use cover, road cover and the proximity of main roads had a negative effect on developmental stability, while urban land use cover and the area of the artificial rock and concrete shoreline protection structures had a positive effect on the body size of the dice snakes (Mészáros et al. 2023).

We hypothesized that while different aspects of urbanization at the landscape-scale negatively impact snake populations, at the local-scale the existence of artificial rock and concrete shoreline protection structures has a beneficial effect, playing a critical role in determining their abundance. We aimed to explore the following questions: how do various land use types (urban, natural or semi-natural land cover) and settlement sizes influence snake abundance? Additionally, we sought to investigate whether road coverage and proximity to roads have adverse effects on snake abundance. Lastly, despite the overall negative impact of urbanization, do local habitat features, such as artificial rock and concrete coastline protection structures and emergent vegetation cover, positively affects snake abundance?

Given that previous findings indicated a negative correlation between urbanization and reptile abundance (Doherty et al. 2020) and developmental stability (Mészáros et al. 2023), attributed to the higher pollution rates (Tombesi et al. 2014), our first prediction was that at the landscape scale (i) urban land use cover would negatively, while; (ii) natural or semi-natural land cover would positively affect the abundance of dice snakes. We also predicted that; (iii) populations residing in larger settlements might experience heightened human disturbance due to a larger number of inhabitants and tourists resulting in decreased snake abundance. Additional to the negative effect of urban land cover and human disturbance, we also predicted that; (iv) road density; and (v) the proximity of roads would both negatively influence snake abundance due to road pollutants (Dixon et al. 2022; Yang et al. 2014) and higher risk of road mortality (Hallisey et al. 2022). Moreover, it has been shown previously that the area of road cover and the proximity of roads positively correlate with the fluctuating asymmetry of dice snakes assuming higher developmental instability (Mészáros et al. 2023). This, in turn, could indirectly impact the survival of individuals, potentially contributing to a decline in snake populations.

At the local-scale, our predictions were that, despite the adverse impacts of urbanization, (vi) the artificial rock and concrete shoreline protection structures would play a crucial role in determining the abundance of dice snakes (Conelli et al. 2011). We found in our previous study that the human-made rock-covered shoreline had a positive effect on snake body size (Mészáros et al. 2023) by presumably supporting abundant and stable food resources (Eötvös et al. 2018). Additionally, (vii) a greater cover of emergent vegetation was predicted to provide suitable habitat for sheltering, nesting and hibernation.

Materials and methods

Study area

The study was conducted at Lake Balaton in Hungary, which is the largest shallow lake in Central Europe, covering a surface area of 593 km2. It has an average depth of 3.14 m, a length extending to 77.9 km, and an average width of 7.2 km (Specziár and Bíró 1998). As Lake Balaton is the main tourist attraction in Hungary and the surrounding countries, the shoreline area of the lake is experiencing intense urbanization and significant disturbance due to human activity. Over half of the shoreline, approximately 128 km out of 240 km, is artificial and shielded by riprap-covered shoreline protection structures (Karádi-Kovács et al. 2023). In addition to the extensive urbanization of the shoreline, the surrounding area of the lake is also highly fragmented by roads with high traffic density. Overall, Lake Balaton provides a suitable model system to examine the effects of urban landscapes on aquatic ecosystems.

We selected a total of 25 sites along the lake shoreline (Fig. 1 and Online Resource 1), each with a 250-m-long transect designated as the survey area. The sites included harbours, promenades and beaches, and the transects were always placed along the artificial rock and concrete shoreline protection structures. The distances between the sites were determined by the mean dispersal distances of adult dice snakes based on previous radiotelemetry studies (Conelli et al. 2011; Neumann and Mebert 2011; Velenský et al. 2011). The mean distance to the closest surveyed site was 6154 m (SD = 3235 range: 2581–16 778 m) which is much longer than the average movement distances of the species.

Fig. 1
figure 1

Map of Hungary (top-left) and the study area (bottom-right) showing the 25 sampling locations along the shoreline of Lake Balaton, Hungary. Names and WGS84 coordinates of the locations are given in the Online Resource 1

Snake survey

Dice snakes (Natrix tessellata) are Eurasian, non-venomous colubrid snakes (family Colubridae, subfamily Natricinae) measuring between 70 and 100 cm. They mainly feed on fishes and have a strictly aquatic lifestyle. Due to their lifestyle, they are typically found in close proximity to large, permanent, or semi-permanent waterbodies (Mebert 2011). In Lake Balaton, dice snakes are predominantly observed (sometimes in significant numbers) along the artificial rock and concrete structures of harbours, promenades, and beaches which makes it an appropriate model organism to study the response of an aquatic snake species to urbanization.

A total of six visual encounter surveys were undertaken at each site in 2022 within the activity period of dice snakes. Sites were visited twice in spring (survey 1: May 9th–May 19th; survey 2: May 20th–June 2nd), twice in summer (survey 3: July 4th–July 14th; survey 4: July 18th–July 29th) and twice in autumn (survey 5: September 9th–September 29th; survey 6: September 30th–October 14th). Transects were consistently positioned along the rock and concrete protection structures which follow a consistent design around the entire shoreline (Karádi-Kovács et al. 2023) and exhibit sparse vegetation at our designated sites. The snakes were counted in the full width of the shoreline protection structure. Snake counts were conducted along the entire width of the shoreline protection structure. In each survey, two individuals counted snakes along the transects, starting from opposite ends and maintaining a consistent walking pace towards each other for a maximum of 30 min. Only visible snakes were counted during each survey. Consistently, the same two individuals conducted all the visual surveys to minimize variation attributable to different samplers. Surveys were conducted during the day between 0900 and 1700 h, with each transect being scanned only once to avoid pseudoreplication. Water temperature was recorded in Celsius using a digital water thermometer positioned in the upper 10 cm of the water surface at the start, midpoint, and endpoint of the transect. Air temperature, also in Celsius, was measured with a shaded air thermometer at three points along the transect (beginning, middle, and end). The average of the three measurements of water (WTEMP) and air temperature ATEMP) and the Julian date (DATE) and the time of the day (TIME) of each survey was used in the further analyses as detection covariates.

Landscape-scale and local-scale covariates

To measure landscape-scale covariates (Table 1) we defined a 1000-m-long and 200-m-wide buffer zone (with 100 m on land and 100 m on water) along the lake shoreline for each site. The size of the buffer zone was determined to cover the average dispersal distance of dice snakes (Conelli et al. 2011; Neumann and Mebert 2011; Velenský et al. 2011). The URBAN, VEG and ROADS landscape-scale covariates were defined as the total area of each within the buffer zones. The urban land use cover covariate (URBAN) encompassed non-natural, human-made surface cover such as low-rise and tall buildings, paved roads, dirt roads, railways, urban green spaces with and without trees, and other paved or non-paved artificial areas. The vegetation cover covariate (VEG) represents the total area of the tall-herb vegetation of marshes and fens (mainly reeds) standing in water. Our assumption was that roads pose a high risk of mortality for dice snakes, so we additionally measured two variables related to roadkill effects (Velenský et al. 2011). The road cover covariate (ROADS) refers exclusively to the surface area covered by asphalt and paved roads serving as a measure to estimate the risk of road-kills and the effects of road pollutants. The lake is encircled by two main roads, road 71 on the north coast and road 7 on the south coast, which have the highest traffic volumes in the area. The DISTROAD covariate was determined by measuring the nearest distance (m) to the main road (road 71 or road 7) from the centre of the transects. To assess the influence of human disturbance from residents and tourists (CITY), we used the built-up area of the settlements/cities (The Land Office Portal 2023) where the transects were located.

Table 1 A summary of the mean, SD, minimum and maximum values of the estimated landscape and local covariates

As local-scale covariates (Table 1) we determined the area of the artificial rock and concrete shoreline protection structures (ROCKS) and estimated the percentage of emergent vegetation (EMVEG) within each transect. It has been shown in previous studies that human-made structures and vegetation cover of the shoreline are both important determinants of dice snake distribution (Conelli et al. 2011).

We used QGIS 3.28.0 and The Ecosystem Map of Hungary (Ministry of Agriculture 2019) for area calculations and distance measurements.

Statistical analyses

Count data from snake surveys was analysed by building N-mixture models to estimate the abundance and to assess relationships between the abundance of snakes and landscape and local covariates. N-mixture models are hierarchical models which allow for the estimation of species’ abundance as a function of site covariates based on repeated count surveys, while also accounting for the imperfect detection of individuals. The model estimates abundance (Ni) at site i, assuming that Ni follows a Poisson distribution with an expected abundance (λ) over all sites. Besides this, it uses repeated counts (Cij) at site i during survey j (repeated survey at the same site) to estimate individual detection probability (p) and it assumes that Cij|Ni follows a Binomial distribution (Ni, p). (Royle 2004; Royle et al. 2005). The model also enabled us to include environmental metrics as covariates; therefore both parameters (abundance and detection) could be expressed as functions of environmental covariates through a log or logit link, respectively. Previous studies have demonstrated that N-mixture models offer reliable estimates of abundance aligning with outcomes from alternative methods such as capture-mark-recaptures (Ficetola et al. 2018; Neubauer et al. 2022).

Given that reptiles are ectothermic, their detectability is mostly influenced by environmental temperature, therefore we assumed that dice snakes with aquatic habits would be more detectable in warmer air and water temperatures. Additionally, considering that detectability tends to be higher during the mating season, we assumed increased detectability in spring (at earlier dates). Based on these assumptions, we considered ATEMP, WTEMP, DATE and TIME variables which could potentially influence the detection of dice snakes. Three models were built to determine which detection covariate(s) had an important effect on the detectability of dice snakes.

The detection sub-model assumed that detection followed a binomial distribution (Cij ~ Binomial (pij, Nij) where Cij is the number of detected individuals at site i and on survey j, and pij is the detection probability of each individual at site i and on survey j) (Royle et al. 2005). Detection probability was expressed as a logit-linear function of one survey-specific covariate:

$${\text{logit }}\left( {p_{ij} } \right)\, = \,\alpha_{0} \, + \,\alpha_{{1}} \times {\text{ Y}}_{{{\text{ij}}}}$$

where α0 is the intercept, α1 is the covariate effect and Y is one of the detection covariates at each site i at survey j (WTEMP, ATEMP, DATE, TIME).

The three models were compared using the Watanabe-Akaike Information Criterion (WAIC) (Burnham and Anderson 2002; Gelman et al. 2014; Watanabe 2010). Models with ΔWAIC < 2 were considered to have the greatest support (McCarthy 2007). Our results showed that the model with WTEMP was the best-supported model (Table 2), so we used WTEMP as a detection covariate in the models assessing abundance.

Table 2 The Watanabe–Akaike Information Criterion (WAIC) for the detection sub-model

The abundance sub-model assumed an imperfectly observed abundance where the abundance at a site (i) follows Poisson distribution (Ni ~ Poisson (λi) where λi is the expected mean abundance) (Royle et al. 2005). Overdispersion can introduce bias to parameter and abundance estimates in N-mixture models (Knape et al. 2018). To address this, we incorporated a random effect term (ε) in each model to account for overdispersion and unexplained variation in abundance resulting from repeated counts among sites (Kéry et al. 2009). The mean abundance was expressed as a log-linear function of the site covariates:

$${\text{log }}\left( {\lambda_{i} } \right)\, = \,{\upbeta }_{0} \, + \,{\upbeta }_{{1}} \times {\text{ X}}_{{\text{i}}} \, + \,{\upbeta }_{{2}} \times {\text{ X}}_{{\text{i}}} \, + \,\varepsilon_{{\text{i}}}$$

where β0 is the intercept, β1 and β2 are covariate effects and X is one of the landscape or local covariates at site i (URBAN, VEG, CITY, ROADS, DISTROAD, ROCKS, EMVEG). Given that our main hypothesis tested whether urbanisation affected snake abundance, the URBAN covariate was included in all models. Following the recommendation of a minimum ratio of ten sites to the number of estimated parameters, we incorporated a maximum of two covariates in each sub-model (Harrison et al. 2018). In order to test which landscape- and local-scale covariates influenced the abundance of dice snakes and to test our predictions we built seven different models. Then, the best-supported models were chosen based on the ΔWAIC values. Before constructing our models we standardized covariates and assessed them for collinearity, considering a cut-off for inclusion based on Pearson R < 0.7 (Dormann et al. 2013). None of the considered landscape- and local-scale covariates were strongly correlated (R < 0.53). Covariates were scaled at mean = 0 and SD = 1 to improve model convergence. Before the standardization, URBAN, VEG, CITY, ROADS, DISTROAD and ROCKS were log-transformed.

We performed all modelling using JAGS version 4.3.0 (Plummer 2017) called via the R2jags package (Su and Yajima 2015) in R (R Core Team 2021). We conducted three replicates of Markov chain Monte Carlo generating a total of 650 000 samples from the posterior distribution. We removed an initial "burn-in" phase of 50 000 samples and applied a thinning rate of 13. Convergence of the models was accepted if the Brooks-Gelman-Rubin statistic (R̂) < 1.1 (Brooks and Gelman 1998) and by visual inspection of traceplots. The mean, SD and the 95% Bayesian credible intervals (BCI) are presented for all parameters of the best supported models. Parameter estimates were considered important when the BCI did not overlap zero. However, a certain level of tolerance was allowed for a slight overlap of the BCI with zero (Cumming and Finch 2005).

Results

The detection sub-model with only WTEMP was the best supported model (WAIC = 1952.95; Table 2). There was a positive relationship between the probability of detection and water temperature (mean = 0.181; SD = 0.027; BCI: 0.127–0.234; Table 3), inferring that dice snakes were more detectable in warmer water. Subsequent models for abundance were built using WTEMP as a detection covariate.

Table 3 Summary of parameters for the best detection sub-model

The best-ranked abundance models included the covariates URBAN, ROADS, DISTMAINROAD and ROCKS (Table 4). There was a positive association between mean snake abundance and the URBAN covariate (mean = 0.393; SD = 0.147; BCI: 0.102–0.683; Table 5) indicating higher dice snake abundance in areas with increased urban land use cover (Fig. 2A). There was a positive influence of the ROADS covariate on mean snake abundance with a BCI slightly overlapping zero (mean = 0.288; SD = 0.161; BCI: − 0.032 to 0.605; Table 5), indicating higher snake abundance in areas with increased road cover (Fig. 2B). There was a negative relationship between mean snake abundance and the DISTMAINROAD covariate (mean = − 0.445; SD = 0.144; BCI: − 0.731 to − 0.163; Table 5) indicating greater snake abundance in close proximity to main roads (Fig. 2C). Lastly, there was a positive relationship between the area of artificial rocky and concrete shoreline protection structures (ROCKS) and the mean abundance of dice snakes (mean = 0.484; SD = 0.141; BCI 0.207–0.764; Table 5) suggesting larger snake populations where the rocky shoreline is larger (Fig. 2D).

Table 4 The Watanabe-Akaike Information Criterion (WAIC) for the N-mixture models
Table 5 Summary of parameters for the N-mixture models
Fig. 2
figure 2

The relationships between the mean estimates of snake abundance and landscape-scale (AC) and local-scale (D) habitat covariates: A urban land use cover (m2) within the 1000-m buffer zone; B road cover (m2) within the 1000-m buffer zone; C the distance (m) of main roads; D the area (m2) of the artificial rock and concrete shoreline protection structures; The solid black lines represent the estimated snake abundance while the dashed black lines and the shaded areas are the error of estimated abundance, the 95% Bayesian credible intervals

Discussion

Earlier research indicates that urbanization tends to have an adverse impact on reptile populations. Nevertheless, conflicting findings demonstrate that certain species can thrive in urban environments. To understand the factors influencing reptile species in urban habitats, we conducted a study to investigate the impact of urbanization at various scales on the abundance of an aquatic snake residing in a highly urbanized lake shoreline. We found that urban land use cover, road cover, proximity of main roads and the area of the artificial rock and concrete shoreline protection structures had a positive influence on the abundance of dice snakes. Our results show that both landscape-scale urbanization and local-scale urban features exert a positive effect on the abundance of an aquatic snake, and that the highly urbanized lakeshore we studied provides suitable habitat for this reptile.

Contrary to our prediction and the results of some previous studies (Doherty et al. 2020; Prieto-Ramírez 2023; Woolley et al. 2023), we found that urban land use cover was positively correlated with the mean abundance of snakes (Fig. 2A; Table 5), implying that populations living in more urbanized habitats are more abundant. An increase in snake abundance with urbanization could be the result of multiple hypotheses that are not mutually exclusive. In urban environments reptiles may encounter additional microhabitats, such as artificially constructed rocky and metal structures, that could offer suitable locations for sheltering, basking, nesting, and hibernation (Graitson et al. 2020; Herbert et al. 2023). Moreover, the urban environment can be characterized by reduced predation pressure, leading to decreased mortality rates and increased time available for foraging and mating (Eötvös et al. 2018). Dice snakes face a wide range of predators, including various bird species (e.g. Ardea sp., Corvus sp., Bubo bubo, Accipiter sp., Buteo sp., Larus sp.) and carnivorous mammals (e.g. Lutra lutra, Mustela sp., feral cats and dogs) (Jelić and Lauš 2011; Ajtić et al 2013; Velenský et al. 2011). Regrettably, our research lacks data on predation rates across the sites, and this aspect remains unexplored in the context of Lake Balaton. This hypothesis raises an intriguing question that deserves further investigation. A third hypothesis suggests that urban areas offer richer and more consistent food resources compared to rural areas (Putman and Tippie 2020). Artificial structures, like rocky shores, can serve as ideal habitats for various fish species. Dice snakes, being aquatic creatures, predominantly prey on small fishes, such as gobies (Maier et al. 2023), which are highly abundant in harbours and close to bank reinforcement structures (Zarini et al. 2019; Czeglédi et al 2019). Moreover, dice snakes demonstrate notable dietary adaptability that corresponds to habitat characteristics (Weiperth et al. 2014). Research has demonstrated that in heavily urbanized areas, dice snakes can adjust their diet according to the prevalent prey, as seen in their exclusive consumption of invasive fish species in the Danube (Maier et al. 2023). Given the abundance of invasive fish species, such as gobies, in Lake Balaton (Czeglédi et al. 2019), it is conceivable that dice snakes predominantly target these readily available prey, leading to a diet focused primarily on invasive fish species. Besides predation pressure and abundant food resources, interspecific competitors may also have significant impact on the abundance of a species in urban areas (Møller and Díaz 2018). Another aquatic snake species, the grass snake (Natrix natrix), also occupies certain sites included in our study. However, unlike dice snakes, which primarily prey on fish, grass snakes predominantly consume amphibians (Gregory and Isaac 2004) which are predominantly found in dense reed beds and wetlands and not around the rocky shoreline. We believe that this dietary contrast and preferred habitat differences likely mitigates competition between the two species. Altogether, the presence of suitable microhabitats with reduced predation pressure and the availability of abundant, stable food resources in urban areas may create favourable habitats for dice snakes. Additionally, as a supporting observation, our previous study revealed that dice snakes residing in more urbanized areas exhibit larger body sizes (Mészáros et al. 2023), suggesting that urban habitats may offer new ecological opportunities for dice snakes.

Contrary to previous studies on the effects of roads on wildlife (Fahrig and Rytwinski 2009; Farias et al. 2022; Rytwinski and Fahrig 2012; Wagner et al. 2021), dice snake abundance was positively correlated with road cover and road proximity (Fig. 2B and C; Table 5). This result implies that dice snake populations in areas with a more intense road network and closer to the main roads are more abundant. Earlier research has demonstrated that roads can exert significant biological, physical, and chemical effects on both terrestrial and aquatic ecosystems (Dixon et al. 2022), including the introduction of pollutants (Wang et al. 2020), habitat fragmentation (Hamer et al. 2021), road mortality (Farias et al. 2022), and alterations to thermal regimes (Wang et al. 2021). The thermal conditions within human settlements undergo substantial changes compared to rural areas due to the substitution of vegetative cover with impermeable, heat-absorbing artificial surfaces like buildings, concrete pavements, parking lots and asphalt roads (Wang et al. 2021). Asphalt road cover has a notable impact on the overall temperature of urban environments (Wang et al. 2021) and serves as the primary contributor to the urban heat island effect (Andrade et al. 2023; Hulley 2012). The thermal conductivity of asphalt road cover is minimal, and as a dark impermeable surface, it has the capacity to absorb substantial amounts of solar radiation, leading to elevated ambient temperatures (Gong et al. 2023).

In ectotherms, various physiological processes show a positive correlation with body temperature within an optimal range, reaching peak performance at a preferred temperature (Angilletta 2009). Some species may avoid urban environments due to temperatures exceeding their thermal tolerances (Ackley et al. 2015b; Hall and Warner 2019). However, if urban areas align with a species' thermal tolerances, it could enhance access to preferred body temperatures, potentially reducing constraints on activity time (Gunderson and Leal 2015). Research on brown anoles (Anolis sagrei) suggests urban environments facilitate improved thermoregulation, leading to increased activity rates (Battles and Kolbe 2019). Similarly, urban Puerto Rican crested anoles (Anolis cristatellus) endure higher temperatures and exhibit enhanced heat tolerance compared to their forest counterparts (Campbell-Staton et al. 2020). This suggests that lizards can adapt to higher ambient temperatures and gain advantages from residing in an urban habitat. In our case, a potential explanation is that the elevated environmental temperature resulting from the urban heat island effect is within the optimal thermal performance range of dice snakes. This, in turn, may have a positive influence on the body temperature leading to beneficial effects on their metabolism, movement and reproduction. Nevertheless, further investigation is required to understand the impact of urban temperatures on the thermal performance of dice snakes.

At the local-scale, we observed a positive correlation between the abundance of dice snakes and the extent of artificial rock and concrete shoreline protection structures along the lake shoreline (Fig. 2D; Table 5). Supporting our finding, previous studies also showed that artificial structures, such as metal and riprap-covered structures, are widely utilized by lizard and snake species in urban habitats for basking and hiding (Herbert et al. 2023; Watchorn et al. 2023; Yu et al. 2022). For example, the density of lagartixas (Tropidurus hispidus) is elevated in urbanized areas and the primary predictor of abundance was man-made structures which provide shelter (de Andrade 2020). Besides, the density of smooth snakes (Coronella austriaca) was found to be highest in urbanized areas along railway beds and artificial rocky habitats compared to grasslands in nature reserves (Graitson et al. 2020). A plausible explanation for our result could be that rocky shorelines are associated with abundance due to the fact that these structures are favoured habitats for their prey species, including gobies and other small-sized fishes (Capula et al. 2011; Zarini et al. 2019). Furthermore, as an additional supporting observation, a prior study of ours indicated that dice snakes residing along shorelines with a greater expanse of rocks tend to have larger body sizes (Mészáros et al. 2023).

Conclusions

This study presents evidence that both landscape-scale urbanization and local-scale urban features have a positive effect on the abundance of an aquatic snake species. Besides this, in our previous research in the study area, we found that urban land use cover and the area of the artificial rock and concrete shoreline protection structures positively affected the body size of dice snakes (Mészáros et al. 2023), indicating that highly urbanized lakeshores potentially provide suitable habitat for this species. Notably, in our earlier investigation, we observed a positive correlation between urban land use cover, road cover and the proximity of roads with the level of fluctuating asymmetry (Mészáros et al. 2023). This suggests that urban land use cover and roads have an adverse effect on the developmental stability of dice snakes, likely due to the presence of pollutants. Further investigation is necessary to identify the pollutants that have a negative impact on snake development and evaluate their potential long-term adverse effects on survival and reproduction. Finally, our findings suggest that urbanization is a multifaceted phenomenon, affecting species at various levels and exerting subtle effects.