/* ================================================================
   Graywolftek - Squad Member Interactive 3D Cards
   ================================================================ */
.card {
    --card-accent: #0b525b;
    --card-accent-hover: #4d194d;
    width: 280px;
    height: 280px;
    background: #ffffff;
    border-radius: 32px;
    padding: 3px;
    position: relative;
    box-shadow: rgba(0, 100, 102, 0.25) 0px 50px 30px -35px, rgba(77, 25, 77, 0.2) 0px 40px 30px -30px;
    transition: all 0.5s ease-in-out;
    margin: 0 auto;
}

.card .mail {
    position: absolute;
    right: 2rem;
    top: 1.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.card .mail svg {
    stroke: var(--card-accent, #fbb9b6);
    stroke-width: 3px;
    width: 24px;
    height: 24px;
    transition: stroke 0.2s ease;
}

.card .mail svg:hover {
    stroke: var(--card-accent-hover, #f55d56);
}

.card .profile-pic {
    position: absolute;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
    border-radius: 29px;
    z-index: 1;
    border: 0px solid var(--card-accent, #fbb9b6);
    overflow: hidden;
    transition: all 0.5s ease-in-out 0.2s, z-index 0.5s ease-in-out 0.2s;
}

.card .profile-pic img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    -o-object-position: center;
    object-position: center;
    transition: all 0.5s ease-in-out 0s;
}

.card .profile-pic svg {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 0px 0px;
    object-position: 0px 0px;
    transform-origin: 45% 20%;
    transition: all 0.5s ease-in-out 0s;
}

.card .bottom {
    position: absolute;
    bottom: 3px;
    left: 3px;
    right: 3px;
    background: linear-gradient(135deg, #006466 0%, #144552 35%, #272640 70%, #4d194d 100%);
    top: 80%;
    border-radius: 29px;
    z-index: 2;
    box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px inset;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.card .bottom .content {
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 160px;
}

.card .bottom .content .name {
    display: block;
    font-size: 1.15rem;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.card .bottom .content .about-me {
    display: block;
    font-size: 0.8rem;
    color: white;
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.card .bottom .bottom-bottom {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card .bottom .bottom-bottom .social-links-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.card .bottom .bottom-bottom .social-links-container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    cursor: pointer;
}

.card .bottom .bottom-bottom .social-links-container svg {
    height: 20px;
    width: 20px;
    fill: white;
    filter: drop-shadow(0 5px 5px rgba(165, 132, 130, 0.1333333333));
    transition: all 0.2s ease;
}

.card .bottom .bottom-bottom .social-links-container a:hover svg,
.card .bottom .bottom-bottom .social-links-container svg:hover {
    fill: var(--card-accent-hover, #f55d56);
    transform: scale(1.2);
}

.card .bottom .bottom-bottom .button {
    background: white;
    color: #0b525b;
    border: none;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.4rem 0.65rem;
    box-shadow: rgba(165, 132, 130, 0.1333333333) 0px 5px 5px 0px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card .bottom .bottom-bottom .button:hover {
    background: #2dd4bf;
    color: #0b141d;
}

.card:hover {
    border-top-left-radius: 55px;
}

.card-beta .bottom {
    background: linear-gradient(135deg, #006466 0%, #065a60 50%, #0b525b 100%);
}

.card-delta .bottom {
    background: linear-gradient(135deg, #144552 0%, #1b3a4b 50%, #212f45 100%);
}

.card-omega .bottom {
    background: linear-gradient(135deg, #272640 0%, #312244 50%, #4d194d 100%);
}

.card-beta:hover .profile-pic { border-color: #065a60; }
.card-delta:hover .profile-pic { border-color: #1b3a4b; }
.card-omega:hover .profile-pic { border-color: #3e1f47; }

.card:hover .bottom {
    top: 20%;
    border-radius: 80px 29px 29px 29px;
    transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1) 0.2s;
}

.card:hover .profile-pic {
    width: 100px;
    height: 100px;
    aspect-ratio: 1;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    z-index: 3;
    border: 6px solid #144552;
    box-shadow: rgba(96, 75, 74, 0.1882352941) 0px 5px 5px 0px;
    transition: all 0.5s ease-in-out, z-index 0.5s ease-in-out 0.1s;
}

.card:hover .profile-pic:hover {
    transform: scale(1.3);
    border-radius: 0px;
}

.card:hover .profile-pic img {
    transform: scale(1.25);
    -o-object-position: center;
    object-position: center;
    transition: all 0.5s ease-in-out 0.5s;
}

.card:hover .profile-pic svg {
    transform: scale(2.5);
    transition: all 0.5s ease-in-out 0.5s;
}

