:root {
    --primary: #6e45e2;
    --secondary: #88d3ce;
    --accent: #ff7e5f;
    --dark: #1a1a2e;
    --light: #f8f9fa;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #533d7b);
    background-size: 400% 400%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: gradientBG 15s ease infinite, fadeIn 1.5s ease-out;
    color: var(--light);
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    flex-wrap: wrap;
    padding: 20px;
    perspective: 1000px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 280px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px) scale(1.03) rotateY(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    transform: translateX(100%);
}

.card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent);
    margin-bottom: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card:hover img {
    transform: scale(1.1);
    border-radius: 20px;
    border-color: var(--secondary);
}

.card h3 {
    font-size: 22px;
    margin: 15px 0 5px;
    font-weight: 600;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card .title {
    font-size: 14px;
    color: #ccc;
    margin: 5px 0 15px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card .bio {
    font-size: 14px;
    color: #ddd;
    margin: 0 0 20px;
    line-height: 1.6;
    min-height: 60px;
}

.card .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(255, 126, 95, 0.4);
}

.contact {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(110, 69, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(110, 69, 226, 0.6);
}

.contact:active {
    transform: translateY(1px);
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.contact:hover::after {
    transform: translateX(100%);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        gap: 20px;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}