* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    background: linear-gradient(135deg, #ffffff 0%, #f6f5f6 100%);
}



body {

    font-family: 'Inter', sans-serif;
    color: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.user-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.user-card:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
}

.mac-dots {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.dot.red {
    background: #ff5f57;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #28ca42;
}

.dot:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.233);
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.user-name {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.5rem;
    color: #051833;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.8);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4); /* Glassmorphism background */
    backdrop-filter: blur(20px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(20px); /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light, transparent border */
    text-decoration: none;
    color: #051833; /* Darker text for contrast */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: left;
    transform: translateY(0);
    border-radius: 12px; /* Match user-card border-radius */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1), /* Main shadow */
        inset 0 1px 0 rgba(255, 255, 255, 0.2); /* Inner highlight */
    position: relative;
    overflow: hidden; /* Hide shine overflow */
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); /* Shine gradient */
    animation: shine 4s ease-in-out infinite;
    z-index: 1; /* Below content */
}

.link-card:nth-child(1):hover {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.3);
}

.link-card:nth-child(2):hover {
    background: linear-gradient(135deg, #c94b4b 0%, #4b134f 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 75, 75, 0.3);
}

.link-card:nth-child(3):hover {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Glassy border */
    background: rgba(255, 255, 255, 0.2); /* Subtle background */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
    border-radius: 10px;
    position: relative;
    z-index: 2; /* Above shine */
}

.link-card:hover .link-icon {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    transform: scale(1.1) rotate(0deg);
}

.link-content {
    position: relative;
    z-index: 2; /* Above shine */
}

.link-content h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.link-content p {
    font-size: 0.9rem;
    opacity: 0.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); /* Subtle text shadow */
}

.contact-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    margin-top: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-text:hover {
    color: rgba(255, 255, 255, 1);
    border-bottom-color: rgba(255, 255, 255, 0.8);
}

.contact-text.animating {
    color: #000;
}

.email-link {
    color: #000 !important;
    text-decoration: none;
}

.email-link:hover {
    color: #666 !important;
}

@media (max-width: 480px) {
    .user-card {
        padding: 25px 20px;
        gap: 15px;
    }
    
    .profile-photo {
        width: 70px;
        height: 70px;
    }
    
    .user-name {
        font-size: 1.3rem;
    }
    
    .user-description {
        font-size: 0.9rem;
    }
    
    .contact-text {
        font-size: 0.8rem;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .link-icon {
        width: 35px;
        height: 35px;
        margin-right: 12px;
    }
    
    .link-content h3 {
        font-size: 1rem;
    }
    
    .link-content p {
        font-size: 0.8rem;
    }
}