/* Basic Reset and Font */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: transparent;
    color: #fff;
    overflow: hidden; /* Hides scrollbars caused by canvas */
}

/* The Canvas for the animated background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; /* Put canvas behind everything */
    background: transparent;
    border: none;
}

/* The main container for your profile info */
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Takes up the full height of the screen */
    padding: 20px;
    /* No background or blur so animation is always visible */
}

/* Your Profile Picture */
.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Makes the image circular */
    border: 3px solid #fff;
    object-fit: cover;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 3rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #000, 0 0px 2px #fff8;
}

p {
    font-size: 1.2rem;
    color: #ddd;
    margin-top: 10px;
    text-shadow: 0 2px 8px #000, 0 0px 2px #fff8;
}

/* Container for the link buttons */
.links-container {
    margin-top: 30px;
}

/* The link buttons */
.link-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px;
    background: linear-gradient(135deg, rgba(0,123,255,0.18) 60%, rgba(255,255,255,0.10) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 8px 0 rgba(0,123,255,0.10);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform 0.2s cubic-bezier(.4,2,.6,1), background 0.2s, box-shadow 0.2s;
    text-shadow: 0 2px 8px #000, 0 0px 2px #fff8;
    position: relative;
    overflow: hidden;
    opacity: 0.85;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.10) 80%);
    opacity: 0.5;
    pointer-events: none;
    border-radius: 16px;
}

.link-button:hover {
    background: linear-gradient(135deg, rgba(0,123,255,0.28) 60%, rgba(255,255,255,0.18) 100%);
    box-shadow: 0 12px 36px 0 rgba(0,0,0,0.22), 0 4px 16px 0 rgba(0,123,255,0.22);
    transform: scale(1.10) rotate(-1deg);
    opacity: 1;
    transition: transform 0.18s cubic-bezier(.4,2,.6,1), background 0.18s, box-shadow 0.18s, opacity 0.18s;
}

.link-button:active {
    transform: scale(0.97) rotate(1deg);
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10), 0 1.5px 8px 0 rgba(0,123,255,0.10);
}

/* Animated highlight on hover */
.link-button::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(120deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.01) 80%);
    opacity: 0;
    pointer-events: none;
    border-radius: 50%;
    transition: opacity 0.3s;
    z-index: 2;
}
.link-button:hover::after {
    opacity: 1;
    animation: glass-reflect 0.7s linear;
}

@keyframes glass-reflect {
    0% { transform: translate(-60%,-60%) scale(0.7) rotate(0deg); opacity: 0.2; }
    60% { opacity: 0.7; }
    100% { transform: translate(60%,60%) scale(1.2) rotate(15deg); opacity: 0; }
}


/* Icon styling */
.link-button i {
    margin-right: 8px;
}