﻿:root {
    --bg: #0b0f1a;
    --card-bg: rgba(255, 255, 255, 0.06);
    --text: #e6e8ef;
    --muted: #b8bdcc;
    --link-bg: rgba(255,255,255,0.08);
    --link-bg-hover: rgba(255,255,255,0.14);
    --border: rgba(255,255,255,0.12);
    --shadow: 0 6px 30px rgba(0,0,0,0.25);
    --radius: 16px;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #e0e7ff;
        --card-bg: rgba(255, 255, 255, 0.7);
        --text: #0f172a;
        --muted: #475569;
        --link-bg: rgba(0,0,0,0.05);
        --link-bg-hover: rgba(0,0,0,0.08);
        --border: rgba(2,6,23,0.08);
        --shadow: 0 6px 28px rgba(15, 23, 42, 0.12);
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font: 16px/1.55 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background-color: var(--bg);
    display: grid;
    place-items: center;
    padding: 24px;
    width: 100vw;
    min-height: 100vh;
    height: auto;
}

.column {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    padding: 24px;
}

.author {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.brand-logo img,
.brand-logo picture {
    width: min(120px, 28vw);
    height: auto;
    margin-bottom: 1rem;
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: clamp(1.4rem, 1rem + 1.8vw, 2rem);
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.95rem;
}

    .brand-tagline p {
        margin: 0;
    }

.divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 6px 0 12px;
}

.avatar {
    width: clamp(48px, 10vw, 64px);
    height: clamp(48px, 10vw, 64px);
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    background: linear-gradient(135deg, #64748b, #94a3b8);
    display: inline-block;
}

.title {
    font-weight: 700;
    font-size: clamp(1.25rem, 0.9rem + 1.2vw, 1.8rem);
}

.subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 2px;
    text-align: justify;
}

section {
    margin-top: 4px;
}

    section h2 {
        margin: 10px 0 12px;
        font-size: 0.95rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--muted);
    }

.links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 560px) {
    .links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 880px) {
    .links {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 15px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--link-bg);
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: transform 120ms ease, background 140ms ease, box-shadow 140ms ease;
    will-change: transform;
}

@media (max-width: 480px) {
    .link {
        padding: 16px 18px;
    }
}

    .link:hover {
        background: var(--link-bg-hover);
        transform: translateY(-1px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    }

    .link:active {
        transform: translateY(0);
    }

    .link:focus-visible {
        outline: 2px solid #60a5fa;
        outline-offset: 2px;
    }

    .link .emoji {
        font-size: 1.1rem;
    }

        .link .emoji img {
            max-width: 1.5rem;
            max-height: 1.5rem;
        }

    .link .big-emoji,
    .link .big-emoji picture {
        font-size: 1.1rem;
        display: flex;
    }

        .link .big-emoji img {
            max-width: max-content;
            max-height: 1.5rem;
        }

    .link small {
        margin-left: auto;
        font-weight: 600;
        opacity: 0.7;
        font-size: 0.8rem;
    }

footer {
    margin-top: 8px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 1, 1);
    white-space: nowrap;
    border: 0;
}
