.profile-card {
    background: radial-gradient(circle at top left, #0f172a, #020617);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.profile-main {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
}

.profile-text {
    max-width: 640px;
}

.profile-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 0.9rem;
}

.profile-title .gradient {
    background-image: linear-gradient(135deg, #38bdf8, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.profile-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast),
        transform var(--transition-fast), box-shadow var(--transition-fast),
        border-color var(--transition-fast);
}

.btn.primary {
    background: linear-gradient(135deg, #38bdf8, #22c55e);
    color: #020617;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(56, 189, 248, 0.6);
}

.btn.ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-soft);
}

.btn.ghost:hover {
    background: rgba(15, 23, 42, 0.9);
}

.profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}

.profile-links a:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
}

.profile-photo-wrapper {
    position: relative;
    align-self: center;
}

.profile-photo-bg {
    width: 240px;
    height: 240px;
    border-radius: 35%;
    background: radial-gradient(circle at 10% 10%, #38bdf8, transparent 55%),
        radial-gradient(circle at 90% 90%, #a855f7, transparent 55%);
    filter: blur(12px);
    opacity: 0.7;
}

.profile-photo {
    position: absolute;
    inset: 10px;
    margin: auto;
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: 30%;
    border: 2px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.9);
}

@media (min-width: 900px) {
    .profile-main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .profile-photo-wrapper {
        min-width: 260px;
    }
}
