:root {
    --background: #f5f7fb;
    --text: #17181c;
    --muted: #777b85;

    --glass: rgba(255, 255, 255, 0.62);
    --glass-border: rgba(255, 255, 255, 0.78);

    --primary: #4f8cff;

    --shadow:
        0 20px 60px rgba(50, 60, 90, 0.08);

    --radius: 22px;
}


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


html {
    scroll-behavior: smooth;
}


body {
    min-height: 100vh;

    font-family: "Outfit", sans-serif;

    color: var(--text);

    background:
        radial-gradient(
            circle at top,
            #ffffff 0%,
            var(--background) 55%,
            #eef1f7 100%
        );

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;
}


.orb {
    position: absolute;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    filter: blur(90px);

    opacity: 0.28;
}


.orb-1 {
    top: -150px;
    left: -100px;

    background: #8db5ff;
}


.orb-2 {
    top: 35%;
    right: -180px;

    background: #c4a6ff;
}


.orb-3 {
    bottom: -200px;
    left: 30%;

    background: #8de1ff;
}


/* =========================
   PAGE
========================= */

.link-page {
    width: min(100%, 620px);

    margin: auto;

    padding:
        55px 20px
        40px;
}


/* =========================
   PROFILE
========================= */

.profile {
    text-align: center;

    margin-bottom: 32px;
}


.profile-image {
    width: 82px;
    height: 82px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.9),
            rgba(255,255,255,.45)
        );

    border: 1px solid var(--glass-border);

    box-shadow:
        0 15px 40px rgba(60, 80, 120, .12),
        inset 0 1px 0 rgba(255,255,255,.9);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.profile-image span {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 42px;

    font-weight: 700;

    line-height: 1;

    background:
        linear-gradient(
            135deg,
            #222,
            var(--primary)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.profile h1 {
    font-family:
        "Cormorant Garamond",
        serif;

    font-size: 48px;

    line-height: 1;

    letter-spacing: 0.03em;

    margin-bottom: 10px;

    color: var(--primary);

    font-weight: 600;

    font-style: italic;
}


.tagline {
    max-width: 380px;

    margin: auto;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


.handle {
    margin-top: 8px;

    font-size: 13px;

    color: #a0a4ac;
}


/* =========================
   MAIN CTA
========================= */

.main-cta {
    margin-bottom: 14px;
}


.cta-button {
    position: relative;

    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

    min-height: 76px;

    padding: 12px 18px;

    color: white;

    text-decoration: none;

    border-radius: var(--radius);

    background:
        linear-gradient(
            135deg,
            #477ff2,
            #6d9cff
        );

    box-shadow:
        0 15px 35px rgba(79, 140, 255, .25);

    overflow: hidden;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.cta-button::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 25%,
            rgba(255,255,255,.18) 50%,
            transparent 75%
        );

    transform: translateX(-100%);

    transition: transform .7s ease;
}


.cta-button:hover::before {
    transform: translateX(100%);
}


.cta-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(79, 140, 255, .32);
}


.cta-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255,255,255,.16);

    font-size: 20px;
}


.cta-content {
    flex: 1;

    text-align: left;
}


.cta-content strong {
    display: block;

    font-size: 16px;

    font-weight: 600;
}


.cta-content small {
    display: block;

    margin-top: 3px;

    font-size: 12px;

    opacity: .8;
}


.cta-arrow {
    font-size: 22px;
}


/* =========================
   LINK CARDS
========================= */

.links {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


.link-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 88px;

    padding: 13px 17px;

    color: var(--text);

    text-decoration: none;

    border-radius: var(--radius);

    background: var(--glass);

    border: 1px solid var(--glass-border);

    box-shadow: var(--shadow);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.link-card:hover {
    transform: translateY(-3px);

    background:
        rgba(79, 140, 255, 0.10);

    border-color:
        rgba(79, 140, 255, 0.35);

    box-shadow:
        0 20px 45px rgba(79, 140, 255, 0.15);
}


.link-card:hover .link-icon {
    color: var(--primary);

    background:
        rgba(79, 140, 255, 0.14);

    border-color:
        rgba(79, 140, 255, 0.20);
}


.link-card:hover .link-content h2 {
    color: var(--primary);
}


.link-card:hover .link-arrow {
    color: var(--primary);

    transform: translateX(4px);
}

.link-icon {
    flex-shrink: 0;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: var(--primary);

    background:
        rgba(79, 140, 255, .08);

    border:
        1px solid rgba(79, 140, 255, .10);

    font-size: 20px;
}


.link-content {
    flex: 1;

    min-width: 0;
}


.link-content h2 {
    font-size: 15px;

    font-weight: 600;

    margin-bottom: 3px;
}


.link-content p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.4;
}


