@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

body {
    font-family: "Inter", sans-serif;
    background-color: #0a0a0a;
    color: #fafafa;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.glow {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.link-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(99, 102, 241, 0.1),
            transparent);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-card:hover::before {
    left: 100%;
}

.avatar-ring {
    position: relative;
    overflow: hidden;
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 3px;
    background:
        radial-gradient(circle at var(--pos1-x) var(--pos1-y),
            rgba(255, 255, 255, 0.9) var(--size1-start),
            rgba(255, 255, 255, 0) var(--size1-end)),
        radial-gradient(circle at var(--pos2-x) var(--pos2-y),
            rgba(0, 84, 154, 0.9) var(--size2-start),
            rgba(0, 84, 154, 0) var(--size2-end)),
        radial-gradient(circle at var(--pos3-x) var(--pos3-y),
            rgba(255, 205, 77, 0.9) var(--size3-start),
            rgba(255, 205, 77, 0) var(--size3-end)),
        linear-gradient(to right,
            #00549A 5%,
            #ffffff 35%,
            #FFCD4D 65%,
            #ffffff 95%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    animation:
        move-color1 15s ease-in-out infinite alternate,
        move-color2 17s ease-in-out infinite alternate-reverse,
        move-color3 13s ease-in-out infinite alternate;
    --pos1-x: 30%;
    --pos1-y: 70%;
    --size1-start: 10%;
    --size1-end: 60%;
    --pos2-x: 75%;
    --pos2-y: 25%;
    --size2-start: 10%;
    --size2-end: 60%;
    --pos3-x: 20%;
    --pos3-y: 40%;
    --size3-start: 10%;
    --size3-end: 60%;
}

@property --pos1-x {
    syntax: '<percentage>';
    initial-value: 30%;
    inherits: false;
}

@property --pos1-y {
    syntax: '<percentage>';
    initial-value: 70%;
    inherits: false;
}

@property --size1-start {
    syntax: '<percentage>';
    initial-value: 10%;
    inherits: false;
}

@property --size1-end {
    syntax: '<percentage>';
    initial-value: 60%;
    inherits: false;
}

@property --pos2-x {
    syntax: '<percentage>';
    initial-value: 75%;
    inherits: false;
}

@property --pos2-y {
    syntax: '<percentage>';
    initial-value: 25%;
    inherits: false;
}

@property --size2-start {
    syntax: '<percentage>';
    initial-value: 10%;
    inherits: false;
}

@property --size2-end {
    syntax: '<percentage>';
    initial-value: 60%;
    inherits: false;
}

@property --pos3-x {
    syntax: '<percentage>';
    initial-value: 20%;
    inherits: false;
}

@property --pos3-y {
    syntax: '<percentage>';
    initial-value: 40%;
    inherits: false;
}

@property --size3-start {
    syntax: '<percentage>';
    initial-value: 10%;
    inherits: false;
}

@property --size3-end {
    syntax: '<percentage>';
    initial-value: 60%;
    inherits: false;
}

@keyframes move-color1 {
    0% {
        --pos1-x: 30%;
        --pos1-y: 70%;
        --size1-start: 10%;
        --size1-end: 60%;
    }

    25% {
        --pos1-x: 60%;
        --pos1-y: 30%;
        --size1-start: 5%;
        --size1-end: 50%;
    }

    50% {
        --pos1-x: 20%;
        --pos1-y: 20%;
        --size1-start: 15%;
        --size1-end: 70%;
    }

    75% {
        --pos1-x: 80%;
        --pos1-y: 70%;
        --size1-start: 5%;
        --size1-end: 40%;
    }

    100% {
        --pos1-x: 30%;
        --pos1-y: 60%;
        --size1-start: 10%;
        --size1-end: 60%;
    }
}

@keyframes move-color2 {
    0% {
        --pos2-x: 75%;
        --pos2-y: 25%;
        --size2-start: 10%;
        --size2-end: 60%;
    }

    20% {
        --pos2-x: 30%;
        --pos2-y: 60%;
        --size2-start: 5%;
        --size2-end: 40%;
    }

    40% {
        --pos2-x: 65%;
        --pos2-y: 75%;
        --size2-start: 15%;
        --size2-end: 65%;
    }

    60% {
        --pos2-x: 20%;
        --pos2-y: 30%;
        --size2-start: 10%;
        --size2-end: 55%;
    }

    80% {
        --pos2-x: 70%;
        --pos2-y: 60%;
        --size2-start: 5%;
        --size2-end: 45%;
    }

    100% {
        --pos2-x: 45%;
        --pos2-y: 35%;
        --size2-start: 10%;
        --size2-end: 60%;
    }
}

@keyframes move-color3 {
    0% {
        --pos3-x: 20%;
        --pos3-y: 40%;
        --size3-start: 10%;
        --size3-end: 60%;
    }

    33% {
        --pos3-x: 60%;
        --pos3-y: 80%;
        --size3-start: 5%;
        --size3-end: 50%;
    }

    66% {
        --pos3-x: 40%;
        --pos3-y: 10%;
        --size3-start: 15%;
        --size3-end: 70%;
    }

    100% {
        --pos3-x: 75%;
        --pos3-y: 45%;
        --size3-start: 10%;
        --size3-end: 55%;
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 1s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: 0.2;
    transition: 0s;
}

/* Floating orbs background */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
}

.orb-blue {
    background-color: #00549A;
    width: 300px;
    height: 300px;
    left: -50px;
    top: 20%;
    animation: float-orb-1 15s ease-in-out infinite alternate;
}

.orb-yellow {
    background-color: #FFCD4D;
    width: 250px;
    height: 250px;
    right: -30px;
    bottom: 10%;
    animation: float-orb-2 12s ease-in-out infinite alternate;
}

@keyframes float-orb-1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(40px, 60px) rotate(10deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(-5deg);
    }

    100% {
        transform: translate(20px, -40px) rotate(5deg);
    }
}

@keyframes float-orb-2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-50px, -30px) rotate(-10deg);
    }

    66% {
        transform: translate(40px, -50px) rotate(5deg);
    }

    100% {
        transform: translate(-20px, 40px) rotate(-5deg);
    }
}