.profile-card {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--surface);        /* adapts to light/dark */
    border: 1px solid var(--border);   /* adapts to light/dark */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-card h2 {
    color: var(--primary);             /* primary color works in both modes */
    margin-bottom: 1rem;
    text-align: center;
}

.profile-card p {
    margin: 0.5rem 0;
    color: var(--text-main);           /* text color adapts to dark mode */
}

.profile-links {
    margin-top: 1rem;
    text-align: center;
}

.profile-links a {
    color: var(--primary);
    text-decoration: none;
}

.profile-links a:hover {
    text-decoration: underline;
}

/* Optional: tweak for dark mode if you want extra contrast */
body.dark .profile-card {
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}
.profile-card {
    max-width: 500px;
    margin: 2rem auto;
    background: var(--surface);        /* adapts to light/dark */
    border: 1px solid var(--border);   /* adapts to light/dark */
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-card h2 {
    color: var(--primary);             /* primary color works in both modes */
    margin-bottom: 1rem;
    text-align: center;
}

.profile-card p {
    margin: 0.5rem 0;
    color: var(--text-main);           /* text color adapts to dark mode */
}

.profile-links {
    margin-top: 1rem;
    text-align: center;
}

.profile-links a {
    color: var(--primary);
    text-decoration: none;
}

.profile-links a:hover {
    text-decoration: underline;
}

/* Optional: tweak for dark mode if you want extra contrast */
body.dark .profile-card {
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}
