:root {
    --primary-accent: #9725cc;
    --background-dark: #0a0809;
    --text-color: #e0e0e0; 
    --text-muted: #5f5f5f;
    --card-bg: rgba(21, 21, 21, 0.75); 
    --border-color: rgba(151, 37, 204, 0.3);
}

body {
    font-family: "librebaskerville-regular", serif;
    background-color: var(--background-dark);
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    perspective: 1500px;
    overflow: hidden;
    font-size: 1.6rem;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(151, 37, 204, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(151, 37, 204, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: background-pan 60s linear infinite;
    z-index: -1;
}

@keyframes background-pan {
    from { background-position: 0 0; }
    to { background-position: -400px -400px; }
}

.card-container {
    width: 350px;
    height: 550px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 0 20px rgba(151, 37, 204, 0.6),
        inset 0 0 15px rgba(151, 37, 204, 0.2);
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: translateZ(20px);
    animation: float-in 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateZ(20px) translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateZ(20px) translateY(0) scale(1);
    }
}

.profile-picture {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--primary-accent);
    padding: 5px;
    box-shadow: 0 0 15px var(--primary-accent);
    animation: pulse 2s infinite alternate;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes pulse {
    from { box-shadow: 0 0 15px var(--primary-accent); }
    to { box-shadow: 0 0 25px var(--primary-accent), 0 0 10px rgba(255, 255, 255, 0.6); }
}

.info h1 {
    font-family: "montserrat-bold", sans-serif;
    font-size: 1.6em;
    color: var(--text-color);
    margin: 0;
    text-shadow: 0 0 8px var(--primary-accent);
}

.info h2 {
    font-family: "montserrat-medium", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .16rem;
    color: var(--primary-accent);
    text-shadow: 0 0 5px var(--primary-accent);
    font-weight: 500;
    margin: 5px 0 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: auto;
}

.social-links a {
    color: var(--text-color);
    font-size: 2.4rem;
    transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2) translateY(-5px);
    color: var(--primary-accent);
    text-shadow: 0 0 15px var(--primary-accent);
}

.contact-info {
    font-family: "montserrat-regular", sans-serif;
    color: var(--text-color);
    font-size: 1.5rem;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.contact-info:hover {
    background-color: rgba(151, 37, 204, 0.1);
    box-shadow: 0 0 10px rgba(151, 37, 204, 0.5);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-accent);
}

.contact-info-2 {
    font-family: "montserrat-regular", sans-serif;
    color: var(--text-color);
    font-size: 1.4rem;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.contact-info-2:hover {
    background-color: rgba(151, 37, 204, 0.1);
    box-shadow: 0 0 10px rgba(151, 37, 204, 0.5);
}

.contact-info-2 i {
    margin-right: 10px;
    color: var(--primary-accent);
}

.copy-feedback {
    position: absolute;
    bottom: -50px;
    background-color: var(--primary-accent);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, bottom 0.3s;
}

.copy-feedback.show {
    opacity: 1;
    visibility: visible;
    bottom: 20px;
}