* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background-color: #181818;
    color: white;
    font-family: Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    text-align: center;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.link-section {
    margin-bottom: 35px;
}

.link-section h2 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
}

.buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 56px;
    padding: 15px 20px;

    background-color: #222222;
    color: white;

    text-align: center;
    text-decoration: none;

    border: 1px solid #2d2d2d;
    border-radius: 12px;

    overflow: hidden;
    z-index: 1;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Social icons */

.button i {
    margin-right: 10px;
    font-size: 18px;

    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}


/* Moving light effect */

.button::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 12px;

    background: linear-gradient(90deg,
            transparent,
            white,
            transparent);

    background-size: 50% 100%;
    background-repeat: no-repeat;
    background-position: -100% 0;

    opacity: 0;

    transition: opacity 0.1s;

    pointer-events: none;
    z-index: -1;
}


/* Hover */

.button:hover {
    background-color: #282828;

    transform: translateY(-2px);

    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.18);
}

.button:hover::before {
    opacity: 1;

    animation: borderMove 1.5s linear;
}

.button:hover i {
    filter: drop-shadow(0 0 6px white);

    transform: scale(1.1);
}


/* Moving border animation */

@keyframes borderMove {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}


/* Mobile */

@media (max-width: 500px) {

    .container {
        padding: 30px 15px 50px;
    }

    .profile-image {
        width: 85px;
        height: 85px;
    }

    .button {
        min-height: 54px;
    }
}