:root {
    --bg-deep: #050b10; /* charcoal base */
    --bg-grad1: rgba(24, 185, 129, 0.20);
    --bg-grad2: rgba(6, 46, 35, 0.55);

    --card-bg: rgba(9, 22, 26, 0.9); /* dark, slightly teal-emerald */
    --card-border: rgba(105, 213, 173, 0.35);

    --accent: #18b981; /* main emerald */
    --accent-soft: #6bd5ad; /* lighter emerald */
    --accent-strong: #0f8c60; /* deeper emerald */

    --text-main: #f3f7f6;
    --text-subtle: #9fb5b0;

    --icon-bg: #0f2527;
    --icon-bg-hover: #18b981;
    --icon-color: #e4fdf5;
    --icon-color-hover: #051012;

    --shadow-soft: rgba(0, 0, 0, 0.55);

    --radius-large: 26px;
    --max-width: 460px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;

    background-color: var(--bg-deep);
    /* background texture */
    background-image:
        radial-gradient(circle at 10% 15%, var(--bg-grad1), transparent 60%),
        radial-gradient(circle at 80% 80%, var(--bg-grad2), transparent 70%);
    background-attachment: fixed;
}

.link-page {
    width: 100%;
    max-width: var(--max-width);
    padding: 30px 24px 20px;
    border-radius: var(--radius-large);
    background: var(--card-bg);
    border: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px var(--shadow-soft);
    text-align: center;
}

/* profile image */
.profile-image {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    background: #0a1a18;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* username area */
.username {
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.username .verified {
    font-size: 1.05rem;
    color: var(--accent-soft);
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-subtle);
    margin-bottom: 24px;
}

.tagline a {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 600;
}

.tagline a:hover {
    color: var(--accent);
    text-decoration: underline;
}


/* icon links */
.icon-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 26px;
}

.icon-link {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.18s ease-out,
        background-color 0.18s ease-out,
        color 0.18s ease-out,
        box-shadow 0.18s ease-out;
}

.icon-link:hover,
.icon-link:focus-visible {
    transform: translateY(-4px) scale(1.08);
    background-color: var(--icon-bg-hover);
    color: var(--icon-color-hover);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6);
    outline: none;
}

.icon-link svg {
    width: 44%;
    height: 44%;
    fill: currentColor;
    display: block;
}

/* footer */
footer {
    font-size: 0.75rem;
    color: var(--text-subtle);
    border-top: 1px solid rgba(159, 181, 176, 0.35);
    padding-top: 10px;
    margin-top: 8px;
}

@media (max-width: 420px) {
    .link-page {
        padding: 26px 18px 18px;
    }
    .icon-link {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }
}
