/* Background styles - Only for home page */
body {
    background-image: url('https://cdn.rldragon.cc/imgs/bg/berk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Remove background-attachment: fixed for iOS compatibility */
    
    min-height: 100vh;
    position: relative;
}

/* Alternative approach for fixed background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://cdn.rldragon.cc/imgs/bg/berk.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Background overlay for better readability */
body::after {
    content: '';
    position: fixed;
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);

    z-index: -1;
    pointer-events: none;
}

/* iOS specific fix */
@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
    }
}