/* Links Page Styles */
.links-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.links-container {
    max-width: 680px;
    margin: 0 auto;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: fadeInScale 0.8s ease-out 0.2s backwards;
}

.profile-image picture,
.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-section h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.profile-bio {
    font-size: 1.125rem;
    color: var(--grey);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Links Section */
.links-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Link Cards */
.link-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--purple) 0%, var(--pink) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(85, 79, 224, 0.15);
    border-color: rgba(85, 79, 224, 0.2);
}

.link-card:hover::before {
    opacity: 1;
}

.link-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
        rgba(85, 79, 224, 0.08) 0%,
        rgba(244, 91, 193, 0.08) 100%);
    border-radius: 12px;
    color: var(--purple);
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.link-content {
    flex: 1;
    min-width: 0;
}

.link-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.link-card:hover .link-content h3 {
    color: var(--purple);
}

.link-content p {
    font-size: 0.9375rem;
    color: var(--grey);
    margin: 0;
}

/* Company Cards Variation */
.company-card .link-icon {
    background: linear-gradient(135deg,
        rgba(249, 171, 128, 0.08) 0%,
        rgba(251, 196, 160, 0.08) 100%);
    color: #E8753A;
}

.company-card:hover .link-icon {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
    color: var(--white);
}

.company-card:hover .link-content h3 {
    color: #E8753A;
}

/* Responsive */
@media (max-width: 768px) {
    .links-page {
        padding: 6rem 1.5rem 3rem;
    }

    .profile-section h1 {
        font-size: 1.75rem;
    }

    .profile-bio {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .link-card {
        padding: 1.25rem;
    }

    .link-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .link-content h3 {
        font-size: 1rem;
    }

    .link-content p {
        font-size: 0.875rem;
    }
}
