/* =========================
   VIR WEBSITE
========================= */

:root {
    --primary: #9b59d4;
    --primary-glow: #d4a8f7;
    --bg-dark: #080610;
    --text-light: #f3eaff;
    --card-dark: rgba(20, 10, 40, 0.62);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
}

/* BACKGROUND */

#particles-js,
.floating-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-orbs::before,
.floating-orbs::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
}

.floating-orbs::before {
    background: rgba(168,85,212,0.28);
    top: 5%;
    left: 10%;
}

.floating-orbs::after {
    background: rgba(155,89,212,0.20);
    bottom: 8%;
    right: 12%;
}

/* CONTAINER */

.container {
    width: 100%;
    min-height: 100vh;

    padding: 4rem 1rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.7rem;
}

/* CARD */

.card {
    width: 88%;
    max-width: 470px;

    padding: 2rem 1.4rem;

    background: var(--card-dark);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 2px solid rgba(155,89,212,0.35);
    border-radius: 30px;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.7),
        0 0 20px rgba(168,85,212,0.20);

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

/* PROFILE */

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-wrapper {
    width: 130px;
    height: 130px;
}

.avatar {
    width: 100%;
    height: 100%;

    border-radius: 50%;
    object-fit: cover;

    border: 4px solid var(--primary);

    box-shadow:
        0 0 24px rgba(155,89,212,0.55),
        0 0 48px rgba(168,85,212,0.25);
}

.name {
    font-size: 3rem;
    font-weight: 700;

    background: linear-gradient(
        90deg,
        #7b2cbf,
        #c77dff,
        #e0aaff
    );

    background-size: 200% auto;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    color: transparent;

    animation: glowText 6s linear infinite;

    text-shadow:
        0 0 12px rgba(199,125,255,0.35);
}

/* TITLES */

.section {
    text-align: center;
}

.section-title {
    font-size: 1.4rem;
    color: var(--primary-glow);

    margin-bottom: 1rem;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* PRESENTATION */

.presentation-info {
    font-size: 1rem;
    font-weight: 600;

    opacity: 0.9;

    margin-bottom: 1rem;
}

.presentation-text {
    max-width: 360px;

    margin: 0 auto;

    font-size: 1rem;
    line-height: 1.8;

    opacity: 0.85;
}

/* LINKS */

.profile-links {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 0.8rem;
}

.top-links,
.bottom-links {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.social-btn,
.project-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0.55rem;

    width: 125px;
    padding: 0.9rem;

    border-radius: 14px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(155,89,212,0.30);

    color: var(--text-light);
    text-decoration: none;

    transition: 0.3s ease;
}

.social-btn:hover,
.project-btn:hover {
    transform: translateY(-6px);

    background: rgba(155,89,212,0.15);

    border-color: var(--primary-glow);

    box-shadow:
        0 12px 32px rgba(155,89,212,0.25);
}

.social-icon,
.project-icon {
    width: 20px;
    height: 20px;
}

/* WIDGETS */

.discord-widget img,
.spotify-widget img {
    width: 100%;
    display: block;
}

/* MOBILE */

@media (max-width: 768px) {

    .card {
        width: 94%;
    }

    .top-links,
    .bottom-links {
        flex-wrap: wrap;
    }
}

@keyframes glowText {
    to {
        background-position: 200% center;
    }
}

.social-btn img[alt="GitHub"],
.social-btn img[alt="Steam"] {
    filter: brightness(0) invert(1);
}