body {
    background-image: url('zurawie.jpg');
    background-size: contain;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    margin: 0;
    padding: 0;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Helvetica Neue', 'Segoe UI', 'Roboto', 'Inter', sans-serif;
}

h1 {
    text-align: center;
    color: #000000;
    margin-top: 100px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255,255,255,0.8), 
                 1px 1px 2px rgba(255,255,255,0.9), 
                 -1px -1px 2px rgba(255,255,255,0.9),
                 1px -1px 2px rgba(255,255,255,0.9), 
                 -1px 1px 2px rgba(255,255,255,0.9);
    font-weight: 500;
    letter-spacing: 3px;
}

p {
    text-shadow: 0 0 6px rgba(255,255,255,0.7), 
                 1px 1px 1px rgba(255,255,255,0.8), 
                 -1px -1px 1px rgba(255,255,255,0.8),
                 1px -1px 1px rgba(255,255,255,0.8), 
                 -1px 1px 1px rgba(255,255,255,0.8);
    font-size: larger;
    font-weight: 400;
    letter-spacing: 1px;
    text-align: center;
    max-width: 90vw;
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    color: #000000;
    text-decoration: underline;
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}

/* Mobile viewport adjustments */
@media screen and (max-width: 768px) {
    h1 {
        margin-top: calc(100px + env(safe-area-inset-top));
    }
    
    body {
        background-attachment: scroll;
    }
}