.link-page-body {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 1rem;
}

.link-page-container {
    max-width: 680px;
    width: 100%;
    margin: auto;
    background-color: var(--white);
    padding: 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 16px;
    text-align: center;
    position: relative; 
}

.link-page-header {
    margin-bottom: 2rem;
}

.profile-picture {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}

.profile-picture:hover {
    border: 3px solid var(--primary-color);
}


.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.profile-bio {
    font-size: 1rem;
    color: #4b5563;
    margin-top: 0.5rem;
}

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

.link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    background-color: var(--accent-color);
    color: var(--white); 
    padding: 1rem;
    border: 2px solid var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.2s ease-in-out;
}

.link-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    /* Create a 2px outline using drop-shadow that respects transparency */
    filter: drop-shadow(2px 0 0 var(--primary-color))
            drop-shadow(-2px 0 0 var(--primary-color))
            drop-shadow(0 2px 0 var(--primary-color))
            drop-shadow(0 -2px 0 var(--primary-color));
    transition: transform 0.4s ease-in-out;
    /* No background or border to allow for transparency */
}

/* The invisible spacer that ensures the text is centered */
.link-icon-spacer {
    width: 40px; /* Must match the link-icon width */
}

/* Add horizontal padding to the link text */
.link-btn > span:first-of-type {
    padding: 0 0.5rem; /* 8px padding left and right */
}

/* Hide the icon if the src is empty to prevent a broken image box */
.link-icon[src=""] {
    /* Use visibility to keep layout but hide the element */
    visibility: hidden;
}

.link-btn:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-btn:hover .link-icon {
    transform: rotateY(180deg);
}

.link-page-footer {
    padding: 2rem 0 1rem;
    text-align: center;
}

.link-page-footer .logo {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.2s ease-in-out;
}
.link-page-footer .logo:hover {
    opacity: 1;
}

.footer-legal, .footer-legal p, .footer-legal a {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: none;
}
.socials-section {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-icon {
    color: var(--accent-color);
}

.social-icon:hover {
    color: var(--primary-color);
}

/* Logo in the top-left of the main container */
.container-logo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.2rem;
    opacity: 0.8;
    text-decoration: none;
}

/* Clickable drip icon in the top-right */
#trigger-drip-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    filter: drop-shadow(1px 0 0 var(--accent-color))
            drop-shadow(-1px 0 0 var(--accent-color))
            drop-shadow(0 1px 0 var(--accent-color))
            drop-shadow(0 -1px 0 var(--accent-color));
}

#trigger-drip-btn:hover {
    transform: scale(1.1);
}