.link-arrow {
    flex-shrink: 0;

    color: #9da2ab;

    font-size: 20px;

    transition:
        transform .3s ease,
        color .3s ease;
}


.link-card:hover .link-arrow {
    color: var(--primary);

    transform: translateX(4px);
}


/* =========================
   SECONDARY LINKS
========================= */

.secondary-links {
    margin-top: 12px;
}


.link-card.compact {
    min-height: 72px;
}


.link-card.compact .link-icon {
    width: 44px;
    height: 44px;

    border-radius: 14px;
}


/* =========================
   FOOTER
========================= */

.footer {
    text-align: center;

    margin-top: 38px;
}


.socials {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    margin-bottom: 18px;
}


.socials a {
    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #686d76;

    text-decoration: none;

    background:
        rgba(255, 255, 255, 0.55);

    border:
        1px solid rgba(255, 255, 255, 0.8);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


.socials svg {
    width: 18px;
    height: 18px;
display: block;
    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* Discord & YouTube use filled SVG paths */
.socials a[aria-label="YouTube"] svg,
.socials a[aria-label="Discord"] svg {
    stroke: none;

    fill: currentColor;
}



.socials a[aria-label="YouTube"] .youtube-body {
    fill: currentColor;
    stroke: none;
}

.socials a[aria-label="YouTube"] .youtube-play {
    fill: white;
    stroke: none;
}


.socials a:hover {
    transform: translateY(-3px);

    color: var(--primary);

    background:
        rgba(79, 140, 255, 0.10);

    border-color:
        rgba(79, 140, 255, 0.30);

    box-shadow:
        0 10px 25px rgba(79, 140, 255, 0.15);
}

.contact-trigger {
    width: 100%;

    font-family: inherit;
    font-size: inherit;

    text-align: left;

    cursor: pointer;
}

.footer p {
    color: #a4a8af;

    font-size: 11px;

    letter-spacing: .04em;
}


/* =========================
   ANIMATION
========================= */

.profile,
.main-cta,
.link-card,
.footer {
    opacity: 0;

    transform: translateY(15px);

    animation:
        fadeUp .7s ease forwards;
}


.profile {
    animation-delay: .05s;
}


.main-cta {
    animation-delay: .15s;
}


.link-card:nth-child(1) {
    animation-delay: .22s;
}


.link-card:nth-child(2) {
    animation-delay: .29s;
}


.link-card:nth-child(3) {
    animation-delay: .36s;
}


.link-card:nth-child(4) {
    animation-delay: .43s;
}


.secondary-links .link-card:nth-child(1) {
    animation-delay: .50s;
}


.secondary-links .link-card:nth-child(2) {
    animation-delay: .57s;
}


.footer {
    animation-delay: .64s;
}


@keyframes fadeUp {
    to {
        opacity: 1;

        transform: translateY(0);
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 480px) {

    .link-page {
        padding:
            35px 15px
            30px;
    }


    .profile {
        margin-bottom: 26px;
    }


    .profile-image {
        width: 74px;
        height: 74px;
    }


    .profile-image span {
        font-size: 37px;
    }


    .profile h1 {
        font-size: 37px;
    }


    .tagline {
        font-size: 13px;

        padding: 0 20px;
    }


    .link-card {
        min-height: 82px;

        padding: 12px 14px;
    }


    .link-icon {
        width: 46px;
        height: 46px;

        border-radius: 14px;
    }


    .link-content h2 {
        font-size: 14px;
    }


    .link-content p {
        font-size: 11px;
    }

}