﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    background: linear-gradient(to right, #1e215d, #a11963);
    color: #f0f0f0;
    padding: 20px;
    min-height: 100vh;
    height: 100%;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Main container */
.main-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px transparent;
    max-width: 50%;
    margin: 0 auto 10px auto;
    z-index: 1;
}

/* Profile Left */
.profile-left .profile-pic {
    position: relative;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #4ca1af;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Profile Right */
.profile-right {
    flex: 1;
    min-width: 300px;
}

    .profile-right .name {
        font-size: 1.3rem;
        margin-bottom: 10px;
        color: #f5f5f5;
    }

    .profile-right .profession {
        font-size: 1rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: lightslategray;
        padding-top: 10px;
    }

.location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 2px solid white;
    border-radius: 999px;
    background: transparent;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    width: fit-content;
    transition: all 0.3s ease;
}

    .location i {
        font-size: 0.8rem;
    }

@keyframes softPulse {
    0% {
        box-shadow: 0 0 8px rgba(161, 196, 253, 0.3), 0 0 12px rgba(194, 233, 251, 0.2);
    }

    50% {
        box-shadow: 0 0 12px rgba(161, 196, 253, 0.4), 0 0 20px rgba(194, 233, 251, 0.3);
    }

    100% {
        box-shadow: 0 0 8px rgba(161, 196, 253, 0.3), 0 0 12px rgba(194, 233, 251, 0.2);
    }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 45%;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .social-btn img {
        width: 50px;
        height: 50px;
    }

    .social-btn span {
        font-size: 1.3rem;
        font-weight: 350;
    }

    .social-btn:hover {
        background: rgba(0, 0, 0, 0.3);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
        transform: translateY(-3px);
    }

.divider {
    width: 2px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        max-width: 90%;
    }

    .profile-right {
        min-width: unset;
        text-align: center;
    }

        .profile-right .name,
        .profile-right .profession,
        .location {
            justify-content: center;
        }

    .social-buttons {
        max-width: 90%;
    }

    .social-btn {
        padding: 16px 12px;
        gap: 16px;
    }

        .social-btn img {
            width: 40px;
            height: 40px;
        }

        .social-btn span {
            font-size: 1.1rem;
        }

    .divider {
        height: 24px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .main-container {
        padding: 20px 10px;
        gap: 20px;
    }

    .profile-left .profile-pic {
        width: 120px;
        height: 120px;
    }

    .social-btn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 10px;
        font-size: 0.9rem;
    }

        .social-btn img {
            width: 36px;
            height: 36px;
        }

    .divider {
        height: 15px;
    }

    .social-btn span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-container {
        max-width: 100%;
    }

    .profile-right .name {
        font-size: 1.1rem;
    }

    .profile-right .profession {
        font-size: 0.9rem;
    }

    .social-btn {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 8px;
    }

        .social-btn span {
            font-size: 0.9rem;
        }

    .divider {
        height: 15px;
    }
}
