:root {
    --main-blue: rgba(130, 155, 226, 0.7);
    --hover-blue: rgba(100, 130, 200, 0.95);
    --glass-bg: rgba(234, 243, 255, 0.85);
    --header-blue: #6581c7;
    --divider-color: #ffa1d0;
}

body {
    margin: 0;
    font-family: 'Noto Serif SC', serif;
    background-image: url('https://s.lomia.uk/20250315013727758.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 120px 1rem 60px 1rem;
    backdrop-filter: blur(2px);
    box-sizing: border-box;
}

.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 3rem;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out;
    box-sizing: border-box;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    margin-top: -80px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--header-blue);
    letter-spacing: 1.4px;
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #6581c7;
    margin: 0.5rem 0 0.5rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background-color: var(--divider-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--divider-color);
    margin: 1.5rem 0;
}

p {
    font-size: 1.15rem;
    color: #4d5895;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 2;
    word-break: break-word;
}

.logo {
  max-width: 100%;
  max-height: 100px;
  display: block;
  margin: 0.5rem auto;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.15));
  border-radius: 12px;
}

.link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    margin: 0.4rem 0.6rem;
    width: 200px;
    border-radius: 12px;
    background: var(--main-blue);
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.link span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.link svg {
    width: 1em;
    height: 1em;
    fill: white;
    flex-shrink: 0;
}

.link:hover {
    background: var(--hover-blue);
    transform: translateY(-2px);
}

.circle-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.circle-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--main-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.2s ease;
    text-decoration: none;
}

.circle-link:hover {
    background: var(--hover-blue);
    transform: scale(1.1);
}

svg defs { display: none; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .avatar {
        width: 100px;
        height: 100px;
    }

    body {
        padding: 80px 1rem 40px 1rem;
    }

    .card-container {
        padding: 0 1rem;
    }

    .card {
        padding: 2rem 1.2rem;
        width: 100%;
        max-width: 100%;
        border-radius: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .link {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    .circle-link {
        width: 42px;
        height: 42px;
    }

    .circle-link svg {
        width: 20px;
        height: 20px;
    }

    p {
        font-size: 1rem;
        line-height: 1.75;
        padding: 0 0.5rem;
    }

    .logo {
        max-height: 80px;
    }
}