body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 700px;
    /* Szerszy akapit na desktopie */
    width: 100%;
    padding: 40px 20px;
    margin: 0 auto;
}

.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.9rem;
}

.lang-switch a {
    color: #666;
    text-decoration: none;
    padding: 0 5px;
}

.lang-switch a:hover {
    color: #000;
}

.lang-switch .active {
    font-weight: bold;
    color: #000;
    padding: 0 5px;
}

.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.profile-header .profile-image {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    /* Powrót do kółka */
    margin: 0 auto 25px auto;
    /* Wyśrodkowanie z odstępem na dole */
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Delikatny nowoczesny cień, dodaje uroku */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-header a {
    display: inline-block;
}

.profile-header a:hover .profile-image {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

h1 {
    font-weight: 600;
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    text-align: center;
    /* Powrót na środek dla lepszej prezencji profilu */
}

.content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: #444;
    text-align: left;
}

.content p a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.2s, opacity 0.2s;
}

.content p a:hover {
    color: #666;
}

.links {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.links a {
    display: inline-block;
    padding: 10px 18px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.links a:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}

.pgp-block {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pgp-block p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}

.pgp-block pre {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
    color: #444;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .container {
        padding: 60px 20px 40px 20px;
    }

    .lang-switch {
        top: 15px;
        right: 15px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .links {
        flex-direction: column;
        width: 100%;
    }

    .links a {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .pgp-block pre {
        font-size: 0.75rem;
        /* Slightly smaller on very narrow screens */
        padding: 10px;
    }
}